forked from 0xWheatyz/SPARC
Add dark mode support using Tailwind dark variant #109
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 CSS is configured in the project but no dark mode variant (
dark:) is applied to any components. Many users expect a dark mode option in analytics tools.Work
darkMode: "class"intailwind.config.js(or"media"if system preference is preferred).darkclass on the<html>element and persists the preference tolocalStorage.dark:variant classes to all primary UI components (backgrounds, text, borders, cards).Acceptance Criteria
dark:variants are present until this issue is resolved (so the diff is contained to this PR).References
Roadmap: P2 — Frontend — No dark mode.