From 75a7672f97933b68d5c2989a20717693a08599ea Mon Sep 17 00:00:00 2001 From: Yuki Joou Date: Mon, 4 Sep 2023 11:18:38 +0200 Subject: [PATCH] style: Added a light mode colourscheme --- static/style.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/static/style.css b/static/style.css index 626f58d..c0458f5 100644 --- a/static/style.css +++ b/static/style.css @@ -1,4 +1,4 @@ -* { +:root { --background-color: #222222; --foreground-color: #eaeaea; --header-background-color: #444455; @@ -7,6 +7,17 @@ --blockquote-bar: #cccccc; } +@media (prefers-color-scheme: light) { + :root { + --background-color: #d9d9d9; + --foreground-color: #424242; + --header-background-color: #aeaedb; + --content-background-color: #d7acd7; + --link-color: #5050bf; + --blockquote-bar: #686868; + } +} + body { display: flex; flex-direction: column;