1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 17:11:48 +02:00

Sass docs updates (#37897)

* Add maps

* Redesign scss-docs rendering

* Update other CSS sections

* Fix linter
This commit is contained in:
Mark Otto
2023-01-16 18:57:24 -08:00
committed by GitHub
parent eec5015520
commit 20ab8219a0
22 changed files with 133 additions and 46 deletions

View File

@@ -166,6 +166,20 @@ Use the scaling classes for larger or smaller rounded corners. Sizes range from
{{< scss-docs name="border-radius-variables" file="scss/_variables.scss" >}}
Variables for setting `border-color` in `.border-*-subtle` utilities in light and dark mode:
{{< scss-docs name="theme-border-subtle-variables" file="scss/_variables.scss" >}}
{{< scss-docs name="theme-border-subtle-dark-variables" file="scss/_variables-dark.scss" >}}
### Sass maps
Color mode adaptive border colors are also available as a Sass map:
{{< scss-docs name="theme-border-subtle-map" file="scss/_maps.scss" >}}
{{< scss-docs name="theme-border-subtle-dark-map" file="scss/_maps.scss" >}}
### Sass mixins
{{< scss-docs name="border-radius-mixins" file="scss/mixins/_border-radius.scss" >}}