Replies: 1 comment
-
You can try something like this: const typoStyles = defineProperties({
properties: {
font: {
'14/20': {
fontSize: '14px',
lineHeight: '20px',
}
}
}
});
export const sprinkles = createSprinkles(typoStyles); // Use like:
sprinkles({
font: '14/20'
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any way to define in sprinkles utilities such as (shorthands allows only to pass same value to different props):
Beta Was this translation helpful? Give feedback.
All reactions