Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> When are you changing every single instance of "lg:text-7xl"

I'm not, I'm changing some 7xl-sized text in multiple places. But I don't want to change every element that is .lg:text-7xl already.

> If you're doing an entire site design refresh

I'm not

> You will inevitably have some layer of abstraction anyway, something like components

I already do, they're in JS, and much more powerful and extensible than HTML attributes.



You could also update the Tailwind config file to define what "text-7xl" is. Default is "4.5rem"


> But I don't want to change every element that is .lg:text-7xl already.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: