Add theme toggle with light, dark, and system support

- **Header:** Integrate `ThemeToggle` component into the user menu area.
- **Theme Provider:** Introduce `ThemeProvider` context for managing and persisting theme preferences.
- **New Components:** Add `ThemeToggle` for switching themes and `ThemeProvider` to handle state and system preferences.
- Ensure responsive updates and localStorage persistence for user-selected themes.
This commit is contained in:
2025-11-02 06:53:46 +01:00
parent 30f0ec5a64
commit af260e4748
4 changed files with 144 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
/**
* Theme components
*/
export { ThemeProvider, useTheme } from './ThemeProvider';
export { ThemeToggle } from './ThemeToggle';