-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accordion body text turns white when embedded on background color #1443
Comments
|
The built-in color contrast in the Bootstrap SCSS is to blame for this one. It sees the If we were to add
it should basically "reset" that so it's defaulting to use black text instead of white. |
Since this issue will require a change to This Quickstart issue should instead be modified to include the addition of the |
Problem/Motivation
I want to embed a flexible block with accordions in a Text with background paragraph type
Describe the bug
Color is not set in CSS
To Reproduce
Proposed resolution
Addcolor: initial;
to _card.scss file under.card, .panel, .thumbnail, .well {}
groupUpdated as of 2022/06/01:
This will become a two-part fix: a change to Bootstrap, and a change to Quickstart's Accordion.
.bg-white
class to the Accordion component's.card-body
orcollapse
section..card
class (Accordion body text turns white when embedded on background color arizona-bootstrap#489)Order does not matter here; adding the
.bg-white
class to the Accordion div will allow it to leverage the built-in color contrast fallbacks.Expected behavior
Accordion body text should match standard body color (since it's on a white background)
Screenshots
Before
After
The text was updated successfully, but these errors were encountered: