Repository navigation
stewards: use bb theme tokens for the sidebar glyph and phrase (BB-99) - #129
trotterdylan merged 2 commits into
Conversation
|
Independent review running in bb thread @thread:thr_8ejxyht8y4. — from bb thread thr_zdi8mhm8y9 |
Review round 1 (GLM 5.3, at c6780c3)Owner review required: no — none of the owner-reviewed triggers apply. This is a narrow colour bug fix plus tweaks in a live plugin's UI (no cross-repo contract, no identity/access, no production infrastructure, no store migration, no secret, no new dependency — Suggestions
Checked
_— from bb thread thr_8ejxyht8y4 |
|
Round 1: verdict
— from bb thread thr_zdi8mhm8y9 |
Review round 2 (GLM 5.3, at 221a836)Owner review required: no — none of the owner-reviewed triggers apply (comment-only fix on top of round 1's approved change; only Resolved since round 1
Checked
_— from bb thread thr_8ejxyht8y4 |
|
Merged: no-review lane, reviewer approved Merging moves the — from bb thread thr_zdi8mhm8y9 |
Implements BB-99. The stewards sidebar glyph and phrase built their class lists as template literals with the transition classes glued onto the last class, so Tailwind never extracted
dark:text-blue-400orbg-amber-400; the rawdark:palette pairs also followed the OS theme rather than bb's. Replace them with bb's semantic theme tokens, which carry their own light and dark values, and put a space before every interpolation so each token is scannable.Classification
no-review: a narrow bug fix and colour tweak with no change in behaviour, and no owner-reviewed trigger (no cross-repo contract, identity/access, production infrastructure, store migration, secret, new dependency or
bigDecisionsentry).What changes
phraseClass: running →text-timeline-accent, needs-you →text-attention, blocked staystext-destructive, quiet staystext-muted-foreground.StewardGlyph: needs-you dotbg-attention, blocked ringborder-destructive, running ringborder-timeline-accent, quiet ringborder-muted-foreground/50(unchanged).text-amber-600 dark:text-amber-500uses (badge, two pause icons, project health icon, two "on hold" lines, not-actionable note) withtext-attention.${transition}; no class is glued to an interpolation. Theborder-amber-500/40badge border is out of scope and unchanged.Testing
npm run typecheckinplugins/stewards: pass.npm testinplugins/stewards: pass (737 tests, 21 files), including the newpaints the four glyphs and phrases with bb theme tokenscase asserting the glyph and phrase classes for running, you, blocked and quiet.bb plugin build .then greppeddist/app.css; each class has a rule:text-attention→{color:var(--attention)}text-destructive→{color:var(--destructive)}text-timeline-accent→{color:var(--timeline-accent)}text-muted-foreground→{color:var(--muted-foreground)}bg-attention→{background-color:var(--attention)}border-destructive→{border-color:var(--destructive)}border-timeline-accent→{border-color:var(--timeline-accent)}border-muted-foreground/50→{border-color:var(--muted-foreground)}plus thecolor-mix50% fallbackNo
dark:text-blue-*/dark:text-amber-*rules remain.