Closed nuthinking closed 7 months ago
Tailwind now supports data
, hence I can do in twin.macro this: tw="hover:bg-n200A data-[state=open]:bg-n200A"
.
This seems to be supported by version 3 of twin now. Feel free to re-open if this isn't the case. https://github.com/ben-rogerson/twin.macro/issues/741
Is there a way to make it work with twin.macro? Thanks!