Skip to content

Commit 17a9ecd

Browse files
authored
fix: add default theme for no-js users (npmx-dev#1060)
1 parent e74a201 commit 17a9ecd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/assets/main.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
box-sizing: border-box;
66
}
77

8+
:root:not([data-theme='light']),
89
:root[data-theme='dark'] {
910
/* background colors */
1011
--bg: var(--bg-color, oklch(0.145 0 0));

0 commit comments

Comments
 (0)