You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just updated to the latest 3.3.0 version and I'm getting this CssSyntaxError:
The `[&:hover,_&:group-hover_&:group-focus]:decoration-inherit` class does not exist. If `[&:hover,_&:group-hover_&:group-focus]:decoration-inherit` is a custom class, make sure it is defined within a `@layer` directive.
I know I'm probably stretching the use of the variants here, but it seems like a legitimate way to use them. The same syntax worked in the previous version.
The text was updated successfully, but these errors were encountered:
Second, in v3.3 we explicitly detect these cases and throw out the utility because it was both broken and not an intended usage. This changed in #10655 which you can look at for more details if you like.
As an aside
An arbitrary variant is a raw CSS selector and neither group-focus nor group-hover are valid CSS pseudo classes. I noticed the error message which looks like you're using it from @apply. I think what you're really after is this:
Hello,
I just updated to the latest 3.3.0 version and I'm getting this
CssSyntaxError
:I know I'm probably stretching the use of the variants here, but it seems like a legitimate way to use them. The same syntax worked in the previous version.
The text was updated successfully, but these errors were encountered: