Hacker News new | ask | show | jobs
by wahnfrieden 326 days ago
SCSS and Sass don't have a "gap-1"
2 comments

It's not supposed to, the big value of those is variables and combining rules together in a modular way. You'd define your own gap-1. It's not supposed to be a design system.
Yes that’s why Tailwind is different
Then how does tailwind implement it? Use that.
If I recall, the low effort way to do it in the past was to bring in another CSS framework eg. bootstrap, bulma, foundation, etc. So it seems, tailwind has brought it all together along with the improvements that were mentioned