Description
Change 'Usage > Enable dark mode' code example to actually apply data-bs-theme="dark"
to the <html>
element and not the <body>
element.
Motivation & Context
Coherence between the description, the code example and the actual usage in Bootstrap docs where data-bs-theme="auto"
is set to the <html>
element.
Type of changes
-
Bug fix (non-breaking change which fixes an issue)
Checklist
-
I have read the contributing guidelines -
My code follows the code style of the project (using npm run lint
) -
My change introduces changes to the documentation -
I have updated the documentation accordingly -
All new and existing tests passed