Skip to content

Implement Theme Toggle (Dark ↔ Light Mode) with Persistence  #1223

@Zunairah-k

Description

@Zunairah-k

Issue Description:

Right now, the site is stuck in dark mode forever.
Let’s make it smarter by adding a theme toggle feature so users can switch between dark and light modes.

What needs to happen:

  • Set up CSS variables for both light and dark themes.

  • Add a React state to manage the current theme.

  • Add a toggle button (🌞/🌙) in the navbar for switching themes.

  • Save user’s theme preference in localStorage so it stays even after reload.

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