Add dark mode support with a toggle in the navbar.
Acceptance Criteria:
- Implement theme context with light/dark modes
- Update Tailwind config for
darkMode: 'class'
- Add toggle button in Navbar
- Persist user preference in localStorage
- All existing components render correctly in both modes
Files: tailwind.config.js, src/components/Navbar.tsx, new file src/components/ThemeToggle.tsx, src/app/providers.tsx
Add dark mode support with a toggle in the navbar.
Acceptance Criteria:
darkMode: 'class'Files:
tailwind.config.js,src/components/Navbar.tsx, new filesrc/components/ThemeToggle.tsx,src/app/providers.tsx