Browse Source

fix: popover background color in dark mode (#5783)

* 修复dark主题下的弹出层背景色在某些浏览器上表现为完全透明的问题
pull/5784/head
Netfan 11 months ago
committed by GitHub
parent
commit
0b650367f3
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      packages/@core/base/design/src/design-tokens/dark.css

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

@ -19,7 +19,7 @@
/* --popover: 222.82deg 8.43% 12.27%; */
/* 弹出层的背景色与主题区域背景色太过接近 */
--popover: 0 0 14.2%;
--popover: 0 0% 14.2%;
--popover-foreground: 210 40% 98%;
/* Muted backgrounds such as <TabsList />, <Skeleton /> and <Switch /> */

Loading…
Cancel
Save