From 051347488237b8dffd2f0e9c93afb36fca255513 Mon Sep 17 00:00:00 2001 From: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Date: Thu, 20 Jun 2024 14:58:01 -0400 Subject: Remove search page flashbang on page transition (#1102) --- ext/css/search.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ext/css/search.css b/ext/css/search.css index 6bccf332..908f1975 100644 --- a/ext/css/search.css +++ b/ext/css/search.css @@ -177,3 +177,11 @@ h1 { width: 640px; height: 480px; } + +/* Dark mode before themes are applied + DO NOT use this for normal theming */ +@media (prefers-color-scheme: dark) { + :root:not([data-loaded=true]) { + background-color: #1e1e1e; + } +} -- cgit v1.2.3