https://github.com/twbs/bootstrap
Raw File
Tip revision: fa4fbc8798e432b37d6734e66c08da3985a75c89 authored by Jesse Mandel on 09 November 2022, 07:17:19 UTC
Backport: NuGet Changes
Tip revision: fa4fbc8
_root.scss
:root {
  // Custom variable values only support SassScript inside `#{}`.
  @each $color, $value in $colors {
    --#{$color}: #{$value};
  }

  @each $color, $value in $theme-colors {
    --#{$color}: #{$value};
  }

  @each $bp, $value in $grid-breakpoints {
    --breakpoint-#{$bp}: #{$value};
  }

  // 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)};
}
back to top