mirror of
https://github.com/block/buzz.git
synced 2026-11-05 08:51:10 +00:00
Replaces the flat searchable theme list with three visual sections: 1. **Adapts to system** — Paired themes (light+dark) shown side by side with preview images. Selecting one auto-enables follow-system behavior. 2. **Light** — Light-only themes (no dark counterpart) with single preview. 3. **Dark** — Dark-only themes (no light counterpart) with single preview. Uses the same ThemePreviewFrame SVG from onboarding to show a visual representation of each theme. Removes the separate "Use system setting" toggle since paired themes now implicitly enable it. Refactors shared theme preview components out of ThemeStep into: - shared/theme/ThemePreviewFrame.tsx — SVG preview component - shared/theme/useThemePreviewVars.ts — preview vars loading hook The accent color picker remains below the theme sections.
Buzz
Desktop chat shell with:
- Tauri + React + TypeScript + Vite
- Tailwind CSS
- shadcn/ui-ready shared components
- Biome (lint/format/check)
- Feature-driven frontend structure
Scripts
pnpm dev- run the web frontendpnpm tauri dev- run the desktop apppnpm build- typecheck and build frontendpnpm typecheck- TypeScript checkspnpm lint- Biome lintpnpm format- Biome format (write)pnpm check- Biome check
Structure
src/shared- reusable app-wide code (ui,lib,styles)src/features- feature modules (vertical slices)src/app- top-level app composition