Skip to content

fix(ui): designer-audit round 3 — dark surface hierarchy, humanized copy, scroll affordance - #596

Merged
jackwener merged 1 commit into
mainfrom
fix/ui-audit-round3
Jul 7, 2026
Merged

fix(ui): designer-audit round 3 — dark surface hierarchy, humanized copy, scroll affordance#596
jackwener merged 1 commit into
mainfrom
fix/ui-audit-round3

Conversation

@jackwener

Copy link
Copy Markdown
Member

设计审查第 3 轮(承接 #571/#572,依赖的 #534 已合并):

  1. P1-6 dark 模式层级坍塌:暗端 canvas/内容卡/composer 挤在一个窄亮度带里,浮卡边缘消失。内容卡加 dark 专属 1px 内侧高光;composer 描边 alpha 提为 token(light 0.035 / dark 0.12),同一条 rest 规则内完成——不违反 composer 单源契约
  2. P1-8 残余:外观页语气偏好说明从工程话术(system prompt / Runtime 判定)改为用户视角(字数上限、影响范围、什么写了也没用)。
  3. P2-15 首启列表腰斩:高度 clamp 把最后一行切半且无滚动暗示 → 底部渐隐提示(provider 数恒超 clamp,提示永不撒谎)。

dark 截图验证边缘可读;2143/2143 全绿;check-dead-css 增量干净(29 个 hljs 类是 #546 合并带来的 main 存量,另行处理)。

…opy, scroll affordance

- P1-6 dark mode surface hierarchy: canvas/card/composer sat within a
  narrow dark band and the floating-card edges vanished. The content
  card gains a dark-only 1px inner top-light hairline; the composer's
  edge ring alpha becomes a token (--composer-ring-alpha, 0.035 light /
  0.12 dark) so the strengthening needs no second rest rule
  (composer-container-single-source-contract stays satisfied).
- P1-8 residual: the appearance page's tone-preference caveat spoke
  implementation ('以低优先级拼到 system prompt'、'Runtime 独立判定') —
  rewritten in user terms (limits, what it can/cannot affect).
- P2-15 first-run provider list: the height clamp cut the last visible
  row in half with no cue the list scrolls — reads as broken clipping.
  Added a bottom fade cue (pointer-events: none, never lies since the
  provider count always exceeds the clamp).

Verified with dark-mode CDP screenshot (card + composer edges legible).
@maka/desktop 2143/2143 pass; check-dead-css diff-clean (the 29 hljs
classes are pre-existing on main from the #546 prose-layer refactor).
@jackwener
jackwener merged commit 8e1779d into main Jul 7, 2026
3 checks passed
@jackwener
jackwener deleted the fix/ui-audit-round3 branch July 7, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant