Add color-scheme to light root selector

Fixup for #37734

If `[data-bs-theme="light"]` is nested within `[data-bs-theme="dark"]`,
`color-scheme` should be reset to `light`.
This commit is contained in:
Tobias Bengfort 2025-02-17 18:40:45 +01:00
parent 669079dff6
commit 7cd2f480a2
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@
[data-bs-theme="light"] {
// Note: Custom variable values only support SassScript inside `#{}`.
color-scheme: light;
// Colors
//
// Generate palettes for full colors, grays, and theme colors.