PinothyJ

u/PinothyJ



r/webdevelopment•

I have seen it both way around the web, and now I am implementing it in my own project, would like the consensus.

Assuming the Two Icons are a Sun and a Moon:

  • When light mode, shows a sun, highlighting the current state of the toggle. When clicked, will change to dark mode and show the moon icon.

  • When light mode, shows a moon, to highlight the mode this button toggles to. When clicked, will change to dark mode and show the sun icon.

610