|
|
|
|
|
by JasonCannon
1651 days ago
|
|
>This works okay in extremely componentized web apps. It's a nightmare if your UI isn't highly componentized. I've seen projects where you make a button by copy pasting this ~80 character string of tailwind classes all over the place, and then changing the color names if you need to. Good luck fixing that when the designer decides that we don't want any buttons to have rounded corners anymore. That app is done wrong. If you are using the same styles to represent a button you should use postcss and do .myButtonClass {
@extend: (80 tailwind classes here)
} |
|