Skip to content

Commit

Permalink
type scrip
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelbt committed Dec 17, 2024
1 parent cdb1416 commit 5da1fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/tokens/src/lib/transforms/shadow-shorthand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default {
name: 'shadow/shorthand',
transitive: true,
matcher: ({ type, attributes: { category } }) =>
category.includes('shadow') && type == 'boxShadow',
category?.includes('shadow') && type == 'boxShadow',
transformer: ({ value }) =>
Array.isArray(value) ? parseShadowEffects(value) : value,
} as Named<Transform>;

0 comments on commit 5da1fec

Please sign in to comment.