wiki-grav/themes/learn2/scss/vendor/bourbon/functions/_assign.scss
2022-06-24 18:08:45 +02:00

11 lines
243 B
SCSS

@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;
}