mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-23 09:41:00 +00:00
11 lines
190 B
SCSS
11 lines
190 B
SCSS
// Remove `false` values from a list
|
|
|
|
@function compact($vars...) {
|
|
$list: ();
|
|
@each $var in $vars {
|
|
@if $var {
|
|
$list: append($list, $var, comma);
|
|
}
|
|
}
|
|
@return $list;
|
|
}
|