@alex-kim-dev
Posted
Yeah, the css variables are very helpful for this kind of purpose. The alternative set of color variables could be used with a selector that targets the checked
state of the switch, eliminating the need to use JS for theme changing.
@emestabillo
Posted
@Alex-K1m Not gonna lie...back then my main problem was I didn't know how to do it lol. But the intention was there. I'll be checking your version for sure š