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
Describe the bug
The pseudo-classes are not generated correctly when the original classname contains a :.
To Reproduce
TailwindCSS uses classnames on elements to control the styling when hover or focus, or whatever happens. The way they do this is by prefixing their regular classes with hover: or focus: or other switches.
When picking up these classes, the generated ones have an additional \. before the :. As in, if you have:
Describe the bug
The pseudo-classes are not generated correctly when the original classname contains a
:
.To Reproduce
TailwindCSS uses classnames on elements to control the styling when hover or focus, or whatever happens. The way they do this is by prefixing their regular classes with
hover:
orfocus:
or other switches.When picking up these classes, the generated ones have an additional
\.
before the:
. As in, if you have:the class
gets generated.
Expected behavior
The correct class name gets generated. In this case:
The text was updated successfully, but these errors were encountered: