Skip to content

[Feature]: Implement LocalStorage Persistence for Theme/Dark Mode Toggle #406

@Ashvin-KS

Description

@Ashvin-KS

Problem Statement

When a user switches to dark mode, their preference resets on page reload.

Proposed Solution

Save the theme preference in localStorage so it persists across sessions.

Alternatives Considered

Using cookies or database storage (overkill for UI preferences).

Acceptance Criteria

  • Theme persists on refresh
  • Works for both dark and light themes

Additional Context

I would be happy to work on this for GSSoC 2026.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions