@lark-apaas/coding-steering 0.1.52 → 0.1.53-alpha.20260916160524
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -6
- package/steering/nestjs-react-fullstack/skills/app-init-feasibility-guide/SKILL.md +1 -2
- package/steering/nestjs-react-fullstack/skills/client-builtins-file-storage-service/SKILL.md +0 -1
- package/steering/nestjs-react-fullstack/skills/client-builtins-user-service/SKILL.md +0 -2
- package/steering/nestjs-react-fullstack/skills/coding-guide/SKILL.md +14 -61
- package/steering/nestjs-react-fullstack/skills/plugin-guide/SKILL.md +1 -4
- package/steering/nestjs-react-fullstack/skills/plugin-guide/references/plugin-coding-guide.md +5 -37
- package/steering/nestjs-react-fullstack/skills_common/mcp-guide/SKILL.md +376 -0
- package/steering/nestjs-react-fullstack/skills_local/client-builtins-user-service/SKILL.md +0 -2
- package/steering/nestjs-react-fullstack/skills_local/coding-guide/SKILL.md +13 -44
- package/steering/nestjs-react-fullstack/skills_local/plugin-guide/SKILL.md +1 -1
- package/steering/nestjs-react-fullstack/skills_local/plugin-guide/references/plugin-coding-guide.md +5 -37
- package/steering/vite-react/skills/plugin-guide/SKILL.md +5 -2
- package/steering/nestjs-react-fullstack/skills/design-guide/SKILL.md +0 -188
- package/steering/nestjs-react-fullstack/skills/design-guide/references/broadsheet.md +0 -311
- package/steering/nestjs-react-fullstack/skills/design-guide/references/claude-editorial-research.md +0 -375
- package/steering/nestjs-react-fullstack/skills/design-guide/references/corporate-blueprint.md +0 -252
- package/steering/nestjs-react-fullstack/skills/design-guide/references/crimson-frosted-glass.md +0 -221
- package/steering/nestjs-react-fullstack/skills/design-guide/references/cybernetic-vault-terminal.md +0 -74
- package/steering/nestjs-react-fullstack/skills/design-guide/references/dashboard.md +0 -233
- package/steering/nestjs-react-fullstack/skills/design-guide/references/digital-e-guide.md +0 -349
- package/steering/nestjs-react-fullstack/skills/design-guide/references/flowbite.md +0 -179
- package/steering/nestjs-react-fullstack/skills/design-guide/references/frontend-design.md +0 -66
- package/steering/nestjs-react-fullstack/skills/design-guide/references/handwritten-sketch.md +0 -211
- package/steering/nestjs-react-fullstack/skills/design-guide/references/industry.md +0 -346
- package/steering/nestjs-react-fullstack/skills/design-guide/references/metabase.md +0 -220
- package/steering/nestjs-react-fullstack/skills/design-guide/references/minimal-jade.md +0 -205
- package/steering/nestjs-react-fullstack/skills/design-guide/references/nebula-crimson.md +0 -306
- package/steering/nestjs-react-fullstack/skills/design-guide/references/nexuscore-analytics.md +0 -74
- package/steering/nestjs-react-fullstack/skills/design-guide/references/organic-minimalism.md +0 -251
- package/steering/nestjs-react-fullstack/skills/design-guide/references/phosphor-hud.md +0 -214
- package/steering/nestjs-react-fullstack/skills/design-guide/references/pm-spec.md +0 -233
- package/steering/nestjs-react-fullstack/skills/design-guide/references/pop-art.md +0 -264
- package/steering/nestjs-react-fullstack/skills/design-guide/references/token-mapping.md +0 -68
- package/steering/nestjs-react-fullstack/skills/design-guide/references/warm-elegance.md +0 -215
- package/steering/nestjs-react-fullstack/skills/design-guide/references/wild-orange.md +0 -203
package/steering/nestjs-react-fullstack/skills/design-guide/references/claude-editorial-research.md
DELETED
|
@@ -1,375 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
version: alpha
|
|
3
|
-
name: claude-editorial-research
|
|
4
|
-
name_zh: 陶色书卷
|
|
5
|
-
description: 暖奶油画布 + 珊瑚强调 + 深藏青产品面的社论式 AI 界面。以带暖调的奶油底色(非纯白、非冷灰)为默认地板,板衬线展示标题走 400 字重 + 负字距(Copernicus / Tiempos,替代 Cormorant Garamond),配人文无衬线正文(StyreneB / Inter)。品牌电压只来自「奶油 + 珊瑚」这对暖色,珊瑚仅点在主 CTA 与整幅召唤卡上。三种表面模式(奶油画布 / 奶油卡 / 深藏青产品面)逐屏交替形成节奏,深色面承载真实代码窗、终端、模型对比等产品 chrome,而非抽象营销插画。整体读感是长文杂志专栏而非 SaaS 落地页。
|
|
6
|
-
anchors:
|
|
7
|
-
- id: canvas
|
|
8
|
-
type: token
|
|
9
|
-
desc: 暖调奶油底色,全站默认地板,刻意不用纯白/冷灰,见 colors.canvas
|
|
10
|
-
- id: primary
|
|
11
|
-
type: token
|
|
12
|
-
desc: 品牌珊瑚色,稀用于主 CTA、慷慨用于整幅召唤卡,从不作第三强调色
|
|
13
|
-
- id: display-serif
|
|
14
|
-
type: pattern
|
|
15
|
-
desc: 板衬线展示标题配负字距,文学社论气质,绝不加粗、绝不换无衬线
|
|
16
|
-
- id: surface-dark
|
|
17
|
-
type: token
|
|
18
|
-
desc: 深藏青产品面,承载代码窗、终端、模型对比卡等真实产品 chrome
|
|
19
|
-
- id: callout-card-coral
|
|
20
|
-
type: component
|
|
21
|
-
desc: 整幅珊瑚召唤卡,珊瑚面本身即品牌电压,内部按钮反相为奶油
|
|
22
|
-
- id: code-window-card
|
|
23
|
-
type: component
|
|
24
|
-
desc: 深色代码窗卡片,带行号与语法高亮,开发页面的招牌视觉元素
|
|
25
|
-
- id: three-surface-rhythm
|
|
26
|
-
type: pattern
|
|
27
|
-
desc: 奶油画布 / 奶油卡 / 深藏青三种表面按内容需要穿插,构成页面的节奏与呼吸
|
|
28
|
-
colors:
|
|
29
|
-
primary: "#cc785c"
|
|
30
|
-
primary-active: "#a9583e"
|
|
31
|
-
ink: "#141413"
|
|
32
|
-
body: "#3d3d3a"
|
|
33
|
-
muted: "#6c6a64"
|
|
34
|
-
hairline: "#e6dfd8"
|
|
35
|
-
canvas: "#faf9f5"
|
|
36
|
-
surface-card: "#efe9de"
|
|
37
|
-
surface-cream-strong: "#e8e0d2"
|
|
38
|
-
surface-dark: "#181715"
|
|
39
|
-
surface-dark-elevated: "#252320"
|
|
40
|
-
surface-dark-soft: "#1f1e1b"
|
|
41
|
-
on-primary: "#ffffff"
|
|
42
|
-
on-dark: "#faf9f5"
|
|
43
|
-
on-dark-soft: "#a09d96"
|
|
44
|
-
accent-teal: "#5db8a6"
|
|
45
|
-
success: "#5db872"
|
|
46
|
-
error: "#c64545"
|
|
47
|
-
|
|
48
|
-
typography:
|
|
49
|
-
display-xl:
|
|
50
|
-
fontFamily: "Copernicus, Tiempos Headline, Cormorant Garamond, Noto Serif SC, serif"
|
|
51
|
-
fontSize: 64px
|
|
52
|
-
fontWeight: 400
|
|
53
|
-
lineHeight: 1.05
|
|
54
|
-
letterSpacing: -1.5px
|
|
55
|
-
display-lg:
|
|
56
|
-
fontFamily: "Copernicus, Tiempos Headline, Cormorant Garamond, Noto Serif SC, serif"
|
|
57
|
-
fontSize: 48px
|
|
58
|
-
fontWeight: 400
|
|
59
|
-
lineHeight: 1.1
|
|
60
|
-
letterSpacing: -1px
|
|
61
|
-
display-md:
|
|
62
|
-
fontFamily: "Copernicus, Tiempos Headline, Cormorant Garamond, Noto Serif SC, serif"
|
|
63
|
-
fontSize: 36px
|
|
64
|
-
fontWeight: 400
|
|
65
|
-
lineHeight: 1.15
|
|
66
|
-
letterSpacing: -0.5px
|
|
67
|
-
display-sm:
|
|
68
|
-
fontFamily: "Copernicus, Tiempos Headline, Cormorant Garamond, Noto Serif SC, serif"
|
|
69
|
-
fontSize: 28px
|
|
70
|
-
fontWeight: 400
|
|
71
|
-
lineHeight: 1.2
|
|
72
|
-
letterSpacing: -0.3px
|
|
73
|
-
title-lg:
|
|
74
|
-
fontFamily: "StyreneB, Inter, PingFang SC, sans-serif"
|
|
75
|
-
fontSize: 22px
|
|
76
|
-
fontWeight: 500
|
|
77
|
-
lineHeight: 1.3
|
|
78
|
-
letterSpacing: 0
|
|
79
|
-
title-md:
|
|
80
|
-
fontFamily: "StyreneB, Inter, PingFang SC, sans-serif"
|
|
81
|
-
fontSize: 18px
|
|
82
|
-
fontWeight: 500
|
|
83
|
-
lineHeight: 1.4
|
|
84
|
-
letterSpacing: 0
|
|
85
|
-
body-md:
|
|
86
|
-
fontFamily: "StyreneB, Inter, PingFang SC, sans-serif"
|
|
87
|
-
fontSize: 16px
|
|
88
|
-
fontWeight: 400
|
|
89
|
-
lineHeight: 1.55
|
|
90
|
-
letterSpacing: 0
|
|
91
|
-
body-sm:
|
|
92
|
-
fontFamily: "StyreneB, Inter, PingFang SC, sans-serif"
|
|
93
|
-
fontSize: 14px
|
|
94
|
-
fontWeight: 400
|
|
95
|
-
lineHeight: 1.55
|
|
96
|
-
letterSpacing: 0
|
|
97
|
-
caption-uppercase:
|
|
98
|
-
fontFamily: "StyreneB, Inter, PingFang SC, sans-serif"
|
|
99
|
-
fontSize: 12px
|
|
100
|
-
fontWeight: 500
|
|
101
|
-
lineHeight: 1.4
|
|
102
|
-
letterSpacing: 1.5px
|
|
103
|
-
code:
|
|
104
|
-
fontFamily: "JetBrains Mono, ui-monospace, monospace"
|
|
105
|
-
fontSize: 14px
|
|
106
|
-
fontWeight: 400
|
|
107
|
-
lineHeight: 1.6
|
|
108
|
-
letterSpacing: 0
|
|
109
|
-
button:
|
|
110
|
-
fontFamily: "StyreneB, Inter, PingFang SC, sans-serif"
|
|
111
|
-
fontSize: 14px
|
|
112
|
-
fontWeight: 500
|
|
113
|
-
lineHeight: 1
|
|
114
|
-
letterSpacing: 0
|
|
115
|
-
nav-link:
|
|
116
|
-
fontFamily: "StyreneB, Inter, PingFang SC, sans-serif"
|
|
117
|
-
fontSize: 14px
|
|
118
|
-
fontWeight: 500
|
|
119
|
-
lineHeight: 1.4
|
|
120
|
-
letterSpacing: 0
|
|
121
|
-
|
|
122
|
-
rounded:
|
|
123
|
-
md: 8px
|
|
124
|
-
lg: 12px
|
|
125
|
-
xl: 16px
|
|
126
|
-
pill: 9999px
|
|
127
|
-
|
|
128
|
-
spacing:
|
|
129
|
-
lg: 24px
|
|
130
|
-
xl: 32px
|
|
131
|
-
xxl: 48px
|
|
132
|
-
section: 96px
|
|
133
|
-
|
|
134
|
-
components:
|
|
135
|
-
button-primary:
|
|
136
|
-
background: "{colors.primary}"
|
|
137
|
-
color: "{colors.on-primary}"
|
|
138
|
-
typography: "{typography.button}"
|
|
139
|
-
rounded: "{rounded.md}"
|
|
140
|
-
padding: 12px 20px
|
|
141
|
-
height: 40px
|
|
142
|
-
description: 招牌珊瑚 CTA;按下态转 primary-active,不设其它 hover
|
|
143
|
-
button-secondary-on-dark:
|
|
144
|
-
background: "{colors.surface-dark-elevated}"
|
|
145
|
-
color: "{colors.on-dark}"
|
|
146
|
-
typography: "{typography.button}"
|
|
147
|
-
rounded: "{rounded.md}"
|
|
148
|
-
padding: 12px 20px
|
|
149
|
-
description: 深色面上的次级按钮,保持深色,从不反相为浅色
|
|
150
|
-
text-link:
|
|
151
|
-
background: transparent
|
|
152
|
-
color: "{colors.primary}"
|
|
153
|
-
typography: "{typography.body-md}"
|
|
154
|
-
description: 正文内联链接用珊瑚色,是系统最有辨识度的小细节
|
|
155
|
-
top-nav:
|
|
156
|
-
background: "{colors.canvas}"
|
|
157
|
-
color: "{colors.ink}"
|
|
158
|
-
typography: "{typography.nav-link}"
|
|
159
|
-
height: 64px
|
|
160
|
-
description: 奶油顶栏,左侧 Anthropic 星芒标 + Claude 字标,右侧珊瑚主按钮
|
|
161
|
-
hero-band:
|
|
162
|
-
background: "{colors.canvas}"
|
|
163
|
-
color: "{colors.ink}"
|
|
164
|
-
typography: "{typography.display-xl}"
|
|
165
|
-
padding: 96px
|
|
166
|
-
description: 奶油画布英雄区,6/6 栅格:左标题右插画或产品 mockup
|
|
167
|
-
feature-card:
|
|
168
|
-
background: "{colors.surface-card}"
|
|
169
|
-
color: "{colors.ink}"
|
|
170
|
-
typography: "{typography.title-md}"
|
|
171
|
-
rounded: "{rounded.lg}"
|
|
172
|
-
padding: 32px
|
|
173
|
-
description: 比画布深一档的奶油特性卡,3-up 栅格,无阴影
|
|
174
|
-
product-mockup-card-dark:
|
|
175
|
-
background: "{colors.surface-dark}"
|
|
176
|
-
color: "{colors.on-dark}"
|
|
177
|
-
typography: "{typography.title-md}"
|
|
178
|
-
rounded: "{rounded.lg}"
|
|
179
|
-
padding: 32px
|
|
180
|
-
description: 深藏青产品卡,展示真实 Claude 产品界面片段
|
|
181
|
-
code-window-card:
|
|
182
|
-
background: "{colors.surface-dark}"
|
|
183
|
-
color: "{colors.on-dark}"
|
|
184
|
-
typography: "{typography.code}"
|
|
185
|
-
rounded: "{rounded.lg}"
|
|
186
|
-
padding: 24px
|
|
187
|
-
innerBlock: "{colors.surface-dark-soft}"
|
|
188
|
-
description: 深色代码窗,带行号与语法高亮,内嵌块用 surface-dark-soft
|
|
189
|
-
pricing-tier-card-featured:
|
|
190
|
-
background: "{colors.surface-dark}"
|
|
191
|
-
color: "{colors.on-dark}"
|
|
192
|
-
typography: "{typography.title-lg}"
|
|
193
|
-
rounded: "{rounded.lg}"
|
|
194
|
-
padding: 32px
|
|
195
|
-
description: 主推档位卡,深色面本身即「featured」信号,其余档位为奶油描边
|
|
196
|
-
callout-card-coral:
|
|
197
|
-
background: "{colors.primary}"
|
|
198
|
-
color: "{colors.on-primary}"
|
|
199
|
-
typography: "{typography.title-md}"
|
|
200
|
-
rounded: "{rounded.lg}"
|
|
201
|
-
padding: 48px
|
|
202
|
-
description: 整幅珊瑚召唤卡,内部 CTA 反相为奶油按钮
|
|
203
|
-
cta-band-coral:
|
|
204
|
-
background: "{colors.primary}"
|
|
205
|
-
color: "{colors.on-primary}"
|
|
206
|
-
typography: "{typography.display-sm}"
|
|
207
|
-
rounded: "{rounded.lg}"
|
|
208
|
-
padding: 64px
|
|
209
|
-
description: 页脚前珊瑚 CTA 带,标题仍是衬线
|
|
210
|
-
badge-coral:
|
|
211
|
-
background: "{colors.primary}"
|
|
212
|
-
color: "{colors.on-primary}"
|
|
213
|
-
typography: "{typography.caption-uppercase}"
|
|
214
|
-
rounded: "{rounded.pill}"
|
|
215
|
-
padding: 4px 12px
|
|
216
|
-
description: NEW / BETA 珊瑚胶囊徽章
|
|
217
|
-
text-input-focused:
|
|
218
|
-
background: "{colors.canvas}"
|
|
219
|
-
color: "{colors.ink}"
|
|
220
|
-
typography: "{typography.body-md}"
|
|
221
|
-
rounded: "{rounded.md}"
|
|
222
|
-
border: 1px {colors.primary}
|
|
223
|
-
description: 聚焦态输入框,边框转珊瑚 + 3px 珊瑚 15% 透明外环
|
|
224
|
-
footer:
|
|
225
|
-
background: "{colors.surface-dark}"
|
|
226
|
-
color: "{colors.on-dark-soft}"
|
|
227
|
-
typography: "{typography.body-sm}"
|
|
228
|
-
padding: 64px
|
|
229
|
-
description: 深藏青页脚收束每页,4 列链接,星芒标 + Anthropic 字标,从不反相
|
|
230
|
-
gaps:
|
|
231
|
-
- "Copernicus / StyreneB / Tiempos Headline 是 Anthropic 授权字体、无公开 web font;本档用 Cormorant Garamond / Inter / Noto Serif SC 作替代项(源推荐字体无可用镜像源),气质近似但非精确。"
|
|
232
|
-
- "Anthropic 星芒标(四芒放射)为品牌 glyph,作 logo 资产处理,未形式化为系统 token(未取到完整 SVG path,落 gap 不凭二手重绘)。"
|
|
233
|
-
- "动画与转场时序(消息揭示、代码打字机、agentic-flow 图动画)不在抽取范围。"
|
|
234
|
-
- "text-input-focused 之外的表单校验态(error / success 输入态)未抽取。"
|
|
235
|
-
- "claude.ai 产品面的对话气泡、消息工具、文件上传芯片、会话侧栏等产品专属组件不在本营销面文档范围。"
|
|
236
|
-
- "primary-disabled、body-strong、muted-soft、surface-soft、hairline-soft、accent-amber、warning 等源中次要 token 与 title-sm / caption / xs / sm 半径为收敛体量已删减,需要时回查 raw-source。"
|
|
237
|
-
---
|
|
238
|
-
|
|
239
|
-
## Overview
|
|
240
|
-
|
|
241
|
-
Claude 是 AI 产品品类里最暖、最社论化的界面。基底气质是一层**带暖调的奶油画布**(`{colors.canvas}`)——刻意不用其它 AI 品牌惯用的冷灰白或纯白。标题走**板衬线展示体**(Copernicus / Tiempos Headline,替代 Cormorant Garamond)400 字重 + 负字距,配 **StyreneB / Inter** 人文无衬线正文,读感是文学出版物而非 SaaS 营销页。
|
|
242
|
-
|
|
243
|
-
品牌电压只来自**奶油 + 珊瑚**这对暖色:珊瑚(`{colors.primary}`)是 Anthropic 招牌强调色,稀用于每个主 CTA 与品牌字标,慷慨用于整幅召唤卡,从不作第三强调色。珊瑚偏暖略哑,绝不偏青蓝——是对冷色调 AI 品牌的刻意反位。
|
|
244
|
-
|
|
245
|
-
三种表面模式逐屏交替:
|
|
246
|
-
1. **奶油画布** `{colors.canvas}` —— 默认正文地板
|
|
247
|
-
2. **奶油特性卡** `{colors.surface-card}` —— 比画布深一档
|
|
248
|
-
3. **深藏青产品面** `{colors.surface-dark}` —— 代码窗、模型卡、页脚前 CTA、页脚本身
|
|
249
|
-
|
|
250
|
-
深色面是 Claude 展示真实产品 chrome(代码块、终端、模型对比表)之处,而非抽象营销插画;奶油到深色的对比即页面节奏。层级半径:`{rounded.md}` 用于按钮与输入框,`{rounded.lg}` 用于内容与产品卡,`{rounded.xl}` 用于英雄插画容器,`{rounded.pill}` 用于徽章。段落节奏 `{spacing.section}` 恒定,卡内留白慷慨 `{spacing.xl}`。
|
|
251
|
-
|
|
252
|
-
## Colors
|
|
253
|
-
|
|
254
|
-
### 品牌与强调
|
|
255
|
-
- **珊瑚 / 主色** `{colors.primary}`:招牌暖珊瑚,用于每个主 CTA 背景、整幅珊瑚召唤卡、品牌字标强调。
|
|
256
|
-
- **珊瑚按下态** `{colors.primary-active}`:按下 / hover 变深。
|
|
257
|
-
- **强调青** `{colors.accent-teal}`:极少量用于次级产品面(终端状态点、连接器「活跃」指示)。
|
|
258
|
-
|
|
259
|
-
### 表面
|
|
260
|
-
- **画布** `{colors.canvas}`:默认地板,暖奶油,非纯白。
|
|
261
|
-
- **奶油卡** `{colors.surface-card}`:特性卡、内容卡,比画布深一档。
|
|
262
|
-
- **强奶油** `{colors.surface-cream-strong}`:选中态分类标签、强调段落带。
|
|
263
|
-
- **深藏青** `{colors.surface-dark}`:代码窗、模型卡、页脚,主导深色面。
|
|
264
|
-
- **深藏青抬升** `{colors.surface-dark-elevated}`:深色带内的抬升卡与次级按钮。
|
|
265
|
-
- **深藏青柔** `{colors.surface-dark-soft}`:大深色卡内代码块背景。
|
|
266
|
-
- **发丝线** `{colors.hairline}`:奶油面上的 1px 边框色,边界像一档抬升而非墨线。
|
|
267
|
-
|
|
268
|
-
### 文本
|
|
269
|
-
- **墨** `{colors.ink}`:所有标题与主文本,暖深、略偏离纯黑。
|
|
270
|
-
- **正文** `{colors.body}`:默认行文色。
|
|
271
|
-
- **弱化** `{colors.muted}`:子标题、面包屑、次要文本。
|
|
272
|
-
- **珊瑚上白字** `{colors.on-primary}`:珊瑚按钮上文字。
|
|
273
|
-
- **深面上字** `{colors.on-dark}`:深色面上的奶油调白(呼应画布)。
|
|
274
|
-
- **深面弱字** `{colors.on-dark-soft}`:页脚正文、深 mockup 内次级标签。
|
|
275
|
-
|
|
276
|
-
### 语义
|
|
277
|
-
- **成功** `{colors.success}`:绿色状态点、「可用」指示。
|
|
278
|
-
- **错误** `{colors.error}`:校验错误。
|
|
279
|
-
|
|
280
|
-
## Typography
|
|
281
|
-
|
|
282
|
-
字体加载(`@import` 原样写入全局样式首行,**HARD REQUIREMENT:域名一律走自有镜像,禁止替换为 fonts.googleapis.com 直连**):
|
|
283
|
-
|
|
284
|
-
```css
|
|
285
|
-
@import url('https://miaoda.feishu.cn/fonts/css2?family=Cormorant+Garamond:wght@500;600&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400&family=Noto+Serif+SC:wght@400;600&display=swap');
|
|
286
|
-
```
|
|
287
|
-
|
|
288
|
-
Copernicus / Tiempos Headline / StyreneB 是 Anthropic 授权字体、无公开 web font;本档以 **Cormorant Garamond**(weight 500、`-0.02em` 字距)作衬线展示体最近开源替代,**Inter** 作 StyreneB 替代,**JetBrains Mono** 处理代码。
|
|
289
|
-
|
|
290
|
-
- 展示(`{typography.display-xl}` / `{typography.display-lg}` / `{typography.display-md}` / `{typography.display-sm}`)→ 板衬线,400 字重 + 负字距,用于 h1–h3 与英雄标题。负字距(-0.3 至 -1.5px)不可省——去掉后衬线读感偏离品牌。**绝不加粗**:加重靠更大字号而非更粗字重。
|
|
291
|
-
- 标签 / 正文(`{typography.title-lg}` / `{typography.title-md}` / `{typography.body-md}` / `{typography.body-sm}` / `{typography.caption-uppercase}` / `{typography.button}` / `{typography.nav-link}`)→ 人文无衬线,正文 400、标签 500。
|
|
292
|
-
- 代码(`{typography.code}`)→ JetBrains Mono。
|
|
293
|
-
|
|
294
|
-
**中文兜底与行高转译**:本风格仅有拉丁展示体,无源推荐 CJK 字体;展示体末位补 **Noto Serif SC**(气质最近的优雅简中衬线),正文补 PingFang SC 系统兜底。中文标题回退时**清零负字距**、`line-height` 保持 ≥1.05(当前 1.05–1.2 已达标),中文正文 `line-height` ≥1.5(当前 1.55 达标),避免中文字形占满 em 盒后重叠。
|
|
295
|
-
|
|
296
|
-
## Layout
|
|
297
|
-
|
|
298
|
-
- **间距刻度**:`{spacing.lg}` 24px · `{spacing.xl}` 32px · `{spacing.xxl}` 48px · `{spacing.section}` 96px。
|
|
299
|
-
- **段落节奏**:主内容组之间可参考 `{spacing.section}`(96px),信息紧凑时允许缩减。
|
|
300
|
-
- **卡内留白**:特性 / 定价 / 模型卡 `{spacing.xl}`(32px);代码窗卡 `{spacing.lg}`(24px);珊瑚召唤卡 `{spacing.xxl}`(48px);深色 CTA 带 64px。
|
|
301
|
-
- **容器**:最大内容宽可参考 ~1200px 居中;分栏比例和卡片列数按内容关系与可用宽度决定。
|
|
302
|
-
- **留白哲学**:奶油画布 + 衬线展示 + 慷慨卡内留白共同营造社论节奏,读感是长文杂志专栏而非营销模板。
|
|
303
|
-
|
|
304
|
-
## Elevation & Depth
|
|
305
|
-
|
|
306
|
-
深度以**色块优先、阴影稀有**:大部分层次来自奶油 vs 深藏青的表面对比,而非投影。
|
|
307
|
-
|
|
308
|
-
| 层级 | 处理 | 用途 |
|
|
309
|
-
|---|---|---|
|
|
310
|
-
| 平 | 无阴影无边框 | 正文段、顶栏、英雄带 |
|
|
311
|
-
| 发丝线 | 1px `{colors.hairline}` 边框 | 输入框、次级导航、偶尔卡片 |
|
|
312
|
-
| 奶油卡 | `{colors.surface-card}` 背景、无阴影 | 特性卡、内容卡 |
|
|
313
|
-
| 深面卡 | `{colors.surface-dark}` 背景、无阴影 | 代码窗、模型卡 |
|
|
314
|
-
| 微投影 | `0 1px 3px rgba(20,20,19,0.08)`(稀用) | 仅 hover 抬升态 |
|
|
315
|
-
|
|
316
|
-
深色 mockup 自带内部产品 chrome(编辑器滚动条、行号、语法高亮),无需外部阴影即有细节。Anthropic 星芒标(四芒放射星号)作为小黑标出现在字标前缀与内联内容标记处。
|
|
317
|
-
|
|
318
|
-
## Shapes
|
|
319
|
-
|
|
320
|
-
| Token | 值 | 用途 |
|
|
321
|
-
|---|---|---|
|
|
322
|
-
| `{rounded.md}` | 8px | 标准 CTA 按钮、文本输入、分类标签 |
|
|
323
|
-
| `{rounded.lg}` | 12px | 内容卡(特性 / 定价 / 代码窗 / 模型对比)|
|
|
324
|
-
| `{rounded.xl}` | 16px | 英雄插画容器、大幅陈列组件 |
|
|
325
|
-
| `{rounded.pill}` | 9999px | 徽章胶囊、NEW 标 |
|
|
326
|
-
|
|
327
|
-
英雄区极少用照片;主流做法是珊瑚 + 深藏青线描插画、代码窗 mockup、终端输出 mockup、模型对比卡(Opus / Sonnet / Haiku 抽象几何缩略图)。测评头像裁为 40px 正圆。
|
|
328
|
-
|
|
329
|
-
## Components
|
|
330
|
-
|
|
331
|
-
- **`button-primary`** —— 招牌珊瑚 CTA,`{colors.primary}` 底 + `{colors.on-primary}` 字,`{typography.button}`,`{rounded.md}`,按下态转 `{colors.primary-active}`。
|
|
332
|
-
- **`button-secondary-on-dark`** —— 深色面上次级按钮,`{colors.surface-dark-elevated}` 底,保持深色不反相。
|
|
333
|
-
- **`text-link`** —— 正文珊瑚内联链接,系统最有辨识度的小细节。
|
|
334
|
-
- **`top-nav`** —— 64px 奶油顶栏,星芒标 + Claude 字标 + 珊瑚主按钮。
|
|
335
|
-
- **`hero-band`** —— 奶油英雄区,6/6 分栏,纵向 `{spacing.section}` 留白。
|
|
336
|
-
- **`feature-card`** —— 奶油特性卡(`{colors.surface-card}`),3-up 栅格,`{rounded.lg}`,`{spacing.xl}` 内边距。
|
|
337
|
-
- **`product-mockup-card-dark`** —— 深藏青产品卡,展示真实 Claude 界面片段。
|
|
338
|
-
- **`code-window-card`** —— 深色代码窗,行号 + 语法高亮,内嵌块用 `{colors.surface-dark-soft}`,开发页面招牌视觉。
|
|
339
|
-
- **`pricing-tier-card-featured`** —— 主推档位卡翻为 `{colors.surface-dark}`,深色面本身即 featured 信号。
|
|
340
|
-
- **`callout-card-coral`** —— 整幅珊瑚召唤卡,`{colors.primary}` 面即电压,内部按钮反相为奶油。
|
|
341
|
-
- **`cta-band-coral`** —— 页脚前珊瑚 CTA 带,标题仍走 `{typography.display-sm}` 衬线。
|
|
342
|
-
- **`badge-coral`** —— NEW / BETA 珊瑚胶囊徽章,`{typography.caption-uppercase}`。
|
|
343
|
-
- **`text-input-focused`** —— 聚焦态输入框,边框转珊瑚 + 3px 珊瑚 15% 透明外环。
|
|
344
|
-
- **`footer`** —— 深藏青页脚,4 列链接,星芒标 + Anthropic 字标,从不反相。
|
|
345
|
-
|
|
346
|
-
### 图表与产品面色序
|
|
347
|
-
报表 / 数据可视化容器落在深色面上时,序列色从 `{colors.accent-teal}`、`{colors.primary}`、`{colors.on-dark-soft}` 中取,容器背景 `{colors.surface-dark}`,网格线用 `{colors.surface-dark-elevated}`;语义状态点用 `{colors.success}` / `{colors.error}`。
|
|
348
|
-
|
|
349
|
-
## Hard Rules
|
|
350
|
-
|
|
351
|
-
- 每页必须锚定 `{colors.canvas}` 奶油画布,**禁止用纯白或冷灰作画布**——暖调即品牌差异。
|
|
352
|
-
- 展示标题必须用板衬线(Copernicus / Cormorant Garamond)400 字重 + 负字距,**禁止加粗、禁止换无衬线做展示**;加重用更大字号。
|
|
353
|
-
- `{colors.primary}` 珊瑚**仅**用于主 CTA 与整幅 `callout-card-coral` / `cta-band-coral`,**禁止**作第三强调色四处点缀。
|
|
354
|
-
- **禁止**在相邻两个带用同一表面模式;节奏须交替:奶油 → 奶油卡 → 深藏青 → 奶油 → 珊瑚召唤 → 深藏青页脚。
|
|
355
|
-
- `@import` 字体加载域名**禁止替换**为 `fonts.googleapis.com`,一律走自有镜像。
|
|
356
|
-
- 只定义默认态与按下 / 聚焦态,**禁止**新增其它 hover 样式。
|
|
357
|
-
- **禁止**引入第四种表面色调(无紫卡、无绿区块):奶油 + 珊瑚 + 深藏青是唯一三元组。
|
|
358
|
-
|
|
359
|
-
## Exceptions
|
|
360
|
-
|
|
361
|
-
- 微投影 `0 1px 3px rgba(20,20,19,0.08)` 仅允许出现在 hover 抬升态,是「阴影稀有」规则下的明确例外。
|
|
362
|
-
- `button-icon-circular` 类图标按钮触达尺寸 36×36px,略低于 WCAG 44 但视觉居中,允许。
|
|
363
|
-
- 页脚与深色 CTA 带内边距用 64px(不在 spacing 刻度上),是深色带专属留白,允许。
|
|
364
|
-
|
|
365
|
-
## Do's and Don'ts
|
|
366
|
-
|
|
367
|
-
### Do
|
|
368
|
-
- 用 `feature-card`(奶油)与 `product-mockup-card-dark`(深藏青)交替成带,节奏即品牌机制。
|
|
369
|
-
- 用 `code-window-card` / `product-mockup-card-dark` 展示真实产品 chrome,而非画营销代码插画。
|
|
370
|
-
- 用星芒标作字标前缀;定价主推档用深色面而非彩色描边。
|
|
371
|
-
|
|
372
|
-
### Don't
|
|
373
|
-
- 别用 Inter 做展示标题——衬线气质才是品牌声音。
|
|
374
|
-
- 别把珊瑚铺满:它在单个元素上稀缺、只在整幅召唤卡上慷慨。
|
|
375
|
-
- 别在字标内把星芒标反相为深底白色。
|
package/steering/nestjs-react-fullstack/skills/design-guide/references/corporate-blueprint.md
DELETED
|
@@ -1,252 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
version: alpha
|
|
3
|
-
name: corporate-blueprint
|
|
4
|
-
name_zh: 蓝图
|
|
5
|
-
description: 企业蓝图视觉风——浅灰底上白色零圆角卡片,统一顶部3px深蓝强调色边线为核心识别特征;深蓝渐变强调区可叠加斜切几何装饰块;超小号全大写加粗字距标签与巨大主标题构成极端字号对比建立层级;极细0.5px分隔线传达精密感;图表配色收敛为单一蓝色相深浅五级渐变,编号 Section 标记可按内容需要使用。专业、权威、精密、可信赖。
|
|
6
|
-
colors:
|
|
7
|
-
bg: "#F4F7F9"
|
|
8
|
-
surface: "#FFFFFF"
|
|
9
|
-
muted: "#F8FAFC"
|
|
10
|
-
text: "#1A1A1A"
|
|
11
|
-
text-muted: "#94A3B8"
|
|
12
|
-
accent: "#0033A0"
|
|
13
|
-
border: "#E2E8F0"
|
|
14
|
-
success: "#10B981"
|
|
15
|
-
success-bg: "#ECFDF5"
|
|
16
|
-
danger: "#EF4444"
|
|
17
|
-
danger-bg: "#FEF2F2"
|
|
18
|
-
warning: "#F59E0B"
|
|
19
|
-
warning-bg: "#FFFBEB"
|
|
20
|
-
header-start: "#001D4A"
|
|
21
|
-
header-end: "#004B93"
|
|
22
|
-
chart-2: "#0066FF"
|
|
23
|
-
chart-3: "#4D94FF"
|
|
24
|
-
chart-4: "#99C2FF"
|
|
25
|
-
chart-5: "#CCE0FF"
|
|
26
|
-
typography:
|
|
27
|
-
sans:
|
|
28
|
-
fontFamily: 'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'
|
|
29
|
-
usage: 全局唯一字体族,覆盖所有文字层级(非手写/展示体,无需 CJK 兜底)
|
|
30
|
-
mono:
|
|
31
|
-
fontFamily: 系统等宽栈(Tailwind font-mono 默认)
|
|
32
|
-
usage: 表格数值列/辅助列等宽对齐
|
|
33
|
-
rounded:
|
|
34
|
-
none: 0
|
|
35
|
-
sm: 2px
|
|
36
|
-
chip: 4px
|
|
37
|
-
bar-top: "2px 2px 0 0"
|
|
38
|
-
scrollbar: 3px
|
|
39
|
-
full: 9999px
|
|
40
|
-
spacing:
|
|
41
|
-
section-gap: 32px
|
|
42
|
-
container-max: 1280px
|
|
43
|
-
container-px: 32px
|
|
44
|
-
card-padding: 24px
|
|
45
|
-
grid-gap: 32px
|
|
46
|
-
grid-gap-lg: 40px
|
|
47
|
-
header-overlap: -40px
|
|
48
|
-
section-title-gap: 24px
|
|
49
|
-
page-bottom: 80px
|
|
50
|
-
components:
|
|
51
|
-
header:
|
|
52
|
-
background: "linear-gradient(to bottom right,{colors.header-start},{colors.accent},{colors.header-end})"
|
|
53
|
-
decoration: "absolute top-0 right-0 w-1/2 h-full bg-white/5 skew-x-[-20deg] translate-x-1/4(斜切几何装饰块)"
|
|
54
|
-
padding: "pt-16 pb-20 px-8"
|
|
55
|
-
border: "底边 border-b border-blue-900"
|
|
56
|
-
meta-panel: "bg-black/10 backdrop-blur-sm p-6 border border-white/10(日期/地点/状态)"
|
|
57
|
-
status-badge: "px-2 py-0.5 bg-emerald-500 text-white {rounded.sm}"
|
|
58
|
-
report-card:
|
|
59
|
-
background: "{colors.surface}"
|
|
60
|
-
border: "HARD REQUIREMENT——必须使用 Tailwind 类 border-t-[3px] border-t-[#0033A0](仅顶边,其余三边 border-0/无边框),禁止省略、换色或用其他粗细替代;这是本风格唯一识别签名,任何新增卡片型组件(KPI卡/结论卡/明细卡/风险卡等)复用本组件时必须原样带上"
|
|
61
|
-
borderRadius: "HARD REQUIREMENT——必须使用 Tailwind 类 rounded-none,禁止 rounded/rounded-sm/rounded-md/rounded-lg/rounded-xl/rounded-2xl 等任何默认圆角类"
|
|
62
|
-
boxShadow: shadow-md(轻阴影)
|
|
63
|
-
padding: "{spacing.card-padding}"
|
|
64
|
-
section-header:
|
|
65
|
-
label: "text-[11px] font-black {colors.accent} uppercase tracking-[0.15em] mb-1,格式\"01. SECTION NAME\""
|
|
66
|
-
subtitle: "text-[10px] {colors.text-muted} font-medium,English description,整体 mb-6({spacing.section-title-gap})"
|
|
67
|
-
metric-block:
|
|
68
|
-
layout: "按指标数量自适应排列,单元 p-4,以 thin-border 分隔"
|
|
69
|
-
label: "text-[9px] font-black {colors.text-muted} uppercase tracking-tight mb-2"
|
|
70
|
-
value: "text-xl font-bold {colors.text}(slate-800)"
|
|
71
|
-
badge: "目标达成标签 text-[10px] {colors.success} font-bold {colors.success-bg} px-1 {rounded.chip}"
|
|
72
|
-
aux: "text-[10px] {colors.text-muted} mt-1"
|
|
73
|
-
data-table:
|
|
74
|
-
header: "border-b thin-border,text-[9px] font-black {colors.text-muted} uppercase,py-2"
|
|
75
|
-
row: "divide-y thin-border,hover:bg-slate-50 transition-colors"
|
|
76
|
-
primary-col: "text-xs font-bold {colors.accent}"
|
|
77
|
-
desc-col: "text-[11px] {colors.text-muted} font-medium(slate-600)"
|
|
78
|
-
value-col: "text-xs font-bold text-right {colors.text}(slate-800)"
|
|
79
|
-
aux-col: "text-xs font-mono text-right {colors.text-muted}"
|
|
80
|
-
risk-item:
|
|
81
|
-
background: "{colors.surface}"
|
|
82
|
-
border: "1px solid {colors.border}(thin-border),flex justify-between items-center,p-3"
|
|
83
|
-
badge: "高风险={colors.danger-bg}底{colors.danger}字 | 中风险={colors.warning-bg}底{colors.warning}字,text-[9px] font-bold px-1 {rounded.chip}"
|
|
84
|
-
title: "text-xs font-bold {colors.text}(slate-800)"
|
|
85
|
-
description: "text-[10px] {colors.text-muted} font-medium"
|
|
86
|
-
verdict-card:
|
|
87
|
-
base: "report-card,{colors.accent} 底白字反转,p-6 shadow-md"
|
|
88
|
-
title: "text-[11px] font-black text-white/50 uppercase tracking-[0.15em]"
|
|
89
|
-
value: "text-3xl font-black,主结论文字"
|
|
90
|
-
subtitle: "text-[11px] text-white/60 font-medium uppercase tracking-widest"
|
|
91
|
-
todo-item: "flex items-center gap-3,icon CheckCircle2 size=12 text-emerald-400,文字 text-[11px] font-bold text-white"
|
|
92
|
-
timeline:
|
|
93
|
-
connector: "轴线 absolute top-[1.1rem] left-0 right-0 h-[1px] bg-slate-100"
|
|
94
|
-
node: "圆环 w-10 h-10 {rounded.full} bg-white border thin-border,内圆 w-2 h-2 {rounded.full} {colors.accent},hover 边框变 {colors.accent}"
|
|
95
|
-
label: "日期 text-[9px] font-black {colors.text-muted} uppercase mb-1;阶段 text-[11px] font-bold {colors.text}(slate-800);宽度 max-w-[100px] 居中"
|
|
96
|
-
charts:
|
|
97
|
-
palette: "{colors.accent} {colors.chart-2} {colors.chart-3} {colors.chart-4} {colors.chart-5}(深→浅单色蓝五级);HARD REQUIREMENT——即便是风险预警/逾期账龄/客户流失等语义上容易联想红绿告警色的图表,数据可视化本体(柱/线/面/环/漏斗填充色)也一律只用本蓝色阶,禁止用 {colors.success}/{colors.danger}/{colors.warning} 或 emerald/red/orange 等任何非蓝色相填充图表;语义强调只能放在图表旁边的文字/徽章/图例上"
|
|
98
|
-
container: "report-card,零圆角,shadow-md,高度 h-[180px](紧凑)/h-[240px](标准)"
|
|
99
|
-
grid: "containLabel true,left/right 0,top 20,bottom 16(顶部留图例/标签空间)"
|
|
100
|
-
axis: "x 轴标签 9px font-weight 700 {colors.text-muted};y 轴刻度隐藏,仅留 {colors.border} 网格线"
|
|
101
|
-
tooltip: "{colors.surface}底,1px {colors.border}边框,{rounded.none},padding 12,文字 11px font-weight 700 {colors.text}"
|
|
102
|
-
legend: "9px font-weight 700 {colors.text-muted},名称 uppercase 格式化,icon=rect 10×6,itemGap 12"
|
|
103
|
-
bar: "barWidth 30,顶部微圆角 {rounded.bar-top}"
|
|
104
|
-
line: "smooth=false,lineWidth 2,symbol circle size 6,areaStyle opacity 0(默认无填充,需要时 0.15)"
|
|
105
|
-
pie: "实心 radius 60% / 环形 radius 40%~60% padAngle 2,均 borderWidth 0"
|
|
106
|
-
anchors:
|
|
107
|
-
- id: blueprint-top-border
|
|
108
|
-
type: component
|
|
109
|
-
desc: 白色零圆角报告卡片统一顶部粗强调色边线(见 components.report-card),风格核心识别特征
|
|
110
|
-
- id: header-gradient-skew
|
|
111
|
-
type: component
|
|
112
|
-
desc: 深蓝渐变 Header 叠加斜切几何装饰块(见 components.header),企业感开场视觉
|
|
113
|
-
- id: micro-label-scale
|
|
114
|
-
type: pattern
|
|
115
|
-
desc: 全大写加粗字距标签与超大主标题构成极端字号对比,建立强烈层级感
|
|
116
|
-
- id: thin-border-hairline
|
|
117
|
-
type: token
|
|
118
|
-
desc: 极细分隔线统一使用 colors.border,全局分隔精密而不显重
|
|
119
|
-
- id: mono-blue-chart-scale
|
|
120
|
-
type: token
|
|
121
|
-
desc: 图表序列色仅用单一色相深浅五级渐变(见 components.charts.palette),避免混入其他色相
|
|
122
|
-
- id: numbered-section-header
|
|
123
|
-
type: pattern
|
|
124
|
-
desc: Section 标题统一"编号+全大写标签+英文副标题"格式(见 components.section-header)
|
|
125
|
-
- id: zero-radius-cards
|
|
126
|
-
type: pattern
|
|
127
|
-
desc: 卡片/Tooltip/图表容器统一零圆角,仅徽章/标签/时间线节点例外(见 Exceptions)
|
|
128
|
-
- id: verdict-card-invert
|
|
129
|
-
type: component
|
|
130
|
-
desc: 结论区块使用强调色反转底色+白字的高对比收尾卡片(见 components.verdict-card)
|
|
131
|
-
gaps:
|
|
132
|
-
- 无暗色模式定义
|
|
133
|
-
- 无手写/展示体字体,仅 Inter 单一字体族,不适用 CJK 兜底规则
|
|
134
|
-
- 无 deck 画布/幻灯片专属排版规格(源为单页纵向滚动企业报告布局,幻灯片场景沿用同一体系)
|
|
135
|
-
- 无表单控件(input/select 等)规范
|
|
136
|
-
exceptions:
|
|
137
|
-
- 状态标签/风险等级标签/滚动条滑块/时间线节点/柱状图柱体允许非零圆角,是零圆角规则的例外
|
|
138
|
-
- Header 渐变中间色复用 accent,不单独建色板 token
|
|
139
|
-
- 讨论列表警告类图标使用 orange-500,是唯一脱离主色板的图标色
|
|
140
|
-
- 风险/达标类徽章(badge)允许使用 success/danger/warning 语义色,该例外仅限徽章/标签文字与底色,不适用于图表填充色(见 Hard Rules)
|
|
141
|
-
---
|
|
142
|
-
|
|
143
|
-
## Overview
|
|
144
|
-
|
|
145
|
-
企业蓝图式视觉风格。冷浅灰画布、白色报告表面、深蓝渐变强调区与编号标记共同形成专业、权威、精密、可信赖的气质。页面结构由实际内容决定,编号章节可作为签名元素按需使用。
|
|
146
|
-
|
|
147
|
-
## Colors
|
|
148
|
-
|
|
149
|
-
| 角色 | 值 | 用法 |
|
|
150
|
-
|-----|-----|-----|
|
|
151
|
-
| bg | {colors.bg} | 页面背景 |
|
|
152
|
-
| surface | {colors.surface} | 卡片背景 |
|
|
153
|
-
| muted | {colors.muted} | 次级背景区域(侧栏、辅助面板) |
|
|
154
|
-
| text | {colors.text} | 主要文字 |
|
|
155
|
-
| text-muted | {colors.text-muted} | 次要文字、标签、坐标轴文字 |
|
|
156
|
-
| accent | {colors.accent} | 强调色、标题色、卡片顶边线、图表主色 |
|
|
157
|
-
| border | {colors.border} | 卡片边框、分隔线(0.5px 极细线) |
|
|
158
|
-
| success | {colors.success} | 状态标签、目标达成标识(仅限徽章/文字,不进图表填充色) |
|
|
159
|
-
| success-bg | {colors.success-bg} | 正向标签底色 |
|
|
160
|
-
| danger | {colors.danger} | 高风险标识(仅限徽章/文字,不进图表填充色) |
|
|
161
|
-
| danger-bg | {colors.danger-bg} | 高风险标签底色 |
|
|
162
|
-
| warning | {colors.warning} | 中风险、警告图标(仅限徽章/文字,不进图表填充色) |
|
|
163
|
-
| warning-bg | {colors.warning-bg} | 中风险标签底色 |
|
|
164
|
-
| header-start | {colors.header-start} | Header 渐变起点(最深) |
|
|
165
|
-
| header-end | {colors.header-end} | Header 渐变终点(最浅);渐变中间色复用 accent |
|
|
166
|
-
| chart-2 ~ chart-5 | {colors.chart-2} … {colors.chart-5} | 图表序列第 2~5 级,与 accent(第 1 级)共构深→浅单色蓝五级渐变;风险/逾期/流失类图表也只用这 5 级,不得换用 success/danger/warning |
|
|
167
|
-
|
|
168
|
-
## Typography
|
|
169
|
-
|
|
170
|
-
全局样式首行原样写入(HARD REQUIREMENT,禁止替换):
|
|
171
|
-
|
|
172
|
-
```css
|
|
173
|
-
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
Inter 覆盖全部文字层级,非手写/展示体,系统 sans-serif 兜底已含在字体栈内,无需额外 CJK 兜底。
|
|
177
|
-
|
|
178
|
-
| 层级 | 样式(Tailwind) | 颜色 |
|
|
179
|
-
|-----|-----|-----|
|
|
180
|
-
| 页面主标题 | text-4xl md:text-5xl font-extrabold tracking-tight leading-tight | white |
|
|
181
|
-
| 页面副标题 | text-sm font-medium tracking-wide | blue-200/70 |
|
|
182
|
-
| Section 编号标签 | text-[11px] font-black uppercase tracking-[0.15em] | accent |
|
|
183
|
-
| Section 副标题 | text-[10px] font-medium | text-muted(slate-400) |
|
|
184
|
-
| KPI 数值 | text-xl font-bold | slate-800 |
|
|
185
|
-
| KPI 标签 | text-[9px] font-black uppercase tracking-tight | slate-400 |
|
|
186
|
-
| 表头文字 | text-[9px] font-black uppercase | slate-400 |
|
|
187
|
-
| 表格数据 | text-xs font-bold / text-[11px] font-medium | slate-800 / slate-600 |
|
|
188
|
-
| 正文描述 | text-[11px] font-medium leading-relaxed | slate-600 |
|
|
189
|
-
| 辅助小字 | text-[10px] font-medium | slate-400 |
|
|
190
|
-
| 元信息标签(Header 内) | text-[10px] font-bold uppercase tracking-[0.2em] | blue-100 |
|
|
191
|
-
| Footer | text-[10px] font-bold uppercase tracking-widest | slate-300 |
|
|
192
|
-
| 等宽数值 | font-mono(见 typography.mono) | 表格数值列对齐 |
|
|
193
|
-
|
|
194
|
-
## Layout
|
|
195
|
-
|
|
196
|
-
- 内容容器可参考 max-w-7xl({spacing.container-max}) 与 px-8({spacing.container-px}),但应按任务形态调整。
|
|
197
|
-
- 网格 gap-8({spacing.grid-gap}),大组件 gap-10({spacing.grid-gap-lg}),卡片内边距 p-6({spacing.card-padding})。
|
|
198
|
-
- 使用深蓝渐变强调区、编号章节、斜切装饰与顶部蓝线建立蓝图气质;这些元素可分布在任意合适区域,不规定 Header、KPI、表格、风险卡或时间线的顺序和比例。
|
|
199
|
-
- 负 margin 重叠仅作可选强调手法,不要求出现。
|
|
200
|
-
- 响应式布局按内容关系重排;列数和分栏比例不作为风格约束。
|
|
201
|
-
- 滚动条:宽 6px,轨道浅灰(#f1f1f1),滑块 accent 色,圆角 {rounded.scrollbar}。
|
|
202
|
-
|
|
203
|
-
## Elevation & Depth
|
|
204
|
-
|
|
205
|
-
阴影统一 shadow-md 轻阴影(报告卡片、图表容器、结论卡),无重阴影/多档阴影体系,依赖顶边线与极细分隔线建立层次而非阴影强度。
|
|
206
|
-
|
|
207
|
-
Hover 交互:数据表格行 `hover:bg-slate-50 transition-colors`;时间线节点圆环 `group-hover:border-[accent] transition-colors`。整体交互克制,无入场动画定义。
|
|
208
|
-
|
|
209
|
-
## Shapes
|
|
210
|
-
|
|
211
|
-
- 圆角语言:报告卡片/Tooltip/图表容器统一 {rounded.none}(零圆角,企业精密感,Tailwind 写作 rounded-none,**禁止使用 rounded/rounded-sm/rounded-md/rounded-lg/rounded-xl/rounded-2xl 等任何默认圆角类**);柱状图柱体顶部 {rounded.bar-top};状态标签 {rounded.sm};风险等级标签 {rounded.chip};时间线节点/圆点标记 {rounded.full};滚动条滑块 {rounded.scrollbar}。
|
|
212
|
-
- 边框语言:卡片顶边线 3px solid accent(通过 report-card 实现,Tailwind `border-t-[3px] border-t-[#0033A0]`,核心签名,任何新增卡片型组件必须原样带上);极细分隔线 0.5px solid border(thin-border 类);Header 底边 border-b border-blue-900;列表左侧指示 border-l-2 border-slate-100。
|
|
213
|
-
- 装饰元素:Header 斜切几何块(absolute bg-white/5 skew-x-[-20deg] translate-x-1/4);时间线横轴(absolute h-[1px] bg-slate-100,贯穿节点);色条标记(w-1 h-3 色块条,红/黄/深蓝/灰);圆点标记(w-2 h-2 rounded-full accent 色,图例/时间线节点内圆点);竖线分隔(h-4 w-[1px] bg-white/30,Header 品牌区域分隔)。
|
|
214
|
-
|
|
215
|
-
## Components
|
|
216
|
-
|
|
217
|
-
核心组件规格见 frontmatter components(header / report-card / section-header / metric-block / data-table / risk-item / verdict-card / timeline / charts)。补充细节:
|
|
218
|
-
|
|
219
|
-
- **Header**:品牌标识 w-8 h-8 bg-white 方块内深蓝文字+竖线分隔+全大写部门标签;状态标签 emerald-500 底白字。
|
|
220
|
-
- **ReportCard**:所有卡片基座,顶部边线是唯一强调,内容区自由排列(指标块/表格/图表/列表)。任何新增的卡片型组件(如新的看板模块、榜单、明细面板)只要视觉上是"白底卡片",一律直接复用 report-card 的顶边线+零圆角规格,不单独发明新样式。
|
|
221
|
-
- **MetricBlock**:指标数量自适应排列,以细边线分隔,标签在上数值在下,可选目标达成小标签。
|
|
222
|
-
- **DataTable**:主列(通常首列)用 accent 强调,其余数据列分深浅两级灰;数值列右对齐,辅助列等宽字体右对齐。
|
|
223
|
-
- **RiskItem**:高/中风险两档标签色(danger/warning 对),归属区分标签(灰)与姓名(深灰粗体)。
|
|
224
|
-
- **讨论反馈列表**:按团队分组,左侧 2px 浅灰竖线;列表项图标区分警告类(AlertTriangle,orange-500)与普通类(灰圆点)。
|
|
225
|
-
- **VerdictCard**:全区块唯一反转配色(accent 底白字),用于收尾结论,含待办清单(CheckCircle2 绿色图标)。
|
|
226
|
-
- **Timeline**:圆环节点 hover 变 accent 边框,宽度限制 max-w-[100px] 居中,日期/阶段/归属三行堆叠。
|
|
227
|
-
- **图表(ECharts)**:序列色按 charts.palette 顺序(单色蓝五级);柱状/折线/饼图/雷达/散点样式见 components.charts,统一零圆角容器+浅色网格线。**逾期账龄/风险预警/客户流失等语义上容易联想红绿告警色的图表也不例外**,填充色仍只用蓝色阶,语义强调放在图表旁边的数值文字/徽章/箭头上(参考 risk-item/metric-block 的 danger/warning/success 用法)。
|
|
228
|
-
- **Footer**:border-t thin-border,居中左右两端布局,竖线"|"分隔。
|
|
229
|
-
|
|
230
|
-
## Do's and Don'ts
|
|
231
|
-
|
|
232
|
-
- 单页编号 Section(01. 02. 03...)串联内容块,适合会议纪要/技术评审/季度报告等需要权威感和结构清晰度的场景。
|
|
233
|
-
- 文字层级通过极端字号对比建立(9px 标签 vs 3xl-5xl 主标题),避免引入中间字号削弱对比。
|
|
234
|
-
- Hover 交互保持克制,仅行高亮/边框变色两种模式,不引入弹性动效。
|
|
235
|
-
- 负 margin 制造 Header 与首行重叠是可选强调手法,非必须。
|
|
236
|
-
- 不要因为某个图表的数据语义是"风险/逾期/流失"就下意识换成红绿配色——语义色只出现在文字和徽章上,图表本体永远是蓝色阶。
|
|
237
|
-
|
|
238
|
-
## Hard Rules
|
|
239
|
-
|
|
240
|
-
- **报告卡片顶部必须带 3px accent 色边线**(Tailwind `border-t-[3px] border-t-[#0033A0]`),是核心视觉签名,任何卡片型组件(KPI卡/结论卡/明细卡/风险卡/新增卡片)复用 report-card 时都必须原样带上,禁止省略、换色或换粗细。
|
|
241
|
-
- **报告卡片/Tooltip/图表容器圆角必须为零**(Tailwind `rounded-none`),禁止 `rounded`/`rounded-sm`/`rounded-md`/`rounded-lg`/`rounded-xl`/`rounded-2xl` 等任何默认圆角类(Exceptions 列明的徽章/标签/时间线节点除外)。
|
|
242
|
-
- **图表序列色仅使用 accent→chart-5 的单一蓝色相五级渐变**,禁止引入其他色相——即便是风险预警、逾期账龄、客户流失等语义上容易联想红/绿告警色的图表,数据填充色也只用蓝色阶,语义强调只能放在图表旁边的文字/徽章/图例上,不得让 success/danger/warning 进入图表填充色。
|
|
243
|
-
- 分隔线统一 0.5px(border 色),禁止用粗边框(卡片顶边线除外)或重阴影,阴影统一 shadow-md 轻阴影。
|
|
244
|
-
- 全大写标签必须使用 font-black uppercase tracking-[0.15em] 字距,保持企业报告气质统一。
|
|
245
|
-
- 字体 @import 必须原样写入全局样式首行,禁止替换或省略(HARD REQUIREMENT)。
|
|
246
|
-
|
|
247
|
-
## Exceptions
|
|
248
|
-
|
|
249
|
-
- 状态标签/风险等级标签/滚动条滑块/时间线节点/柱状图柱体允许非零圆角(rounded-sm/rounded/rounded-full/2px 微圆角),是零圆角规则的例外。
|
|
250
|
-
- 风险标签色(danger/warning)与目标达成标签色(success)仅限对应语义场景的徽章/文字使用,不进入图表填充色,也不进入主色板日常强调。
|
|
251
|
-
- Header 渐变中间色复用 accent,不单独建色板 token。
|
|
252
|
-
- 讨论反馈列表警告类图标使用 orange-500,是唯一脱离主色板的图标色,仅限该场景。
|