Replies: 2 comments 1 reply
-
I think that the change that needs to be done is here. Specifically, add these to export type Conditional<V> =
| V
+ | \`\${V\}!\`
+ | \`\${V\} !important\`
| Array<V | null>
| {
[K in keyof Conditions]?: Conditional<V>
} But I'm not sure that's the best place to do this. Please advise. If that's the correct location - I don't mind making a PR. |
Beta Was this translation helpful? Give feedback.
0 replies
-
We are also running into this. |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
When
strictTokens
istrue
, TypeScript errors on this (both lines) playground link:The generated CSS is correct though:
So this is probably just a type issue.
Link to Reproduction
https://play.panda-css.com/lFXzleFNXf
Steps to reproduce
JS Framework
No response
Panda CSS Version
0.6.0
Browser
No response
Operating System
Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions