0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-26 23:54:23 +01:00

Make small amends from PR review

This commit is contained in:
Romaric Pascal 2023-02-24 10:26:44 +00:00
parent 4ebdcef96f
commit 046a74303f
2 changed files with 5 additions and 2 deletions

View File

@ -135,6 +135,10 @@
rtl: true
));
// Unedited options are still present
@include assert-equal(utilities-get-option(flex, property), flex, "property");
@include assert-equal(utilities-get-option(flex, values), (fill: 1 1 auto), "values");
// And the updated options have their new values
@include assert-equal(utilities-get-option(flex, responsive), false, "responsive");
@include assert-equal(utilities-get-option(flex, rtl), true, "rtl");
}

View File

@ -374,8 +374,7 @@ Now that you're familiar with how the utilities API works, you can use it to mod
1. [Creating your own `$utilities` map](#add-or-override-utilities) that gets automatically merged with our default `$utilities` map.
2. [Modify our defaults using mixins](#modify-defaults) to add or remove utilities, update specific options, or modify utility values.
You can also use functions to [get specific utility values](#get-values-and-options) for your own use in your Sass.
3. You can also use functions to [get specific utility values](#get-values-and-options) for your own use in your Sass.
### Add or override utilities