From 8cf6e8ec7502864cc35577a4bfa9956873f1b9fc Mon Sep 17 00:00:00 2001 From: Netfan Date: Sun, 12 Jan 2025 14:48:05 +0800 Subject: [PATCH] style: popover bgColor is too close to common (#5364) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复Dark主题下,弹出层的背景色与主体背景色太过接近的问题 --- packages/@core/base/design/src/design-tokens/dark.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/@core/base/design/src/design-tokens/dark.css b/packages/@core/base/design/src/design-tokens/dark.css index 2a1d052f6..d34541e94 100644 --- a/packages/@core/base/design/src/design-tokens/dark.css +++ b/packages/@core/base/design/src/design-tokens/dark.css @@ -15,7 +15,11 @@ --card-foreground: 210 40% 98%; /* Background color for popovers such as , , */ - --popover: 222.82deg 8.43% 12.27%; + + /* --popover: 222.82deg 8.43% 12.27%; */ + + /* 弹出层的背景色与主题区域背景色太过接近 */ + --popover: 0 0 14.2%; --popover-foreground: 210 40% 98%; /* Muted backgrounds such as , and */