phase, component, task_id, title, status, depends_on, unblocks, contract_source, contract_sections, source_feedback
| phase |
component |
task_id |
title |
status |
depends_on |
unblocks |
contract_source |
contract_sections |
source_feedback |
| P9 |
kebab-tui |
p9-fb-14 |
TUI color theme module (role-based + dark/light toggle) |
completed |
|
|
../../docs/superpowers/specs/2026-04-27-kebab-final-form-design.md |
|
p9-dogfooding-feedback.md item 12 |
p9-fb-14 — Color theme
Goal
TUI 의 정보 종류별 color role 매핑. 모든 pane 이 single source 인 theme 모듈에서 Style 가져옴.
Allowed dependencies
Public surface
Behavior contract
- 기본 theme: dark.
theme = "dark" | "light" config field 신규. T 키 (NORMAL 모드) toggle.
- color role 매핑 — 이전 항목 12 의 role 표 따름.
- accessibility: color 단독 의미 전달 X. Score 는 숫자 + color, mode 는 텍스트 + color.
Test plan
| kind |
description |
| unit |
Theme::dark().style(Role::Title) 가 정의된 fg/bg 반환 |
| unit |
dark / light 의 모든 Role 변형 정의 누락 X (exhaustive match) |
DoD
Out of scope
- 사용자 정의 color (
[theme.custom] 절) — P+
- terminal 의 truecolor 미지원 fallback (256-color assumed)