fix(styles): resolve design system audit violations
- Add --color-text-on-accent token to tokens.css - Migrate all hardcoded color:#fff/#ffffff to var(--color-text-on-accent) across all module stylesheets - Fix toggle thumb background (#fff -> var(--color-surface)) for dark mode - Migrate hardcoded transition durations to token vars (--transition-fast/base/slow)
This commit is contained in:
@@ -54,6 +54,7 @@
|
||||
--color-text-secondary: var(--neutral-600); /* WCAG AA: ~5.0:1 auf weiß */
|
||||
--color-text-tertiary: #737370;
|
||||
--color-text-disabled: var(--neutral-300);
|
||||
--color-text-on-accent: #ffffff; /* Weißer Text auf farbigen Hintergründen (Buttons, Badges, FAB) */
|
||||
|
||||
/* --------------------------------------------------------
|
||||
* 2. Farben - Akzent (konfigurierbar)
|
||||
|
||||
Reference in New Issue
Block a user