chore(web): migrate text-[Npx] literals to semantic font-size utilities #209
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.
Blocks
Depends on
#212 chore(web): drop zoom: 1.2 hack from index.css
charles/claude-hooks
#208 feat(web): unify tailwind theme with design tokens + add light palette
charles/claude-hooks
Reference
charles/claude-hooks#209
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
User story
As a dashboard operator, I want every
text-[Npx]literal inapps/web/src/**replaced with a semantic Tailwind utility (text-meta,text-small,text-body,text-h3,text-caption), so that typography scales uniformly with the token system and thezoom: 1.2workaround can eventually be dropped.Dependencies
text-meta/text-small/text-body/text-h3/text-captionutilities via@theme, plus the missing--ch-font-size-caption+--ch-font-size-h3tokens. This ticket cannot start until that lands.Acceptance criteria
Replacements (mechanical)
text-[11px]→text-metaacrossapps/web/src/**.text-[12px]→text-small.text-[13px]→text-body.text-[10px]→text-caption.text-[14px]→text-h3.Edge cases
text-[9px]and 1 oftext-[15px]— bump to the closest token, add a new token (flag for discussion), or document in a code comment why they stay literal.Verification
bun run buildclean,bun run qaclean (biome + typecheck).routes/agents.tsx,routes/stats.tsx,components/pipeline-list.tsx,components/spec-editor/issue-card.tsx.Out of scope
zoom: 1.2fromindex.css→ separate ticket (depends on this).text-*utilities to@theme+ the missing tokens → handled by #208.References
text-[Npx]across 36 files; worst offenders listed.apps/web/src/styles/index.css:71-79— thezoomblock this migration unlocks removing.🤖 Auto-assigned to dev (heuristic: type:chore → dev (well-scoped)). Reply
/unassignto reroute.