tailwindcss-radix icon indicating copy to clipboard operation
tailwindcss-radix copied to clipboard

Use with twin.macro

Open nuthinking opened this issue 1 year ago • 1 comments

Is there a way to make it work with twin.macro? Thanks!

Screenshot 2023-10-03 at 15 30 27

nuthinking avatar Oct 03 '23 13:10 nuthinking

Tailwind now supports data, hence I can do in twin.macro this: tw="hover:bg-n200A data-[state=open]:bg-n200A".

nuthinking avatar Oct 03 '23 15:10 nuthinking

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

ecklf avatar Mar 23 '24 10:03 ecklf