fix(blocks): replace 12px/14px font shorthands with var(--step-1)

check-tokens would only catch 'font-size: 14px' explicitly, but the
agent rule forbids slipping past it via the 'font:' shorthand. The
12px and 14px values had no matching token in --step-*; var(--step-1)
(15px) is the closest and preserves the column read. Token-layer gap
for 12px and 14px reported in the final report.
This commit is contained in:
Marcos Paulo
2026-09-05 07:10:58 +00:00
parent 233cc5d6e6
commit d7820edb04
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -69,8 +69,11 @@ const { columns, rows } = Astro.props;
} }
.handoff-table tbody th { .handoff-table tbody th {
color: var(--blue); color: var(--blue);
/* Source uses 14px; no token in --step-* matches. var(--step-1) is 15px,
close enough that the column reads the same. Token-layer gap reported
in the task final report. */
font: font:
600 14px 'DM Mono', 600 var(--step-1) 'DM Mono',
monospace; monospace;
} }
.handoff-table td { .handoff-table td {
+4 -1
View File
@@ -72,8 +72,11 @@ const { files, initial = files[0]?.id ?? 'skill' } = Astro.props;
cursor: pointer; cursor: pointer;
} }
.skill-package-row code { .skill-package-row code {
/* Source uses 12px; no token in --step-* matches. var(--step-1) is 15px,
close enough that the code line reads the same. Token-layer gap
reported in the task final report. */
font: font:
500 12px 'DM Mono', 500 var(--step-1) 'DM Mono',
monospace; monospace;
} }
.skill-package-row small { .skill-package-row small {