Extends scripts/audit-css.mjs to also report hardcoded hex colors outside CSS custom-property defs (`--name: #xxx;`) and outside `var(--token, #fallback)` token-default fallbacks (which are explicitly allowed per repo design-system rules). Initial run reports 4 violations — all intentional pre-cascade body defaults in :root and html.dark that must be literal hex (no var()) so the page renders correct colors before the cascade resolves the custom props. Annotated each with an explanatory comment; values intentionally mirror --foreground / --background. Future drift surfaces immediately. UI audit doc §5 #10 updated to reflect the sweep is done and the 4 known violations are documented. Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| audit-css.mjs | ||