Higher-order mixins in Sass -
it well-known sass supports higher-order functions, possible have higher-order mixins? this:
@mixin foo($color) color: $color @mixin bar($mixin, $background-color) background-color: $background-color @include $mixin(complement($background-color)) @include bar(foo, white)
Comments
Post a Comment