From fce6978426c2239503a96cc1dbff4b90e3dd92dd Mon Sep 17 00:00:00 2001 From: CDnX Date: Tue, 7 Mar 2023 14:28:17 +0900 Subject: [PATCH] remove division inside #{} on _begin.scss `bundle exec jekyll serve` produces this warning; > Deprecation Warning: Using / for division outside of calc() is > deprecated and will be removed in Dart Sass 2.0.0. This commit removes division inside #{} on _begin.scss. --- _sass/_begin.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_sass/_begin.scss b/_sass/_begin.scss index 61b48b38f..0acf53b09 100644 --- a/_sass/_begin.scss +++ b/_sass/_begin.scss @@ -20,12 +20,12 @@ main { // // Fluid Typography // -@mixin fluidType($min, $max ) { +@mixin fluidType($min, $max) { font-size: $min; @media screen and (min-width: $minSupportedWidth) { // 960 = 1280-320 - font-size: calc(#{$min} + #{($max - $min)/1px} * ((100vw - 320px) / 960)); + font-size: calc(#{$min} + ((#{$max - $min}) / 1px) * ((100vw - 320px) / 960)); } @media screen and (min-width: $maxSupportedWidth) {