Skip to content

Commit 0b65036

Browse files
authored
fix: popover background color in dark mode (#5783)
* 修复dark主题下的弹出层背景色在某些浏览器上表现为完全透明的问题
1 parent 1616a06 commit 0b65036

File tree

1 file changed

+1
-1
lines changed
  • packages/@core/base/design/src/design-tokens

1 file changed

+1
-1
lines changed

packages/@core/base/design/src/design-tokens/dark.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/* --popover: 222.82deg 8.43% 12.27%; */
2020

2121
/* 弹出层的背景色与主题区域背景色太过接近 */
22-
--popover: 0 0 14.2%;
22+
--popover: 0 0% 14.2%;
2323
--popover-foreground: 210 40% 98%;
2424

2525
/* Muted backgrounds such as <TabsList />, <Skeleton /> and <Switch /> */

0 commit comments

Comments
 (0)