Theme with localStorage
Persist light/dark preference in the browser.
Mesma ideia do toggle de tema do site - versão mínima.
HTML
CSS
JavaScript
Live preview
Console
Run the code to see its output here.Persist light/dark preference in the browser.
Mesma ideia do toggle de tema do site - versão mínima.
Run the code to see its output here.