META-INF.resources.css._mixins.scss Maven / Gradle / Ivy
The newest version!
@mixin generatePropertyGroupLoop(
$array,
$cssProperty,
$classPrefix: 'color--'
) {
@each $a in $array {
$className: nth($a, 1);
$color: nth($a, 2);
@include generatePropertyGroup(
$color,
$cssProperty,
#{$classPrefix + $className}
);
}
}
@mixin generatePropertyGroup($color, $cssProperty, $className) {
&.#{$className} {
#{$cssProperty}: $color;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy