Skip to content

Commit c2d015b

Browse files
author
Fath11
authored
Fix search dropdown background color in dark mode (TurboWarp#2235)
1 parent 5c20172 commit c2d015b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎development/homepage-template.ejs‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,12 @@
264264
transition: box-shadow .15s ease-in-out, box-shadow .15s ease-in-out;
265265
}
266266
267+
@media (prefers-color-scheme: dark) {
268+
.search-base {
269+
background-color: #111;
270+
}
271+
}
272+
267273
.search-base:focus {
268274
outline: none;
269275
box-shadow: 0 0 0 .25rem rgba(236, 90, 84, .25);

0 commit comments

Comments
 (0)