dark theme
authorxangelo <me@xangelo.ca>
Tue, 30 Jan 2024 05:05:42 +0000 (00:05 -0500)
committerxangelo <me@xangelo.ca>
Tue, 30 Jan 2024 05:05:42 +0000 (00:05 -0500)
src/public/style.css

index 011edad1d984877843b83ba0ff59489e62d3f875..643ab7216b5e7de1b21aedb1163a37c8a8328997 100644 (file)
@@ -1,3 +1,4 @@
+
 .item {
   .header {
     font-size: 0.8rem;
@@ -42,3 +43,15 @@ footer {
     text-align: center;
   }
 }
+
+@media (prefers-color-scheme: dark) {
+       :root {
+               /* foreground   | background color */
+               --cfg:   #cecbc4; --cbg:    #252220;
+               --cdark: #999;    --clight: #333;
+               --cmed:  #566;
+               --clink: #1ad;
+               --cemph: #0b9;    --cemphbg: #0b91;
+       }       
+}
+