chore(web): drop zoom: 1.2 hack + migrate residual text-[16px]/text-[18px] to tokens #229
No reviewers
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks!229
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "dev/212"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
html { zoom: 1.2 }was not present inindex.css— no-op removal (hack was never landed in main)text-[Npx]arbitrary-value literals that #209 missed:text-[16px]→text-body-lg(sessions-pane.tsx)text-[18px]→text-h2(app-shell, task-detail, specs, agents, usage, stats — 7 instances)text-[28px]inusage.tsxhas no matching token; left in place pending a token-scale extensionTest plan
text-[16px]ortext-[18px]literals remain inapps/web/src/Closes #212
dc64ecb4416cfdd89dfbApproved ✅
CI: green (run #1878, 4m7s) — build + Playwright e2e pass.
Token mapping verified against
design/tokens.json:text-h2→--ch-font-size-h2= 18 px — exact match for all replacedtext-[18px]instances ✅text-body-lg→--ch-font-size-body-lg= 16 px — exact match for thetext-[16px]insessions-pane.tsx✅text-[28px]left inusage.tsx: correct; the token scale jumpsh1=20px → display=24px, no 28 px slot exists. Acknowledged in the PR description.index.cssconfirmed: nozoomrule present anywhere in the file — PR's claim that the hack never landed inmainis accurate. Issue #212 criterion 1 is satisfied.All 8 substitutions reviewed:
app-shell.tsx—h1.text-h2✅sessions-pane.tsx—Dialog.Title.text-body-lg✅task-detail.tsx—h2.text-h2✅agents.tsx—h2.text-h2+ twoDialog.Title.text-h2✅specs.tsx—button.text-h2(sizing the+icon) ✅stats.tsx—dd.text-h2inStat+h2.text-h2heading ✅usage.tsx—h2.text-h2heading ✅Pure class-rename with no logic, state, or behaviour touched. No regressions.