Toggling themes | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Toggling themes

How do I let users toggle between dark and light mode across multiple websites

30th Nov 2020, 4:33 PM
manuel omono
manuel omono - avatar
1 Réponse
+ 1
Hmmm you can use local storage to store the theme value the user chose And with every page to page or site to site movement you check first for that value locally stored and adjust the theme depending on it
30th Nov 2020, 4:39 PM
Ali Kh
Ali Kh - avatar