Skip to content

Add Dark Mode Toggle #2

@Annanyatiwary4

Description

@Annanyatiwary4

📌 Description

Implement a dark mode toggle using Tailwind’s dark mode and shadcn/ui components. The theme should persist (e.g., via localStorage).

✅ Tasks

  • Create a ThemeToggle component using shadcn/ui's Switch or Button.
  • Persist the selected theme using localStorage.
  • Ensure the theme updates across all pages/components.

💡 Expected Result

A toggle button that lets users switch between light and dark modes, with their preference saved even after reload.

🧰 Tech Stack

  • Tailwind CSS
  • shadcn/ui
  • ReactJs

📎 Note

🔹 Please read the Contributing Guidelines before getting started.
🔹 Comment below to get assigned. Unassigned PRs may be marked invalid.

🎯 GSSoC 2025

Level: 2 (5 Points)
This issue is part of GirlScript Summer of Code 2025.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions