fix: add [data-theme="dark"] CSS selector back
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 7s
Mirror to GitHub / mirror (push) Failing after 5s
Tests / test (push) Successful in 24s

The server-side theme cookie sets data-theme attribute, but CSS was
only using @media (prefers-color-scheme: dark). Need both selectors
so theme works via cookie AND via system preference.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Claude 2026-03-23 18:57:47 +00:00
parent fe0c7e8dc8
commit bc4c2d468f

View file

@ -24,6 +24,7 @@
--font-mono: "IBM Plex Mono", ui-monospace, monospace; --font-mono: "IBM Plex Mono", ui-monospace, monospace;
} }
[data-theme="dark"],
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
--bg: #0f0f0f; --bg: #0f0f0f;
--bg-secondary: #1a1a1a; --bg-secondary: #1a1a1a;