Skip to content

Add Theme Preview plugin - #75

Open
brsbl wants to merge 1 commit into
bb/endless-theme-refresh-thr_tkwwfu5nasfrom
bb/theme-preview-thr_tkwwfu5nas
Open

Add Theme Preview plugin#75
brsbl wants to merge 1 commit into
bb/endless-theme-refresh-thr_tkwwfu5nasfrom
bb/theme-preview-thr_tkwwfu5nas

Conversation

@brsbl

@brsbl brsbl commented Aug 21, 2026

Copy link
Copy Markdown
Owner

What changed

This adds Theme Preview, a nav-panel plugin for judging a live theme before it ships. It renders the bb shell in six representative configurations—new thread, thread, split, thread with panel, overlays, and settings—followed by a style guide computed directly from the active theme tokens.

The shell keeps bb's real 1360px geometry and scales it uniformly. Its toolbar and guide now respond to the actual panel width, so the mobile and narrow fixture classes stay readable without clipping or page overflow.

The plugin builds against the released @get-bb/plugin-sdk 0.4.8 package while retaining engines.bbPluginSdk: ^0.4.1 and engines.bb: >=0.0.34.

Verification

  • npm run check --workspace=bb-plugin-theme-preview
  • node tooling/check-repository.mjs
  • All six preview configurations inspected at 1440×900
  • Mobile, narrow, normal, and ultrawide captures plus adjacent breakpoint transitions

Evidence

Before — parent branch, plugin unavailable

Before — Theme Preview unavailable

After — this branch, thread skeleton and live style guide

After — Theme Preview

Full visual evidence

BB-Thread-ID: thr_tkwwfu5nas

@brsbl
brsbl force-pushed the bb/theme-preview-thr_tkwwfu5nas branch from 0c3cb15 to 2674ae8 Compare August 21, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant