Skip to content

Theme toggle isn't persistent #5

@nerdyabhi

Description

@nerdyabhi

When a user switches between light/dark modes, the selected theme is not persisted after a page refresh. The application resets to the default theme instead of retaining the user’s preference.

Steps to Reproduce

Open the application
Toggle the theme (e.g., light → dark or vice versa)
Refresh the page

Expected Behavior
The selected theme should persist across page reloads and sessions.

Actual Behavior
The theme resets to the default on refresh.

Possible Cause
Theme preference is not being stored (e.g., in localStorage, cookies, or backend) or not being read/applied correctly on app initialization.

Metadata

Metadata

Labels

bugSomething isn't workinggood first issueGood for newcomers

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions