From 523d9ef4005a79392a5161f4906c31f292249c8a Mon Sep 17 00:00:00 2001 From: Alan Wang Date: Sat, 23 Apr 2022 09:58:09 +0800 Subject: [PATCH] fix(Search): style error in dark mode (#10527) --- packages/vant/src/search/index.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vant/src/search/index.less b/packages/vant/src/search/index.less index 2c670cabf..f13d687fc 100644 --- a/packages/vant/src/search/index.less +++ b/packages/vant/src/search/index.less @@ -1,7 +1,7 @@ body { --van-search-padding: 10px var(--van-padding-sm); --van-search-background: var(--van-background-2); - --van-search-content-background: var(--van-gray-1); + --van-search-content-background: var(--van-background); --van-search-input-height: 34px; --van-search-label-padding: 0 5px; --van-search-label-color: var(--van-text-color);