Skip to content

Commit

Permalink
Fixed the searchbox color in darkmode
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaGahukar authored and lcrojano committed Oct 19, 2024
1 parent 3ffeb21 commit fd8a846
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@ input[type='search']::placeholder {
color: #bbb;
}

.dark-mode input[type='search'] {
background: var(--principal-text-color); /* White background in dark mode */
color: var(--primary-text-color); /* Black text in dark mode */
}

#search-btn,
#toggle,
#fav-btn,
Expand Down

0 comments on commit fd8a846

Please sign in to comment.