diff --git a/static/theme.css b/static/theme.css index dc9daa3..6ee2418 100644 --- a/static/theme.css +++ b/static/theme.css @@ -8,6 +8,17 @@ body { --theme-primary: white; --theme-secondary: black; max-width: 100vw; + background-color: var(--theme-primary); + color: var(--theme-secondary); +} + +@media screen and (prefers-color-scheme:dark) { + body { + --theme-accent: rgb(255, 226, 158); + --theme-accent2: rgb(77, 3, 3); + --theme-primary: rgb(23, 23, 23); + --theme-secondary: rgb(255, 255, 255); + } } header { @@ -112,7 +123,7 @@ footer { } footer a { - color: white; + color: var(--theme-accent2); } hr {