Update web dim <html> background color (#9307)

* update dim background color

* Update other css colors

---------

Co-authored-by: Eric Bailey <git@esb.lol>
This commit is contained in:
Samuel Newman
2025-10-30 18:44:22 +02:00
parent 82f7d3f4c8
commit caba72c848
+7 -7
View File
@@ -14,21 +14,21 @@
:root { :root {
--text: black; --text: black;
--background: white; --background: white;
--backgroundLight: hsl(211, 20%, 95%); --backgroundLight: #f9fafb;
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
:root { :root {
color-scheme: dark; color-scheme: dark;
--text: white; --text: white;
--background: black; --background: black;
--backgroundLight: hsl(211, 20%, 20%); --backgroundLight: #111822;
} }
} }
html.theme--light { html.theme--light {
--text: black; --text: black;
--background: white; --background: white;
--backgroundLight: hsl(211, 20%, 95%); --backgroundLight: #f9fafb;
background-color: white; background-color: white;
} }
html.theme--dark { html.theme--dark {
@@ -36,14 +36,14 @@ html.theme--dark {
background-color: black; background-color: black;
--text: white; --text: white;
--background: black; --background: black;
--backgroundLight: hsl(211, 20%, 20%); --backgroundLight: #111822;
} }
html.theme--dim { html.theme--dim {
color-scheme: dark; color-scheme: dark;
background-color: hsl(211, 28%, 12%); background-color: #151d28;
--text: white; --text: white;
--background: hsl(211, 20%, 4%); --background: #151d28;
--backgroundLight: hsl(211, 20%, 10%); --backgroundLight: #1c2736;
} }
/* Buttons and inputs have a font set by UA, so we'll have to reset that */ /* Buttons and inputs have a font set by UA, so we'll have to reset that */