Skip to content

Add a dark-mode theme toggle and persist preference #1122

@Gupta-02

Description

@Gupta-02

Description: Implement a site-level theme toggle (light/dark) stored in localStorage and used by Docusaurus theme to persist user preference.
Why it matters: Improves UX and engagement.
Acceptance criteria:
Add a visible toggle in the header (or theme controls) that toggles dark/light
Preference persists across reloads via localStorage
Works in both desktop and mobile view
Labels: enhancement, frontend
Difficulty: hard
Files/areas: src/theme/, src/components/

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions