Skip to content

Add color-scheme to light root selector #41232

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

xi
Copy link
Contributor

@xi xi commented Feb 17, 2025

Fixup for #37734

If [data-bs-theme="light"] is nested within [data-bs-theme="dark"], color-scheme should be reset to light.

Fixup for twbs#37734

If `[data-bs-theme="light"]` is nested within `[data-bs-theme="dark"]`,
`color-scheme` should be reset to `light`.
@julien-deramond
Copy link
Member

julien-deramond commented Feb 17, 2025

Note for the reviewer(s). Double-check #39295 (more precisely https://github.com/twbs/bootstrap/pull/39295/files#diff-a7d15cd7bb2a77d572e71e0979d2c37bbf08613f2ca8e3fc5f63f66d17f9a8d5) to see if this fix can be landed separately.

@mdo
Copy link
Member

mdo commented Apr 3, 2025

I don't think this would present an issue with your changes @julien-deramond, but we can move it to v5.4.0 just in case.

@mdo mdo removed this from v5.3.4 Apr 3, 2025
@mdo mdo added this to v5.4.0 Apr 3, 2025
@github-project-automation github-project-automation bot moved this to Needs review in v5.4.0 Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs review
Development

Successfully merging this pull request may close these issues.

3 participants