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
The moment you have components that users can pass arbitrary classes to it tends to be quite useful. tailwind-merge is what shadcn uses for everything for example.
There are a few implementations in golang that I know of:
https://github.com/tylantz/go-tailwind-merge -> a very interesting and different approach to solving the issue. It parses your classes and looks for style conflicts rather than relying on tailwind's class names for diffing