support dark mode

This commit is contained in:
2024-11-25 16:25:55 -08:00
parent 6f954b1183
commit da1cbd2ce6
2 changed files with 77 additions and 38 deletions

View File

@@ -1,3 +1,20 @@
svg.icon path {
stroke: black;
fill: none;
}
@media (prefers-color-scheme: dark) {
body {
color: white;
background-color: black;
}
svg.icon path {
stroke: white;
fill: none;
}
}
#app {
top: 0;
bottom: 0;