Hi,
I want to make a live theme switch in my app.
How can I compile both dark and light themes into 1 css file?
I'm using vuejs.
Thanks.
You can define CSS variables for both dark and light themes. This allows you to switch between themes by toggling a root class or data attribute or slope game.
The theme switcher is integrated into the demos' header part and you can learn more about the theme mode here.
Hi,
Currently, our dark and light modes use separate SASS files, and compiling them into one is not supported. However, we will provide a solution for this very soon. Stay tuned for new updates.
Regards.