Skip to content

Commit

Permalink
make sure seach overlay input is always black
Browse files Browse the repository at this point in the history
  • Loading branch information
meodai committed Nov 21, 2024
1 parent da9160b commit c369dea
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ html.docs-wrapper[data-theme='dark'] {
color: rgb(from var(--icp-on-surface) r g b / 50%);
}
}

.mainsearchinput {
color: var(--icp-on-surface--inverted);
.mainsearchinput,
input.mainsearchinput {
color: var(--icp-on-surface--inverted, #000);
}

main[class*=docMainContainer_] {
Expand Down Expand Up @@ -248,6 +248,13 @@ html.docs-wrapper[data-theme='dark'] {
}
}

html[data-theme='dark'] {
.mainsearchinput,
input.mainsearchinput {
color: #000;
}
}

/* browser resets */
abbr[title] {
text-decoration: none;
Expand Down

0 comments on commit c369dea

Please sign in to comment.