@function var-name($prefix: $var-prefix, $name, $suffix: null, $var: null) { @if $suffix == null { @return --#{$prefix}-#{$name}; } @return --#{$prefix}-#{$name}-#{$suffix}; }
Last updated 2 years ago