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
addUtilities([Object.entries(utilities).map(([key,value])=>{return{// "animate__" can be a custom variable here instead with "animate__" being a default value if custom is undefined.[`.${e(`animate__${key}`)}`]: value,}})])
What do you think of this idea? Tailwind usually uses '-' as delimiter and I would really like to have things being consistent to one style.
Also, can you please tell me if there was something preventing you from just using "animated", "fadeIn" etc. styles without prefix? Because I would like to have "" prefix as a valid one too.
The text was updated successfully, but these errors were encountered:
i used the prefix to prevent problems if the projects contains other libraries with same class names. But i get your point to make the class names more tailwind like:
.animated-fadeIn {}
or maybe even shorter:
.ani-fadeIn {}
The option to remove the prefix at all is also a good idea, maybe we could do something like this to make it optional:
What do you think of this idea? Tailwind usually uses '-' as delimiter and I would really like to have things being consistent to one style.
Also, can you please tell me if there was something preventing you from just using "animated", "fadeIn" etc. styles without prefix? Because I would like to have "" prefix as a valid one too.
The text was updated successfully, but these errors were encountered: