Skip to content

Commit 51409cc

Browse files
committed
styles: dark mode
1 parent d669db1 commit 51409cc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/styles.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@
99
--accent: dodgerblue;
1010
}
1111

12+
@media (prefers-color-scheme:dark) {
13+
:root {
14+
--base: #111;
15+
--surface: #333;
16+
--text: #eee;
17+
--muted: #ddd;
18+
--accent: dodgerblue;
19+
}
20+
}
21+
1222
html,
1323
body {
1424
background: var(--base);

0 commit comments

Comments
 (0)