Skip to content

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

@hencisk

Description

@hencisk

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions