2017-10-02 06:00:24 +02:00
|
|
|
:root {
|
2017-10-14 09:29:43 +02:00
|
|
|
// Custom variable values only support SassScript inside `#{}`.
|
2017-10-02 06:00:24 +02:00
|
|
|
@each $color, $value in $colors {
|
2020-04-15 18:52:16 +02:00
|
|
|
--bs-#{$color}: #{$value};
|
2017-10-02 06:00:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@each $color, $value in $theme-colors {
|
2020-04-15 18:52:16 +02:00
|
|
|
--bs-#{$color}: #{$value};
|
2017-10-02 06:00:24 +02:00
|
|
|
}
|
|
|
|
|
2017-10-14 09:29:43 +02:00
|
|
|
// Use `inspect` for lists so that quoted items keep the quotes.
|
|
|
|
// See https://github.com/sass/sass/issues/2383#issuecomment-336349172
|
2020-04-15 18:52:16 +02:00
|
|
|
--bs-font-sans-serif: #{inspect($font-family-sans-serif)};
|
|
|
|
--bs-font-monospace: #{inspect($font-family-monospace)};
|
2020-04-14 16:28:20 +02:00
|
|
|
--bs-gradient: #{$gradient};
|
2017-10-02 06:00:24 +02:00
|
|
|
}
|