Color mode: Offer an alternative data-bs-theme="body"
#39188
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Add a special "theme" that only replicate the main theme of the page.
❓ If this theme is accepted, we might introduce
data-bs-theme="inverted"
that inverts the global theme. Here is an example of how it could be implemented atm: https://codepen.io/louismaximepiton/pen/vYbEvLO.Motivation & Context
Get rid of dark variants.
Quality of life for end-users.
New feature that adds functionality to help people find a way to have the previous behavior (v5.2.3) (without JS)
Type of changes
Checklist
npm run lint
)Live previews
On this test page that has to be removed, the rendering of every kind of use of navbar and its associated dropdown.
Related issues
Closes #38973.