From 3a5f5e5cc6a7547fb279b0e6b13ca00971e71622 Mon Sep 17 00:00:00 2001 From: Talisson Costa Date: Fri, 10 Jul 2026 13:36:35 -0300 Subject: [PATCH] fix(dark mode): make text-muted theme-aware via the secondary token Point $text-muted at --color-text-secondary so the .text-muted utility resolves to #656d7b in light (unchanged) and #9da4ae in dark: 7.16:1 vs the old static 3.45:1, fixing WCAG AA. One line, no usage churn, since .text-muted does not collide with the token utilities. Contributes to #6606 Co-Authored-By: Claude Opus 4.8 (1M context) --- frontend/web/styles/_variables.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/web/styles/_variables.scss b/frontend/web/styles/_variables.scss index aa17beed42d1..2bde5714f42b 100644 --- a/frontend/web/styles/_variables.scss +++ b/frontend/web/styles/_variables.scss @@ -31,7 +31,7 @@ $body-color: #1a2634; $text-icon-light: #ffffff; $text-icon-grey: #656d7b; $text-icon-light-grey: rgba(157, 164, 174, 1); -$text-muted: $text-icon-grey; +$text-muted: var(--color-text-secondary); // Header $header-color: #1e0d26; // for headers and labels