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 a vue project built with Vite that has both primevue v4.0.0-beta.5 and tailwind v3.4.4 setup. (also have tailwindcss-primeui v0.3.1 and "primevue/themes v4.0.0-beta.5).
My setup for the theme is below. I have a button component & in the css I am trying to set it's background-color to be var(--p-card-background); I would expect on-load it to show the background color of #FFFFFF, however on-load the inspector says --p-card-background is not defined. Only after I interact with the button does it update to the correct color & show the variable as defined. It seems this is the case even if I do not try to customize the color via the preset.
I have a vue project built with Vite that has both primevue v4.0.0-beta.5 and tailwind v3.4.4 setup. (also have tailwindcss-primeui v0.3.1 and "primevue/themes v4.0.0-beta.5).
My setup for the theme is below. I have a button component & in the css I am trying to set it's background-color to be
var(--p-card-background)
; I would expect on-load it to show the background color of #FFFFFF, however on-load the inspector says--p-card-background
is not defined. Only after I interact with the button does it update to the correct color & show the variable as defined. It seems this is the case even if I do not try to customize the color via the preset.The text was updated successfully, but these errors were encountered: