feat(campaign-editor): stats as kit rows; dedup .ce-icon-button (#159) #171

Merged
nelsong6 merged 1 commit from claude/naughty-bhabha-a129a5 into main 2026-06-27 15:49:18 -07:00
nelsong6 commented 2026-06-27 15:45:53 -07:00 (Migrated from github.com)

Two of the three open #159 campaign-editor items.

  • Stat strip → kit rows — the campaign-details Chapters/Levels/Difficulty readout was a reinvented <dl> with raw border-left dividers; it's now kit row.png-framed rows (.ce-stat-row, the settings-row pattern, editor-scoped --ce-* tokens so there's no cross-screen coupling). Visually confirmed.
  • Dedup .ce-icon-button — two back-to-back base blocks (the second silently overrode the first's font-size/width) merged into one. No visual change.

#159 item 2 (spacing → tokens) intentionally not done: the --ds-space-* tokens are fixed px (not clamp()) and Settings itself doesn't consume them, so "match Settings' spacing tokens" isn't a real target. A genuine spacing system would be a holistic Settings-first design-system pass, not a piecemeal editor migration — closing the item with that finding.

npm run check green: 144 tests, tsc --noEmit, sprite/chrome/bgm/imagegen guards.

🤖 Generated with Claude Code

Two of the three open #159 campaign-editor items. - **Stat strip → kit rows** — the campaign-details Chapters/Levels/Difficulty readout was a reinvented `<dl>` with raw `border-left` dividers; it's now kit `row.png`-framed rows (`.ce-stat-row`, the settings-row *pattern*, editor-scoped `--ce-*` tokens so there's no cross-screen coupling). Visually confirmed. - **Dedup `.ce-icon-button`** — two back-to-back base blocks (the second silently overrode the first's font-size/width) merged into one. No visual change. **#159 item 2 (spacing → tokens) intentionally not done:** the `--ds-space-*` tokens are fixed px (not `clamp()`) and Settings itself doesn't consume them, so "match Settings' spacing tokens" isn't a real target. A genuine spacing system would be a holistic Settings-first design-system pass, not a piecemeal editor migration — closing the item with that finding. `npm run check` green: 144 tests, `tsc --noEmit`, sprite/chrome/bgm/imagegen guards. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No description provided.