Skip to content

Commit 43fb46e

Browse files
authored
fix(ui-components): update shadow variables to use --alpha for transparency
1 parent 36e1669 commit 43fb46e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/ui-components/styles/theme.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@
7777
--color-transparent: 'transparent';
7878
--color-shadow: #101828;
7979
--inherit: 'inherit';
80-
--shadow-xs: 0px 1px 2px 0px var(--color-shadow, rgba(0, 0, 0 / 5%));
80+
--shadow-xs: 0px 1px 2px 0px --alpha(var(--color-shadow) / 5%);
8181
--shadow-lg:
82-
0px 4px 6px -2px var(--color-shadow, rgba(0, 0, 0 / 3%)),
83-
0px 12px 16px -4px var(--color-shadow, rgba(0, 0, 0 / 8%));
82+
0px 4px 6px -2px --alpha(var(--color-shadow, #101828) / 3%),
83+
0px 12px 16px -4px --alpha(var(--color-shadow, #101828) / 3%);
8484

8585
/* TODO(@avivkeller): The --font-xyz-xyz variable is assigned by Next.js in apps/site.
8686
Ideally, this package shouldn't depend on the consuming application's

0 commit comments

Comments
 (0)