Skip to content

Commit 5e95002

Browse files
authored
dark mode (#4)
1 parent 0ad5141 commit 5e95002

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
<title>code4math</title>
99
<meta name="description" content="Consortium of Digital Ecosystems for Mathematics" />
1010
<link rel="stylesheet" href="./simple.min.css">
11-
<style>:root {--accent-bg: #f7fff5; --accent: #47a10d}</style>
11+
<style>
12+
:root {--accent-bg: #f7fff5; --accent: #47a10d}
13+
@media (prefers-color-scheme: dark) { :root {--accent-bg: #212a22; --accent: #00b928} }
14+
</style>
1215

1316
<link rel="icon" href="/favicon.png" />
1417
<link rel="apple-touch-icon" href="/favicon.png">

0 commit comments

Comments
 (0)