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
Thanks for reporting this issue @kusma.
Indeed your live example only works when data-bs-theme="dark" is set to <html> but not contextually 🤔
I haven't looked at why in details yet but it definitely need to be fixed.
Possibly because $card-cap-color: null !default; and that the default color is only changed when data-bs-theme="dark" is set to <html>. Maybe we need to set $card-*-color to body color custom property or something like that.
At the end, we'd need to have the same behavior for all Sass vars having a null value as color.
Prerequisites
Describe the issue
When setting
data-bs-theme
todark
on a Card, the background color changes, but not the foreground colors.I'd expect either neither or both to change.
Reduced test cases
https://codepen.io/kusma/pen/ZEjWxyb
What operating system(s) are you seeing the problem on?
Linux
What browser(s) are you seeing the problem on?
Firefox
What version of Bootstrap are you using?
v5.3.0-alpha1
The text was updated successfully, but these errors were encountered: