From 1224d47218ee8da7f2d638df785af7b9ea86cc64 Mon Sep 17 00:00:00 2001 From: Hikari Date: Tue, 3 Mar 2026 17:01:37 -0800 Subject: [PATCH] fix(style): improve search placeholder contrast Targets the Starlight search button and dialog input placeholder to use the primary colour variable for readable contrast in both light and dark modes. --- src/styles/style.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/styles/style.css b/src/styles/style.css index f060ee8..4392dbe 100644 --- a/src/styles/style.css +++ b/src/styles/style.css @@ -150,6 +150,15 @@ starlight-theme-select > label { color: var(--primary-color) !important; } +site-search button[data-open-modal] { + color: var(--primary-color) !important; +} + +#starlight__search input::placeholder { + color: var(--primary-color) !important; + opacity: 0.8; +} + #extra-footer-content { display: flex; flex-direction: row;