1
0
mirror of https://github.com/thangisme/notes.git synced 2024-12-22 17:36:33 -05:00
notes/_sass/support/_functions.scss

11 lines
169 B
SCSS
Raw Normal View History

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