chore(backlog): 记录 g243 完成

This commit is contained in:
HIsheR
2026-10-26 21:55:31 +08:00
parent f396a5545c
commit cd8a8e9b12
2 changed files with 10 additions and 0 deletions
+9
View File
@@ -2573,6 +2573,15 @@
"status": "done",
"domain": "visual",
"notes": "亮色 text-muted #6b7280→#676d78(凹陷底 4.39→4.72)、暗色 accent #378add→#4a9aeb(反白 3.92→4.77、强调文字压淡底 4.44→5.26),16 对全绿最低 4.58;接入 check 尾步 + AGENTS/README/ITERATION/CLI 清单同步"
},
{
"id": "g243",
"title": "文档站与演示页外壳配色从令牌派生",
"motivation": "两处外壳 chrome 各自手写十六进制(文档站 --bg/--accent、演示页 --page-*),改暗色 accent 后页面外壳仍留着旧蓝,与组件色各显示一种;这类漂移手写清单永远追不上令牌。",
"acceptance": "新增 packages/tools/cli/lib/shell-palette.mjs 作为唯一派生点(缺键退回内置默认,tokens.json 缺失不炸),文档站 renderDocs 与 apps/demo/build.mjs 都改为调用它;构建产物里的 --accent/--muted/--page-* 必须等于 tokens.json 对应值,源码不再出现外壳手写色值;npm run check 全绿。",
"status": "done",
"domain": "tooling",
"notes": "产物核对:docs --accent 亮 #185fa5 / 暗 #4a9aeb,demo --page-muted 亮 #676d78 / 暗 #888780,两处产物 378add 残留归零(tokens.css 注释里的旧值描述一并洗掉,避免 grep 误判)"
}
]
}