chore(backlog): 记录 g245 完成

This commit is contained in:
HIsheR
2026-10-26 21:58:59 +08:00
parent 6e52cc6206
commit ab2bd00614
2 changed files with 10 additions and 0 deletions
+9
View File
@@ -2591,6 +2591,15 @@
"status": "done",
"domain": "new",
"notes": "组件 75→76;样式仅 4 条排布规则(flex 换行 / 内距 / 收缩 / 溢出换行),全部走 --ua-space-* 与 --ua-control-h-md;单文件 78 行"
},
{
"id": "g245",
"title": "高对比偏好令牌 + 对比度门禁升到四套主题",
"motivation": "系统「提高对比度」偏好下组件毫无变化:边框仍是 0.15 透明黑、辅助文字仍是浅灰,低视力用户开了开关等于没开;而对比度门禁只验常规两套主题,覆盖不到这条路径。",
"acceptance": "tokens.css 末尾(媒体查询需后置胜出)加 @media (prefers-contrast: more):亮/暗两态分别加深 border / 滚动条、把 text-muted 升到次级档、text-faint 升到原辅助档,只改已有变量不新增名字(verify 双源核对保持一一对应);audit:contrast 解析该媒体块,把配对表在亮/暗 × 常规/高对比四套主题下各算一遍,附 --json 明细;npm run check 全绿。",
"status": "done",
"domain": "visual",
"notes": "高对比下辅助文字 4.85→7.49(亮)/4.72→8.71(暗)、三级文字 2.64→4.83,四套主题 16 对全绿;负向自检(把 text-faint 调亮)确认新主题会被判不达标"
}
]
}