DEV Community

Discussion on: An HTML and CSS only dark‑mode toggle button.

Collapse
 
aka_tamer profile image
Tamer

Congratulations on the article! I really like the solutions found, I will treasure them.
I also wanted to adopt this solution in my last project, unfortunately it is not applicable because it does not store the preference selected by the user.

Collapse
 
shadowfaxrodeo profile image
Nathaniel

Thanks, glad you like it.
For my purposes not storing the preference is fine, but I'd like to find a way of doing it anyway. Maybe with local storage as a progressive enhancement.

Collapse
 
aka_tamer profile image
Tamer

Great! Let me read an your tut about it 😉