Close the workbench design-system review gap

Why: Independent review found that the visual frame bypassed token and motion ownership and lacked dark/molv proof.
Evidence: UI 4cae1c4 passes 163 tests; Frontend 9b9f24b passes its design guard and 19 browser scenarios across all themes.
Impact: Pairs the new UI tokens with their Frontend consumer and documents the governing design rule.
Refs: Frontend #87; UI #56
This commit is contained in:
2026-10-14 16:51:40 +00:00
parent 5d9bfae692
commit 82e3d0f973
4 changed files with 169 additions and 10 deletions
File diff suppressed because one or more lines are too long
+7
View File
@@ -36,6 +36,13 @@ Agent-System-Dev 是桌面优先、Web 兼容的 AI 工作台。界面应**冷
| `--bg-hover` | `rgba(255,255,255,.05)` | `rgba(13,13,13,.05)` | 通用悬停 |
| `--bg-active` | `rgba(255,255,255,.10)` | `rgba(13,13,13,.08)` | 选中态 |
三栏工作台的顶栏与左栏使用独立导航骨架令牌:`--workbench-chrome`、
`--workbench-chrome-text`、`--workbench-chrome-dim`、`--workbench-chrome-faint`、
`--workbench-chrome-hover`、`--workbench-chrome-active`。浅色主题为近黑导航骨架,深色主题取面板阶梯,
墨绿主题取海军蓝侧栏;反色创建按钮的 hover/分隔线使用
`--workbench-chrome-inverse-hover` / `--workbench-chrome-inverse-border`。宿主组件只能消费这些令牌,
不得用 `color-mix()`、rgba 或局部变量再次派生导航颜色。
### 2.2 边框(发丝三档)
`--border-soft: rgba(255,255,255,.06)` / `--border: rgba(255,255,255,.10)` /