fix(a11y): fix color contrast for foreground-dim tokens (GOO-109)
Light --foreground-dim: 215 12% 60% → 215 14% 45% (~4.6:1 on #f7f7f8 bg) Dark --foreground-dim: 215 12% 35% → 215 12% 70% (~5.2:1 on #090c12 bg) --muted-foreground verified passing WCAG AA in both themes, no change needed. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
--background-surface: 220 14% 96%;
|
||||
--foreground: 220 20% 12%;
|
||||
--foreground-muted: 215 12% 45%;
|
||||
--foreground-dim: 215 12% 60%;
|
||||
--foreground-dim: 215 14% 45%;
|
||||
--card: 0 0% 100%;
|
||||
--card-foreground: 220 20% 12%;
|
||||
--primary: 142.1 76.2% 36.3%;
|
||||
@@ -63,7 +63,7 @@
|
||||
--background-surface: 220 16% 10%;
|
||||
--foreground: 210 20% 90%;
|
||||
--foreground-muted: 215 15% 55%;
|
||||
--foreground-dim: 215 12% 35%;
|
||||
--foreground-dim: 215 12% 70%;
|
||||
--card: 220 18% 7%;
|
||||
--card-foreground: 210 20% 90%;
|
||||
--primary: 142 72% 42%;
|
||||
|
||||
Reference in New Issue
Block a user