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
Given the html pseudocode <div class="variant:utility">, Tailwind is generating the CSS for .variant\:utilityand the CSS for.utility.
The text was updated successfully, but these errors were encountered:
olets
changed the title
[v3] variant-less class generated when only variant-ific classes are used
[v3] using a class with a variant generates css for the variant-free class too
Sep 11, 2024
Hey thanks! Just looked into this and it doesn't seem to happen in real projects, only in Tailwind Play. Will keep this open so we don't forget to fix it in Play but in my testing at least only the actual classes are generated in real projects 👍
olets
changed the title
[v3] using a class with a variant generates css for the variant-free class too
[Tailwind Play v3] using a class with a variant generates css for the variant-free class too
Sep 18, 2024
olets
changed the title
[Tailwind Play v3] using a class with a variant generates css for the variant-free class too
[v3 on Tailwind Play] using a class with a variant generates css for the variant-free class too
Sep 18, 2024
What version of Tailwind CSS are you using?
3.4.11
What build tool (or framework if it abstracts the build tool) are you using?
play's
What version of Node.js are you using?
play's
What browser are you using?
Chrome, Firefox
What operating system are you using?
macOS
Reproduction URL
https://play.tailwindcss.com/KnbS12ekWQ
Describe your issue
Given the html pseudocode
<div class="variant:utility">
, Tailwind is generating the CSS for.variant\:utility
and the CSS for.utility
.The text was updated successfully, but these errors were encountered: