3 ms·
SCSS wins for maintainability. You could import your favourite design framework (say, bootstrap) as SCSS, change its variables to suit your design, and create
by eurasiantiger 3y ago
SCSS wins for maintainability.
You could import your favourite design framework (say, bootstrap) as SCSS, change its variables to suit your design, and create any custom components using @extend:
.custom-component {
@extend .some-bootstrap-class
}
Also nothing prevents you from creating mixins, functions, etc.
Just keep it first-order, as SCSS functions cannot return new functions.
- jeffhuys 3y agoIn tailwind, it's in the tailwind config. Same stuff, basically.