-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[idea] auto-inferred variants based on standard pseudo classes #3970
Comments
Yeah I think this would be good to add — one thing that would help us do it faster is if someone wants to provide a full list of what's missing, and think through the order they should be listed in to have the most intuitive override behavior. For example, should |
Great! I'd be open to creating a draft for this by the end of the week. The community can then refine it based on their experience using the pseudo classes. Should I start a discussion thread when it's ready or is an issue better suited? Or should I just post it on this thread? |
Let's keep it to this thread or in a PR if you wanted to take it that far 👍🏻 |
Maybe there is simple method to organize pseudo-classes in more natural way. I will call it as "context related" and "user focus" to align with browser. Website:
This need to be investigate and write to some documentation when JIT can introduce all sort of pseudo thinks |
PR'd and merged this stuff earlier this week 👍🏻 |
There are some nice plugins out there for non existent interaction variants such as
group-hover-within
but it'd be great for JIT to support every standard pseudo class as variant.Things like
required
,optional
, andread-only
are very useful for designing form elements but currently require a plugin.Would be nice to at least have a subset of these standard pseudo classes be recognized as variants by JIT so that we can simply write
required:ring-red-600
and have it just work.The text was updated successfully, but these errors were encountered: