-
Notifications
You must be signed in to change notification settings - Fork 935
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Ability to add additional colors like secondary, accent, success, info, warning, danger.
Is your feature request related to a problem? Please describe.
Partially.
Following the docs I see that it should be already possible to use any colors that gets defined within tailwind.config. But it isn't currently working:

While creating a stackblitz repro I've noticed that I even get a validation error on the 'color' prop (EDIT: I get the vue warn in local dev too). But compared to running locally the component gets displayed in white.
[Vue warn]: Invalid prop: custom validator check failed for prop "color".
Additionally: How could we make them possible to be edited at runtime inside app.config.ts?
Describe the solution you'd like
- Defining any custom colors inside tailwind.config (either being inside
nuxt.config.tsortailwind.config.js), with their respective default values. - Being able to have them available inside the
app.config.tsto be changed at runtime.
Additional context
The ability to change at runtime for colors such 'success', 'info', 'warning' and 'danger' is particularly useful for platforms with colorblindness support.
ddahan, FranciscoKloganB, gcom-ryan, Loosie94, DenisZubrin and 1 moreDrew-Macgibbon
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested
