Feature #13788
closedDark mode support, e.g. by updating to Bootstrap 5.3
100%
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
CM Updated by Christian Meyer over 1 year 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
RM Updated by Romain Mardulyn about 1 year ago
- Related to Bug #13683: Correct WSlider fill using Bootstrap 5 added
RM Updated by Romain Mardulyn about 1 year ago
- Status changed from New to InProgress
RM Updated by Romain Mardulyn about 1 year ago
- Status changed from InProgress to Review
MV Updated by Matthias Van Ceulebroeck about 1 year ago
- Target version set to 4.12.1
Added to #13683 (due to theme rebuilding there).
MV Updated by Matthias Van Ceulebroeck about 1 year ago
- Status changed from Review to Implemented @Emweb
- Assignee set to Romain Mardulyn
- % Done changed from 0 to 100
MV Updated by Matthias Van Ceulebroeck about 1 year ago
- Status changed from Implemented @Emweb to Implemented @Test
MV Updated by Matthias Van Ceulebroeck about 1 year ago
- Status changed from Implemented @Test to Closed
MS Updated by Michael Seibt about 1 year ago
This feature request has not been addressed at all by the "related issue" #13683 (which was closed with v4.12.1).
Please reopen and give feedback! Thank you in advance!
MV Updated by Matthias Van Ceulebroeck about 1 year ago
- Status changed from Closed to New
- Assignee deleted (
Romain Mardulyn) - Target version changed from 4.12.1 to 4.14.0
Indeed, while Bootstrap allows you to implement this by means of a simple "toggle", this makes some assumptions that all coloring is done by means of Bootstrap.
This will result in some significant changes, such that Wt will define its own set of theme colors, and use them consistently. These can then be mapped to Bootstrap's colors.
RM Updated by Romain Mardulyn 5 months ago
- Status changed from New to InProgress
- Assignee set to Romain Mardulyn
RM Updated by Romain Mardulyn 5 months ago
- Status changed from InProgress to Review
- Assignee deleted (
Romain Mardulyn)
ED Updated by emil de keyser 5 months ago
- Assignee set to emil de keyser
ED Updated by emil de keyser 4 months ago
- Status changed from Review to Resolved
- Assignee changed from emil de keyser to Romain Mardulyn
RM Updated by Romain Mardulyn 4 months ago
- Status changed from Resolved to Implemented @Emweb
RM Updated by Romain Mardulyn 4 months ago
- Status changed from Implemented @Emweb to Closed