From f233bcedb4d79cba9b8d21f700ca79f2297f0ec9 Mon Sep 17 00:00:00 2001 From: Shenwei Wang Date: Tue, 7 Dec 2021 12:19:32 +0800 Subject: [PATCH] fix: fix input box style of search page in dark mode closes #125 --- src/client/theme/SearchPage/SearchPage.module.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/theme/SearchPage/SearchPage.module.css b/src/client/theme/SearchPage/SearchPage.module.css index df5984ef..7ef57c1c 100644 --- a/src/client/theme/SearchPage/SearchPage.module.css +++ b/src/client/theme/SearchPage/SearchPage.module.css @@ -5,7 +5,8 @@ font-size: var(--ifm-font-size-base); padding: 0.5rem; width: 100%; - background: #fff; + background: var(--ifm-background-color); + color: var(--ifm-font-color-base); margin-bottom: 1rem; }