Patch Changes
-
028e755: Fix
Spacerpattern not resolving spacing tokens for thesizeprop.Previously,
<Spacer size="5" />would generate invalid CSS (flex: 0 0 5) instead of resolving the spacing token.
Now it correctly outputsflex: 0 0 var(--spacing-5, 5).Before (broken):
flex: 0 0 5— raw value, not a valid CSS length After (fixed):
flex: 0 0 var(--spacing-5, 5)— resolved spacing tokenCloses #3490
- @pandacss/types@1.9.1