📌 Description
The app uses next-themes (already in package.json) for theming, but there's no UI to switch between dark and light mode. Users are stuck in whatever the default theme is.
🎯 Goal
Add a theme toggle (Dark / Light / System) in app/(protected)/profile/ and optionally in the sidebar.
📋 Acceptance Criteria
💡 Hints
- Use
useTheme() from next-themes to get and set the current theme
ThemeProvider is likely already wrapping the app in app/layout.tsx
- Radix UI
Switch is available at /components/ui/switch.tsx
- Radix UI
DropdownMenu is also available for a 3-way selector
📌 Description
The app uses
next-themes(already inpackage.json) for theming, but there's no UI to switch between dark and light mode. Users are stuck in whatever the default theme is.🎯 Goal
Add a theme toggle (Dark / Light / System) in
app/(protected)/profile/and optionally in the sidebar.📋 Acceptance Criteria
next-themesautomatically)💡 Hints
useTheme()fromnext-themesto get and set the current themeThemeProvideris likely already wrapping the app inapp/layout.tsxSwitchis available at/components/ui/switch.tsxDropdownMenuis also available for a 3-way selector