一、④段整套同步(用户选候选 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。
150 lines
6.4 KiB
Markdown
150 lines
6.4 KiB
Markdown
# Design System Inspired by Intercom
|
||
|
||
> Category: Productivity & SaaS
|
||
> Customer messaging. Friendly blue palette, conversational UI patterns.
|
||
|
||
## 1. Visual Theme & Atmosphere
|
||
|
||
Intercom's website is a warm, confident customer service platform that communicates "AI-first helpdesk" through a clean, editorial design language. The page operates on a warm off-white canvas (`#faf9f6`) with off-black (`#111111`) text, creating an intimate, magazine-like reading experience. The signature Fin Orange (`#ff5600`) — named after Intercom's AI agent — serves as the singular vibrant accent against the warm neutral palette.
|
||
|
||
The typography uses Saans — a custom geometric sans-serif with aggressive negative letter-spacing (-2.4px at 80px, -0.48px at 24px) and a consistent 1.00 line-height across all heading sizes. This creates ultra-compressed, billboard-like headlines that feel engineered and precise. Serrif provides the serif companion for editorial moments, and SaansMono handles code and uppercase technical labels. MediumLL and LLMedium appear for specific UI contexts, creating a rich five-font ecosystem.
|
||
|
||
What distinguishes Intercom is its remarkably sharp geometry — 4px border-radius on buttons creates near-rectangular interactive elements that feel industrial and precise, contrasting with the warm surface colors. Button hover states use `scale(1.1)` expansion, creating a physical "growing" interaction. The border system uses warm oat tones (`#dedbd6`) and oklab-based opacity values for sophisticated color management.
|
||
|
||
**Key Characteristics:**
|
||
- Warm off-white canvas (`#faf9f6`) with oat-toned borders (`#dedbd6`)
|
||
- Saans font with extreme negative tracking (-2.4px at 80px) and 1.00 line-height
|
||
- Fin Orange (`#ff5600`) as singular brand accent
|
||
- Sharp 4px border-radius — near-rectangular buttons and elements
|
||
- Scale(1.1) hover with scale(0.85) active — physical button interaction
|
||
- SaansMono uppercase labels with wide tracking (0.6px–1.2px)
|
||
- Rich multi-color report palette (blue, green, red, pink, lime, orange)
|
||
- oklab color values for sophisticated opacity management
|
||
|
||
## 2. Color Palette & Roles
|
||
|
||
### Primary
|
||
- **Off Black** (`#111111`): `--color-off-black`, primary text, button backgrounds
|
||
- **Pure White** (`#ffffff`): `--wsc-color-content-primary`, primary surface
|
||
- **Warm Cream** (`#faf9f6`): Button backgrounds, card surfaces
|
||
- **Fin Orange** (`#ff5600`): `--color-fin`, primary brand accent
|
||
- **Report Orange** (`#fe4c02`): `--color-report-orange`, data visualization
|
||
|
||
### Report Palette
|
||
- **Report Blue** (`#65b5ff`): `--color-report-blue`
|
||
- **Report Green** (`#0bdf50`): `--color-report-green`
|
||
- **Report Red** (`#c41c1c`): `--color-report-red`
|
||
- **Report Pink** (`#ff2067`): `--color-report-pink`
|
||
- **Report Lime** (`#b3e01c`): `--color-report-lime-300`
|
||
- **Green** (`#00da00`): `--color-green`
|
||
- **Deep Blue** (`#0007cb`): Deep blue accent
|
||
|
||
### Neutral Scale (Warm)
|
||
- **Black 80** (`#313130`): `--wsc-color-black-80`, dark neutral
|
||
- **Black 60** (`#626260`): `--wsc-color-black-60`, mid neutral
|
||
- **Black 50** (`#7b7b78`): `--wsc-color-black-50`, muted text
|
||
- **Content Tertiary** (`#9c9fa5`): `--wsc-color-content-tertiary`
|
||
- **Oat Border** (`#dedbd6`): Warm border color
|
||
- **Warm Sand** (`#d3cec6`): Light warm neutral
|
||
|
||
## 3. Typography Rules
|
||
|
||
### Font Families
|
||
- **Primary**: `Saans`, fallbacks: `Saans Fallback, ui-sans-serif, system-ui`
|
||
- **Serif**: `Serrif`, fallbacks: `Serrif Fallback, ui-serif, Georgia`
|
||
- **Monospace**: `SaansMono`, fallbacks: `SaansMono Fallback, ui-monospace`
|
||
- **UI**: `MediumLL` / `LLMedium`, fallbacks: `system-ui, -apple-system`
|
||
|
||
### Hierarchy
|
||
|
||
| Role | Font | Size | Weight | Line Height | Letter Spacing |
|
||
|------|------|------|--------|-------------|----------------|
|
||
| Display Hero | Saans | 80px | 400 | 1.00 (tight) | -2.4px |
|
||
| Section Heading | Saans | 54px | 400 | 1.00 | -1.6px |
|
||
| Sub-heading | Saans | 40px | 400 | 1.00 | -1.2px |
|
||
| Card Title | Saans | 32px | 400 | 1.00 | -0.96px |
|
||
| Feature Title | Saans | 24px | 400 | 1.00 | -0.48px |
|
||
| Body Emphasis | Saans | 20px | 400 | 0.95 | -0.2px |
|
||
| Nav / UI | Saans | 18px | 400 | 1.00 | normal |
|
||
| Body | Saans | 16px | 400 | 1.50 | normal |
|
||
| Body Light | Saans | 14px | 300 | 1.40 | normal |
|
||
| Button | Saans | 16px / 14px | 400 | 1.50 / 1.43 | normal |
|
||
| Button Bold | LLMedium | 16px | 700 | 1.20 | 0.16px |
|
||
| Serif Body | Serrif | 16px | 300 | 1.40 | -0.16px |
|
||
| Mono Label | SaansMono | 12px | 400–500 | 1.00–1.30 | 0.6px–1.2px uppercase |
|
||
|
||
## 4. Component Stylings
|
||
|
||
### Buttons
|
||
|
||
**Primary Dark**
|
||
- Background: `#111111`
|
||
- Text: `#ffffff`
|
||
- Padding: 0px 14px
|
||
- Radius: 4px
|
||
- Hover: white background, dark text, scale(1.1)
|
||
- Active: green background (`#2c6415`), scale(0.85)
|
||
|
||
**Outlined**
|
||
- Background: transparent
|
||
- Text: `#111111`
|
||
- Border: `1px solid #111111`
|
||
- Radius: 4px
|
||
- Same scale hover/active behavior
|
||
|
||
**Warm Card Button**
|
||
- Background: `#faf9f6`
|
||
- Text: `#111111`
|
||
- Padding: 16px
|
||
- Border: `1px solid oklab(... / 0.1)`
|
||
|
||
### Cards & Containers
|
||
- Background: `#faf9f6` (warm cream)
|
||
- Border: `1px solid #dedbd6` (warm oat)
|
||
- Radius: 8px
|
||
- No visible shadows
|
||
|
||
### Navigation
|
||
- Saans 16px for links
|
||
- Off-black text on white
|
||
- Small 4px–6px radius buttons
|
||
- Orange Fin accent for AI features
|
||
|
||
## 5. Layout Principles
|
||
|
||
### Spacing: 8px, 10px, 12px, 14px, 16px, 20px, 24px, 32px, 40px, 48px, 60px, 64px, 80px, 96px
|
||
### Border Radius: 4px (buttons), 6px (nav items), 8px (cards, containers)
|
||
|
||
## 6. Depth & Elevation
|
||
Minimal shadows. Depth through warm border colors and surface tints.
|
||
|
||
## 7. Do's and Don'ts
|
||
|
||
### Do
|
||
- Use Saans with 1.00 line-height and negative tracking on all headings
|
||
- Apply 4px radius on buttons — sharp geometry is the identity
|
||
- Use Fin Orange (#ff5600) for AI/brand accent only
|
||
- Apply scale(1.1) hover on buttons
|
||
- Use warm neutrals (#faf9f6, #dedbd6)
|
||
|
||
### Don't
|
||
- Don't round buttons beyond 4px
|
||
- Don't use Fin Orange decoratively
|
||
- Don't use cool gray borders — always warm oat tones
|
||
- Don't skip the negative tracking on headings
|
||
|
||
## 8. Responsive Behavior
|
||
Breakpoints: 425px, 530px, 600px, 640px, 768px, 896px
|
||
|
||
## 9. Agent Prompt Guide
|
||
|
||
### Quick Color Reference
|
||
- Text: Off Black (`#111111`)
|
||
- Background: Warm Cream (`#faf9f6`)
|
||
- Accent: Fin Orange (`#ff5600`)
|
||
- Border: Oat (`#dedbd6`)
|
||
- Muted: `#7b7b78`
|
||
|
||
### Example Component Prompts
|
||
- "Create hero: warm cream (#faf9f6) background. Saans 80px weight 400, line-height 1.00, letter-spacing -2.4px, #111111. Dark button (#111111, 4px radius). Hover: scale(1.1), white bg."
|