tailwindcss-radix
tailwindcss-radix copied to clipboard
Use with twin.macro
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