_root.scss 517 Bytes
Newer Older
1
:root {
2
  // Custom variable values only support SassScript inside `#{}`.
3
  @each $color, $value in $colors {
4
    --bs-#{$color}: #{$value};
5
6
7
  }

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

11
12
  // Use `inspect` for lists so that quoted items keep the quotes.
  // See https://github.com/sass/sass/issues/2383#issuecomment-336349172
13
14
  --bs-font-sans-serif: #{inspect($font-family-sans-serif)};
  --bs-font-monospace: #{inspect($font-family-monospace)};
Martijn Cuppens's avatar
Martijn Cuppens committed
15
  --bs-gradient: #{$gradient};
16
}