Feature #13788
openDark mode support, e.g. by updating to Bootstrap 5.3
0%
Description
Our customers would like to optionally use dark mode.
What are the plans for updating to Bootstrap 5.3 or newer?
https://getbootstrap.com/docs/5.3/customize/color-modes/
Files
Updated by Christian Meyer 3 months ago
- File ThemeToggleButton.cpp ThemeToggleButton.cpp added
- File ThemeToggleButton.hpp ThemeToggleButton.hpp added
I want that as well!
I just realized the current Bootstrap Version does not Support it, after Spending some time Creating a Theme Toggle Button...
Maybe this might help later.
The Button is fully functional:
sets the theme attribute, even for "potential" BS 5.2.3 Themes with body.dark
support.
Saves the Theme into localStorage.
Retrieves the Theme from localStorage.
Listens to Preferred Theme changes (setting OS Theme)
Updates the Icon on the button.
Supports setting Own Icons and Localizing Theme Names.
Current Themes are Light, Dark, Auto. Icons are the same as Bootstrap toggle Demo
Updated by Romain Mardulyn 6 days ago
- Related to Bug #13683: Correct WSlider fill using Bootstrap 5 added
Updated by Matthias Van Ceulebroeck 4 days ago
- Target version set to 4.12.1
Added to #13683 (due to theme rebuilding there).