clean up css color scheme stuff a bit

This commit is contained in:
xenofem 2022-05-26 14:43:21 -04:00
parent 4f9d46cc28
commit 70e6b8bec6
2 changed files with 25 additions and 28 deletions

View file

@ -1,6 +1,4 @@
@media not all and (prefers-color-scheme: dark) {
:root { :root {
color-scheme: light;
--success-primary: #060; --success-primary: #060;
--success-secondary: #0a0; --success-secondary: #0a0;
--failure-primary: #d00; --failure-primary: #d00;
@ -25,11 +23,9 @@
--button-disabled-background: #eee; --button-disabled-background: #eee;
--button-disabled-border: #ddd; --button-disabled-border: #ddd;
} }
}
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
:root { :root {
color-scheme: dark;
--success-primary: #0d0; --success-primary: #0d0;
--success-secondary: #080; --success-secondary: #080;
--failure-primary: #f34; --failure-primary: #f34;

View file

@ -9,6 +9,7 @@ body {
#header h1 { #header h1 {
margin-top: 5px; margin-top: 5px;
color: CanvasText;
} }
#header a { #header a {