Real dark mode.

I had used the wrong debug control to test it :\
This commit is contained in:
Neale Pickett 2023-01-06 14:20:01 -07:00
parent ad49793bc8
commit f2302bff2a
1 changed files with 11 additions and 4 deletions

View File

@ -1,18 +1,25 @@
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
html { html {
background-color: black; background-color: black;
color: white;
} }
.box { .box {
color: #eee; /* Make this darker to make the on-screen lighter. I don't know why. */ background-color: #222;
}
.input, .button, .textarea, .select select {
background-color: #444;
}
html, .box, .title, .label, .input, .button, .textarea, .select select {
color: white;
} }
.button.is-primary { .button.is-primary {
background-color: #096; background-color: #086;
} }
input[type=range] { input[type=range] {
accent-color: #096; accent-color: #086;
} }
} }