mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-19 18:42:34 +00:00
Fix darkmode in local-search (#402)
This commit is contained in:
parent
6120654d73
commit
2265b178ff
@ -56,6 +56,11 @@ if (hexo-config('local_search.enable') or hexo-config('algolia_search.enable'))
|
|||||||
|
|
||||||
.search-header {
|
.search-header {
|
||||||
background: $gainsboro;
|
background: $gainsboro;
|
||||||
|
if (hexo-config('darkmode')) {
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
background: $grey-dim;
|
||||||
|
}
|
||||||
|
}
|
||||||
border-top-left-radius: 5px;
|
border-top-left-radius: 5px;
|
||||||
border-top-right-radius: 5px;
|
border-top-right-radius: 5px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user