Description
/cc @mdo
https://github.com/twbs/bootstrap/pull/37800/files introduced a regression of headings color in our docs; we can't see anymore the headings in light mode.
You can check this regression live in https://twbs-bootstrap.netlify.app/docs/5.3/getting-started/introduction/:
This PR suggests to use a custom property allowing to switch between black and white in light/dark mode and replaces --#{$prefix}
by --bs
.
Type of changes
-
Bug fix (non-breaking change which fixes an issue)
Checklist
-
I have read the contributing guidelines -
My code follows the code style of the project (using npm run lint
) -
My change introduces changes to the documentation -
I have updated the documentation accordingly - (NA) I have added tests to cover my changes
-
All new and existing tests passed
Live previews
- https://deploy-preview-37802--twbs-bootstrap.netlify.app/docs/5.3/getting-started/introduction/ (in both light/dark mode)
- https://deploy-preview-37802--twbs-bootstrap.netlify.app/docs/5.3/components/carousel/#captions (in both light/dark mode)
- https://deploy-preview-37802--twbs-bootstrap.netlify.app/docs/5.3/components/carousel/#dark-variant (in both light/dark mode)