Unimportant
BEM methodology.
#{BEMBEMBEM('.style', color)} {
color: red;
}
.style, .style--color, .style__color {
color: red;
}
@function BEMBEMBEM($property, $value) { | |
$props: (); | |
$props: append($props, #{$property}, comma); | |
$props: append($props, #{$property}--#{$value}, comma); | |
$props: append($props, #{$property}__#{$value}, comma); | |
@return $props; | |
} |