mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
cdb6504e48
Media queries do not support CSS custom properties (CSS variables), so we've had some useless variables lying around since shipping v4. This finally removes them and the associated documentation content that explained the situation. Fixes #29012.
16 lines
488 B
SCSS
16 lines
488 B
SCSS
:root {
|
|
// Custom variable values only support SassScript inside `#{}`.
|
|
@each $color, $value in $colors {
|
|
--#{$color}: #{$value};
|
|
}
|
|
|
|
@each $color, $value in $theme-colors {
|
|
--#{$color}: #{$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)};
|
|
}
|