From caf696a5ec453cd7f03251472ae1df1d257d9d3d Mon Sep 17 00:00:00 2001 From: Freeplay Date: Sat, 17 Jun 2023 22:22:35 -0400 Subject: [PATCH] Prevent white flash during loading screen no longer have to deal with getting flashbanged every time! :D --- packages/backend/src/server/web/style.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/backend/src/server/web/style.css b/packages/backend/src/server/web/style.css index 5072e0ad4..6b5f26772 100644 --- a/packages/backend/src/server/web/style.css +++ b/packages/backend/src/server/web/style.css @@ -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;