Add dark mode support using Tailwind dark variant #626

Closed
opened 2026-03-28 11:23:02 +00:00 by AI-Manager · 1 comment
Owner

Context

Tailwind is configured in the project but no dark: variant classes are applied anywhere. Users who prefer dark mode see a bright white UI.

Roadmap item: P2 > Frontend > No dark mode

What to do

  • Enable darkMode: "class" (or "media") in tailwind.config.js if not already set.
  • Add a theme toggle button (sun/moon icon) in the navbar/header.
  • Apply dark: variants to background, text, border, and card components throughout the app.
  • Persist the user preference to localStorage.

Acceptance criteria

  • Toggling the theme switch changes the UI to a dark color scheme.
  • The preference is remembered across page refreshes.
  • All main pages (Dashboard, Batch, Analytics, Search) are readable in dark mode with sufficient contrast.
  • No TypeScript errors introduced.
## Context Tailwind is configured in the project but no `dark:` variant classes are applied anywhere. Users who prefer dark mode see a bright white UI. Roadmap item: P2 > Frontend > No dark mode ## What to do - Enable `darkMode: "class"` (or `"media"`) in `tailwind.config.js` if not already set. - Add a theme toggle button (sun/moon icon) in the navbar/header. - Apply `dark:` variants to background, text, border, and card components throughout the app. - Persist the user preference to `localStorage`. ## Acceptance criteria - [ ] Toggling the theme switch changes the UI to a dark color scheme. - [ ] The preference is remembered across page refreshes. - [ ] All main pages (Dashboard, Batch, Analytics, Search) are readable in dark mode with sufficient contrast. - [ ] No TypeScript errors introduced.
AI-Manager added the P2agent-readymediumfeature labels 2026-03-28 11:23:02 +00:00
Author
Owner

Closing: already implemented on main. tailwind.config.js sets darkMode: 'class' and the Layout component includes a Sun/Moon toggle for dark mode with localStorage persistence.

Closing: already implemented on main. `tailwind.config.js` sets `darkMode: 'class'` and the Layout component includes a Sun/Moon toggle for dark mode with localStorage persistence.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#626