-
Notifications
You must be signed in to change notification settings - Fork 515
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
Missing tailwind classes for dynamic colors #2199
Comments
Hi @MickL 🙏 You can take a look at this: https://ui.nuxt.com/getting-started/theming#smart-safelisting You will need to define it as a safe list since it is a dynamic prop. |
|
@MickL You can also comment in your code |
Thanks! |
Environment
Version
2.18.4
Reproduction
https://github.com/MickL/nuxtui-colors-bug
Description
When the color prop is created dynamically, some css styles are not generated, especially for subtle and soft variants:
For example,
subtle
badges dont have correct border color and the background colors are missing:It should look like this:
In my reproduction repo I used a table:
The text was updated successfully, but these errors were encountered: