2020-04-24 11:44:37 -04:00
|
|
|
@function rem($size, $unit: "") {
|
2017-03-09 13:16:08 -05:00
|
|
|
$remSize: $size / $root-font-size;
|
|
|
|
|
|
|
|
@if ($unit == false) {
|
|
|
|
@return #{$remSize};
|
2020-04-24 11:44:37 -04:00
|
|
|
} @else {
|
2017-03-09 13:16:08 -05:00
|
|
|
@return #{$remSize}rem;
|
|
|
|
}
|
|
|
|
}
|