Skip to content

fix(a11y): Dark mode contrast on chapter page sticky headers#141

Merged
williamzujkowski merged 1 commit into
mainfrom
fix/dark-mode-chapter
Apr 1, 2026
Merged

fix(a11y): Dark mode contrast on chapter page sticky headers#141
williamzujkowski merged 1 commit into
mainfrom
fix/dark-mode-chapter

Conversation

@williamzujkowski
Copy link
Copy Markdown
Collaborator

Sticky headers used near-black bg in dark mode against navy page — poor contrast. Now matches page background with bright teal border.

Sticky section headers used gray-950 (#030712) in dark mode which was
nearly black against the navy-dark (#112F4E) page background — poor
contrast and visually jarring. Now uses navy-dark to match the page
background, with teal-bright border for visibility.

Also updated light mode to use warm-white for consistency with the
USWDS civic palette.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@williamzujkowski williamzujkowski merged commit 8ec9b28 into main Apr 1, 2026
@williamzujkowski williamzujkowski deleted the fix/dark-mode-chapter branch April 1, 2026 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant