Skip to content

feat(frontend): Add dark mode toggle with system preference detection #419

Description

@KuchiMercy

Description

ThemeProvider exists but dark mode not fully implemented. Audit all components and implement dark mode with system preference detection.

Provider: ThemeProvider.tsx | Styling: Tailwind CSS v4

Acceptance Criteria

  • Audit every component for dark mode compatibility
  • Add dark: variant classes where missing
  • Dark mode on all pages, modals, forms, skeletons, toasts, badges, navigation
  • Theme toggle button (sun/moon icon) in navigation header
  • Detect system preference via prefers-color-scheme on first visit
  • Persist preference in localStorage (vaultix-theme)
  • Persisted preference overrides system preference
  • Three modes: Light, Dark, System
  • Smooth transitions (no flash)
  • All ShadCN/Radix components correct in dark mode
  • Visual regression tests (Playwright screenshots)

Points: 100

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions