summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/css/search.css8
1 files changed, 8 insertions, 0 deletions
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;
+ }
+}