From: Julien Déramond Date: Tue, 14 Nov 2023 07:01:29 +0000 (+0100) Subject: Fix Sass compilation breaking change in v5.3 (#39380) X-Git-Tag: v5.3.3~87 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=587e89f11b4973b6dceb47a33ab8a94798c6652a;p=thirdparty%2Fbootstrap.git Fix Sass compilation breaking change in v5.3 (#39380) --- diff --git a/scss/_variables.scss b/scss/_variables.scss index 5429c017e9..2d70310a51 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -1745,3 +1745,5 @@ $kbd-bg: var(--#{$prefix}body-color) !default; $nested-kbd-font-weight: null !default; // Deprecated in v5.2.0, removing in v6 $pre-color: null !default; + +@import "variables-dark"; // TODO: can be removed safely in v6, only here to avoid breaking changes in v5.3 diff --git a/scss/tests/mixins/_auto-import-of-variables-dark.test.scss b/scss/tests/mixins/_auto-import-of-variables-dark.test.scss new file mode 100644 index 0000000000..f08ae58752 --- /dev/null +++ b/scss/tests/mixins/_auto-import-of-variables-dark.test.scss @@ -0,0 +1,7 @@ +// TODO: this file can be removed safely in v6 when `@import "variables-dark"` will be removed at the end of _variables.scss + +@import "../../functions"; +@import "../../variables"; +// Voluntarily not importing _variables-dark.scss +@import "../../maps"; +@import "../../mixins";