一、④段整套同步(用户选候选 A)
- 新增 `references/stage-proto-doc/assets/产品文档模板.html`(16 KB/247 行,从备份拷、转 LF)。
- ④段 SKILL.md 换成备份 15:28 那版,并按模板口径改齐:
· 「产品文档框架」从「四块+一附录」改成**六节** —— 页面结构/功能清单/使用场景/操作流程/
跨页与界面状态/待确认与偏离;与模板同构,⛔ 不从空白页重写结构。
· 编号从 R/S/F 改成 **P 页面/S 场景/F 功能/J 二级功能**,各自唯一、按展示顺序通排。
· 保留旧版有价值的要求:每项功能补齐 做什么/入口在哪/输入边界/异常与恢复;重点功能三处标红;
横向流程图每步写清页面/功能/操作/完成判据。
· 完成标准「七节」→「六节」,自查清单同步换掉「需求」那批条目,补模板与配图两条。
· 路径 `designs/<项目>/` → `docs/pm/<项目>/ui/`(2 处)。
· 补回本机那条「每份产出文档开头都要有一张图」的引用(指向主 skill,段内不复述)。
- 主 skill 同步:四段结构表④行、④段沿革、画图小节(④段画页面结构图 + 用户路径)。
二、open-design 移到技能根(用户选候选 A)
- `git mv product-planning/references/stage-delivery/assets/open-design → open-design/`(4178 文件)。
- `.gitignore` 白名单加 `!/open-design/` —— 否则移出去就不再纳入版本控制。
- 引用改 11 处:路径形态 `assets/open-design/...` → `<技能根>/open-design/...`;
「随段携带的自带件」改称「同根技能」;「路径怎么找」那条改成自带件(段内相对路径)与
同根技能(`<技能根>/<技能名>/`)两类分开写。
- open-design 自己的 ATTRIBUTION.md 两处同步(它现在与 oil-ui-pro 同层)。
- 副作用(有益):命名闸门读数由 2063 降到 225 —— 此前它把 open-design 里 919 个第三方 md
当成规则一起扫了;现在只扫本包 23 个 md。已确认④段的 H1 与 4a/4b/4c 子步仍在检查范围内。
三、验收
- check_naming.py --ws E:/ProgramData/AIProject/contentm_agent = 通过 225 / 失败 0 / 提示 27。
- 活文件里 `assets/open-design` 残留 0;工作区 CRLF 文件 0。
6.4 KiB
Trading Terminal Design System
Category: Themed & Unique Bloomberg-style financial trading terminal. Dark-only, data-dense, cyan/coral buy/sell signals. Everything readable at a glance from two meters away.
1. Visual Theme & Atmosphere
A professional-grade financial data terminal. Dense, information-rich layouts designed for traders who need to monitor multiple markets simultaneously. Dark surfaces reduce eye strain during long sessions. Cyan accent (#00D4AA) signals positive/buy, coral (#FF4757) signals negative/sell. Everything readable at a glance from two meters away.
- Visual style: dense, data-first, professional
- Color stance: dark surfaces with high-contrast data colors
- Design intent: keep outputs recognizable to this style family while preserving usability and readability
Prior Art
Bloomberg Terminal, Refinitiv Eikon, FactSet, TradingView Pro. All share: dark-only surfaces, monospace data fonts, tabular layouts with no decorative spacing, and color-coded buy/sell signals.
2. Color Palette & Roles
Surface Palette
| Token | Hex | Usage |
|---|---|---|
| Background | #0D0D0D |
Primary canvas |
| Surface | #141414 |
Elevated panels, cards |
| Surface Hover | #1A1A1A |
Hover state for panels |
| Border | #2A2A2A |
Panel separation |
Data Palette
| Token | Hex | Usage |
|---|---|---|
| Primary | #00D4AA |
Positive values, buy signals, success |
| Gain | #00D4AA |
Positive price movement |
| Loss | #FF4757 |
Negative price movement |
| Warning | #FFB800 |
Caution alerts, margin warnings |
| Neutral | #808086 |
Unchanged, secondary data |
| Text Primary | #FFFFFF |
High-contrast primary text |
| Text Secondary | #AAAAAA |
Labels, metadata |
| Text Tertiary | #828282 |
Timestamps, grid labels |
Dark Mode
Default and only mode. Trading terminals operate in dim environments for focus.
:root {
--color-bg: #0D0D0D;
--color-surface: #141414;
--color-surface-hover: #1A1A1A;
--color-border: #2A2A2A;
--color-primary: #00D4AA;
--color-gain: #00D4AA;
--color-loss: #FF4757;
--color-warning: #FFB800;
--color-text: #FFFFFF;
--color-text-secondary: #AAAAAA;
--color-text-tertiary: #828282;
--space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
--space-6: 24px; --space-8: 32px; --space-12: 48px;
}
3. Typography Rules
| Role | Size | Weight | Line Height | Font |
|---|---|---|---|---|
| Display | 28px | 600 | 1.0 | JetBrains Mono |
| Heading | 16px | 600 | 1.2 | Inter |
| Body | 14px | 400 | 1.3 | JetBrains Mono |
| Label | 12px | 500 | 1.0 | Inter, uppercase |
| Micro | 10px | 400 | 1.0 | JetBrains Mono |
Font labels for catalog extraction:
Display: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace
Heading: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif
Body: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace
Label: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif
Micro: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace
Mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace
4. Component Stylings
Order Book Row
.order-book-row {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
padding: var(--space-1) 0;
border-bottom: 1px solid var(--color-border);
}
.order-book-size { color: var(--color-text-secondary); text-align: right; }
.order-book-bid { color: var(--color-gain); text-align: right; }
.order-book-ask { color: var(--color-loss); text-align: right; }
Price Card
.price-card {
background: var(--color-surface);
border: 1px solid var(--color-border);
padding: var(--space-4);
display: flex;
flex-direction: column;
gap: var(--space-2);
}
.price-card-label {
font-size: 12px;
font-weight: 500;
text-transform: uppercase;
color: var(--color-text-secondary);
letter-spacing: 0.05em;
}
.price-card-value {
font-family: 'JetBrains Mono', monospace;
font-size: 28px;
font-weight: 600;
color: var(--color-text);
line-height: 1.0;
}
.price-card-change {
font-family: 'JetBrains Mono', monospace;
font-size: 14px;
}
.price-card-change.positive { color: var(--color-gain); }
.price-card-change.negative { color: var(--color-loss); }
Ticker Bar
Horizontal scrolling single-line ticker for market overview.
.ticker-bar {
display: flex;
gap: var(--space-6);
overflow-x: auto;
padding: var(--space-2) 0;
border-bottom: 1px solid var(--color-border);
}
5. Layout Principles
Grid-based dense layout. Multiple data columns visible simultaneously. Panels share borders, not gaps. No rounded corners — sharp edges communicate precision. The layout is tabular: rows of data, columns of similar data.
6. Depth & Elevation
Trading terminals use flat design with border-based separation — no shadows. Surface shifts (#141414 vs #0D0D0D) convey elevation. Thin borders (#2A2A2A) define panel boundaries without decorative elements.
7. Do's and Don'ts
- Do not use color alone to signal buy/sell — always pair with a directional icon or label
- Do not animate data values decoratively — traders need instant, stable reads
- Do not use rounded corners — sharp precision aesthetic only
- Do not use light mode — trading terminals operate in dim environments
- Do not show more than 5 price points in a column — cognitive overload reduces decision speed
- Do not use gradients — flat fills only
8. Responsive Behavior
Terminal layouts target desktop-first (1280px+). On narrower viewports, columns collapse from rightmost to leftmost, prioritizing price and change data. Below 768px, single-column stack with horizontal scroll for overflow data. No breakpoints alter the dark-only constraint.
9. Agent Prompt Guide
When generating a trading terminal interface, prompt the model to:
- Use JetBrains Mono for all numeric data; Inter for labels and headings
- Always show gain/loss values in monospace with color coding (#00D4AA green, #FF4757 red)
- No rounded corners on any element
- Use 100ms transitions for price updates, 150ms for hover states
- Never use light mode or bright backgrounds
- Include a horizontal ticker bar with scrolling price updates
- All data changes retain old value briefly before swapping to prevent flash blindness