Skip to content

[FE-37] Add dark mode support with Tailwind dark class strategy #704

@yusuftomilola

Description

@yusuftomilola

Overview

Add dark mode support to the app using Tailwind CSS dark class strategy and a user preference toggle inside frontend/contrib/.

Location

All work must be inside frontend/contrib/.

Acceptance Criteria

  • Tailwind configured with darkMode: "class" in tailwind.config.ts
  • Theme preference stored in localStorage and applied on initial load with no flash
  • useTheme() hook exposes theme, toggleTheme(), and setTheme("light" | "dark")
  • Theme toggle button added to the topbar (sun/moon Lucide icon)
  • All existing UI components have dark: variants applied
  • System prefers-color-scheme used as default when no stored preference exists

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions