Solved
Dark mode and light mode in Dashboard
I wanted to achieve a Dark Mode and a Light Mode in my Dashboard.
I wanted to achieve a Dark Mode and a Light Mode in my Dashboard.
Hi
You can achieve using Custom CSS
Example :
CSS Code to change background color
.darkMode{
background-color : black !important
}
.lightMode{
background-color : white !important
}
Based on toggle button state pass custom CSS class name to container. By this way you can achieve dark or light mode
Expression :
if (toogle === true){
Output = 'darkMode';
} else {
Output = 'lightMode';
}
Bindings :

Result :


/VR
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.