forked from 0xWheatyz/SPARC
Implement dark mode using Tailwind dark variant #81
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?
Context
Tailwind is configured in the project but the
dark:variant is not applied anywhere. Users who prefer dark mode get no benefit.Work
darkMode: "class"(or"media") intailwind.config.js.darkclass on the<html>element and persists the preference tolocalStorage.dark:Tailwind classes to the primary layout components, navigation, cards, tables, and form inputs.Acceptance Criteria
References
Roadmap: Frontend — no dark mode.
Resolved. Dark mode implemented using Tailwind dark variant with localStorage persistence and a toggle component. Implemented in PR #57 (merged). See
frontend/src/context/ThemeContext.tsx.