change variant name to effect, update documentation for clarity and readability#1
change variant name to effect, update documentation for clarity and readability#1AlexVipond wants to merge 1 commit intotoolwind:mainfrom
effect, update documentation for clarity and readability#1Conversation
|
Thanks for the PR! I wonder if there's something else meaningful that signal could do as a variant if we free it up with Because this is built upon style queries, it can do plenty more than the Any ideas? |
|
I agree, I'm not quite sure about use cases for For example, could do Demo here: https://play.tailwindcss.com/2QgwOtGwFK I can't think of any great real-world use cases off the top of my head, but even just refactoring to |
|
@AlexVipond The modifier order used to bug me. It's sort of the standard now for all Tailwind CSS utilities that accept a name, so I want to be in line with that— as close to native as possible. 🙂 |
"Signals" is the perfect name, this PR clarifies the mental model