본문으로 건너뛰기
cccskills
무료GitHub에 공개

bb-theme-authoring

Create or edit BB color themes and inspect them in the Theme Preview panel.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md4.6 KB
  • references/plugin-themes.md452 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Authoring a bb theme

A bb theme is one CSS file that overrides the app's CSS custom properties. bb discovers custom themes on disk and the Theme Preview panel shows every resolved token, its validation state, and an app mock that repaints as you edit. Work in a split: your agent thread on one side, Theme Preview on the other. Nothing needs a restart.

Theme Preview is visualization and validation only. It never creates, writes, forks, repairs, or deletes a theme resource. Create and update theme.css from the separate agent thread; use the existing bb theme commands to locate, inspect, and activate themes. Validation reports inconsistent or inaccessible results, but it never changes authored values.

Where themes live

bb theme dir          # the custom-theme directory, e.g. ~/.bb/theme

One directory per theme, one file inside it:

<theme dir>/<name>/theme.css

<name> is the theme id: lowercase, letters, digits and dashes, a single path segment. Create the directory and the file and it is listed immediately — the Theme Preview dropdown picks it up on its next catalog refresh while the panel is open, and bb theme list shows it at once.

File shape

Two top-level blocks. Light values in :root, .light, dark values in .dark. Every declaration is a --token: value; custom property.

:root, .light {
  --canvas: #f4f4f4;
  --ink: #0a0a0a;
  --primary: #2e6f95;
  --primary-foreground: #ffffff;
}

.dark {
  --canvas: #1a1a1a;
  --ink: #dbd8d1;
  --primary: #9db6c6;
  --primary-foreground: #0a0a0a;
}

You only need to declare what you change; everything else derives from bb's base theme. The anchors that drive the most are --canvas, --ink, --primary and --sidebar.

Tokens worth knowing

grouptokens
Surfaces--canvas --sidebar --card --popover --secondary --muted --surface-recessed-solid --surface-scrim
Ink--ink (body) --foreground --muted-foreground --subtle-foreground --readback-foreground --sidebar-foreground
Accent and state--primary --primary-foreground --file-accent --timeline-accent --surface-selected --state-hover --state-active --sidebar-accent
Status--success --warning --warning-text --destructive --destructive-text --pr-merged --diff-added --diff-removed
Lines--border --border-hairline --border-seam --sidebar-border --input --ring
Type--font-sans --font-mono --font-terminal (declare once in :root)

How bb uses them (from bb's own components, so you can predict the result): sidebar rows hover with --sidebar-accent, the open thread's row is --state-active, the default button is --foreground on --background (bb has no primary-filled button; --primary is links, focus and accents), the composer sits on the canvas with a 1px --border, code blocks and message bubbles are a faint recessed wash with --border-seam. The integrated terminal uses --font-terminal, independently of --font-mono.

Element-scoped blocks are allowed — for example .dark .fixed.bg-sidebar { … } to give only the sidebar a different value — but keep palette values in the two top-level blocks so tooling can read them.

Apply and iterate

bb theme set <name>   # activate it app-wide
bb theme show         # what is active now

Or activate it from the Theme Preview dropdown and use the adjacent mode control to check light and dark. Once active, every save of theme.css repaints the app and the preview automatically while the panel is open (the plugin watches the active theme's file and re-applies it). Edit in the agent thread, glance at the split, edit again.

Verify before you call it done

In Theme Preview, read the Style sheet measurements:

  • Ink rows show a WCAG ratio against the surface they sit on; the floor is 4.5:1 for body text. The ratios are representative measurements, not a theme-level accessibility verdict.
  • Status rows show their ratio against the tinted surface where they are painted.
  • Surfaces with an amber outline are overridden inside the sidebar scope — make sure that is intentional.
  • Check both modes with the dropdown, and the Split and Settings views, not just Thread.

Treat failures as authoring guidance. Fix them in theme.css from the agent thread; Theme Preview does not block or automatically adjust the theme.

Keep dark-mode text below ~12:1 on near-black surfaces; higher blooms on OLED.

For manifest-contributed themes, read references/plugin-themes.md.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Configure or diagnose Account Pooler accounts, authentication, quota routing, and failover through bb pool.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

get-bb/bb4.5천2026년 10월 19일 업데이트

Configure or troubleshoot ACP agent discovery, custom models, skills, and compaction in BB.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

get-bb/bb4.5천2026년 10월 19일 업데이트

Approve a GitHub contributor to open PRs in get-bb/bb, then land the allowlist change with SlopCop and CI skipped. Use for requests such as "add @username to be able to open PRs" or an explicit add-contributor invocation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

get-bb/bb4.5천2026년 10월 19일 업데이트

Create or edit element annotations in desktop Browser tabs, or update saved annotation comments through the plugin RPC.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

get-bb/bb4.5천2026년 10월 19일 업데이트

Schedule or manage recurring and one-shot BB agent or script automations.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

get-bb/bb4.5천2026년 10월 19일 업데이트

Sign this bb in to or out of its getbb.app account with bb account, and check which account remote access and hosted services use.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

get-bb/bb4.5천2026년 10월 19일 업데이트

get-bb의 스킬 모두 보기

이 스킬의 문제 신고