I have a situation in which I have made a Dark/Light version of the website, it toggles by button tap. It works very simple, in a css embeded I added to each element a combo class “is-dark” with new proprieties.
Question is: How can I keep the dark version still on by accessing other pages?
I understand it should keep those classes on the elements but how?
@Alex_Naroi - so you’re asking when a user selects dark mode and then navigates to a new page how you keep their selection so the new page loads with dark mode enabled?
Hey @sam-g , thank you for replying, I tried my best to follow up this example but i struggle very much with it. I just cant understand how can I add more classes to be changed, as far I see in the example, it shows only how to change the background-color of a page wrapper and some “a” and “paths”.
What i am trying to do is to include more classes with different proprieties like: