Add dark mode for search input

This commit is contained in:
Jake Howard 2022-08-27 20:34:23 +01:00
parent 7c7e81f841
commit f7552e9565
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -26,4 +26,19 @@ body.page-searchpage {
#result-count {
margin-bottom: 1rem;
}
input[type="search"] {
@include dark-mode {
background-color: color.adjust($dark, $alpha: -0.2);
color: $white;
&::placeholder {
color: rgba(214 210 205 / 80%);
}
&:focus ~ .icon {
color: $grey-light !important;
}
}
}
}