Hi, I see that I can change the import in the styles.scss from dark to light, but that requires a recompilation in Angular.
How can I implement this from a toggle, say the user wants to switch from light to dark theme, or vice versa using a toggle button in the UI?
I did follow along with the instructions here https://preview.keenthemes.com/metronic8/angular/docs/dark-mode but they only show how to set this up without being able to switch back and forth.
Thanks,
Sheldon
Hi,
Right now we don't have such functionality for the Angular version.
Anyway, try to build dark styles and import them also together with light.
You can import them into CSS class, like:
.dark-mode { @import .... }
body
tag.Hi Carmelo D!
Is there another solution nowdays for changing the theme dinamically?