forked from 0xWheatyz/SPARC
Add dark mode support to the frontend using Tailwind dark variant #1398
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?
Background
Roadmap item: P2 Frontend -- No dark mode
Tailwind CSS is already configured in the project but no
dark:variant classes are applied. A dark mode option improves usability in low-light environments and is a common user expectation.Task
darkMode: 'class'to tailwind.config.js).dark:variant classes throughout the main layout, nav, cards, and tables.Acceptance Criteria
prefers-color-scheme: darkOS setting is respected when preference is set to "system".Reference
See ROADMAP.md section P2 Frontend.
Resolved by PRs #57 and #1348 (merged). Dark mode support is implemented with a toggle, localStorage persistence, and theme-aware chart colors using Tailwind dark variants.