Skip to content

Implement Persistent Dark & Light Theme Toggle #1689

@Shalini828

Description

@Shalini828

Problem :
Currently theme switching (if available) does not persist across reloads, or is inconsistently implemented.

Proposed Solution :

  • Add a global ThemeContext.
  • Store theme preference in localStorage.
  • Automatically apply saved theme on page load.
  • Ensure theme works across all Plays.

Implementation Ideas :

  • Use React Context API.
  • On initial render, read from localStorage.
  • Add smooth transition between themes.

Acceptance Criteria :

  • Theme preference persists after reload.
  • Works across all pages and plays.
  • No flicker on initial load.
  • Mobile responsive.

I would like to work on this issue under Apertre 3.0.
Kindly assign this to me.

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions