web: fix text colour on initial load when not in dark mode

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-04-12 12:25:38 +02:00
parent ab7941922f
commit cd1b0c67ea
5 changed files with 7 additions and 4 deletions

View File

@ -97,6 +97,9 @@ html > form > input {
body {
background-color: var(--ak-dark-background) !important;
}
.ak-initial-load h1 {
color: var(--ak-dark-foreground);
}
@media (prefers-color-scheme: dark) {
:root {