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 }
Just keep it first-order, as SCSS functions cannot return new functions.
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:
Also nothing prevents you from creating mixins, functions, etc.Just keep it first-order, as SCSS functions cannot return new functions.