diff options
| author | Julien Déramond <[email protected]> | 2023-12-30 08:48:21 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-12-30 08:48:21 +0100 |
| commit | 85b1d1c660a05237c5b4949925922d20f77a3a17 (patch) | |
| tree | 49fd3f8a34ac017d0ebf0a2b53a692a863975f7e | |
| parent | ce1bf1c660b35c4153ff9e36a39a3d1ab7a178ad (diff) | |
| download | bootstrap-85b1d1c660a05237c5b4949925922d20f77a3a17.tar.xz bootstrap-85b1d1c660a05237c5b4949925922d20f77a3a17.zip | |
Docs: update desc of deprecated Sass mixins in alerts and list groups (#39537)
| -rw-r--r-- | site/content/docs/5.3/components/alerts.md | 4 | ||||
| -rw-r--r-- | site/content/docs/5.3/components/list-group.md | 2 | ||||
| -rw-r--r-- | site/content/docs/5.3/migration.md | 4 |
3 files changed, 3 insertions, 7 deletions
diff --git a/site/content/docs/5.3/components/alerts.md b/site/content/docs/5.3/components/alerts.md index 9eb64dfe3..6103898bc 100644 --- a/site/content/docs/5.3/components/alerts.md +++ b/site/content/docs/5.3/components/alerts.md @@ -162,13 +162,11 @@ As part of Bootstrap's evolving CSS variables approach, alerts now use local CSS {{< deprecated-in "5.3.0" >}} -Used in combination with `$theme-colors` to create contextual modifier classes for our alerts. - {{< scss-docs name="alert-variant-mixin" file="scss/mixins/_alert.scss" >}} ### Sass loops -Loop that generates the modifier classes with the `alert-variant()` mixin. +Loop that generates the modifier classes with an overriding of CSS variables. {{< scss-docs name="alert-modifiers" file="scss/_alert.scss" >}} diff --git a/site/content/docs/5.3/components/list-group.md b/site/content/docs/5.3/components/list-group.md index 8603071fc..7f7e1457c 100644 --- a/site/content/docs/5.3/components/list-group.md +++ b/site/content/docs/5.3/components/list-group.md @@ -321,8 +321,6 @@ As part of Bootstrap's evolving CSS variables approach, list groups now use loca {{< deprecated-in "5.3.0" >}} -Used in combination with `$theme-colors` to generate the [contextual variant classes](#variants) for `.list-group-item`s. - {{< scss-docs name="list-group-mixin" file="scss/mixins/_list-group.scss" >}} ### Sass loops diff --git a/site/content/docs/5.3/migration.md b/site/content/docs/5.3/migration.md index 1c98ae15c..016c376f1 100644 --- a/site/content/docs/5.3/migration.md +++ b/site/content/docs/5.3/migration.md @@ -152,13 +152,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 a Sass loop]({{< docsref "/components/alerts#sass-loops" >}}) 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 a Sass loop]({{< docsref "/components/list-group#sass-loops" >}}) 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-item-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 |
