Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions plugins/theme-preview/PLUGIN_OVERVIEW.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Judge a theme on app surfaces

Open Theme Preview from the sidebar to inspect your palette on a sample bb interface. Switch between Thread, New thread, Split, and Settings views to check the sidebar, conversation, panels, and overlays.

## Compare palettes and modes

The theme picker includes bundled, plugin, and custom themes. Each row previews its own colors and typography. Selecting a row applies the theme and mode to bb itself, including other open windows.

Below the preview, inspect typography, control samples, sidebar states, and resolved surface, text, accent, status, and border values. Text and status samples include contrast ratios against their backgrounds.

## Iterate beside an agent

Keep the preview beside a thread while an agent edits a theme. Saved theme changes refresh the preview and reapply the active palette. The bundled theme-authoring skill explains theme files and tokens.

Requires bb 0.38 or newer. No external account is required; agent-assisted theme editing uses your configured provider.
2 changes: 1 addition & 1 deletion plugins/theme-preview/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ function Sidebar({ selected, split, hover }: { selected?: boolean; split?: boole
<Row label="Fix pink split row (oklch mix)" dot="status" />
<Row label="Hue census battery" />
<div style={{ flex: 1 }} />
<div style={{ display: "flex", alignItems: "center", height: 30, padding: "0 10px", fontSize: 12.5, color: v("muted-foreground") }}>brsbl</div>
<div style={{ display: "flex", alignItems: "center", height: 30, padding: "0 10px", fontSize: 12.5, color: v("muted-foreground") }}>Workspace</div>
</div>
);
}
Expand Down
Loading
Loading