From de41536b60a8507e3012aba1b774b37e793b4760 Mon Sep 17 00:00:00 2001 From: Atsushi Ishida Date: Sun, 20 Jun 2021 16:28:04 +0900 Subject: [PATCH] fix slash div warning according to sass spec https://sass-lang.com/d/slash-div --- src/assets/scss/_variables.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/assets/scss/_variables.scss b/src/assets/scss/_variables.scss index 2674f06..d2a40d8 100644 --- a/src/assets/scss/_variables.scss +++ b/src/assets/scss/_variables.scss @@ -1,6 +1,7 @@ -/** +/** * Variables */ +@use "sass:math"; // Colors $color-base: #222; @@ -25,7 +26,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;