mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
- Editor wrapper gains text-foreground/90 to match markdown.tsx outer default-variant wrapper. Default paragraph text is now the same shade in composer and timeline. - Add table/td/th rules + table adjacency (mt-3.5) mirroring timeline tokens. StarterKit has no Table extension so they only fire via raw HTML paste — defensive parity. overflow-x-auto requires a block-mode container which we can't add without a NodeView; intentionally omitted. - Drop the rounded-none/bg-transparent/p-0 extras on pre code that weren't in CODE_BLOCK_CLASS — parent <pre> reset is enough. - Extend the p+ul/p+ol companion to cover div+ul/div+ol, matching the timeline's [&>div+ul]:mt-1.5 [&>div+ol]:mt-1.5 rule. No-op in the composer today (no block-media divs) but token-for-token. - code-block-lines marker class from CODE_BLOCK_CLASS is intentionally omitted: it's a custom CSS class (not a Tailwind utility, so @apply won't compile) and its rules only target [data-line] children produced by Shiki tokenization, which the composer never has. Adding the literal class to the <code> requires a TipTap codeBlock node override — flagged for a follow-up.
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 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