grav-theme-libretic/scss/vendor/bourbon/functions/_assign.scss

11 lines
243 B
SCSS
Raw Normal View History

2015-01-15 19:15:54 +01:00
@function assign-inputs($inputs, $pseudo: null) {
$list : ();
@each $input in $inputs {
$input: unquote($input);
$input: if($pseudo, $input + ":" + $pseudo, $input);
$list: append($list, $input, comma);
}
@return $list;
}