diff --git a/src/cool-stuff/css-purgatory/base/scss/base.scss b/src/cool-stuff/css-purgatory/base/scss/base.scss index 6df6546..3d0f2c6 100644 --- a/src/cool-stuff/css-purgatory/base/scss/base.scss +++ b/src/cool-stuff/css-purgatory/base/scss/base.scss @@ -1,3 +1,4 @@ +@use "sass:math"; @mixin reset { /* ----------------- */ /* Custom Properties */ @@ -17,14 +18,14 @@ $color-white: hsl(0 0% 100%);/* White */ /* font */ /* Sizes divided by 16 so values given in px */ -$fs-900: calc(125rem / 16); -$fs-800: calc(75rem / 16); -$fs-700: calc(56rem / 16); -$fs-600: calc(32rem / 16); -$fs-500: calc(28rem / 16); -$fs-400: calc(24rem / 16); -$fs-300: calc(18rem / 16); -$fs-200: calc(16rem / 16); +$fs-900: math.div(125rem, 16); +$fs-800: math.div(75rem, 16); +$fs-700: math.div(56rem, 16); +$fs-600: math.div(32rem, 16); +$fs-500: math.div(28rem, 16); +$fs-400: math.div(24rem, 16); +$fs-300: math.div(18rem, 16); +$fs-200: math.div(16rem, 16); $ff-serif: serif; $ff-sans-cond: sans-serif;