From ab2bd006143214080dbeffc49800d1b573c2506f Mon Sep 17 00:00:00 2001 From: HIsheR Date: Mon, 26 Oct 2026 21:58:59 +0800 Subject: [PATCH] =?UTF-8?q?chore(backlog):=20=E8=AE=B0=E5=BD=95=20g245=20?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .ua/backlog.json | 9 +++++++++ .ua/iterations.log | 1 + 2 files changed, 10 insertions(+) diff --git a/.ua/backlog.json b/.ua/backlog.json index ed1341d..708d119 100644 --- a/.ua/backlog.json +++ b/.ua/backlog.json @@ -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 调亮)确认新主题会被判不达标" } ] } diff --git a/.ua/iterations.log b/.ua/iterations.log index 1df43e5..e30739b 100644 --- a/.ua/iterations.log +++ b/.ua/iterations.log @@ -289,3 +289,4 @@ {"ts": "2026-10-26T21:53:37+08:00", "id": "g242", "result": "done", "commit": "29d2d8d", "summary": "新增 ua audit:contrast 对比度门禁(16 组文字×底色配对、亮暗分算、color-mix 求值),并修掉两条真实不达标:亮色辅助文字压凹陷底 4.39、暗色主按钮反白 3.92/强调文字压淡底 4.44"} {"ts": "2026-10-26T21:55:31+08:00", "id": "g243", "result": "done", "commit": "f396a55", "summary": "文档站与演示页外壳配色统一从 tokens.json 派生(新增 lib/shell-palette.mjs 单一来源),旧手写暗色 accent 漂移归零"} {"ts": "2026-10-26T21:57:55+08:00", "id": "g244", "result": "done", "commit": "ea51493", "summary": "新增 inputTag 标签输入(组件 76):回车/逗号成标签、chip 逐个删、空框退格删末个、失焦自动入列,max 满额禁输,样式复用输入组与标签零新增字面量"} +{"ts": "2026-10-26T21:58:58+08:00", "id": "g245", "result": "done", "commit": "6e52cc6", "summary": "新增 prefers-contrast: more 高对比令牌(边框/弱文字加深一档,只改既有变量),audit:contrast 升为亮/暗 × 常规/高对比四套主题 16 对全验"}