]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Docs: consistent usage of CSS sections (#38219)
authorJulien Déramond <juderamond@gmail.com>
Mon, 10 Apr 2023 15:53:28 +0000 (17:53 +0200)
committerGitHub <noreply@github.com>
Mon, 10 Apr 2023 15:53:28 +0000 (17:53 +0200)
Co-authored-by: Mark Otto <markd.otto@gmail.com>
34 files changed:
site/content/docs/5.3/components/alerts.md
site/content/docs/5.3/components/list-group.md
site/content/docs/5.3/components/modal.md
site/content/docs/5.3/components/navbar.md
site/content/docs/5.3/content/tables.md
site/content/docs/5.3/customize/color-modes.md
site/content/docs/5.3/customize/components.md
site/content/docs/5.3/forms/validation.md
site/content/docs/5.3/helpers/focus-ring.md
site/content/docs/5.3/helpers/icon-link.md
site/content/docs/5.3/helpers/ratio.md
site/content/docs/5.3/layout/breakpoints.md
site/content/docs/5.3/layout/containers.md
site/content/docs/5.3/layout/grid.md
site/content/docs/5.3/migration.md
site/content/docs/5.3/utilities/background.md
site/content/docs/5.3/utilities/borders.md
site/content/docs/5.3/utilities/colors.md
site/content/docs/5.3/utilities/display.md
site/content/docs/5.3/utilities/flex.md
site/content/docs/5.3/utilities/float.md
site/content/docs/5.3/utilities/interactions.md
site/content/docs/5.3/utilities/link.md
site/content/docs/5.3/utilities/object-fit.md
site/content/docs/5.3/utilities/opacity.md
site/content/docs/5.3/utilities/overflow.md
site/content/docs/5.3/utilities/position.md
site/content/docs/5.3/utilities/shadows.md
site/content/docs/5.3/utilities/sizing.md
site/content/docs/5.3/utilities/spacing.md
site/content/docs/5.3/utilities/text.md
site/content/docs/5.3/utilities/vertical-align.md
site/content/docs/5.3/utilities/visibility.md
site/content/docs/5.3/utilities/z-index.md

index b6e78ea4285ee1d47233229a53db374d3ed88965..d634ce2d120c35d2194d7ebdf35484b183ca2d4e 100644 (file)
@@ -11,7 +11,7 @@ toc: true
 Alerts are available for any length of text, as well as an optional close button. For proper styling, use one of the eight **required** contextual classes (e.g., `.alert-success`). For inline dismissal, use the [alerts JavaScript plugin](#dismissing).
 
 {{< callout info >}}
-**Heads up!** As of v5.3.0, the `alert-variant()` Sass mixin is deprecated. Alert variants now have their CSS variables overridden in [the Sass loop](#sass-loop).
+**Heads up!** As of v5.3.0, the `alert-variant()` Sass mixin is deprecated. Alert variants now have their CSS variables overridden in [a Sass loop](#sass-loops).
 {{< /callout >}}
 
 {{< example >}}
@@ -158,7 +158,7 @@ As part of Bootstrap's evolving CSS variables approach, alerts now use local CSS
 
 {{< scss-docs name="alert-variables" file="scss/_variables.scss" >}}
 
-### Sass mixin
+### Sass mixins
 
 {{< deprecated-in "5.3.0" >}}
 
@@ -166,7 +166,7 @@ Used in combination with `$theme-colors` to create contextual modifier classes f
 
 {{< scss-docs name="alert-variant-mixin" file="scss/mixins/_alert.scss" >}}
 
-### Sass loop
+### Sass loops
 
 Loop that generates the modifier classes with the `alert-variant()` mixin.
 
index 2a0d22f86543c70488410a2c86ac44496bf204a0..6c22809f96cf43e1f3cff96e1d853e11781b0741 100644 (file)
@@ -157,7 +157,7 @@ Add `.list-group-horizontal` to change the layout of list group items from verti
 ## Variants
 
 {{< callout info >}}
-**Heads up!** As of v5.3.0, the `list-group-item-variant()` Sass mixin is deprecated. List group item variants now have their CSS variables overridden in [the Sass loop](#sass-loop).
+**Heads up!** As of v5.3.0, the `list-group-item-variant()` Sass mixin is deprecated. List group item variants now have their CSS variables overridden in [a Sass loop](#sass-loops).
 {{< /callout >}}
 
 Use contextual classes to style list items with a stateful background and color.
@@ -325,7 +325,7 @@ Used in combination with `$theme-colors` to generate the [contextual variant cla
 
 {{< scss-docs name="list-group-mixin" file="scss/mixins/_list-group.scss" >}}
 
-### Sass loop
+### Sass loops
 
 Loop that generates the modifier classes with an overriding of CSS variables.
 
index 55272b33f6c24a01cfa6daf8a2246995a89dd5c2..10beb9bca806ea33eaa8fa29c7e2e540c0444a41 100644 (file)
@@ -769,7 +769,7 @@ As part of Bootstrap's evolving CSS variables approach, modals now use local CSS
 
 {{< scss-docs name="modal-variables" file="scss/_variables.scss" >}}
 
-### Sass loop
+### Sass loops
 
 [Responsive fullscreen modals](#fullscreen-modal) are generated via the `$breakpoints` map and a loop in `scss/_modal.scss`.
 
index a150f8653ecb6188d7ff3cd4d97ef098d835579f..32813486ed397c8a916811b8407ac0d4d7451708 100644 (file)
@@ -810,7 +810,7 @@ Variables for the [dark navbar](#color-schemes):
 
 {{< scss-docs name="navbar-dark-variables" file="scss/_variables.scss" >}}
 
-### Sass loop
+### Sass loops
 
 [Responsive navbar expand/collapse classes](#responsive-behaviors) (e.g., `.navbar-expand-lg`) are combined with the `$breakpoints` map and generated through a loop in `scss/_navbar.scss`.
 
index 3e393fda1fd7210cdc3615a0bb6c7deaef4e159b..ba83b43cd3009ca1921ad706226c3146d7f58a66 100644 (file)
@@ -829,7 +829,7 @@ Use `.table-responsive{-sm|-md|-lg|-xl|-xxl}` as needed to create responsive tab
 
 {{< scss-docs name="table-variables" file="scss/_variables.scss" >}}
 
-### Sass loop
+### Sass loops
 
 {{< scss-docs name="table-loop" file="scss/_variables.scss" >}}
 
index 2f1b774cb660aeb3431950256ee526b37ac127dc..a9970767da8e289c3e294185183b90a505b6c096 100644 (file)
@@ -203,7 +203,7 @@ CSS variables for our dark color mode are partially generated from dark mode spe
 
 {{< scss-docs name="sass-dark-mode-vars" file="scss/_variables-dark.scss" >}}
 
-### Sass mixin
+### Sass mixins
 
 Styles for dark mode, and any custom color modes you create, can be scoped appropriately to the `data-bs-theme` attribute selector or media query with the customizable `color-mode()` mixin. See the [Sass usage section](#building-with-sass) for more details.
 
index b512a9036bd9aaa0ae1c48d1ae0bbc6b75253a79..262c8d8c6974a43b07dab198cb9a6925bb9f0e0b 100644 (file)
@@ -34,7 +34,7 @@ Should you modify your `$grid-breakpoints`, your changes will apply to all the l
 
 {{< scss-docs name="grid-breakpoints" file="scss/_variables.scss" >}}
 
-For more information and examples on how to modify our Sass maps and variables, please refer to [the Sass section of the Grid documentation]({{< docsref "/layout/grid#sass" >}}).
+For more information and examples on how to modify our Sass maps and variables, please refer to [the CSS section of the Grid documentation]({{< docsref "/layout/grid#css" >}}).
 
 ## Creating your own
 
index 5eb18f02571eeed14e18e6a11f5fcaf3ee5b0ad9..c66bbaf87c8214ace1484c6fac3560a30e0626d7 100644 (file)
@@ -371,11 +371,11 @@ These variables are also color mode adaptive, meaning they change color while in
 
 ### Sass mixins
 
-Two mixins are combined, through our [loop](#loop), to generate our form validation feedback styles.
+Two mixins are combined, through our [loop](#sass-loops), to generate our form validation feedback styles.
 
 {{< scss-docs name="form-validation-mixins" file="scss/mixins/_forms.scss" >}}
 
-### Sass map
+### Sass maps
 
 This is the validation Sass map from `_variables.scss`. Override or extend this to generate different or additional states.
 
@@ -383,7 +383,7 @@ This is the validation Sass map from `_variables.scss`. Override or extend this
 
 Maps of `$form-validation-states` can contain three optional parameters to override tooltips and focus styles.
 
-### Sass loop
+### Sass loops
 
 Used to iterate over `$form-validation-states` map values to generate our validation styles. Any modifications to the above Sass map will be reflected in your compiled CSS via this loop.
 
index 5f6e770734cc6d69f75ffa39031cab3cb5b7d53a..fa36bf8ce0c72d7c86c24126d7221a57819a337d 100644 (file)
@@ -45,13 +45,13 @@ By default, there is no `--bs-focus-ring-x`, `--bs-focus-ring-y`, or `--bs-focus
 </a>
 {{< /example >}}
 
-### Sass
+### Sass variables
 
 Customize the focus ring Sass variables to modify all usage of the focus ring styles across your Bootstrap-powered project.
 
 {{< scss-docs name="focus-ring-variables" file="scss/_variables.scss" >}}
 
-### Utilities
+### Sass utilities API
 
 In addition to `.focus-ring`, we have several `.focus-ring-*` utilities to modify the helper class defaults. Modify the color with any of our [theme colors]({{< docsref "/customize/color#theme-colors" >}}). Note that the light and dark variants may not be visible on all background colors given current color mode support.
 
index 9a0bffcd2006316a92290e1d2c8ec25a417d2767..ec63c5b8c889f6b62aad54ca529d0bf559bcba3e 100644 (file)
@@ -70,13 +70,13 @@ Customize the color by overriding the `--bs-link-*` CSS variable:
 </a>
 {{< /example >}}
 
-### Sass
+### Sass variables
 
 Customize the icon link Sass variables to modify all icon link styles across your Bootstrap-powered project.
 
 {{< scss-docs name="icon-link-variables" file="scss/_variables.scss" >}}
 
-### Utilities
+### Sass utilities API
 
 Modify icon links with any of [our link utilities]({{< docsref "/utilities/link/" >}}) for modifying underline color and offset.
 
index 771bc07cb9dd3f28c139ee07a7f5eb85ca3a9dc6..04b6eefead296817b4235932a60fb1f16395d3e6 100644 (file)
@@ -74,7 +74,7 @@ This CSS variable makes it easy to modify the aspect ratio across breakpoints. T
 {{< /example >}}
 
 
-## Sass map
+## Sass maps
 
 Within `_variables.scss`, you can change the aspect ratios you want to use. Here's our default `$ratio-aspect-ratios` map. Modify the map as you like and recompile your Sass to put them to use.
 
index 8e3df157e8cce9f380e507b089539da48346ba1e..1667fd9d11b82add09e59daefcfdc00d4700de26 100644 (file)
@@ -37,7 +37,7 @@ These breakpoints are customizable via Sass—you'll find them in a Sass map in
 
 {{< scss-docs name="grid-breakpoints" file="scss/_variables.scss" >}}
 
-For more information and examples on how to modify our Sass maps and variables, please refer to [the Sass section of the Grid documentation]({{< docsref "/layout/grid#sass" >}}).
+For more information and examples on how to modify our Sass maps and variables, please refer to [the CSS section of the Grid documentation]({{< docsref "/layout/grid#css" >}}).
 
 ## Media queries
 
index 7d38b72e543c933269820394af2b71596ba7e750..e0e8d9aad098a0019e78dae471ad96e681f91b3c 100644 (file)
@@ -64,12 +64,18 @@ Use `.container-fluid` for a full width container, spanning the entire width of
 </div>
 ```
 
-## Sass
+## CSS
+
+### Sass variables
 
 As shown above, Bootstrap generates a series of predefined container classes to help you build the layouts you desire. You may customize these predefined container classes by modifying the Sass map (found in `_variables.scss`) that powers them:
 
 {{< scss-docs name="container-max-widths" file="scss/_variables.scss" >}}
 
+For more information and examples on how to modify our Sass maps and variables, please refer to [the Sass section of the Grid documentation]({{< docsref "/layout/grid#css" >}}).
+
+### Sass mixins
+
 In addition to customizing the Sass, you can also create your own containers with our Sass mixin.
 
 ```scss
@@ -87,5 +93,3 @@ In addition to customizing the Sass, you can also create your own containers wit
   @include make-container();
 }
 ```
-
-For more information and examples on how to modify our Sass maps and variables, please refer to [the Sass section of the Grid documentation]({{< docsref "/layout/grid#sass" >}}).
index 8e4d10a3cf591714de490c91b949918c84177478..1783410f987f02088d9da2d639848e15886e351b 100644 (file)
@@ -46,7 +46,7 @@ Breaking it down, here's how the grid system comes together:
 
 - **Gutters are also responsive and customizable.** [Gutter classes are available]({{< docsref "/layout/gutters" >}}) across all breakpoints, with all the same sizes as our [margin and padding spacing]({{< docsref "/utilities/spacing" >}}). Change horizontal gutters with `.gx-*` classes, vertical gutters with `.gy-*`, or all gutters with `.g-*` classes. `.g-0` is also available to remove gutters.
 
-- **Sass variables, maps, and mixins power the grid.** If you don't want to use the predefined grid classes in Bootstrap, you can use our [grid's source Sass](#sass) to create your own with more semantic markup. We also include some CSS custom properties to consume these Sass variables for even greater flexibility for you.
+- **Sass variables, maps, and mixins power the grid.** If you don't want to use the predefined grid classes in Bootstrap, you can use our [grid's source Sass](#sass-variables) to create your own with more semantic markup. We also include some CSS custom properties to consume these Sass variables for even greater flexibility for you.
 
 Be aware of the limitations and [bugs around flexbox](https://github.com/philipwalton/flexbugs), like the [inability to use some HTML elements as flex containers](https://github.com/philipwalton/flexbugs#flexbug-9).
 
index 11ca89a4a09209604934cfa98b004303a7bcf354..19270b1cce21295984cd855dbc3597a86a708875 100644 (file)
@@ -148,13 +148,13 @@ Learn more by reading the new [color modes documentation]({{< docsref "/customiz
 
 - Alert variants are now styled via CSS variables.
 
-- <span class="badge text-warning-emphasis bg-warning-subtle">Deprecated</span> The `.alert-variant()` mixin is now deprecated. We now [use the Sass loop]({{< docsref "/components/alerts#sass-loop" >}}) directly to modify the component's default CSS variables for each variant.
+- <span class="badge text-warning-emphasis bg-warning-subtle">Deprecated</span> The `.alert-variant()` mixin is now deprecated. We now [use a Sass loop]({{< docsref "/components/alerts#sass-loops" >}}) directly to modify the component's default CSS variables for each variant.
 
 #### List group
 
 - List group item variants are now styled via CSS variables.
 
-- <span class="badge text-warning-emphasis bg-warning-subtle">Deprecated</span> The `.list-group-variant()` mixin is now deprecated. We now [use the Sass loop]({{< docsref "/components/list-group#sass-loop" >}}) directly to modify the component's default CSS variables for each variant.
+- <span class="badge text-warning-emphasis bg-warning-subtle">Deprecated</span> The `.list-group-variant()` mixin is now deprecated. We now [use a Sass loop]({{< docsref "/components/list-group#sass-loops" >}}) directly to modify the component's default CSS variables for each variant.
 
 #### Dropdowns
 
index eea55329195ad11f2c2591685f563e4dd636422f..c17ed847061cbd01d00f0abded390942711607d6 100644 (file)
@@ -143,7 +143,7 @@ Color mode background colors are also available as a Sass map:
 
 {{< scss-docs name="gradient-mixins" file="scss/mixins/_gradients.scss" >}}
 
-## Utilities API
+### Sass utilities API
 
 Background utilities are declared in our utilities API in `scss/_utilities.scss`. [Learn how to use the utilities API.]({{< docsref "/utilities/api#using-the-api" >}})
 
index fe33cac48617d8753b345ab3a0f3051193033021..b4fa2f4138800a263d9947fed6d2237ca03385ce 100644 (file)
@@ -185,7 +185,7 @@ Color mode adaptive border colors are also available as a Sass map:
 
 {{< scss-docs name="border-radius-mixins" file="scss/mixins/_border-radius.scss" >}}
 
-### Utilities API
+### Sass utilities API
 
 Border utilities are declared in our utilities API in `scss/_utilities.scss`. [Learn how to use the utilities API.]({{< docsref "/utilities/api#using-the-api" >}})
 
index e132a2f11344c35634256f6eb5adbbea25cb4082..775457d9aa7b0f40d6405af968f0021574e32c7e 100644 (file)
@@ -134,7 +134,7 @@ Color mode adaptive text colors are also available as a Sass map:
 
 {{< scss-docs name="theme-text-dark-map" file="scss/_maps.scss" >}}
 
-### Utilities API
+### Sass utilities API
 
 Color utilities are declared in our utilities API in `scss/_utilities.scss`. [Learn how to use the utilities API.]({{< docsref "/utilities/api#using-the-api" >}})
 
index dc5a497bfaf1bd1fbd0d342c5b8c7b4089be337b..41541b96f9d1d39283a58e2819f787f45e7cdc6c 100644 (file)
@@ -105,9 +105,9 @@ The print and display classes can be combined.
 <div class="d-none d-lg-block d-print-block">Hide up to large on screen, but always show on print</div>
 {{< /example >}}
 
-## Sass
+## CSS
 
-### Utilities API
+### Sass utilities API
 
 Display utilities are declared in our utilities API in `scss/_utilities.scss`. [Learn how to use the utilities API.]({{< docsref "/utilities/api#using-the-api" >}})
 
index 564c39f86cc7c925c3a63d36c32b03ac7745139d..d0a92e5b5539e3487794d9816966ab071153e208 100644 (file)
@@ -655,9 +655,9 @@ And say you want to vertically center the content next to the image:
 </div>
 {{< /example >}}
 
-## Sass
+## CSS
 
-### Utilities API
+### Sass utilities API
 
 Flexbox utilities are declared in our utilities API in `scss/_utilities.scss`. [Learn how to use the utilities API.]({{< docsref "/utilities/api#using-the-api" >}})
 
index a18c21471c4a90d8f52b7bd398e6b06120ac5845..a8d3efba86baee9498d1fb4c3079311242a1c8bf 100644 (file)
@@ -39,9 +39,9 @@ Here are all the support classes:
 {{< /float.inline >}}
 {{< /markdown >}}
 
-## Sass
+## CSS
 
-### Utilities API
+### Sass utilities API
 
 Float utilities are declared in our utilities API in `scss/_utilities.scss`. [Learn how to use the utilities API.]({{< docsref "/utilities/api#using-the-api" >}})
 
index 0e8ea001fd69f339bd3dea9985771fc1affcf25c..d602850d1ae6231bf01588fb72ac3ce1735cb199 100644 (file)
@@ -33,9 +33,9 @@ If possible, the simpler solution is:
 - For form controls, add the `disabled` HTML attribute.
 - For links, remove the `href` attribute, making it a non-interactive anchor or placeholder link.
 
-## Sass
+## CSS
 
-### Utilities API
+### Sass utilities API
 
 Interaction utilities are declared in our utilities API in `scss/_utilities.scss`. [Learn how to use the utilities API.]({{< docsref "/utilities/api#using-the-api" >}})
 
index 1b8eaa1ef3f7ecb40c1ff5c9e6bbd70cbef7058d..668af8c23765987d809fe9f30568bcc26e23e970 100644 (file)
@@ -94,11 +94,11 @@ Just like the `.link-opacity-*-hover` utilities, `.link-offset` and `.link-under
 {{< partial "callouts/warning-color-assistive-technologies.md" >}}
 {{< /callout >}}
 
-## Sass
+## CSS
 
 In addition to the following Sass functionality, consider reading about our included [CSS custom properties]({{< docsref "/customize/css-variables" >}}) (aka CSS variables) for colors and more.
 
-### Utilities API
+### Sass utilities API
 
 Link utilities are declared in our utilities API in `scss/_utilities.scss`. [Learn how to use the utilities API.]({{< docsref "/utilities/api#using-the-api" >}})
 
index debd495e8e431e5891155c350928ab9aa8767c0e..babc70a697a2883238fcfa1674058d9ba91a5813 100644 (file)
@@ -54,7 +54,9 @@ The `.object-fit-{value}` and responsive `.object-fit-{breakpoint}-{value}` util
 <video src="..." class="object-fit-none" autoplay></video>
 ```
 
-## Utilities API
+## CSS
+
+### Sass utilities API
 
 Object fit utilities are declared in our utilities API in `scss/_utilities.scss`. [Learn how to use the utilities API.]({{< docsref "/utilities/api#using-the-api" >}})
 
index 5cc4c225fa60077ffc3fcd6f9a8d7609239922ec..5d253a77ca5669cdd896861756f37d6db03c79c9 100644 (file)
@@ -24,7 +24,9 @@ Set the `opacity` of an element using `.opacity-{value}` utilities.
 <div class="opacity-25">...</div>
 ```
 
-### Utilities API
+## CSS
+
+### Sass utilities API
 
 Opacity utilities are declared in our utilities API in `scss/_utilities.scss`. [Learn how to use the utilities API.]({{< docsref "/utilities/api#using-the-api" >}})
 
index c4cb0092c25c9c8029ba1f001f51f4d4de21a2f5..9c8573c3332c617b6f5356d6541e4b1028200eb7 100644 (file)
@@ -90,9 +90,9 @@ Adjust the `overflow-y` property to affect the overflow of content vertically.
 
 Using Sass variables, you may customize the overflow utilities by changing the `$overflows` variable in `_variables.scss`.
 
-## Sass
+## CSS
 
-### Utilities API
+### Sass utilities API
 
 Overflow utilities are declared in our utilities API in `scss/_utilities.scss`. [Learn how to use the utilities API.]({{< docsref "/utilities/api#using-the-api" >}})
 
index 0ba0dd76954b287601388929bf40fd5560eafa84..e7cd420fa0e254ee65f01537134074af125b33f1 100644 (file)
@@ -115,15 +115,15 @@ You can use these classes with existing components to create new ones. Remember
 </div>
 {{< /example >}}
 
-## Sass
+## CSS
 
-### Maps
+### Sass maps
 
 Default position utility values are declared in a Sass map, then used to generate our utilities.
 
 {{< scss-docs name="position-map" file="scss/_variables.scss" >}}
 
-### Utilities API
+### Sass utilities API
 
 Position utilities are declared in our utilities API in `scss/_utilities.scss`. [Learn how to use the utilities API.]({{< docsref "/utilities/api#using-the-api" >}})
 
index 9872d4519c7846e8280ee56075da96b95de363bc..94868a11979e3e278d4ae25f4e2ffd18e30ebd21 100644 (file)
@@ -17,13 +17,13 @@ While shadows on components are disabled by default in Bootstrap and can be enab
 <div class="shadow-lg p-3 mb-5 bg-body-tertiary rounded">Larger shadow</div>
 {{< /example >}}
 
-## Sass
+## CSS
 
-### Variables
+### Sass variables
 
 {{< scss-docs name="box-shadow-variables" file="scss/_variables.scss" >}}
 
-### Utilities API
+### Sass utilities API
 
 Shadow utilities are declared in our utilities API in `scss/_utilities.scss`. [Learn how to use the utilities API.]({{< docsref "/utilities/api#using-the-api" >}})
 
index 3d0f8e81c7394e890b8597dd613ba5b3efcc036b..f5881729ef6f8a49080a435004f039d624395f02 100644 (file)
@@ -53,9 +53,9 @@ You can also use utilities to set the width and height relative to the viewport.
 <div class="vh-100">Height 100vh</div>
 ```
 
-## Sass
+## CSS
 
-### Utilities API
+### Sass utilities API
 
 Sizing utilities are declared in our utilities API in `scss/_utilities.scss`. [Learn how to use the utilities API.]({{< docsref "/utilities/api#using-the-api" >}})
 
index c7a216c3129ed27e9e479667e3a8d3ca3a418d34..2562b8d43e4a97052422ab841ce4286d329f4ff4 100644 (file)
@@ -139,15 +139,15 @@ Support includes responsive options for all of Bootstrap's grid breakpoints, as
 </div>
 {{< /example >}}
 
-## Sass
+## CSS
 
-### Maps
+### Sass maps
 
 Spacing utilities are declared via Sass map and then generated with our utilities API.
 
 {{< scss-docs name="spacer-variables-maps" file="scss/_variables.scss" >}}
 
-### Utilities API
+### Sass utilities API
 
 Spacing utilities are declared in our utilities API in `scss/_utilities.scss`. [Learn how to use the utilities API.]({{< docsref "/utilities/api#using-the-api" >}})
 
index f7c030da684e80b84a64f4242dfc8594d6e0e0d6..5787f95eb383a5d7bf039b31cfac8dcd59b743cb 100644 (file)
@@ -153,7 +153,7 @@ Font-size utilities are generated from this map, in combination with our utiliti
 
 {{< scss-docs name="theme-text-map" file="scss/_maps.scss" >}}
 
-## Utilities API
+### Sass utilities API
 
 Font and text utilities are declared in our utilities API in `scss/_utilities.scss`. [Learn how to use the utilities API.]({{< docsref "/utilities/api#using-the-api" >}})
 
index 9fe0eeb93213b0d09e7cf527d68e4dd6e57d9724..c24e6616fc31a0e935a609f7855339a9fd55bff3 100644 (file)
@@ -39,9 +39,9 @@ With table cells:
 </table>
 {{< /example >}}
 
-## Sass
+## CSS
 
-### Utilities API
+### Sass utilities API
 
 Vertical align utilities are declared in our utilities API in `scss/_utilities.scss`. [Learn how to use the utilities API.]({{< docsref "/utilities/api#using-the-api" >}})
 
index 61eb3024184fb42d13c462269c16981261df8892..e2c6bb6b881427c7d9189dc948d0c68486b2af09 100644 (file)
@@ -28,9 +28,9 @@ Apply `.visible` or `.invisible` as needed.
 }
 ```
 
-## Sass
+## CSS
 
-### Utilities API
+### Sass utilities API
 
 Visibility utilities are declared in our utilities API in `scss/_utilities.scss`. [Learn how to use the utilities API.]({{< docsref "/utilities/api#using-the-api" >}})
 
index ca7d8e35a1b1790988c2566ddda755840d0d6598..64ed84bcec56a8e4918ccfb254277f3382bb7ff6 100644 (file)
@@ -37,13 +37,13 @@ Learn about our [`z-index` approach]({{< docsref "/extend/approach#z-index-scale
 
 ## CSS
 
-### Sass map
+### Sass maps
 
 Customize this Sass map to change the available values and generated utilities.
 
 {{< scss-docs name="zindex-levels-map" file="scss/_variables.scss" >}}
 
-### Utilities API
+### Sass utilities API
 
 Position utilities are declared in our utilities API in `scss/_utilities.scss`. [Learn how to use the utilities API.]({{< docsref "/utilities/api#using-the-api" >}})