Use new palette values for main palette (#2566)

* Use new palette values for main palette

* Drawer bg in dark mode
This commit is contained in:
Eric Bailey 2024-01-18 22:54:20 -06:00 committed by GitHub
parent 95f70a9a6a
commit 9803e17449
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 74 additions and 69 deletions

View file

@ -66,26 +66,26 @@
:root {
--text: black;
--background: white;
--backgroundLight: #F3F3F8;
--backgroundLight: hsl(211, 20%, 95%);
}
html.colorMode--dark {
--text: white;
--background: black;
--backgroundLight: #26272D;
--background: hsl(211, 20%, 4%);
--backgroundLight: hsl(211, 20%, 10%);
color-scheme: dark;
}
@media (prefers-color-scheme: light) {
html.colorMode--system {
--text: black;
--background: white;
--backgroundLight: #F3F3F8;
--backgroundLight: hsl(211, 20%, 95%);
}
}
@media (prefers-color-scheme: dark) {
html.colorMode--system {
--text: white;
--background: black;
--backgroundLight: #26272D;
--background: hsl(211, 20%, 4%);
--backgroundLight: hsl(211, 20%, 10%);
color-scheme: dark;
}
}