fix(FN-3725): define accent text token across dashboard themes

- Add --accent-text token definitions in global and per-theme CSS blocks for consistent readable foreground contrast
- Extend theme coverage tests to assert accent text token presence across generated theme variants
- Add a changeset for @runfusion/fusion documenting the theme token fix
- Update agent guidance reference to include the new token requirement

Fusion-Task-Id: FN-3725
This commit is contained in:
Fusion
2026-05-08 00:19:15 -07:00
committed by gsxdsm
parent ca5ddfeab6
commit 1b17ec3589
5 changed files with 160 additions and 0 deletions

View File

@@ -697,6 +697,7 @@ Semantic status colors:
| `--color-warning` | Warning amber |
| `--color-info` | Info blue |
| `--color-muted` | Muted gray |
| `--accent-text` | Foreground text/icon color on `--accent` surfaces |
**Rule:** Never use raw hex or `rgba(...)` for colors in component styles. Use `var(--token)` or `color-mix(in srgb, var(--color) X%, transparent)` for translucent backgrounds. The only place hardcoded colors are acceptable is inside `:root` theme blocks defining tokens.