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:
@@ -215,7 +215,7 @@
|
||||
justify-content: center;
|
||||
font-size: var(--text-xs);
|
||||
font-weight: var(--font-weight-bold);
|
||||
color: #ffffff;
|
||||
color: var(--color-text-on-accent);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user