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 am seeing that a lot of components do not apply the styles, when you change the variant/error dynamically.
Example - I have a form and I am using the form group element and it is very common that I will add/update the error prop dynamically, when I do that, I see the -red- classes getting added to the element, but they are empty styles. I believe it's happening because of https://tailwindcss.com/docs/content-configuration#dynamic-class-names
Another example with the same issue, I am changing the color of a button on click and this happens.
The text was updated successfully, but these errors were encountered:
For now, safelisting the red color through ui.safelistColors is enough to fix this if you're not using the Edge version.
However, you made me realize that the smart safelisting wasn't working when writing components in snake case: <u-input>, this should be solved by e25be11.
I am seeing that a lot of components do not apply the styles, when you change the variant/error dynamically.
Example - I have a form and I am using the form group element and it is very common that I will add/update the error prop dynamically, when I do that, I see the
-red-
classes getting added to the element, but they are empty styles. I believe it's happening because of https://tailwindcss.com/docs/content-configuration#dynamic-class-namesAnother example with the same issue, I am changing the color of a button on click and this happens.
The text was updated successfully, but these errors were encountered: