Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_root.scss « bootstrap « stylesheets « assets - github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 44eff1700687044663912cee17c6ad564a801603 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
:root {
  // Custom variable values only support SassScript inside `#{}`.
  @each $color, $value in $colors {
    --bs-#{$color}: #{$value};
  }

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

  // Use `inspect` for lists so that quoted items keep the quotes.
  // See https://github.com/sass/sass/issues/2383#issuecomment-336349172
  --bs-font-sans-serif: #{inspect($font-family-sans-serif)};
  --bs-font-monospace: #{inspect($font-family-monospace)};
  --bs-gradient: #{$gradient};
}