Replies: 1 comment 1 reply
-
This isn't a bug per se. By default, the padding utility doesn't resolve
utilities: {
extend: {
padding: {
transform(value, { token }) {
const values = value.split(' ') as string[]
const parts = values.map((v) => token(`spacing.${v}`) || v)
return { padding: parts.join(' ') }
},
},
},
}, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
applying a custom config to the tokens, to work like Stitches for example, it wont work when using CSS shorts
Link to Reproduction
https://play.panda-css.com/z7bQ0x4iD6
Beta Was this translation helpful? Give feedback.
All reactions