fix: design system box-shadows
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user