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

I don't think "separation of concerns" is entirely dead. Ideally, the CSS is readable and maintainable, and that implies structure. If you have a bunch of (co-)related components, you don't want to find/replace tailwind class names when you need to change the layout. So you separate that part of the layout in classes based on (layout!) functionality. You can see that as "concerns."
 help



Components are the tool you’re looking for. For the rest there’s CSS variables. Soon we may have @mixin.



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

Search: