website/assets/sass/bourbon/functions/_assign.scss
2015-08-30 12:34:43 -04:00

11 lines
243 B
SCSS
Executable File

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