Persisting Theme Toggling #858
Labels
gssoc-ext
pr for GSSoC
hacktoberfest
pr for hacktoberfest
hacktoberfest-accepted
accept pr for hacktoberfest
level1
Hi @iamrahulmahato ,
I noticed that when users reload the site, their last dark mode preference isn't saved, and the site defaults back to light mode. I'd like to fix this so that when users revisit the site, their last selected theme is saved and applied automatically, preventing the need to change it every time.
I plan to implement this using either localStorage or cookies. Kindly assign this issue to me.
The text was updated successfully, but these errors were encountered: