iter(g298): 按下态改用三阶表面并启用最大字号档
This commit is contained in:
@@ -3068,6 +3068,15 @@
|
||||
"motivation": "接力实例判断「该不该抢锁、上一条做完没、下一条选谁」过去要翻 .ua/loop.lock 的 mtime、tail 留痕、再数 backlog,或去查调度器 sqlite;口径散在 ITERATION.md 里靠人记。",
|
||||
"acceptance": "① ua loop 输出锁心跳(<15 分钟判定与协议同源)、上次留痕、backlog open 与视觉欠账数、下一条选题建议;② --json 给脚本;③ 进 usage 串与 CLI 清单 exports(doctor 的 ghost 检查通过);④ ITERATION.md 写明诊断入口、AGENTS 的 CLI 列表补一行;⑤ npm run check 与 doctor 全绿。",
|
||||
"notes": "ua loop 只读诊断:锁心跳(<15min 同协议口径)/ 上次留痕 / backlog open 与视觉欠账 / 下一条选题建议,--json 可机读;进 usage 与 CLI 清单,doctor 11 项全过,ITERATION 与 AGENTS 同步"
|
||||
},
|
||||
{
|
||||
"id": "g298",
|
||||
"domain": "visual",
|
||||
"status": "open",
|
||||
"title": "死令牌归位:按下态改用 surface-3,结果页大标题用上 font-size-xl",
|
||||
"motivation": "tokens --unused 报出 2 个令牌无人引用:surface-3(注释写「按下底」,但四处 :active 仍用与悬停同档的 surface-2,于是按下与悬停同色)与 font-size-xl(字号最大档没有任何组件用)。",
|
||||
"acceptance": "① 下拉触发器 / 折叠头 / 分页按钮 / 日历格四处按下态改 surface-3,注释「加深一档」与实现对齐;② .ua-result-title 升到 xl,与弹窗标题 lg 拉开层级;③ ua tokens --unused 归零;④ audit:surface / audit:visual / audit:contrast 全绿。",
|
||||
"notes": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -405,7 +405,7 @@ body.ua-col-resizing {
|
||||
}
|
||||
/* 按下:底色加深一档,与悬停的描边反馈形成两段式 */
|
||||
.ua-select-trigger:active:not(:disabled) {
|
||||
background: var(--ua-color-surface-2);
|
||||
background: var(--ua-color-surface-3);
|
||||
}
|
||||
.ua-select-trigger:focus-visible {
|
||||
outline: none;
|
||||
@@ -785,7 +785,7 @@ body.ua-col-resizing {
|
||||
}
|
||||
/* 按下:底色转中性深一档 */
|
||||
.ua-acc-head:active:not(:disabled) {
|
||||
background: var(--ua-color-surface-2);
|
||||
background: var(--ua-color-surface-3);
|
||||
}
|
||||
.ua-acc-head:focus-visible {
|
||||
outline: none;
|
||||
@@ -1456,7 +1456,7 @@ button.ua-step-dot:hover {
|
||||
}
|
||||
/* 按下:回位落底,取消悬停浮起并加深底色 */
|
||||
.ua-page-btn:active:not(:disabled) {
|
||||
background: var(--ua-color-surface-2);
|
||||
background: var(--ua-color-surface-3);
|
||||
transform: translateY(0);
|
||||
}
|
||||
.ua-page-btn:focus-visible {
|
||||
@@ -3052,7 +3052,7 @@ button.ua-step-dot:hover {
|
||||
.ua-result-warning .ua-result-icon { background: var(--ua-color-warning); }
|
||||
.ua-result-danger .ua-result-icon { background: var(--ua-color-danger); }
|
||||
.ua-result-title {
|
||||
font-size: var(--ua-font-size-lg);
|
||||
font-size: var(--ua-font-size-xl); /* 页面级结论用最大档:与弹窗标题(lg)拉开一层,避免大标题和小标题同号 */
|
||||
font-weight: var(--ua-weight-semibold);
|
||||
color: var(--ua-color-text);
|
||||
}
|
||||
@@ -4311,7 +4311,7 @@ button.ua-step-dot:hover {
|
||||
}
|
||||
/* 按下:底色转中性深一档,浮起交由悬停态负责 */
|
||||
.ua-calendar-day:active {
|
||||
background: var(--ua-color-surface-2);
|
||||
background: var(--ua-color-surface-3);
|
||||
}
|
||||
.ua-calendar-day.is-today {
|
||||
box-shadow: var(--ua-shadow-inset-border); /* 今天只用细内框,不与选中态抢视觉 */
|
||||
|
||||
Reference in New Issue
Block a user