@bramuccci
Posted
Hi Leon, this solution looks amazing! I see it in the newsletter and I think it's great. In fact, I'm studying it so thanks for the readme!! The dark and light theme looks amazing too, just a question: The theme preference is not saved in the localStorage? When I reload the page, is always dark. Please keep coding! This is awesome.
Marked as helpful
@NinjaInShade
Posted
@Liltanie Hey! Which newsletter, as I'm not aware of this :D
Regarding theme storage, it is saved In localstorage. I have had issues on IOS though where you had a dark OS preference and it overrides localstorage. I have some ideas on what this could be and will work on a fix.
What device/OS were you using?
EDIT: It's fixed now :)
Thanks for the comment! :)
@bramuccci
Posted
@NinjaInShade Oh yes, it's fixed! Haha. I'm using windows. If you click the logo of Frontend Mentor in the web and scroll down, there will be a section with the heading "SUBSCRIBE TO OUR NEWSLETTER". I recommend joining. And you're welcome 🥰
@NinjaInShade
Posted
@Liltanie Yes, it was some logic mistake in my code actually, not OS specific like I first thought haha. Thanks, I've subscribed :)