Skip to content

Commit

Permalink
docs: properly theme searchbar on prefers-dark
Browse files Browse the repository at this point in the history
  • Loading branch information
NotAShelf committed Dec 10, 2024
1 parent 37dc965 commit 0a3855c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/static/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -240,13 +240,19 @@ li {
padding: 10px;
border-bottom: 1px solid #ccc;
z-index: 1000;
@media (prefers-color-scheme: dark) {
background: $color-gray-900;
color: $color-gray-50;
}
}

#search-input {
width: 100%;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
}

.hidden {
display: none;
}
Expand Down

0 comments on commit 0a3855c

Please sign in to comment.