Files
sage/resources/css/global/mixins/_linear-gradient.scss

6 lines
208 B
SCSS

// define as many $color-stops as needed
@mixin linear-gradient($direction, $color-stops...) {
background: list.nth(list.nth($color-stops, 1), 1);
background: linear-gradient($direction, $color-stops);
}