mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00

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.
15 lines
488 B
SCSS
15 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)};
|
|
}
|