Swatch
Color your BB. Live previews for themes, custom colors, typography, tool text styles, rich text and persistent scrollbars.
Overview
What you get
Swatch adds an appearance dashboard to BB with a live chat preview beside every control. The preview holds long prompts, real images, tool rows, a diff with a long line, file links and tables, and focusing a control scrolls its example into view. Changes save as you make them and apply in every open BB window.
- Themes: 14 palettes split into Light and Dark. Pick one for each mode, even from different families, and BB's own light/dark switch chooses between them. Optional custom background, panel, text, accent and file link colors start from the active palette, with a contrast line for text, accent and links.
- Code Themes: separate light and dark syntax themes for diffs, file previews and chat code blocks: Nightfall, Xcode, Bluloco, Ayu, Tokyo Night, Tokyo Day or BB Default.
- Typography: chat and code fonts, text sizes and line height.
- Chat: compact, normal or spacious spacing; bubble, outlined or plain prompts; long prompts collapsed to six lines; image thumbnail sizes and stacks; ten working indicators.
- Sidebar: its own loader style for threads that are working.
- Steps: smaller tool text, row opacity, hover emphasis, wrapping diffs and BB's completed-turn grouping.
- Rich text: variants for quotes, tables, code blocks, inline code, headings, lists, callouts and separators, and a table corner radius from 0 to 24px. Diagrams render with BB's Mermaid or with Pele.
- Scrollbar: an always-visible, draggable scrollbar for chat and file previews, with separate active and inactive opacity from 0 to 100%.
How it works
Open Swatch in BB's navigation rail and pick a page. Swatch writes the palettes you choose into a standard BB theme named swatch, so BB Settings → Appearance and Theme Preview show the real colors. Select swatch there to use them.
- Swatch: toggle chat styling in the command palette turns the chat layer off and on; themes and code themes stay.
- The command palette also cycles spacing, toggles the scrollbar and jumps between prompts. Prompt jumps default to Command/Ctrl + Alt + Up/Down; rebind them in Settings → Keyboard.
- Restore defaults resets chat styling and keeps your theme choices.
bb swatch show,bb swatch resetandbb swatch import '<json>'read, reset and apply preferences from the terminal.- Turning Swatch off or reloading it removes every style, listener and element it added.
Costs and settings
Swatch adds one short skill to agents' skill lists, which they load only when you ask about Swatch. It sends no telemetry. Preferences stay in BB's plugin storage on your machine. Chat styling decorates BB's current interface, so a BB update can change how some styles look until Swatch catches up. Requires BB 0.50.1 or later.
Source and changelog: https://github.com/logic-b-o-m-b/bb-swatch
More in Themes & Appearance 86
Personalize how bb looks and feels.


