forked from 0xWheatyz/SPARC
Add dark mode support using Tailwind dark variant #399
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Tailwind is configured in the project but no
dark:variant classes are applied. Users who prefer dark mode or have system-level dark mode enabled see no visual accommodation.Work
darkMode: "class"(or"media") strategy intailwind.config.js.dark:variant classes to the main layout, navigation, cards, tables, and form elements.localStorage.Acceptance Criteria
Reference
Roadmap item: P2 Frontend — No dark mode.
Closing as already implemented. Dark mode is implemented: ThemeContext.tsx exists, dark: Tailwind classes are used across Layout.tsx, Login.tsx, Register.tsx, index.css, and ProtectedRoute.tsx.