Skip to content

Commit 96ec910

Browse files
committed
feat: update Card component styles to use CSS variables for padding in box-shadow
1 parent 421d149 commit 96ec910

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/card/Card.style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100

101101
@each $gradientName, $gradientColor in variables.$colors {
102102
&-#{$gradientName} {
103-
//box-shadow: inset 0 0 ($padding * 2) math.div($padding, 2) helpers.backgroundColor($gradientColor);
103+
box-shadow: inset 0 0 calc(var(--padding) * 2) calc(var(--padding) / 2) helpers.backgroundColor($gradientColor);
104104
}
105105
}
106106
}

0 commit comments

Comments
 (0)