From 991aa97bc4f9070d87b910da40662903eab7fc7f Mon Sep 17 00:00:00 2001 From: Saran Tunyasuvunakool Date: Thu, 5 Oct 2023 05:33:14 -0700 Subject: [PATCH] Make the doc search text readable in dark theme. Currently it's dark blue text on dark grey background. PiperOrigin-RevId: 570985075 Change-Id: I7dc97163babd4d6c2f99fa600b259274e69fdd8b --- doc/css/theme_overrides.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/css/theme_overrides.css b/doc/css/theme_overrides.css index 44a37261..707bddb0 100644 --- a/doc/css/theme_overrides.css +++ b/doc/css/theme_overrides.css @@ -18,6 +18,11 @@ body { color: var(--body-color); } +/* Make the search bar query text readable in dark theme. */ +body[data-theme=dark] { + --color-sidebar-search-foreground: white; +} + .schema-small { font-size: 93%; }