Fix Sass deprecation warning

When running `scss-lint`, we were getting the following message:

DEPRECATION WARNING: #{} interpolation near operators will be simplified
in a future version of Sass. To preserve the current behavior, use
quotes:

  unquote("#{$global-width / 2} - 50vw")
This commit is contained in:
Javi Martín
2021-10-26 21:27:45 +02:00
parent f4b338b65f
commit 2ecc98dc41

View File

@@ -49,7 +49,7 @@ $show-header-for-stacked: true !default;
// -------------------- // --------------------
$body-margin: calc(50vw - #{$global-width / 2}) !default; $body-margin: calc(50vw - #{$global-width / 2}) !default;
$full-width-margin: #{$global-width / 2} - 50vw !default; $full-width-margin: unquote("#{$global-width / 2} - 50vw") !default;
$base-font-size: rem-calc(17) !default; $base-font-size: rem-calc(17) !default;
$base-line: rem-calc(26) !default; $base-line: rem-calc(26) !default;