Add support for @apply
with complex classes that use colons like hover:bg-green-200
#664
Labels
@apply
with complex classes that use colons like hover:bg-green-200
#664
Thanks for adding the
@unocss/transformer-directives
that supports using@apply ...
inside of style tags! I do want to mention that in a SvelteKit project it doesn't work for complex classes that use colons unfortunately, so@apply bg-green-100 hover:bg-green-200
will not work presently.Tailwind had this issue for a long time and solved it finally in 2020. Perhaps the solution for this could be pulled from their resolution of the same issue, tailwindlabs/tailwindcss#2159 may be a good starting point.
The text was updated successfully, but these errors were encountered: