Verified Commit a2167069 authored by Luc Didry's avatar Luc Didry
Browse files

💄 — Use CSS media prefers-color-scheme on splash screen

Users using a dark theme on there OS will obviously have a lot of
chances to choose Kresus’ dark theme. But the theme is not initialized
on splash screen (whene you arrive on your Kresus).
Using `@media (prefers-color-scheme: dark)` on the splash screen avoid
hurting dark theme lovers’ eyes with a white background 🙂
parent 1b37ae7e
Pipeline #296339 failed with stages
in 1 minute and 41 seconds
......@@ -39,3 +39,9 @@ body,
#app > div {
height: 100%;
}
@media (prefers-color-scheme: dark) {
#app {
background-color: #2D2C2C;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment