https://github.com/twbs/bootstrap
Raw File
Tip revision: e44d0475e07113dfb21b555658de6eac53083f98 authored by Jason Golieb on 05 February 2019, 08:31:18 UTC
Move dropdown offset function logic into private function. (#28138)
Tip revision: e44d047
_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