Repository navigation
fix(site/src): use green-500 for dark theme success tokens - #32046
Merged
Merged
Conversation
aqandrew
approved these changes
Nov 12, 2026
chrifro
had a problem deploying
to
docs-preview
November 18, 2026 10:03 — with
GitHub Actions
Failure
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes DEQ-172 (WCAG 1.4.3 Contrast (Minimum)) on the AI Gateway session threads page.
In the dark theme, "Agentic loop completed" and "Session completed" use
text-content-success(#16A249), which axe Auditor measured at 4.46:1 against#27272A. This moves the two dark theme success tokens that used green-600 (142 76% 36%),--content-successand--border-success, to green-500 (142 71% 45%,#22C55E). The dark theme already uses that green for--git-added-brightand--chart-success-border, and success text and borders stay the same green.#16A249)#22C55E)surface-primary#09090Bsurface-secondary#18181Bsurface-tertiary#27272Asurface-greenThese tokens are global, so every dark theme success color gets slightly brighter. That covers success text, fills, and borders, for example health checks,
LastSeen, toasts, status indicators, agent status borders, and template builder steps. This is intended: it lifts all success text above 4.5:1 rather than patching one page.Not changed:
--content-successis green-700 and--border-successis green-600. Green-500 is 2.3:1 on white, which would fail 1.4.3 for text and 1.4.11 for borders.SessionTimeline/SecondThreadLoopOpen)SelectionSummary/WithModules)Screenshots: Storybook, dark theme.