add dark mode

This commit is contained in:
Christian Lawson-Perfect 2025-03-21 15:27:00 +00:00
parent fc7f3d13b3
commit 4331af2004

View file

@ -12,6 +12,15 @@
color-scheme: light dark; color-scheme: light dark;
} }
@media (prefers-color-scheme: dark) {
:root {
--bg-lum: 0.3;
}
body {
background: black;
}
}
body { body {
font-family: 'Atkinson Hyperlegible'; font-family: 'Atkinson Hyperlegible';
line-height: 1.5; line-height: 1.5;