You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My accordion body color suddenly shows white after upgrade BS 5.1.3 to 5.2
Looks like color and bg use the same variable in _accordion.scss ... hmm? --#{$prefix}accordion-color: #{color-contrast($accordion-bg)}; --#{$prefix}accordion-bg: #{$accordion-bg};
Prerequisites
Describe the issue
My accordion body color suddenly shows white after upgrade BS 5.1.3 to 5.2
Looks like color and bg use the same variable in
_accordion.scss
... hmm?--#{$prefix}accordion-color: #{color-contrast($accordion-bg)};
--#{$prefix}accordion-bg: #{$accordion-bg};
Reduced test cases
Variable setup:
$body-bg: $white;
$body-color: $dark;
Fixed it by override scss:
.accordion { --#{$prefix}accordion-color: $accordion-color; }
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
5.2.0
The text was updated successfully, but these errors were encountered: