You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I needed to set my 'primary' color from Tailwind as Primary for nuxt/ui components.
The string must be exactly 'primary', because I am getting it from the backend as props for buttons, etc.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Nuxt UI already creates a primary color with CSS variables so you can change it at runtime with your app.config.ts, this means you can't name your color primary in your tailwind.config.ts. You need to rename it to whatever you want, like mycolor and then use this color as:
Environment
Version
^2.16.0
Reproduction
app.config.ts:
tailwind.config.ts
Description
I needed to set my 'primary' color from Tailwind as Primary for nuxt/ui components.
The string must be exactly 'primary', because I am getting it from the backend as props for buttons, etc.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: