Prevent white flash during loading screen

no longer have to deal with getting flashbanged every time! :D
This commit is contained in:
Freeplay 2023-06-17 22:22:35 -04:00
parent f53d8b7e1d
commit 020c4f5788
1 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,11 @@ html {
background-color: var(--bg);
color: var(--fg);
}
@media (prefers-color-scheme: dark) {
html {
--bg: rgb(17, 17, 27);
}
}
#splash {
position: fixed;