Skip to content

Comments

Add color-scheme to light root selector#41232

Open
xi wants to merge 1 commit intotwbs:mainfrom
xi:fix-color-scheme-light
Open

Add color-scheme to light root selector#41232
xi wants to merge 1 commit intotwbs:mainfrom
xi:fix-color-scheme-light

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