Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage with tailwind opacity modifier #33

Closed
nichtsam opened this issue Sep 11, 2023 · 1 comment
Closed

Usage with tailwind opacity modifier #33

nichtsam opened this issue Sep 11, 2023 · 1 comment

Comments

@nichtsam
Copy link

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

@garand
Copy link

garand commented Oct 5, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants