css now respects dark mode

master
Anton Lydike 2 years ago
parent f5bf37495d
commit b35590f1bd

@ -98,3 +98,20 @@ body.dark-theme {
body.dark-theme a:visited { body.dark-theme a:visited {
color: blueviolet; color: blueviolet;
} }
@media (prefers-color-scheme: dark) {
body {
--table-border-color: #222;
--table-background-color: #333;
--text-color: #eee;
background-color: #111;
}
body a:visited {
color: blueviolet;
}
body a {
color: darkturquoise;
}
}

Loading…
Cancel
Save