-
I'm trying to add a variant on a group, but it doesn't seem to work - only if the group is unnamed (i.e. I'm using Playground: https://play.tailwindcss.com/ecsY8X6ox9 |
Beta Was this translation helpful? Give feedback.
Answered by
wongjn
Apr 9, 2024
Replies: 1 comment 4 replies
-
You'd need to follow how core does it like https://play.tailwindcss.com/Qyhp3qrvMr?file=config. |
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
Use a different
name
for the first parameter of thematchVariant()
call, with aDEFAULT
value key so that thename
matches by itself: https://play.tailwindcss.com/BiqH28z4Lq?file=config.