Content pfp
Content
@
0 reply
0 recast
0 reaction

Tony D’Addeo  pfp
Tony D’Addeo
@deodad
I like tailwind but what makes it valuable is being able to define co-locate styles with markup (and in React with JS) and avoid naming things but if CSS had property level modifiers we could just do this with CSS and remove a leaky abstraction I mostly like using tailwind arbitrary at this point anyway, especially in a component based framework where things like padding and colors can be centralized in components or constants
5 replies
4 recasts
42 reactions

Tony D’Addeo  pfp
Tony D’Addeo
@deodad
if I was setting up a front end project tomorrow I would use tailwind nix all the default colors in favor of a few semantically themed ones (text-primary) and sizes for padding, margin, height, widths in favor or using arbitrary values in components and constants
0 reply
0 recast
5 reactions