How would I combine two variables in SASS to form a single unit? The setup is as follows:
$font-size: 16;
$font-unit: px;
$base-font-size: {$font-size}{$font-unit} !default;
@if unit($base-font-size) != 'px' { @warn "Parameter must resolve to a value in pixel units."; }
This throws a compile error: Invalid CSS after ... expected expression ... was
Thanks for the help!