Skip to content

Commit 0513474

Browse files
authored
Remove search page flashbang on page transition (#1102)
1 parent f122363 commit 0513474

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ext/css/search.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,3 +177,11 @@ h1 {
177177
width: 640px;
178178
height: 480px;
179179
}
180+
181+
/* Dark mode before themes are applied
182+
DO NOT use this for normal theming */
183+
@media (prefers-color-scheme: dark) {
184+
:root:not([data-loaded=true]) {
185+
background-color: #1e1e1e;
186+
}
187+
}

0 commit comments

Comments
 (0)