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 have been working on setting up TailwindCSS along with PrimeVue for a Vue.js project built with Vite.
I have more or less got everything to work. My Tailwind Utility classes are working properly. The only thing I am not able to get to work is the CSS Variables associated to the colors that I have defined in a custom theme preset. I am currently using PrimeVue in styled mode.
Ideally I would like the tailwindcss-primeui plugin to extend all the CSS variables defined to it's tailwindcss counterparts but this is not happening.
I am hereby attaching below all the associated code snippets. Please have a look at it and any help with regard to this would be very useful.
I did figure out that it was indeed the usage of the @plugin directive. The link you have sent is also very helpful will go ahead and apply all the required changes.
My setup is currently working with the @plugin directive changes.
I have been working on setting up TailwindCSS along with PrimeVue for a Vue.js project built with Vite.
I have more or less got everything to work. My Tailwind Utility classes are working properly. The only thing I am not able to get to work is the CSS Variables associated to the colors that I have defined in a custom theme preset. I am currently using PrimeVue in styled mode.
Ideally I would like the tailwindcss-primeui plugin to extend all the CSS variables defined to it's tailwindcss counterparts but this is not happening.
I am hereby attaching below all the associated code snippets. Please have a look at it and any help with regard to this would be very useful.
PrimeVue - v4.2.5
TailwindCSS - v4.0
tailwindcss-primeui - v0.4.0
Main.css
BaseVariables.css
tailwind.config.js
*ThemePreset.js
main.js
The text was updated successfully, but these errors were encountered: