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
Modal data-bs-theme dark does not change text color #6796
Labels
Comments
Open
10 tasks
This issue was with Bootstrap's internal CSS, not React Bootstrap. I was able to reproduce the bug and resolved it by setting --bs-modal-color to var(--bs-body-color). I have created a PR to fix this issue. Please review it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
Describe the bug
I have this modal:
However, when rendered, the text is the same color as the background, making it only visible when highlighted
Expected behavior
Text should be white/readable
To Reproduce
No response
Reproducible Example
https://github.com/averwhy/noisyProject/blob/main/src/components/simulator.jsx#L72-L94
Screenshots
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Firefox
What version of React-Bootstrap are you using?
2.10.2
What version of Bootstrap are you using?
10.5.0
Additional context
No response
The text was updated successfully, but these errors were encountered: