News for hackers. Stuff that matters.
Re:Don't use Tailwind for your Design System by _nhh on Wednesday January 11, 2023 @12:04PM (#34340902)
The whole point of a design system is not to have local overrides.

In a design system. You specify variants of a component. Each one has its own combination of style defined by the design system.

You do not set „Gap“ to 2. you would specify smth like „small“, „medium“ or „large“ as props.

This is not a tailwind issue.

Re:Don't use Tailwind for your Design System by wry_discontent on Wednesday January 11, 2023 @12:32PM (#34341330)
> The whole point of a design system is not to have local overrides.

Are you unfamiliar with having-a-boss?

Re:Don't use Tailwind for your Design System by marcosdumay on Wednesday January 11, 2023 @12:47PM (#34341628)
He is familiar with the boss being the one mandating the design system, and not the one asking "can we push that button a few pixels to the left?"

On the places where things work, bosses act like the GP's one. Granted, that doesn't happen on the large majority of places.

Re:Don't use Tailwind for your Design System by franky47 on Wednesday January 11, 2023 @02:41PM (#34343457)
* * *