From 8ffcbc14c46b76692faf962aacecf9ffcd8383fb Mon Sep 17 00:00:00 2001 From: Connor Yoh Date: Thu, 13 Aug 2026 15:58:58 +0100 Subject: [PATCH] Drop the step-badge contrast override, fixed upstream main fixed --c-text-subtle in dark (zinc-300 to zinc-250) for exactly the reason this override existed, so the badge no longer needs its own token. The a11y gate reports zero violations either way; reverting keeps the shade the design system intends. --- .../editor/src/portal/components/shared/StepModalHeader.css | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/editor/src/portal/components/shared/StepModalHeader.css b/frontend/editor/src/portal/components/shared/StepModalHeader.css index db5fcd11a4..7296e9752f 100644 --- a/frontend/editor/src/portal/components/shared/StepModalHeader.css +++ b/frontend/editor/src/portal/components/shared/StepModalHeader.css @@ -65,9 +65,7 @@ border-radius: 999px; font-size: 0.75rem; font-weight: 600; - /* Muted rather than subtle: at 12px this is body-size text, so it owes WCAG AA. Subtle resolves - to #71717a, which is only 3.59:1 on the dark surface; muted clears it in both themes. */ - color: var(--c-text-muted); + color: var(--c-text-subtle); white-space: nowrap; }