https://github.com/twbs/bootstrap
Raw File
Tip revision: 043a03c95a2ad6738f85b65e53b9dbdfb03b8d10 authored by XhmikosR on 28 October 2021, 14:45:21 UTC
Release v4.6.1 (#35272)
Tip revision: 043a03c
_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