Skip to content

PR-NAV-NEW-TASK-WEIGHT-0: unbold 新任务 + harmonize nav row size - #130

Merged
jackwener merged 1 commit into
mainfrom
pr/nav-new-task-weight
Jun 23, 2026
Merged

PR-NAV-NEW-TASK-WEIGHT-0: unbold 新任务 + harmonize nav row size#130
jackwener merged 1 commit into
mainfrom
pr/nav-new-task-weight

Conversation

@jackwener

Copy link
Copy Markdown
Member

Summary

WAWQAQ flagged two sidebar nav typography issues:

  • 新任务 was permanently bold (font-weight: 600 on .maka-nav-new-task). It read as if it were the active page even when nothing was selected. The active state already carries weight 600, and reference nav rows are all normal-weight at rest. The SquarePen glyph already signals "create" — the label doesn't need to also shout. Dropped the explicit weight.
  • .maka-nav-row was at 13px / 1.25 line-height (≈16.25px). Reference-atlas §2 text-sm token is 14px / 20px, which is what the reference sidebar uses. Bumped to 14px / 1.43.

Test plan

  • npm test in apps/desktop: 1466 passed
  • Visual smoke: sidebar-long-sessions/light-1280-motion shows 新任务 / 每日回顾 / 技能 at uniform weight, with 定时任务 (active) the only weight-600 row.

…rence
WAWQAQ flagged two sidebar nav-row issues:
1. "新任务" was rendered with `font-weight: 600` permanently — it read as
if it were the active page, even when nothing was selected. Active
state already carries weight: 600, and reference nav rows are all
normal weight at rest. The SquarePen glyph already signals "create",
so the label doesn't need to also shout. Drop the explicit weight.
2. `.maka-nav-row` was at 13px / 1.25 line-height (≈16.25px line). The
reference-atlas §2 text-sm token is 14px / 20px, which is what the
reference sidebar uses. Bump to 14px / 1.43 to match.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@jackwener