mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-08 13:52:16 +00:00
chore(ui): design system audit autofixes (agent)
This commit is contained in:
1 parent
84ce8ed249
commit
fa5ef77ed8
6 files changed
+119
-2
No files matched your search
@@ -0,0 +1,18 @@
|
||||
---
|
||||
agent: design-system-audit-agent
|
||||
cadence: daily
|
||||
run-start: 2026-02-20T02:05:36Z
|
||||
prompt-path: src/prompts/daily/design-system-audit-agent.md
|
||||
---
|
||||
|
||||
# Decisions
|
||||
|
||||
## Decision 1: Allow inline style in `app.js`
|
||||
- Rationale: The `bar.style.width` calculation for the progress bar is highly dynamic (calculated from `ttlPct`). While it could use a CSS variable, the current implementation is simple and safe.
|
||||
- Outcome: Noted in report as allowed.
|
||||
|
||||
## Decision 2: Replace `#fff` with `var(--text-strong)`
|
||||
- Rationale: `#fff` is identical to the `text-strong` token value. Using the token ensures consistency.
|
||||
|
||||
## Decision 3: Fix `text-accent-strong` mapping
|
||||
- Rationale: It was incorrectly using `var(--accent)` instead of `var(--accent-strong)`.
|
||||
Reference in new issue
Block a user