Files
Taylor HoandClaude Opus 4.6 6fbee42934 feat: replace light/dark/system toggle with adaptive IDE theme system
Port the adaptive theme engine from builderbot/staged into sprout. Loads
Shiki theme JSON files (54 themes, lazy-loaded), extracts key colors,
and derives the full shadcn CSS variable palette directly from bg, fg,
comment, and git decoration colors. Light vs dark is auto-detected from
background luminance.

Replace the 3-button toggle with a searchable theme picker. Add a
configurable accent color picker (8 predefined colors) with auto-contrast
foreground calculation, independent of the syntax theme. Default theme is
houston, default accent is blue.

Migrate all hardcoded dark: variants to semantic tokens (text-warning,
text-status-added, text-status-deleted). Cached theme + accent vars
applied synchronously on mount to prevent FOUC.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 21:54:50 -10:00
..
2026-03-09 19:32:56 -07:00
2026-03-09 13:02:11 -07:00
2026-03-09 13:02:11 -07:00
2026-03-09 13:02:11 -07:00
2026-03-09 13:02:11 -07:00
2026-03-09 13:02:11 -07:00
2026-03-09 13:02:11 -07:00
2026-03-09 13:02:11 -07:00

Sprout

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