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

Update import stacks required for modifying utilities (#35320)

This commit is contained in:
Mark Otto 2021-11-03 05:31:21 -07:00 committed by GitHub
parent 889286cef1
commit 6c706e947d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -363,7 +363,9 @@ New utilities can be added to the default `$utilities` map with a `map-merge`. M
```scss ```scss
@import "bootstrap/scss/functions"; @import "bootstrap/scss/functions";
@import "bootstrap/scss/variables"; @import "bootstrap/scss/variables";
@import "bootstrap/scss/mixins";
@import "bootstrap/scss/utilities"; @import "bootstrap/scss/utilities";
@import "bootstrap/scss/utilities/api";
$utilities: map-merge( $utilities: map-merge(
$utilities, $utilities,
@ -385,7 +387,9 @@ Modify existing utilities in the default `$utilities` map with `map-get` and `ma
```scss ```scss
@import "bootstrap/scss/functions"; @import "bootstrap/scss/functions";
@import "bootstrap/scss/variables"; @import "bootstrap/scss/variables";
@import "bootstrap/scss/mixins";
@import "bootstrap/scss/utilities"; @import "bootstrap/scss/utilities";
@import "bootstrap/scss/utilities/api";
$utilities: map-merge( $utilities: map-merge(
$utilities, $utilities,
@ -410,7 +414,9 @@ You can enable responsive classes for an existing set of utilities that are not
```scss ```scss
@import "bootstrap/scss/functions"; @import "bootstrap/scss/functions";
@import "bootstrap/scss/variables"; @import "bootstrap/scss/variables";
@import "bootstrap/scss/mixins";
@import "bootstrap/scss/utilities"; @import "bootstrap/scss/utilities";
@import "bootstrap/scss/utilities/api";
$utilities: map-merge( $utilities: map-merge(
$utilities, ( $utilities, (
@ -461,7 +467,9 @@ Missing v4 utilities, or used to another naming convention? The utilities API ca
```scss ```scss
@import "bootstrap/scss/functions"; @import "bootstrap/scss/functions";
@import "bootstrap/scss/variables"; @import "bootstrap/scss/variables";
@import "bootstrap/scss/mixins";
@import "bootstrap/scss/utilities"; @import "bootstrap/scss/utilities";
@import "bootstrap/scss/utilities/api";
$utilities: map-merge( $utilities: map-merge(
$utilities, ( $utilities, (
@ -480,7 +488,9 @@ Remove any of the default utilities by setting the group key to `null`. For exam
```scss ```scss
@import "bootstrap/scss/functions"; @import "bootstrap/scss/functions";
@import "bootstrap/scss/variables"; @import "bootstrap/scss/variables";
@import "bootstrap/scss/mixins";
@import "bootstrap/scss/utilities"; @import "bootstrap/scss/utilities";
@import "bootstrap/scss/utilities/api";
$utilities: map-merge( $utilities: map-merge(
$utilities, $utilities,