Running a Dark Theme

I want to ask about the dark theme of Framework7. So, I use addClass and removeClass. This method is successful, but you must restart the application first so that the theme runs. Can anyone help? Thank you!


You can ignore the $$(“body”).addClass in the first image