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:
committed by
Copybara-Service
parent
57e6940f57
commit
cdf55e2ae9
@@ -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%;
|
||||
|
||||
Reference in New Issue
Block a user