mirror of
https://github.com/Instadapp/chains.git
synced 2024-07-29 22:37:19 +00:00
11 lines
169 B
SCSS
11 lines
169 B
SCSS
|
@function rem($size, $unit:"") {
|
||
|
$remSize: $size / $root-font-size;
|
||
|
|
||
|
@if ($unit == false) {
|
||
|
@return #{$remSize};
|
||
|
}
|
||
|
@else {
|
||
|
@return #{$remSize}rem;
|
||
|
}
|
||
|
}
|