diff options
| author | Julien Déramond <[email protected]> | 2023-11-14 08:01:29 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-14 08:01:29 +0100 |
| commit | 587e89f11b4973b6dceb47a33ab8a94798c6652a (patch) | |
| tree | 587010813337639e1a1ce31111c94a75029e8425 | |
| parent | 8a965cadf80ed05d16dfe68a35f244cc5698ea8f (diff) | |
| download | bootstrap-587e89f11b4973b6dceb47a33ab8a94798c6652a.tar.xz bootstrap-587e89f11b4973b6dceb47a33ab8a94798c6652a.zip | |
Fix Sass compilation breaking change in v5.3 (#39380)
| -rw-r--r-- | scss/_variables.scss | 2 | ||||
| -rw-r--r-- | scss/tests/mixins/_auto-import-of-variables-dark.test.scss | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/scss/_variables.scss b/scss/_variables.scss index 5429c017e..2d70310a5 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 000000000..f08ae5875 --- /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"; |
