feat: support dark-theme #8

Merged
typist merged 2 commits from feat/dark-theme into main 2025-10-28 22:28:20 +08:00

2 Commits

Author SHA1 Message Date
typist
30a0939c4c feat: implement theme provider and toggle functionality
- Added a `ThemeProvider` component to manage theme state and persist it in local storage.
- Introduced a `ModeToggle` component for switching between light, dark, and system themes.
- Updated the `Layout` component to include the `ThemeProvider`.
- Enhanced the `AppSidebar` to include the `ModeToggle` for user accessibility.
2025-10-28 22:28:20 +08:00
typist
c6f442f6ff feat: add dropdown menu component using Radix UI
- Added a new `DropdownMenu` component with various subcomponents including `DropdownMenuTrigger`, `DropdownMenuContent`, and more.
- Updated `package.json` to include `@radix-ui/react-dropdown-menu` as a dependency.
- Updated `pnpm-lock.yaml` to reflect the new dependency and its version.
2025-10-28 22:23:40 +08:00