
Sunbeamwillow
@sunbeamwillow
14 replies
11 recasts
81 reactions
5 replies
6 recasts
16 reactions
0 reply
0 recast
0 reaction
0 reply
0 recast
0 reaction
7 replies
4 recasts
21 reactions
2 replies
3 recasts
12 reactions

Tailwind continues to be the bane of my existence. If you’re building a UI library, potential conflicts with the consumer are death by a thousand paper cuts. Yes you can prefix but the cost is getting everybody (including AI) to adopt your different class names. AI hates deviating from the norm and tbh so do I (my prettier.rc is always {}).
“But if you’re not building a library, it’s so much faster!” Maybe, depends on what you’re building and how well you know CSS. If you don’t wanna learn CSS, sure, but the spec keeps expanding and Tailwind has to keep up.
My biggest issue with Tailwind in non-library projects is that, in my experience, it makes people not make UI components. Your button styles, for example, are duplicated everywhere. Need to tweak a border radius? Cool, you have to update every button cause there’s no canonical styled button component.
Is that an inherent issue? No, but if you give people the choice to be lazy, they will be lazy. Is it a problem specific to Tailwind? No, but it’s so common in Tailwind codebases.
CSS modules all day. Sorry. 4 replies
2 recasts
8 reactions
0 reply
0 recast
0 reaction
28 replies
15 recasts
147 reactions
6 replies
7 recasts
35 reactions
0 reply
0 recast
0 reaction
2 replies
7 recasts
20 reactions
28 replies
22 recasts
262 reactions
25 replies
18 recasts
131 reactions
7 replies
6 recasts
40 reactions
0 reply
0 recast
0 reaction
28 replies
25 recasts
244 reactions
2 replies
2 recasts
31 reactions
29 replies
7 recasts
103 reactions
16 replies
9 recasts
259 reactions