Do not override search bar text color when data-theme="auto" in light mode.

PiperOrigin-RevId: 580546595
Change-Id: If39cd937e9288c860b8b713911f0ef5114aee5f5
This commit is contained in:
Saran Tunyasuvunakool
2023-11-08 08:45:13 -08:00
committed by Copybara-Service
parent 57e6940f57
commit cdf55e2ae9
+6 -1
View File
@@ -19,9 +19,14 @@ body {
}
/* Make the search bar query text readable in dark theme. */
body:not([data-theme="light"]) {
body[data-theme="dark"] {
--color-sidebar-search-foreground: white;
}
@media (prefers-color-scheme: dark) {
body[data-theme="auto"] {
--color-sidebar-search-foreground: white;
}
}
.schema-small {
font-size: 93%;