colors icon indicating copy to clipboard operation
colors copied to clipboard

Usage with tailwind opacity modifier

Open nichtsam opened this issue 1 year ago • 1 comments

Is there a way to use @radix-ui/colors with tailwind's opacity modifier? I know I could just copy the content and modify it, but I would prefer to keep it sync and simple.

https://tailwindcss.com/docs/customizing-colors#using-css-variables

nichtsam avatar Sep 11 '23 08:09 nichtsam

Check out this plugin! https://github.com/brattonross/windy-radix-palette

There's an issue with v3 colors in P3 right now, but if you pin to @radix-ui/colors@2 and [email protected] then you'll be good for now.

garand avatar Oct 05 '23 17:10 garand