-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compound variants not work with responsive values #52
Comments
I'm running into this issue too – the classes are properly applied, but the Tailwind compiler doesn't seem to pick them up so the styles aren't generated. |
@mohammadgarmroodi Here is my fork: |
Closing due to lack of reproducability and response. |
Can we reopen this? We merged from cva to Here's an repro using the latest tailwind-variants version: |
Yeah, it looks like the logic from the regular variants is missing/not implemented for compoundVariants. cc @mskelton |
Is it intended to work or it is a limitation like it is with Panda CSS?
To be fair, I think implementing this logic will impact performance as it needs to loop against the variants and the responsive screens? |
Wondering as well if it's intended. Guys what's your workarounds? |
To be more specific, compounded values are working, but are not responsive, it apply only to initial value. |
Same issue here |
Describe the bug
compound variants does not support responsive values
To Reproduce
https://stackblitz.com/edit/vite-react-tailwind-dtjgiu?file=src%2FApp.jsx
The text was updated successfully, but these errors were encountered: