From 6686a6c1edc109152a80e92d684c114be9a287ab Mon Sep 17 00:00:00 2001 From: Shim MunSeong Date: Sun, 20 Jun 2021 16:19:37 +0900 Subject: [PATCH] fix: #955 - Replaced the slash `/` SASS operator to `math.div` --- src/assets/scss/_variables.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/assets/scss/_variables.scss b/src/assets/scss/_variables.scss index 2674f06..35f2281 100644 --- a/src/assets/scss/_variables.scss +++ b/src/assets/scss/_variables.scss @@ -2,6 +2,8 @@ * Variables */ +@use "sass:math"; + // Colors $color-base: #222; $color-primary: #5D93FF; @@ -25,7 +27,7 @@ $typographic-base-font-color: $color-base; $typographic-link-p-font-color: $color-primary; $typographic-link-s-font-color: $color-secondary; -$typographic-leading: round(16 * ($typographic-root-font-size / 100) * $typographic-base-line-height); +$typographic-leading: round(16 * math.div($typographic-root-font-size, 100) * $typographic-base-line-height); // Buttons $button-height: 35px;