mirror of
https://github.com/thangisme/notes.git
synced 2024-12-22 19:06:42 -05:00
10 lines
168 B
SCSS
10 lines
168 B
SCSS
@function rem($size, $unit: "") {
|
|
$remSize: $size / $root-font-size;
|
|
|
|
@if ($unit == false) {
|
|
@return #{$remSize};
|
|
} @else {
|
|
@return #{$remSize}rem;
|
|
}
|
|
}
|