forked from 0xWheatyz/SPARC
Add dark mode support using Tailwind dark variant #626
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 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
darkMode: "class"(or"media") intailwind.config.jsif not already set.dark:variants to background, text, border, and card components throughout the app.localStorage.Acceptance criteria
Closing: already implemented on main.
tailwind.config.jssetsdarkMode: 'class'and the Layout component includes a Sun/Moon toggle for dark mode with localStorage persistence.