Revert "sass: remove all uses of / as SASS division" (#1076)

This commit is contained in:
Flo
2022-12-22 00:09:34 +01:00
committed by GitHub
parent 8f972e59fa
commit fff8fef18a
3 changed files with 14 additions and 16 deletions

View File

@@ -1,7 +1,5 @@
@use "sass:math";
@function rem($size, $unit: "") {
$rem-size: math.div($size, $root-font-size);
$rem-size: $size / $root-font-size;
@if $unit == false {
@return #{$rem-size};