Skip to content

Commit 49d4730

Browse files
committed
Dark mode
1 parent 16c35f0 commit 49d4730

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

style.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@
77
--font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
88
}
99

10+
@media (prefers-color-scheme: dark) {
11+
:root {
12+
--primary-color: #5aadcc;
13+
--secondary-color: #ff9d5c;
14+
--text-color: #e0e0e0;
15+
--background-color: #121212;
16+
}
17+
}
18+
1019
*, *::before, *::after { box-sizing: border-box; }
1120
* { margin: 0; }
1221

0 commit comments

Comments
 (0)