From 6dbd0f8e9d94d060e9c4520ea202355ff4039d46 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 11 Jun 2026 14:06:09 -0400 Subject: [PATCH] Build 16: fix yellow-theme muted-label contrast (WCAG AA) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/gui/theme.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/theme.rs b/src/gui/theme.rs index 1bf44c0..432e8ae 100644 --- a/src/gui/theme.rs +++ b/src/gui/theme.rs @@ -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),