From 415995c24bc98dfb9efda792424294e82bda244b Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Sat, 14 Oct 2017 08:31:35 +0100 Subject: rake update[v4-dev] --- assets/stylesheets/bootstrap/_root.scss | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'assets/stylesheets') diff --git a/assets/stylesheets/bootstrap/_root.scss b/assets/stylesheets/bootstrap/_root.scss index 78ac039..ad550df 100644 --- a/assets/stylesheets/bootstrap/_root.scss +++ b/assets/stylesheets/bootstrap/_root.scss @@ -1,16 +1,19 @@ :root { + // Custom variable values only support SassScript inside `#{}`. @each $color, $value in $colors { - --#{$color}: $value; + --#{$color}: #{$value}; } @each $color, $value in $theme-colors { - --#{$color}: $value; + --#{$color}: #{$value}; } @each $bp, $value in $grid-breakpoints { - --breakpoint-#{$bp}: $value; + --breakpoint-#{$bp}: #{$value}; } - --font-family-sans-serif: $font-family-sans-serif; - --font-family-monospace: $font-family-monospace; + // Use `inspect` for lists so that quoted items keep the quotes. + // See https://github.com/sass/sass/issues/2383#issuecomment-336349172 + --font-family-sans-serif: #{inspect($font-family-sans-serif)}; + --font-family-monospace: #{inspect($font-family-monospace)}; } -- cgit v1.2.3