Works great, i've build a theme toggle with this technique www.rodrigoantunes.me
rodrigoantunes.me
Rodrigo Antunes
I’m a Front-End Engineer with a passion for open source and creating visually appealing projects. I focus on bridging the gap between design, product, and engineering.