|
|
006d803a16
|
ui: idea-status badge helper (M12 T-509)
lib/idea-status-colors.ts: getIdeaStatusBadge(status) → { label, classes,
pulse? }. Reuses existing --status-*-tokens (in-progress / blocked / review
/ done) — no new tokens needed in theme.css.
Mapping (per docs/plans/M12-ideas.md state machine):
- DRAFT → surface-variant (neutral)
- GRILLING → in-progress + pulse
- GRILL_FAILED → blocked
- GRILLED → review (waiting for next step)
- PLANNING → in-progress + pulse
- PLAN_FAILED → blocked
- PLAN_READY → review
- PLANNED → done
CLAUDE.md hardstop respected — only MD3-tokens, no arbitrary Tailwind colors.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-04 21:29:02 +02:00 |
|