diff --git a/doc/css/theme_overrides.css b/doc/css/theme_overrides.css index 707bddb0..74cedc1b 100644 --- a/doc/css/theme_overrides.css +++ b/doc/css/theme_overrides.css @@ -19,7 +19,7 @@ body { } /* Make the search bar query text readable in dark theme. */ -body[data-theme=dark] { +body:not([data-theme="light"]) { --color-sidebar-search-foreground: white; }