update theme dark mode

This commit is contained in:
Gabriel 2024-01-20 20:43:19 -05:00
parent f2f2797921
commit 21b0373131

View file

@ -8,6 +8,17 @@ body {
--theme-primary: white; --theme-primary: white;
--theme-secondary: black; --theme-secondary: black;
max-width: 100vw; 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 { header {
@ -112,7 +123,7 @@ footer {
} }
footer a { footer a {
color: white; color: var(--theme-accent2);
} }
hr { hr {