Type safety in property values #1232
Replies: 2 comments 6 replies
-
@TowardsDeath css allows arbitrary values naturally. For example, |
Beta Was this translation helpful? Give feedback.
2 replies
-
@TowardsDeath is this still an issue for you? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I‘m trying Panda CSS to see if it‘s something we could use in our design system, instead of Vanilla Extract. I‘m having trouble getting type-checking in CSS values to work.
From the documentation:
Does this mean only the properties are type-checked, and the values aren‘t?
This fails like I would expect:
This passes, even though the value is invalid:
Am I doing something wrong, or is this how Panda CSS behaves?
Beta Was this translation helpful? Give feedback.
All reactions