Add dark mode toggle via next-themes

Uses next-themes with system default. Toggle button in sidebar
switches between light/dark and persists to localStorage.
CSS variables for dark mode were already defined in globals.css.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jerick
2026-05-25 18:10:22 +00:00
parent 4a0f036d01
commit 4809edf73a
4 changed files with 28 additions and 3 deletions

View File

@@ -18,6 +18,7 @@
"lucide-react": "^1.8.0",
"next": "16.2.4",
"next-auth": "^5.0.0-beta.31",
"next-themes": "^0.4.6",
"papaparse": "^5.5.3",
"pg": "^8.20.0",
"react": "19.2.4",