39
you are viewing a single comment's thread
view the rest of the comments
[-] GTG3000@programming.dev 2 points 2 weeks ago

Well, I meant the opposite - in CSS you can make the styles cleaner with nesting and such. TW always ends up with a ton of copy-pasting.

Though I will be fair, I don't think the projects I've seen it in used the themes properly.

[-] brian@programming.dev 1 points 2 weeks ago

if you're copypasting you're not using the code reuse tools of your component library. the nesting in normal css is component nesting with tailwind. and if you're copypasting things that aren't just the same component styles but something else shared, it's just a string you can stick it in a variable.

this post was submitted on 04 Feb 2025
39 points (100.0% liked)

ProgrammingCircleJerk

61 readers
4 users here now

Programming CircleJerkCommunity at request of a user.

founded 2 weeks ago
MODERATORS