Build 16: fix yellow-theme muted-label contrast (WCAG AA)
The yellow theme's muted on-background tier (text_mute #6B6A63) rendered the eyebrow labels (WALLET/PRIVACY/BALANCE/ACTIVITY…) and the "Moving devices? Back up BOTH…" helper at only 3.85:1 on the #FFD60A background — below the 4.5:1 AA floor (sweep P2). Darkened to #55534A (5.5:1, measured), still the faintest of the three on-bg tiers so the hierarchy holds. Dark/light themes unaffected. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
+3
-1
@@ -163,7 +163,9 @@ pub const YELLOW: ThemeTokens = ThemeTokens {
|
||||
surface2: Color32::from_rgb(0x1A, 0x1A, 0x17),
|
||||
text: Color32::from_rgb(0x0E, 0x0E, 0x0C),
|
||||
text_dim: Color32::from_rgb(0x3A, 0x3A, 0x36),
|
||||
text_mute: Color32::from_rgb(0x6B, 0x6A, 0x63),
|
||||
// Muted on-bg tier darkened for the bright yellow bg: #6B6A63 was only
|
||||
// 3.85:1 (sub-WCAG-AA); #55534A is 5.5:1 and still the faintest tier.
|
||||
text_mute: Color32::from_rgb(0x55, 0x53, 0x4A),
|
||||
surface_text: Color32::from_rgb(0xFA, 0xFA, 0xF7),
|
||||
surface_text_dim: Color32::from_rgb(0x9A, 0x98, 0x8F),
|
||||
surface_text_mute: Color32::from_rgb(0x60, 0x5E, 0x58),
|
||||
|
||||
Reference in New Issue
Block a user