Skip to content

Commit 88c6740

Browse files
authored
fix(ui-components): adjust shadow variables to ensure proper fallback for color transparency
1 parent 43fb46e commit 88c6740

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/ui-components/styles/theme.css

Lines changed: 2 additions & 2 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 --alpha(var(--color-shadow) / 5%);
80+
--shadow-xs: 0px 1px 2px 0px --alpha(var(--color-shadow, #101828) / 5%);
8181
--shadow-lg:
8282
0px 4px 6px -2px --alpha(var(--color-shadow, #101828) / 3%),
83-
0px 12px 16px -4px --alpha(var(--color-shadow, #101828) / 3%);
83+
0px 12px 16px -4px --alpha(var(--color-shadow, #101828) / 8%);
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)