chore(backlog): 记录 g190 完成

This commit is contained in:
HIsheR
2026-10-26 17:52:53 +08:00
parent a67a9fe0a7
commit 654a9ddfb4
2 changed files with 9 additions and 0 deletions
+8
View File
@@ -2109,6 +2109,14 @@
"acceptance": "packages/tools/cli/recipes.md 增加配方 12(编号连续、含代码块与要点),代码块至少认出一个已注册组件 id;ua recipes 12 能取到骨架与要点;npm run check 全绿。",
"status": "done",
"notes": "配方 12「命令面板(⌘K 全局操作入口)」:id 做分发键、label 只显示;keywords 塞拼音别名;同组连续才合并;二次确认交给 modal/popconfirm 而非面板内叠层;一页只留一个 hotkey;items 快照需重建。ua recipes 12 识别 commandPalette / modal / popconfirm / toast 四组件"
},
{
"id": "g190",
"title": "字号字面值归零:补展示档与相对缩放档",
"motivation": "五档主轴只覆盖到 18px,剩下 5 处 22/26/34px 与大号字符图标、代码片段 0.92em、行内图标 0.85em 无令牌可用,只能写字面值;字号门禁因此长期停在 5 处,谁也不敢动。",
"acceptance": "tokens 增加 --ua-font-size-3xl/4xl/5xl(22/26/34px 展示档)与 --ua-font-size-scale-md/sm(0.92em/0.85em 相对缩放档),visual-rules 映射表同步;迁移后 font-size-literal 计数为 0 并写入新基线;ua tokens 能看到五个新令牌;npm run check 全绿。",
"status": "done",
"notes": "字号令牌从 6 档扩到 11 档:3xl 22px(评分星等字符图形)/ 4xl 26px(统计主数值)/ 5xl 34px(空状态大图标)/ scale-md 0.92em(代码片段)/ scale-sm 0.85em(行内小图标,随文字缩放不建绝对档);迁移脚本按表幂等替换 5 处,font-size-literal 5→0,总计数 40→35 已写基线"
}
]
}