Skip to content

Commit

Permalink
Change accordions color to get some more consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
louismaximepiton committed Sep 22, 2023
1 parent 00bcaed commit a24aa8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1736,7 +1736,7 @@ $accordion-button-bg: var(--#{$prefix}accordion-bg) !default
$accordion-transition: $btn-transition, border-radius .15s ease !default;
$accordion-button-hover-bg: var(--#{$prefix}secondary-bg) !default; // Boosted mod
$accordion-button-active-bg: null !default; // Boosted mod: instead of `var(--#{$prefix}primary-bg-subtle)`
$accordion-button-active-color: var(--#{$prefix}emphasis-color) !default; // Boosted mod: instead of `var(--#{$prefix}primary-text-emphasis)`
$accordion-button-active-color: var(--#{$prefix}body-color) !default; // Boosted mod: instead of `var(--#{$prefix}primary-text-emphasis)`

// Boosted mod: no $accordion-button-focus-border-color
// Boosted mod: no $accordion-button-focus-box-shadow
Expand Down
2 changes: 2 additions & 0 deletions site/content/docs/5.3/components/accordion.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ Omit the `data-bs-parent` attribute on each `.accordion-collapse` to make accord

{{< callout warning >}}
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" >}}).

`.accordion-dark` will be removed in v6.
{{< /callout >}}

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

0 comments on commit a24aa8f

Please sign in to comment.