Skip to content

Commit

Permalink
Update import stacks required for modifying utilities (#35320)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo authored Nov 3, 2021
1 parent 889286c commit 6c706e9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions site/content/docs/5.1/utilities/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,9 @@ New utilities can be added to the default `$utilities` map with a `map-merge`. M
```scss
@import "bootstrap/scss/functions";
@import "bootstrap/scss/variables";
@import "bootstrap/scss/mixins";
@import "bootstrap/scss/utilities";
@import "bootstrap/scss/utilities/api";

$utilities: map-merge(
$utilities,
Expand All @@ -385,7 +387,9 @@ Modify existing utilities in the default `$utilities` map with `map-get` and `ma
```scss
@import "bootstrap/scss/functions";
@import "bootstrap/scss/variables";
@import "bootstrap/scss/mixins";
@import "bootstrap/scss/utilities";
@import "bootstrap/scss/utilities/api";

$utilities: map-merge(
$utilities,
Expand All @@ -410,7 +414,9 @@ You can enable responsive classes for an existing set of utilities that are not
```scss
@import "bootstrap/scss/functions";
@import "bootstrap/scss/variables";
@import "bootstrap/scss/mixins";
@import "bootstrap/scss/utilities";
@import "bootstrap/scss/utilities/api";

$utilities: map-merge(
$utilities, (
Expand Down Expand Up @@ -461,7 +467,9 @@ Missing v4 utilities, or used to another naming convention? The utilities API ca
```scss
@import "bootstrap/scss/functions";
@import "bootstrap/scss/variables";
@import "bootstrap/scss/mixins";
@import "bootstrap/scss/utilities";
@import "bootstrap/scss/utilities/api";

$utilities: map-merge(
$utilities, (
Expand All @@ -480,7 +488,9 @@ Remove any of the default utilities by setting the group key to `null`. For exam
```scss
@import "bootstrap/scss/functions";
@import "bootstrap/scss/variables";
@import "bootstrap/scss/mixins";
@import "bootstrap/scss/utilities";
@import "bootstrap/scss/utilities/api";

$utilities: map-merge(
$utilities,
Expand Down

0 comments on commit 6c706e9

Please sign in to comment.