-
Notifications
You must be signed in to change notification settings - Fork 529
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
How to set the color of the notification progress bar to something like "bg-red-100" ? #375
Comments
Hello, Three ways, you can achieve this. Defining via UI Prop passing to
|
I have had the same issue with this widget and @benjamincanac says its not a nuxt/ui issue. this component can be designed better, you shouldn't have to customize this way
that makes code hard to maintain. |
You need to add the color to the Tailwind safelist:
Docs: https://ui.nuxtlabs.com/getting-started/theming#colors Then you can normally use the color prop.
|
How can I change the color of the notification progress bar to something like "bg-red-100" ?
I was reading the documentation, but could not figure out how or if that is possible.
The lines below only change the color to red, but not to "bg-red-100".
Thanks a lot for any help?
Stackbilitz
Stackoverflow
The text was updated successfully, but these errors were encountered: