From bf3d3ab8aff45e6c553845eca41be7406d47967a Mon Sep 17 00:00:00 2001 From: Eric Holscher Date: Tue, 18 Feb 2025 14:14:00 -0800 Subject: [PATCH 1/3] Force black text for search input --- src/search.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/search.css b/src/search.css index 2edf8218..f8f7e18d 100644 --- a/src/search.css +++ b/src/search.css @@ -34,9 +34,8 @@ white-space: pre-wrap; word-wrap: break-word; font-size: 0.875em; - font-family: - SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", - monospace; + font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", + "Courier New", monospace; border-radius: 0; } @@ -114,6 +113,7 @@ width: 100%; padding: 6px; line-height: 1; + color: black; /* Fix https://github.com/readthedocs/addons/issues/420 */ } :host > div .results { From 13a1c11238829d2b2410665d84a0cd4635829e29 Mon Sep 17 00:00:00 2001 From: Eric Holscher Date: Tue, 18 Feb 2025 15:45:36 -0800 Subject: [PATCH 2/3] Change back syntax --- src/search.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/search.css b/src/search.css index f8f7e18d..a967a6a6 100644 --- a/src/search.css +++ b/src/search.css @@ -34,8 +34,9 @@ white-space: pre-wrap; word-wrap: break-word; font-size: 0.875em; - font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", - "Courier New", monospace; + font-family: + SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", + monospace; border-radius: 0; } From 630ff239fa500a9b7ef7afda3eace2c9a1ddc426 Mon Sep 17 00:00:00 2001 From: Eric Holscher <25510+ericholscher@users.noreply.github.com> Date: Wed, 19 Feb 2025 15:13:32 -0800 Subject: [PATCH 3/3] Update src/search.css Co-authored-by: Anthony --- src/search.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.css b/src/search.css index a967a6a6..7ac38e6b 100644 --- a/src/search.css +++ b/src/search.css @@ -114,7 +114,7 @@ width: 100%; padding: 6px; line-height: 1; - color: black; /* Fix https://github.com/readthedocs/addons/issues/420 */ + color: var(--readthedocs-search-color, rgb(64, 64, 64)); } :host > div .results {