twbs / bootstrap

The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
https://getbootstrap.com
MIT License
170.31k stars 78.79k forks source link

When on dark theme, carousel child element set with light theme not displayed properly #40493

Open hencisk opened 4 months ago

hencisk commented 4 months ago

Prerequisites

Describe the issue

When main active theme is set as "dark", if setting data-bs-theme to "light" for child carousel element (".carousel"), only carousel border frame is changing color to white. Carousel indicators and prev, next controls remain black. If on light scheme and carousel is set "dark", everything is happening good.

Reduced test cases

What operating system(s) are you seeing the problem on?

Windows, iOS

What browser(s) are you seeing the problem on?

No response

What version of Bootstrap are you using?

5.3.3

Gunjan349 commented 3 months ago

attempt #40493

KKartikay-27 commented 2 months ago

@julien-deramond Please assign this issue to me !