Hello,
I'm working on a new site and the request is to have a button that toggles light and dark mode for the user.
I'm still in the building/testing phase, with Joomla 5.3.3 and CB 2.10.0
I have a button that's working for the template switching between light and dark modes. It does this by adding a "dark-mode" class to the body and an attribute
data-bs-theme="dark" to the html tag as instructed for Bootstrap v5.3.
Even with the Bootstrap 5 compatibility enabled in the CB > Configuration > Integrations, the colors don't change for CB.
Is there a way to display dark mode in CB frontend?
Before writing CSS to achieve this, I was wondering if I'm missing something?
I also noticed that when loading Bootstrap 5 CSS, it's version 5.0 and as far as I understand the switch becomes possible after v5.3.
If v5.3 will be implemented in future CB versions, I might hold off until then as I still have a long way to go with the site.
If I add to the page header a CDN foro Bootstrap v5.3, I do get several items within CB to change, e.g. dropdown menus, but many items have classes "-light" I'm wondering there may be somewhere to change that?
Thank you,
Tomás