Files
npub13fn4ahfnvaa2qwylvegdgeajqs0mph6v4qsw4jcqnw4mjh3hzh2quuucm5 92caf40966 fix(desktop): seed full cached theme vars in boot script
The cold-boot inline script in index.html applied only the cached
--background and the light/dark class before React mounts. The restored
setup loading gate's grainient reads other theme vars too (--chart-5,
--chart-3, --chart-2, --primary, --foreground), so a cached non-Latte
theme (houston/buzz/custom) painted the splash grainient from the static
Catppuccin :root values until ThemeProvider.applyCachedVars() ran on
mount — a brief wrong-colored splash.

Seed the full cached vars map on documentElement synchronously, mirroring
ThemeProvider.applyCachedVars(), so the pre-React paint matches the themed
gate for any cached theme.

Follow-up to #1631 review.
2026-07-09 09:22:36 +01:00
..
2026-06-11 15:06:24 +00:00

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 frontend
  • pnpm tauri dev - run the desktop app
  • pnpm build - typecheck and build frontend
  • pnpm typecheck - TypeScript checks
  • pnpm lint - Biome lint
  • pnpm 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