fix: design system box-shadows

This commit is contained in:
Michael Zetterberg
2025-03-31 07:23:21 +02:00
parent ebaea78fb3
commit effcc29f3a
4 changed files with 13 additions and 13 deletions

View File

@@ -179,7 +179,7 @@ json.collections.forEach((collection) => {
case 'DROP_SHADOW': {
const { r, g, b, a } = effect.color
const { x, y } = effect.offset
const value = `${x} ${y} ${effect.radius} ${effect.spread} rgba(${r}, ${g}, ${b}, ${a})`
const value = `${x}px ${y}px ${effect.radius}px ${effect.spread}px rgba(${r}, ${g}, ${b}, ${a})`
const token = `BoxShadow-${variable.name}`
const theme = themes.get(FALLBACK_THEME)