mirror of
https://github.com/twbs/bootstrap.git
synced 2025-04-08 00:54:09 +02:00
Fix undefined custom properties in reboot (#30981)
This commit is contained in:
parent
e9da984ef4
commit
e9f7a1d826
@ -283,7 +283,7 @@ pre,
|
|||||||
code,
|
code,
|
||||||
kbd,
|
kbd,
|
||||||
samp {
|
samp {
|
||||||
font-family: var(--bs-font-monospace);
|
font-family: $font-family-code;
|
||||||
@include font-size(1em); // Correct the odd `em` font sizing in all browsers.
|
@include font-size(1em); // Correct the odd `em` font sizing in all browsers.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -385,8 +385,9 @@ $embed-responsive-aspect-ratios: (
|
|||||||
// stylelint-disable value-keyword-case
|
// stylelint-disable value-keyword-case
|
||||||
$font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
|
$font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
|
||||||
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
|
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
|
||||||
$font-family-base: var(--bs-font-sans-serif) !default;
|
|
||||||
// stylelint-enable value-keyword-case
|
// stylelint-enable value-keyword-case
|
||||||
|
$font-family-base: var(--bs-font-sans-serif) !default;
|
||||||
|
$font-family-code: var(--bs-font-monospace) !default;
|
||||||
|
|
||||||
// $font-size-root effects the value of `rem`, which is used for as well font sizes, paddings and margins
|
// $font-size-root effects the value of `rem`, which is used for as well font sizes, paddings and margins
|
||||||
// $font-size-base effects the font size of the body text
|
// $font-size-base effects the font size of the body text
|
||||||
|
3
scss/bootstrap-reboot.scss
vendored
3
scss/bootstrap-reboot.scss
vendored
@ -8,5 +8,8 @@
|
|||||||
|
|
||||||
@import "functions";
|
@import "functions";
|
||||||
@import "variables";
|
@import "variables";
|
||||||
|
// Prevent the usage of custom properties since we don't add them to `:root` in reboot
|
||||||
|
$font-family-base: $font-family-sans-serif; // stylelint-disable-line scss/dollar-variable-default
|
||||||
|
$font-family-code: $font-family-monospace; // stylelint-disable-line scss/dollar-variable-default
|
||||||
@import "mixins";
|
@import "mixins";
|
||||||
@import "reboot";
|
@import "reboot";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user