Skip to content

theme setting not stored locally. #2144

Closed
@dewanshDT

Description

@dewanshDT

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature RequestProposal for adding a new functionalityPriority:MediumModerately important, should be completed in a fair timeframe

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions