DEV Community

Discussion on: Don't use Tailwind for your Design System

Collapse
 
anuraghazra profile image
Anurag Hazra • Edited

I absolutely agree with your points.

While building our design system on top of tailwind we also faced similar issues and the most annoying issue is the specificity issue.

Now it's not the issue with tailwind per say but using atomic CSS for any component library will be a headache, and you have to juggle with specificity knives.

Here's a summary tweet of problems we faced with tailwind class specificity

Collapse
 
davesnx profile image
David Sancho

I didn't have the issue with specificity since we wrote a bunch of logic that abstract this away from having similar utilities on the same property, but I see where this error may occur.