From 06046a1ab13659de9dd44e7606a928ee56aed52b Mon Sep 17 00:00:00 2001 From: xangelo Date: Tue, 30 Jan 2024 00:05:42 -0500 Subject: [PATCH] dark theme --- src/public/style.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/public/style.css b/src/public/style.css index 011edad..643ab72 100644 --- a/src/public/style.css +++ b/src/public/style.css @@ -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; + } +} + -- 2.25.1