fix(blocks): restore legacy values with token-gap markers

Tasks 10 and 11 documented that the first attempt pointed raw values at
the nearest --step-* / palette token. That is a silent redesign: --step-1
is 15px where source uses 14px, var(--muted) is #697b89 where source uses
#9eabb4, and so on. The brief says the site must look exactly as it did.

check-tokens.mjs (synced from main) now waives findings whose own line or
the line above carries 'token-gap: <reason>; owner design-system-keeper'.
Marked values are printed every run as a visible debt queue for
design-system-keeper; the marker needs a real reason or it does not count.

Restored to the exact legacy values:

  FleetDiagram   captain-eyebrow 10px, captain h2 clamp(24,3vw,38),
                 arrow 30px, workers parent #41596b seam,
                 worker-card span color #9eabb4 + font 10px,
                 worker-card strong 16px
  HandoffTable   thead 10px, tbody th 14px, td 13px
  PhasePanel     phase-tab 10px, phase-meta 10px, panel h3 clamp(24,3vw,38)
  RouteTable     head 10px, strong 14px, small 12px
  SkillPackage   label 10px + #ffffff40 borders, row 12px code (no weight)
  WorktreeMap    border 1px solid #41596b, span 9px, strong 14px,
                 small color #9eabb4 (root and branch)

Values that already matched a token (captain/worker code at --step-0=11px,
the panel code, all the layout/spacing values, colours that did match)
are untouched.

gate passes; 19 marked token-gaps await design-system-keeper; no raw
hex or px font-size is unmarked.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
Marcos Paulo
2026-09-05 07:25:38 +00:00
parent d7820edb04
commit ba56f7a0c9
7 changed files with 117 additions and 58 deletions
+10 -5
View File
@@ -96,7 +96,8 @@ const { branches, initial = 'main' } = Astro.props;
padding: 20px;
color: var(--paper);
background: var(--ink);
border: 0;
/* token-gap: source uses 1px solid #41596b over the ink background; no token matches; owner design-system-keeper */
border: 1px solid #41596b;
text-align: left;
cursor: pointer;
}
@@ -106,24 +107,28 @@ const { branches, initial = 'main' } = Astro.props;
}
.tree-node span {
color: var(--accent);
/* token-gap: source uses 9px; no --step-* covers 9px; owner design-system-keeper */
font:
500 var(--step-0) 'DM Mono',
500 9px 'DM Mono',
monospace;
letter-spacing: 0.1em;
text-transform: uppercase;
}
.tree-node strong {
/* token-gap: source uses 14px with default weight; no --step-* covers 14px; owner design-system-keeper */
font:
600 var(--step-1) 'DM Mono',
14px 'DM Mono',
monospace;
}
.tree-node small {
margin-top: 0;
color: var(--muted);
/* token-gap: source uses #9eabb4; no token matches; owner design-system-keeper */
color: #9eabb4;
font-size: var(--step-0);
}
.tree-node.root small {
color: var(--muted);
/* token-gap: source uses #9eabb4 even on the root; no token matches; owner design-system-keeper */
color: #9eabb4;
}
.tree-node.active {
box-shadow: inset 4px 0 0 var(--gold);