Skip to content

Commit

Permalink
Deprecate in v5.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond committed Sep 21, 2023
1 parent 69b1020 commit b2516c8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion scss/_accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
// scss-docs-end accordion-lg-css-vars
}

// Deprecated in v5.3.2
// Deprecated in v5.3.3
.accordion-dark {
// scss-docs-start accordion-dark-css-vars
--#{$prefix}accordion-btn-color: #{$accordion-dark-button-color};
Expand Down
14 changes: 7 additions & 7 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1766,13 +1766,13 @@ $accordion-button-letter-spacing-lg: $h2-spacing !default;

// Boosted mod
// scss-docs-start accordion-dark-variables
$accordion-dark-color: $white !default; // Deprecated in v5.3.2
$accordion-dark-bg: $black !default; // Deprecated in v5.3.2
$accordion-dark-border-color: $gray-700 !default; // Deprecated in v5.3.2
$accordion-dark-button-color: $accordion-dark-color !default; // Deprecated in v5.3.2
$accordion-dark-button-bg: $accordion-dark-bg !default; // Deprecated in v5.3.2
$accordion-dark-button-hover-bg: $gray-900 !default; // Deprecated in v5.3.2
$accordion-dark-button-active-color: $white !default; // Deprecated in v5.3.2
$accordion-dark-color: $white !default; // Deprecated in v5.3.3
$accordion-dark-bg: $black !default; // Deprecated in v5.3.3
$accordion-dark-border-color: $gray-700 !default; // Deprecated in v5.3.3
$accordion-dark-button-color: $accordion-dark-color !default; // Deprecated in v5.3.3
$accordion-dark-button-bg: $accordion-dark-bg !default; // Deprecated in v5.3.3
$accordion-dark-button-hover-bg: $gray-900 !default; // Deprecated in v5.3.3
$accordion-dark-button-active-color: $white !default; // Deprecated in v5.3.3
// scss-docs-end accordion-dark-variables
// End mod

Expand Down
4 changes: 2 additions & 2 deletions site/content/docs/5.3/components/accordion.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,10 @@ Omit the `data-bs-parent` attribute on each `.accordion-collapse` to make accord

## Dark variant

{{< deprecated-in "5.3.2" >}}
{{< deprecated-in "5.3.3" >}}

{{< callout warning >}}
New dark accordions in v5.3.2 — We’ve deprecated `.accordion-dark` in favor of the new `data-bs-theme="dark"`. Add `data-bs-theme="dark"` to the `.accordion` or any ancestor element to enable a component-specific color mode. [Learn more about our color modes]({{< docsref "/customize/color-modes" >}}).
New dark accordions in v5.3.3 — We’ve deprecated `.accordion-dark` in favor of the new `data-bs-theme="dark"`. Add `data-bs-theme="dark"` to the `.accordion` or any ancestor element to enable a component-specific color mode. [Learn more about our color modes]({{< docsref "/customize/color-modes" >}}).
{{< /callout >}}

{{< added-in "5.2.0" >}}
Expand Down

0 comments on commit b2516c8

Please sign in to comment.