We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bootstrap 5.3 now supports a dark mode out of the box https://getbootstrap.com/docs/5.3/customize/color-modes/#dark-mode
in the docs they provide example js that can be used to toggle btw light and dark mode: https://getbootstrap.com/docs/5.3/customize/color-modes/#javascript
I propose adding this to the template steps that need to be taking:
data-bs-theme="light"
theme-toggler.js
static/js/
I would argue that we should just add this but one could argue it should be added as a feature flag, what are your thoughts?
The text was updated successfully, but these errors were encountered:
Sure, why not. I don't think it's worth the complexity of adding it as a template option and agree that "we should just add this" 👍🏻
Sorry, something went wrong.
No branches or pull requests
Description
Bootstrap 5.3 now supports a dark mode out of the box
https://getbootstrap.com/docs/5.3/customize/color-modes/#dark-mode
in the docs they provide example js that can be used to toggle btw light and dark mode: https://getbootstrap.com/docs/5.3/customize/color-modes/#javascript
I propose adding this to the template
steps that need to be taking:
data-bs-theme="light"
to base templatetheme-toggler.js
tostatic/js/
with this js codeI would argue that we should just add this but one could argue it should be added as a feature flag, what are your thoughts?
The text was updated successfully, but these errors were encountered: