fix: add [data-theme="dark"] CSS selector back
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:
parent
fe0c7e8dc8
commit
bc4c2d468f
1 changed files with 1 additions and 0 deletions
|
|
@ -24,6 +24,7 @@
|
|||
--font-mono: "IBM Plex Mono", ui-monospace, monospace;
|
||||
}
|
||||
|
||||
[data-theme="dark"],
|
||||
@media (prefers-color-scheme: dark) {
|
||||
--bg: #0f0f0f;
|
||||
--bg-secondary: #1a1a1a;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue