Skip to content

Soften text and headings in dark mode - #5

Merged
Herr-Dante merged 1 commit into
mainfrom
style/dark-mode-text
Nov 16, 2026
Merged

Herr-Dante merged 1 commit into
mainfrom
style/dark-mode-text

Conversation

@Herr-Dante

Copy link
Copy Markdown
Contributor

Near-white #F8F9FA looked glaring on the dark background. Dark mode now uses #DAE0E4 (the light divider color of the byro palette) for text: 11.6:1 on #212529, 12.7:1 on #1A1D20, 9.4:1 on #17364E. Headings are one weight step lighter in dark mode (H1 700, H2 650, H3 600) because light text on a dark background looks heavier. Light mode is unchanged.

Checked in the browser: every text element on /de/, /en/, the demo page and the 404 page reaches at least 5.7:1 in dark mode.

Near-white #F8F9FA looked glaring on the dark background. Dark mode now
uses #DAE0E4, the light divider color of the byro palette, for text
(11.6:1 on #212529). Headings are one weight step lighter in dark mode,
because light text on a dark background looks heavier.
@Herr-Dante
Herr-Dante merged commit 7161c7f into main Nov 16, 2026
2 checks passed
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