Description
Description:
I have noticed that when the user is not logged in and enables the dark theme setting, it is not stored locally and have to enable it every time when visiting the site. It would be a great addition if the dark theme setting could be stored locally for the guest user so that they don't have to enable it every time.
Expected behavior:
When I enable the dark theme setting, it should be stored locally and should be the default theme the next time they visit.
Steps to reproduce:
Go to p5 web editor.
Enable the dark theme setting.
Close the browser.
Re-open the browser and go to p5 web editor.
Notice that the dark theme setting is not stored locally and has to be enabled again.
Suggested solution:
Using local storage to store the theme setting would be a great addition. This way, the setting would persist even after the browser is closed and re-opened or refreshed.
Thanks.