@lark-apaas/coding-steering 0.1.63 → 0.1.65
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 +1 -1
- package/steering/nestjs-react-fullstack/skills/coding-guide/SKILL.md +1 -1
- package/steering/nestjs-react-fullstack/skills/design-guide/SKILL.md +3 -1
- package/steering/nestjs-react-fullstack/skills/design-guide/references/broadsheet.md +35 -33
- package/steering/nestjs-react-fullstack/skills/design-guide/references/claude-editorial-research.md +33 -33
- package/steering/nestjs-react-fullstack/skills/design-guide/references/crimson-frosted-glass.md +41 -41
- package/steering/nestjs-react-fullstack/skills/design-guide/references/cybernetic-vault-terminal.md +8 -8
- package/steering/nestjs-react-fullstack/skills/design-guide/references/dashboard.md +43 -42
- package/steering/nestjs-react-fullstack/skills/design-guide/references/digital-e-guide.md +98 -98
- package/steering/nestjs-react-fullstack/skills/design-guide/references/finance-report.md +24 -24
- package/steering/nestjs-react-fullstack/skills/design-guide/references/flowbite.md +16 -16
- package/steering/nestjs-react-fullstack/skills/design-guide/references/handwritten-sketch.md +56 -52
- package/steering/nestjs-react-fullstack/skills/design-guide/references/industry.md +40 -38
- package/steering/nestjs-react-fullstack/skills/design-guide/references/metabase.md +47 -41
- package/steering/nestjs-react-fullstack/skills/design-guide/references/minimal-jade.md +48 -48
- package/steering/nestjs-react-fullstack/skills/design-guide/references/nebula-crimson.md +23 -23
- package/steering/nestjs-react-fullstack/skills/design-guide/references/nexuscore-analytics.md +7 -7
- package/steering/nestjs-react-fullstack/skills/design-guide/references/organic-minimalism.md +43 -41
- package/steering/nestjs-react-fullstack/skills/design-guide/references/pm-spec.md +54 -53
- package/steering/nestjs-react-fullstack/skills/design-guide/references/pop-art.md +51 -43
- package/steering/nestjs-react-fullstack/skills/design-guide/references/sap-fiori-horizon.md +33 -31
- package/steering/nestjs-react-fullstack/skills/design-guide/references/token-mapping.md +17 -17
- package/steering/nestjs-react-fullstack/skills/design-guide/references/warm-elegance.md +43 -41
- package/steering/nestjs-react-fullstack/skills/design-guide/references/wild-orange.md +24 -24
package/package.json
CHANGED
|
@@ -220,7 +220,7 @@ shared/
|
|
|
220
220
|
|
|
221
221
|
**通用规则**:Agent 的全部验证入口(截图 / E2E / 接口测试 / 手写 curl)都在沙箱内部,不论直连 vite 还是经沙箱内 nginx 8080,都不经过平台网关。凡是由平台网关按路径接管的接口,在 Agent 侧一律不可达,与应用是否发布无关(实例见「`__runtime__` 接口在 Agent 验证入口下不可达」)。
|
|
222
222
|
|
|
223
|
-
- **看页面 / 白屏 / 交互**:优先用截图、视觉检查或 E2E
|
|
223
|
+
- **看页面 / 白屏 / 交互**:优先用截图、视觉检查或 E2E 工具,并只传相对路径;有视觉检查工具时先用它,需要验证交互或数据时再用 E2E;工具会打开沙箱内预览入口(E2E 走沙箱内 nginx 8080,不是平台网关)。不要用 `curl` 拿 HTML 判断页面是否渲染。
|
|
224
224
|
- **测后端接口**:优先用接口测试工具,只传以 `/api` 或 `/openapi` 开头的业务路径;工具会自动拼 `CLIENT_BASE_PATH`、选择正确 dev 端口,并补 CSRF 与用户身份。
|
|
225
225
|
- **必须手写 curl 调 `/api/*` 时**:打 client dev server,不要打 NestJS `SERVER_PORT`;URL 必须带 `$CLIENT_BASE_PATH`,并同时带 `Cookie: suda-csrf-token=<X>` 与 `X-Suda-Csrf-Token: <X>`(两值字面相等)。漏 basePath 是 404,漏 CSRF 是 403,都不是业务代码 bug,不要为此改 csrf 中间件或给接口加白名单。
|
|
226
226
|
- **不要直连 NestJS 端口**:会绕过 dev server / 网关注入,`x-larkgw-suda-webuser` 缺失后 `userContext.userId` 为空,依赖身份的接口会误判。
|
|
@@ -24,6 +24,8 @@ metadata:
|
|
|
24
24
|
|
|
25
25
|
## 选择设计方向
|
|
26
26
|
|
|
27
|
+
无论最终走哪条路径,往 `client/src/tailwind-theme.css` 写颜色前都先读 `references/token-mapping.md`,按其中的槽位含义落色。
|
|
28
|
+
|
|
27
29
|
按以下顺序判断:
|
|
28
30
|
|
|
29
31
|
### 1. 遵循用户明确指定的方向
|
|
@@ -61,7 +63,7 @@ metadata:
|
|
|
61
63
|
|
|
62
64
|
同一组中的候选如果仍只能用共同的业务用途或基础质量解释,无法用上述视觉或结构证据区分,就使用 frontend-design。否则选择差异证据最具体、同时不影响使用效率的一项;如果最初只找到一个候选,再找一个用途相近和一个感觉相近的候选进行比较,不要随机选择。
|
|
63
65
|
|
|
64
|
-
选定后,完整读取对应的 `references/<风格英文名>.md
|
|
66
|
+
选定后,完整读取对应的 `references/<风格英文名>.md`。允许根据实际内容调整信息密度、间距、尺寸和局部布局;决定风格辨识度的主要配色关系、核心材质和标志形态应保持一致。需要替换这些主要元素才能适配时,不采用该风格。
|
|
65
67
|
|
|
66
68
|
### 3. 使用 frontend-design
|
|
67
69
|
|
|
@@ -4,12 +4,14 @@ name: broadsheet
|
|
|
4
4
|
name_zh: 新闻大报
|
|
5
5
|
description: 网页新闻纸风格:纸白底、Source Serif 4 衬线字与近黑墨色构成主体,青与洋红仅作克制点色;页面层级主要依靠字阶和留白,图像可使用 CMYK 套印偏移与网点处理。
|
|
6
6
|
colors:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
background: "#f3f2f2"
|
|
8
|
+
card: "#eae9e9"
|
|
9
|
+
foreground: "#201e1d"
|
|
10
|
+
primary: "#0088b0"
|
|
11
|
+
primary-foreground: "#f3f2f2"
|
|
12
|
+
ring: "#0088b0"
|
|
13
|
+
primary-dark: "#006786"
|
|
14
|
+
highlight: "#d6006c"
|
|
13
15
|
process-yellow: "#edbb00"
|
|
14
16
|
neutral-dark: "#2d2b2b"
|
|
15
17
|
typography:
|
|
@@ -39,11 +41,11 @@ rounded:
|
|
|
39
41
|
lg: "4px"
|
|
40
42
|
components:
|
|
41
43
|
primary-button:
|
|
42
|
-
background: "{colors.
|
|
43
|
-
color: "{colors.
|
|
44
|
+
background: "{colors.primary}"
|
|
45
|
+
color: "{colors.primary-foreground}"
|
|
44
46
|
fontFamily: "{typography.heading.fontFamily}"
|
|
45
47
|
card:
|
|
46
|
-
background: "{colors.
|
|
48
|
+
background: "{colors.card}"
|
|
47
49
|
description: "仅用于真正离散的条目,不作为页面布局容器"
|
|
48
50
|
cmyk-image:
|
|
49
51
|
description: "CMYK 分色印版错位叠印与网点处理;完整结构和依赖见来源规格"
|
|
@@ -80,7 +82,7 @@ exceptions:
|
|
|
80
82
|
|
|
81
83
|
## Colors
|
|
82
84
|
|
|
83
|
-
页面使用 {colors.
|
|
85
|
+
页面使用 {colors.background} 纸底与 {colors.foreground} 墨色;{colors.primary} 和 {colors.highlight} 小面积点色,同一小组件只使用其中一种。段落级青字使用 {colors.primary-dark}。主按钮文字用 {colors.primary-foreground},键盘焦点环用 {colors.ring}。
|
|
84
86
|
|
|
85
87
|
## Typography
|
|
86
88
|
|
|
@@ -107,14 +109,14 @@ HARD REQUIREMENT:字体加载与字体族分工禁止替换。标题、正文
|
|
|
107
109
|
## Hard Rules
|
|
108
110
|
|
|
109
111
|
- 同一小组件只使用青或洋红中的一种。
|
|
110
|
-
- 正文青色使用 {colors.
|
|
112
|
+
- 正文青色使用 {colors.primary-dark};工艺黄只进入印刷处理。
|
|
111
113
|
- 页面结构由字阶与留白组织,卡片仅承载真正离散的条目。
|
|
112
114
|
- Source Serif 4 真斜体随正文字重加载,不使用合成斜体。
|
|
113
115
|
|
|
114
116
|
## Exceptions
|
|
115
117
|
|
|
116
118
|
- 工艺黄只用于 CMYK 分色、印版数字等印刷处理。
|
|
117
|
-
- 真正离散的列表条目可使用
|
|
119
|
+
- 真正离散的列表条目可使用 card 卡片与源规格投影。
|
|
118
120
|
|
|
119
121
|
## Source Specification
|
|
120
122
|
|
|
@@ -132,13 +134,13 @@ HARD REQUIREMENT:字体加载与字体族分工禁止替换。标题、正文
|
|
|
132
134
|
|
|
133
135
|
| Token | 值 | 用途 |
|
|
134
136
|
| --- | --- | --- |
|
|
135
|
-
| `--color-
|
|
136
|
-
| `--color-
|
|
137
|
-
| `--color-
|
|
138
|
-
| `--color-
|
|
139
|
-
| `--color-
|
|
137
|
+
| `--color-background` | `#f3f2f2` | 纸白底 |
|
|
138
|
+
| `--color-card` | `#eae9e9` | 卡片 / 面板填充 |
|
|
139
|
+
| `--color-foreground` | `#201e1d` | 墨色正文 |
|
|
140
|
+
| `--color-primary` | `#0088b0` | 青 —— 交互元素专用 |
|
|
141
|
+
| `--color-highlight` | `#d6006c` | 洋红 —— 更罕用的第二点色 |
|
|
140
142
|
| `--color-process-yellow` | `#edbb00` | 第三道工艺墨,**仅印刷处理**用(CMYK 分色、印版数字);正文与界面 chrome 永不取它 |
|
|
141
|
-
| `--color-divider` | `
|
|
143
|
+
| `--color-divider` | `foreground` 16% 混合 | 1px 细线 |
|
|
142
144
|
|
|
143
145
|
**双点色,但不许同框**:一个小组件里不能同时出现青和洋红。
|
|
144
146
|
|
|
@@ -146,9 +148,9 @@ HARD REQUIREMENT:字体加载与字体族分工禁止替换。标题、正文
|
|
|
146
148
|
|
|
147
149
|
**Neutral** `#f8f4f4` · `#eae7e7` · `#d7d3d3` · `#bab6b6` · `#9b9797` · `#7d7979` · `#605d5d` · `#444141` · `#2d2b2b`
|
|
148
150
|
|
|
149
|
-
**
|
|
151
|
+
**Primary(青)** `#e9f8ff` · `#cbeeff` · `#99e0ff` · `#62c5ee` · `#38a6cf` · `#1186ac` · `#006786` · `#004961` · `#0a303e`
|
|
150
152
|
|
|
151
|
-
**
|
|
153
|
+
**Highlight(洋红)** `#fff1f4` · `#ffdee6` · `#ffc0d0` · `#ff90b1` · `#ff458e` · `#d82071` · `#aa0b56` · `#790e3d` · `#4b1528`
|
|
152
154
|
|
|
153
155
|
用法规则:
|
|
154
156
|
- 100–300 → 浅色填充、hover 底、细边框
|
|
@@ -158,7 +160,7 @@ HARD REQUIREMENT:字体加载与字体族分工禁止替换。标题、正文
|
|
|
158
160
|
|
|
159
161
|
#### 对比度红线
|
|
160
162
|
|
|
161
|
-
|
|
163
|
+
primary 对纸底只到 **3:1** —— 够图标、大字号、界面 chrome,**不够正文**。段落级青字必须用 `--color-primary-700`(`#006786`)。
|
|
162
164
|
|
|
163
165
|
---
|
|
164
166
|
|
|
@@ -185,12 +187,12 @@ accent 对纸底只到 **3:1** —— 够图标、大字号、界面 chrome,**
|
|
|
185
187
|
| h5 | 16px | |
|
|
186
188
|
| h6 | 13px | **全大写**,letter-spacing 0.08em |
|
|
187
189
|
| body | 15px | |
|
|
188
|
-
| figcaption | 11px |
|
|
190
|
+
| figcaption | 11px | foreground 55% |
|
|
189
191
|
| `.card-title` | 17px | heading 族 600 |
|
|
190
192
|
| `.card-kicker` | 10px | 大写,ls 0.1em,青色 |
|
|
191
193
|
| `.btn` / `.input` | 14px | 刻意同字号——注册行里两者并排 |
|
|
192
194
|
| `.tag` | 11px | |
|
|
193
|
-
| `.table th` | 11px | 大写,ls 0.08em,
|
|
195
|
+
| `.table th` | 11px | 大写,ls 0.08em,foreground 60% |
|
|
194
196
|
|
|
195
197
|
**不许为界面 chrome 引入无衬线字**——衬线本身就是 chrome。
|
|
196
198
|
|
|
@@ -243,25 +245,25 @@ accent 对纸底只到 **3:1** —— 够图标、大字号、界面 chrome,**
|
|
|
243
245
|
|
|
244
246
|
| 类名 | 说明 |
|
|
245
247
|
| --- | --- |
|
|
246
|
-
| `.btn` + `.btn-primary / -secondary / -ghost / -icon / -block` | primary 是实心青填充,文字 `--color-
|
|
248
|
+
| `.btn` + `.btn-primary / -secondary / -ghost / -icon / -block` | primary 是实心青填充,文字 `--color-background`;字体用 heading 族 600 / 14px;`.btn-icon` 36×36 |
|
|
247
249
|
| `.tag` + `.tag-accent / -accent-2 / -neutral / -outline` | 色阶染色小标签(100 底 + 800 字) |
|
|
248
|
-
| `.field` + `label` / `.input` / `.radio` + `.dot` / `.seg` + `.seg-opt` | 原生元素表单,无脚本。`.input` 36px 高、
|
|
249
|
-
| `.card` + `.card-kicker / -title / -body / -meta`;`.elev-sm/md/lg` |
|
|
250
|
+
| `.field` + `label` / `.input` / `.radio` + `.dot` / `.seg` + `.seg-opt` | 原生元素表单,无脚本。`.input` 36px 高、card 底、caret 用青;placeholder 明确定为 foreground 65%(实测 4.8:1,浏览器默认灰过不了小字 4.5:1) |
|
|
251
|
+
| `.card` + `.card-kicker / -title / -body / -meta`;`.elev-sm/md/lg` | card 填充卡。**只用于真正离散的条目**(如列表项),绝不用来搭布局 |
|
|
250
252
|
| `.nav` + `.nav-brand` | 顶栏,`border-bottom: none`(刻意) |
|
|
251
253
|
| `.table` | 大写细字表头 + 8% 墨行线,hover 行底 4% |
|
|
252
254
|
| `.dialog-backdrop` + `.dialog`(`-title / -body / -actions`) | 最高层模态 |
|
|
253
255
|
| `.hr` | 1px 细线,存在但本系统偏好留白——**避免使用** |
|
|
254
|
-
| `.text-muted` |
|
|
256
|
+
| `.text-muted` | foreground 55% |
|
|
255
257
|
|
|
256
258
|
#### 交互态(已内建,不要逐页重写)
|
|
257
259
|
|
|
258
|
-
- `.btn-primary` hover → `--color-
|
|
259
|
-
- `.btn-secondary` hover →
|
|
260
|
+
- `.btn-primary` hover → `--color-primary-600`;active → `--color-primary-700`
|
|
261
|
+
- `.btn-secondary` hover → foreground 7%;active → 14%
|
|
260
262
|
- `.btn-ghost` hover → 青 10%;active → 18%
|
|
261
|
-
- `.input:hover` → 边框
|
|
262
|
-
- `.radio input:checked + .dot` → 青填充 + `inset 0 0 0 4px var(--color-
|
|
263
|
+
- `.input:hover` → 边框 foreground 45%;`:focus-visible` → 青边框,`outline-offset: 0`
|
|
264
|
+
- `.radio input:checked + .dot` → 青填充 + `inset 0 0 0 4px var(--color-background)` 做出内圈
|
|
263
265
|
- `.seg-opt:has(input:checked)` → 青底 + 纸色字
|
|
264
|
-
- 键盘焦点:`:focus-visible { outline: 2px solid var(--color-
|
|
266
|
+
- 键盘焦点:`:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px }`
|
|
265
267
|
- `::selection` → 青 30%
|
|
266
268
|
- disabled → `opacity: 0.45` + `cursor: not-allowed`
|
|
267
269
|
- `a` → 青,`text-underline-offset: 3px`;`.nav a:hover` / `[aria-current=page]` → 青
|
|
@@ -280,7 +282,7 @@ Phosphor(phosphoricons.com),**统一用 duotone 字重**。
|
|
|
280
282
|
4. 为界面 chrome 引入无衬线字
|
|
281
283
|
5. `.card` 当布局容器
|
|
282
284
|
6. `.hr` 当主要分隔手段
|
|
283
|
-
7. 正文级文字用 `--color-
|
|
285
|
+
7. 正文级文字用 `--color-primary` 本值(要用 `-700`)
|
|
284
286
|
8. 工艺黄出现在正文或界面 chrome 里
|
|
285
287
|
9. 合成斜体(用真斜体)
|
|
286
288
|
10. 硬编码 hex / 字体名 / px(token 里已有的)
|
package/steering/nestjs-react-fullstack/skills/design-guide/references/claude-editorial-research.md
CHANGED
|
@@ -6,7 +6,7 @@ description: 暖奶油画布 + 珊瑚强调 + 深藏青产品面的社论式 AI
|
|
|
6
6
|
anchors:
|
|
7
7
|
- id: canvas
|
|
8
8
|
type: token
|
|
9
|
-
desc: 暖调奶油底色,全站默认地板,刻意不用纯白/冷灰,见 colors.
|
|
9
|
+
desc: 暖调奶油底色,全站默认地板,刻意不用纯白/冷灰,见 colors.background
|
|
10
10
|
- id: primary
|
|
11
11
|
type: token
|
|
12
12
|
desc: 品牌珊瑚色,稀用于主 CTA、慷慨用于整幅召唤卡,从不作第三强调色
|
|
@@ -28,17 +28,17 @@ anchors:
|
|
|
28
28
|
colors:
|
|
29
29
|
primary: "#cc785c"
|
|
30
30
|
primary-active: "#a9583e"
|
|
31
|
-
|
|
31
|
+
foreground: "#141413"
|
|
32
32
|
body: "#3d3d3a"
|
|
33
|
-
muted: "#6c6a64"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
muted-foreground: "#6c6a64"
|
|
34
|
+
border: "#e6dfd8"
|
|
35
|
+
background: "#faf9f5"
|
|
36
|
+
card: "#efe9de"
|
|
37
37
|
surface-cream-strong: "#e8e0d2"
|
|
38
38
|
surface-dark: "#181715"
|
|
39
39
|
surface-dark-elevated: "#252320"
|
|
40
40
|
surface-dark-soft: "#1f1e1b"
|
|
41
|
-
|
|
41
|
+
primary-foreground: "#ffffff"
|
|
42
42
|
on-dark: "#faf9f5"
|
|
43
43
|
on-dark-soft: "#a09d96"
|
|
44
44
|
accent-teal: "#5db8a6"
|
|
@@ -134,7 +134,7 @@ spacing:
|
|
|
134
134
|
components:
|
|
135
135
|
button-primary:
|
|
136
136
|
background: "{colors.primary}"
|
|
137
|
-
color: "{colors.
|
|
137
|
+
color: "{colors.primary-foreground}"
|
|
138
138
|
typography: "{typography.button}"
|
|
139
139
|
rounded: "{rounded.md}"
|
|
140
140
|
padding: 12px 20px
|
|
@@ -153,20 +153,20 @@ components:
|
|
|
153
153
|
typography: "{typography.body-md}"
|
|
154
154
|
description: 正文内联链接用珊瑚色,是系统最有辨识度的小细节
|
|
155
155
|
top-nav:
|
|
156
|
-
background: "{colors.
|
|
157
|
-
color: "{colors.
|
|
156
|
+
background: "{colors.background}"
|
|
157
|
+
color: "{colors.foreground}"
|
|
158
158
|
typography: "{typography.nav-link}"
|
|
159
159
|
height: 64px
|
|
160
160
|
description: 奶油顶栏,左侧 Anthropic 星芒标 + Claude 字标,右侧珊瑚主按钮
|
|
161
161
|
hero-band:
|
|
162
|
-
background: "{colors.
|
|
163
|
-
color: "{colors.
|
|
162
|
+
background: "{colors.background}"
|
|
163
|
+
color: "{colors.foreground}"
|
|
164
164
|
typography: "{typography.display-xl}"
|
|
165
165
|
padding: 96px
|
|
166
166
|
description: 奶油画布英雄区,6/6 栅格:左标题右插画或产品 mockup
|
|
167
167
|
feature-card:
|
|
168
|
-
background: "{colors.
|
|
169
|
-
color: "{colors.
|
|
168
|
+
background: "{colors.card}"
|
|
169
|
+
color: "{colors.foreground}"
|
|
170
170
|
typography: "{typography.title-md}"
|
|
171
171
|
rounded: "{rounded.lg}"
|
|
172
172
|
padding: 32px
|
|
@@ -195,28 +195,28 @@ components:
|
|
|
195
195
|
description: 主推档位卡,深色面本身即「featured」信号,其余档位为奶油描边
|
|
196
196
|
callout-card-coral:
|
|
197
197
|
background: "{colors.primary}"
|
|
198
|
-
color: "{colors.
|
|
198
|
+
color: "{colors.primary-foreground}"
|
|
199
199
|
typography: "{typography.title-md}"
|
|
200
200
|
rounded: "{rounded.lg}"
|
|
201
201
|
padding: 48px
|
|
202
202
|
description: 整幅珊瑚召唤卡,内部 CTA 反相为奶油按钮
|
|
203
203
|
cta-band-coral:
|
|
204
204
|
background: "{colors.primary}"
|
|
205
|
-
color: "{colors.
|
|
205
|
+
color: "{colors.primary-foreground}"
|
|
206
206
|
typography: "{typography.display-sm}"
|
|
207
207
|
rounded: "{rounded.lg}"
|
|
208
208
|
padding: 64px
|
|
209
209
|
description: 页脚前珊瑚 CTA 带,标题仍是衬线
|
|
210
210
|
badge-coral:
|
|
211
211
|
background: "{colors.primary}"
|
|
212
|
-
color: "{colors.
|
|
212
|
+
color: "{colors.primary-foreground}"
|
|
213
213
|
typography: "{typography.caption-uppercase}"
|
|
214
214
|
rounded: "{rounded.pill}"
|
|
215
215
|
padding: 4px 12px
|
|
216
216
|
description: NEW / BETA 珊瑚胶囊徽章
|
|
217
217
|
text-input-focused:
|
|
218
|
-
background: "{colors.
|
|
219
|
-
color: "{colors.
|
|
218
|
+
background: "{colors.background}"
|
|
219
|
+
color: "{colors.foreground}"
|
|
220
220
|
typography: "{typography.body-md}"
|
|
221
221
|
rounded: "{rounded.md}"
|
|
222
222
|
border: 1px {colors.primary}
|
|
@@ -238,13 +238,13 @@ gaps:
|
|
|
238
238
|
|
|
239
239
|
## Overview
|
|
240
240
|
|
|
241
|
-
Claude 是 AI 产品品类里最暖、最社论化的界面。基底气质是一层**带暖调的奶油画布**(`{colors.
|
|
241
|
+
Claude 是 AI 产品品类里最暖、最社论化的界面。基底气质是一层**带暖调的奶油画布**(`{colors.background}`)——刻意不用其它 AI 品牌惯用的冷灰白或纯白。标题走**板衬线展示体**(Copernicus / Tiempos Headline,替代 Cormorant Garamond)400 字重 + 负字距,配 **StyreneB / Inter** 人文无衬线正文,读感是文学出版物而非 SaaS 营销页。
|
|
242
242
|
|
|
243
243
|
品牌电压只来自**奶油 + 珊瑚**这对暖色:珊瑚(`{colors.primary}`)是 Anthropic 招牌强调色,稀用于每个主 CTA 与品牌字标,慷慨用于整幅召唤卡,从不作第三强调色。珊瑚偏暖略哑,绝不偏青蓝——是对冷色调 AI 品牌的刻意反位。
|
|
244
244
|
|
|
245
245
|
三种表面模式逐屏交替:
|
|
246
|
-
1. **奶油画布** `{colors.
|
|
247
|
-
2. **奶油特性卡** `{colors.
|
|
246
|
+
1. **奶油画布** `{colors.background}` —— 默认正文地板
|
|
247
|
+
2. **奶油特性卡** `{colors.card}` —— 比画布深一档
|
|
248
248
|
3. **深藏青产品面** `{colors.surface-dark}` —— 代码窗、模型卡、页脚前 CTA、页脚本身
|
|
249
249
|
|
|
250
250
|
深色面是 Claude 展示真实产品 chrome(代码块、终端、模型对比表)之处,而非抽象营销插画;奶油到深色的对比即页面节奏。层级半径:`{rounded.md}` 用于按钮与输入框,`{rounded.lg}` 用于内容与产品卡,`{rounded.xl}` 用于英雄插画容器,`{rounded.pill}` 用于徽章。段落节奏 `{spacing.section}` 恒定,卡内留白慷慨 `{spacing.xl}`。
|
|
@@ -257,19 +257,19 @@ Claude 是 AI 产品品类里最暖、最社论化的界面。基底气质是一
|
|
|
257
257
|
- **强调青** `{colors.accent-teal}`:极少量用于次级产品面(终端状态点、连接器「活跃」指示)。
|
|
258
258
|
|
|
259
259
|
### 表面
|
|
260
|
-
- **画布** `{colors.
|
|
261
|
-
- **奶油卡** `{colors.
|
|
260
|
+
- **画布** `{colors.background}`:默认地板,暖奶油,非纯白。
|
|
261
|
+
- **奶油卡** `{colors.card}`:特性卡、内容卡,比画布深一档。
|
|
262
262
|
- **强奶油** `{colors.surface-cream-strong}`:选中态分类标签、强调段落带。
|
|
263
263
|
- **深藏青** `{colors.surface-dark}`:代码窗、模型卡、页脚,主导深色面。
|
|
264
264
|
- **深藏青抬升** `{colors.surface-dark-elevated}`:深色带内的抬升卡与次级按钮。
|
|
265
265
|
- **深藏青柔** `{colors.surface-dark-soft}`:大深色卡内代码块背景。
|
|
266
|
-
- **发丝线** `{colors.
|
|
266
|
+
- **发丝线** `{colors.border}`:奶油面上的 1px 边框色,边界像一档抬升而非墨线。
|
|
267
267
|
|
|
268
268
|
### 文本
|
|
269
|
-
- **墨** `{colors.
|
|
269
|
+
- **墨** `{colors.foreground}`:所有标题与主文本,暖深、略偏离纯黑。
|
|
270
270
|
- **正文** `{colors.body}`:默认行文色。
|
|
271
|
-
- **弱化** `{colors.muted}`:子标题、面包屑、次要文本。
|
|
272
|
-
- **珊瑚上白字** `{colors.
|
|
271
|
+
- **弱化** `{colors.muted-foreground}`:子标题、面包屑、次要文本。
|
|
272
|
+
- **珊瑚上白字** `{colors.primary-foreground}`:珊瑚按钮上文字。
|
|
273
273
|
- **深面上字** `{colors.on-dark}`:深色面上的奶油调白(呼应画布)。
|
|
274
274
|
- **深面弱字** `{colors.on-dark-soft}`:页脚正文、深 mockup 内次级标签。
|
|
275
275
|
|
|
@@ -308,8 +308,8 @@ Copernicus / Tiempos Headline / StyreneB 是 Anthropic 授权字体、无公开
|
|
|
308
308
|
| 层级 | 处理 | 用途 |
|
|
309
309
|
|---|---|---|
|
|
310
310
|
| 平 | 无阴影无边框 | 正文段、顶栏、英雄带 |
|
|
311
|
-
| 发丝线 | 1px `{colors.
|
|
312
|
-
| 奶油卡 | `{colors.
|
|
311
|
+
| 发丝线 | 1px `{colors.border}` 边框 | 输入框、次级导航、偶尔卡片 |
|
|
312
|
+
| 奶油卡 | `{colors.card}` 背景、无阴影 | 特性卡、内容卡 |
|
|
313
313
|
| 深面卡 | `{colors.surface-dark}` 背景、无阴影 | 代码窗、模型卡 |
|
|
314
314
|
| 微投影 | `0 1px 3px rgba(20,20,19,0.08)`(稀用) | 仅 hover 抬升态 |
|
|
315
315
|
|
|
@@ -328,12 +328,12 @@ Copernicus / Tiempos Headline / StyreneB 是 Anthropic 授权字体、无公开
|
|
|
328
328
|
|
|
329
329
|
## Components
|
|
330
330
|
|
|
331
|
-
- **`button-primary`** —— 招牌珊瑚 CTA,`{colors.primary}` 底 + `{colors.
|
|
331
|
+
- **`button-primary`** —— 招牌珊瑚 CTA,`{colors.primary}` 底 + `{colors.primary-foreground}` 字,`{typography.button}`,`{rounded.md}`,按下态转 `{colors.primary-active}`。
|
|
332
332
|
- **`button-secondary-on-dark`** —— 深色面上次级按钮,`{colors.surface-dark-elevated}` 底,保持深色不反相。
|
|
333
333
|
- **`text-link`** —— 正文珊瑚内联链接,系统最有辨识度的小细节。
|
|
334
334
|
- **`top-nav`** —— 64px 奶油顶栏,星芒标 + Claude 字标 + 珊瑚主按钮。
|
|
335
335
|
- **`hero-band`** —— 奶油英雄区,6/6 分栏,纵向 `{spacing.section}` 留白。
|
|
336
|
-
- **`feature-card`** —— 奶油特性卡(`{colors.
|
|
336
|
+
- **`feature-card`** —— 奶油特性卡(`{colors.card}`),3-up 栅格,`{rounded.lg}`,`{spacing.xl}` 内边距。
|
|
337
337
|
- **`product-mockup-card-dark`** —— 深藏青产品卡,展示真实 Claude 界面片段。
|
|
338
338
|
- **`code-window-card`** —— 深色代码窗,行号 + 语法高亮,内嵌块用 `{colors.surface-dark-soft}`,开发页面招牌视觉。
|
|
339
339
|
- **`pricing-tier-card-featured`** —— 主推档位卡翻为 `{colors.surface-dark}`,深色面本身即 featured 信号。
|
|
@@ -348,7 +348,7 @@ Copernicus / Tiempos Headline / StyreneB 是 Anthropic 授权字体、无公开
|
|
|
348
348
|
|
|
349
349
|
## Hard Rules
|
|
350
350
|
|
|
351
|
-
- 每页必须锚定 `{colors.
|
|
351
|
+
- 每页必须锚定 `{colors.background}` 奶油画布,**禁止用纯白或冷灰作画布**——暖调即品牌差异。
|
|
352
352
|
- 展示标题必须用板衬线(Copernicus / Cormorant Garamond)400 字重 + 负字距,**禁止加粗、禁止换无衬线做展示**;加重用更大字号。
|
|
353
353
|
- `{colors.primary}` 珊瑚**仅**用于主 CTA 与整幅 `callout-card-coral` / `cta-band-coral`,**禁止**作第三强调色四处点缀。
|
|
354
354
|
- **禁止**在相邻两个带用同一表面模式;节奏须交替:奶油 → 奶油卡 → 深藏青 → 奶油 → 珊瑚召唤 → 深藏青页脚。
|
package/steering/nestjs-react-fullstack/skills/design-guide/references/crimson-frosted-glass.md
CHANGED
|
@@ -4,24 +4,24 @@ name: crimson-frosted-glass
|
|
|
4
4
|
name_zh: 暗黑毛玻璃
|
|
5
5
|
description: 毛玻璃暗色界面风——纯黑底 + 固定模糊背景图 + 三段渐变遮罩,浮层为半透明白毛玻璃卡片(细边框+24px 大圆角+无阴影),红色强调色(#FF4D4D)点缀主数据系列/图标/趋势标记;超大粗体标题(text-5xl~text-7xl,extrabold/black,tracking-tighter);内容采用杂志式层级与错落节奏。高端、沉浸、数据自信。
|
|
6
6
|
colors:
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
background: "#000000"
|
|
8
|
+
card: "rgba(255,255,255,0.05)"
|
|
9
9
|
surface-hover: "rgba(255,255,255,0.10)"
|
|
10
10
|
header-from: "rgba(0,0,0,0.60)"
|
|
11
11
|
header-via: "rgba(0,0,0,0.80)"
|
|
12
12
|
header-to: "#000000"
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
foreground: "#FFFFFF"
|
|
14
|
+
muted-foreground: "rgba(255,255,255,0.60)"
|
|
15
15
|
text-50: "rgba(255,255,255,0.50)"
|
|
16
16
|
text-40: "rgba(255,255,255,0.40)"
|
|
17
17
|
text-30: "rgba(255,255,255,0.30)"
|
|
18
|
-
|
|
18
|
+
primary: "#FF4D4D"
|
|
19
19
|
border: "rgba(255,255,255,0.10)"
|
|
20
20
|
icon-bg: "rgba(255,255,255,0.05)"
|
|
21
21
|
button-active-bg: "#FFFFFF"
|
|
22
22
|
button-active-text: "#000000"
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
primary-area-top: "rgba(255,77,77,0.30)"
|
|
24
|
+
primary-area-bottom: "rgba(255,77,77,0)"
|
|
25
25
|
inactive-bar: "rgba(255,255,255,0.10)"
|
|
26
26
|
positive: "#4ADE80"
|
|
27
27
|
positive-bg: "rgba(34,197,94,0.20)"
|
|
@@ -54,15 +54,15 @@ spacing:
|
|
|
54
54
|
card-padding-lg: 32px
|
|
55
55
|
components:
|
|
56
56
|
glass-card:
|
|
57
|
-
background: "{colors.
|
|
57
|
+
background: "{colors.card}"
|
|
58
58
|
backdropFilter: "blur(12px)"
|
|
59
59
|
border: "1px solid {colors.border}"
|
|
60
60
|
borderRadius: "{rounded.card}"
|
|
61
61
|
hover: "background→{colors.surface-hover},transition-all duration-300"
|
|
62
62
|
stat-card:
|
|
63
63
|
base: "glass-card p-6 flex flex-col justify-between h-full group"
|
|
64
|
-
top: "标签 text-sm {colors.
|
|
65
|
-
value: "text-3xl font-extrabold {colors.
|
|
64
|
+
top: "标签 text-sm {colors.muted-foreground} tracking-wider uppercase(左)+ 图标容器 p-2 {colors.icon-bg} rounded-xl group-hover:scale-110(右)"
|
|
65
|
+
value: "text-3xl font-extrabold {colors.foreground}"
|
|
66
66
|
subtitle: "text-sm {colors.text-40}"
|
|
67
67
|
icon: "lucide-react,语义色(icon-orange/icon-blue/negative 等)"
|
|
68
68
|
hero-card:
|
|
@@ -71,36 +71,36 @@ components:
|
|
|
71
71
|
avatars: "flex -space-x-2,头像 w-8 h-8 rounded-full border-2 border-black {colors.surface-hover},计数块 bg-white text-black text-[10px] font-bold"
|
|
72
72
|
chart-layer: "absolute inset-0 top-32,面积图铺满剩余空间"
|
|
73
73
|
navigation:
|
|
74
|
-
base: "使用 {colors.
|
|
74
|
+
base: "使用 {colors.card} 毛玻璃表面与 {colors.border} 分隔,位置和形态由应用信息架构决定"
|
|
75
75
|
logo: "w-12 h-12 rounded-full border-2 border-white/20,hover:border-white"
|
|
76
76
|
nav-item: "p-4 {rounded.nav-item},激活=bg-white text-black shadow-lg shadow-white/20;非激活={colors.text-40} hover:text-white hover:{colors.icon-bg}"
|
|
77
77
|
time-toggle:
|
|
78
78
|
base: "flex items-center space-x-4 {colors.surface-hover} p-2 {rounded.button-group} backdrop-blur-md"
|
|
79
79
|
active: "px-6 py-2 {rounded.button} {colors.button-active-bg} {colors.button-active-text} font-bold text-sm"
|
|
80
|
-
inactive: "px-6 py-2 {rounded.button} {colors.
|
|
80
|
+
inactive: "px-6 py-2 {rounded.button} {colors.muted-foreground} font-bold text-sm hover:text-white"
|
|
81
81
|
charts:
|
|
82
|
-
palette: "{colors.
|
|
82
|
+
palette: "{colors.primary} {colors.foreground} #FFA366 #4DFF88(红/白/橙/绿,序列固定顺序)"
|
|
83
83
|
container: "glass-card,{rounded.card},无阴影,p-6(标准)/p-8(大图表)"
|
|
84
|
-
tooltip: "背景 rgba(0,0,0,0.80),{rounded.tooltip},backdrop-blur(8px),文字 {colors.
|
|
84
|
+
tooltip: "背景 rgba(0,0,0,0.80),{rounded.tooltip},backdrop-blur(8px),文字 {colors.foreground}"
|
|
85
85
|
axis: "yAxis 默认隐藏标签,xAxis 标签 {colors.text-30},网格线 rgba(255,255,255,0.05)"
|
|
86
|
-
area-fill: "折线区域渐变 {colors.
|
|
87
|
-
bar: "水平条形,首项(最大值) {colors.
|
|
86
|
+
area-fill: "折线区域渐变 {colors.primary-area-top} → {colors.primary-area-bottom}"
|
|
87
|
+
bar: "水平条形,首项(最大值) {colors.primary},其余 {colors.inactive-bar},borderRadius {rounded.bar-end}"
|
|
88
88
|
anchors:
|
|
89
89
|
- id: black-glass-base
|
|
90
90
|
type: pattern
|
|
91
|
-
desc: 纯黑背景(colors.
|
|
91
|
+
desc: 纯黑背景(colors.background)+固定模糊背景图+三段渐变遮罩(colors.header-from/via/to)作全页底层,毛玻璃卡片浮于其上
|
|
92
92
|
- id: glass-card-signature
|
|
93
93
|
type: component
|
|
94
94
|
desc: 毛玻璃卡片(components.glass-card)半透明白底+backdrop-blur+细白边框+大圆角(rounded.card),是全页核心识别单元
|
|
95
95
|
- id: crimson-accent
|
|
96
96
|
type: token
|
|
97
|
-
desc: 强调色(colors.
|
|
97
|
+
desc: 强调色(colors.primary)专用于主数据系列/图标/趋势标记,点缀式使用不铺大面积
|
|
98
98
|
- id: oversized-heading
|
|
99
99
|
type: pattern
|
|
100
100
|
desc: 页面主标题超大字重(font-extrabold~font-black)搭配 tracking-tighter,弱化词用 text-40 斜体细体
|
|
101
101
|
- id: no-shadow-depth
|
|
102
102
|
type: pattern
|
|
103
|
-
desc: 层次感几乎不依赖阴影,靠毛玻璃透明度分级(
|
|
103
|
+
desc: 层次感几乎不依赖阴影,靠毛玻璃透明度分级(card/surface-hover/border)营造深度
|
|
104
104
|
- id: four-color-chart-sequence
|
|
105
105
|
type: token
|
|
106
106
|
desc: 图表统一序列色(components.charts.palette 红/白/橙/绿固定顺序),不随意扩展色数
|
|
@@ -125,17 +125,17 @@ exceptions:
|
|
|
125
125
|
|
|
126
126
|
| 角色 | 值 | 用法 |
|
|
127
127
|
|-----|-----|------|
|
|
128
|
-
|
|
|
129
|
-
|
|
|
128
|
+
| background | {colors.background} | 页面背景,纯黑 |
|
|
129
|
+
| card | {colors.card} | 毛玻璃卡片/Sidebar/图标容器背景 |
|
|
130
130
|
| surface-hover | {colors.surface-hover} | 卡片/按钮组 hover 背景 |
|
|
131
131
|
| header-from/via/to | {colors.header-from} → {colors.header-via} → {colors.header-to} | 固定背景层三段渐变遮罩 |
|
|
132
|
-
|
|
|
133
|
-
| text-
|
|
134
|
-
|
|
|
132
|
+
| foreground | {colors.foreground} | 主要文字 |
|
|
133
|
+
| muted-foreground/text-50/40/30 | {colors.muted-foreground}/{colors.text-50}/{colors.text-40}/{colors.text-30} | 四档次要文字:标签/描述/辅助/极小字 |
|
|
134
|
+
| primary | {colors.primary} | 主强调色:数据系列、图标、趋势标记、按钮激活强调 |
|
|
135
135
|
| border | {colors.border} | 卡片边框、Sidebar 分隔线 |
|
|
136
|
-
| icon-bg | {colors.icon-bg} | 图标容器背景(值同
|
|
136
|
+
| icon-bg | {colors.icon-bg} | 图标容器背景(值同 card) |
|
|
137
137
|
| button-active-bg/text | {colors.button-active-bg}/{colors.button-active-text} | 激活态按钮/浮动按钮反色底 |
|
|
138
|
-
|
|
|
138
|
+
| primary-area-top/bottom | {colors.primary-area-top} → {colors.primary-area-bottom} | 面积图渐变填充 |
|
|
139
139
|
| inactive-bar | {colors.inactive-bar} | 条形图非强调条 |
|
|
140
140
|
| positive/positive-bg | {colors.positive}/{colors.positive-bg} | 趋势正向文字/标签底 |
|
|
141
141
|
| negative | {colors.negative} | 趋势负向文字、图标-红色(复用同值) |
|
|
@@ -151,19 +151,19 @@ exceptions:
|
|
|
151
151
|
|
|
152
152
|
| 层级 | 样式 | 颜色 |
|
|
153
153
|
|-----|-----|-----|
|
|
154
|
-
| 页面主标题 | text-5xl md:text-7xl font-extrabold tracking-tighter leading-none | {colors.
|
|
155
|
-
| Hero KPI 数值 | text-6xl font-black | {colors.
|
|
156
|
-
| Section 标题 | text-2xl font-black italic | {colors.
|
|
157
|
-
| 卡片内标题 | text-xl font-bold | {colors.
|
|
158
|
-
| KPI 数值(卡片) | text-3xl font-extrabold | {colors.
|
|
159
|
-
| 标签/分类 | text-sm font-medium tracking-wider uppercase | {colors.
|
|
154
|
+
| 页面主标题 | text-5xl md:text-7xl font-extrabold tracking-tighter leading-none | {colors.foreground},弱化部分 {colors.text-40} italic font-light |
|
|
155
|
+
| Hero KPI 数值 | text-6xl font-black | {colors.foreground} |
|
|
156
|
+
| Section 标题 | text-2xl font-black italic | {colors.foreground} |
|
|
157
|
+
| 卡片内标题 | text-xl font-bold | {colors.foreground} |
|
|
158
|
+
| KPI 数值(卡片) | text-3xl font-extrabold | {colors.foreground} |
|
|
159
|
+
| 标签/分类 | text-sm font-medium tracking-wider uppercase | {colors.muted-foreground} |
|
|
160
160
|
| 小标签 | text-sm font-bold uppercase tracking-widest | {colors.text-40} |
|
|
161
161
|
| 趋势标签 | text-xs font-bold | {colors.positive},bg {colors.positive-bg},{rounded.trend-tag} |
|
|
162
162
|
| 描述文字 | text-lg leading-relaxed | {colors.text-50} |
|
|
163
163
|
| 辅助小字 | text-sm | {colors.text-40} |
|
|
164
164
|
| 极小字 | text-[10px] uppercase tracking-tighter | {colors.text-30} |
|
|
165
|
-
| 按钮文字 | text-sm font-bold | 激活 {colors.button-active-text};非激活 {colors.
|
|
166
|
-
| 突出标题 | text-4xl font-black uppercase | {colors.
|
|
165
|
+
| 按钮文字 | text-sm font-bold | 激活 {colors.button-active-text};非激活 {colors.muted-foreground} |
|
|
166
|
+
| 突出标题 | text-4xl font-black uppercase | {colors.foreground} |
|
|
167
167
|
|
|
168
168
|
## Layout
|
|
169
169
|
|
|
@@ -171,13 +171,13 @@ exceptions:
|
|
|
171
171
|
- 页面模块按业务内容自由组织,可用大小悬殊的毛玻璃卡片形成杂志式焦点;不得固定导航位置、3/4+1/4 分栏、洞察列数或区块顺序。
|
|
172
172
|
- 间距:主内容 padding {spacing.content-padding-mobile} → md:{spacing.content-padding-desktop};Section 间 {spacing.section-gap}~{spacing.section-gap-lg};卡片间 {spacing.card-gap};Header 内 gap {spacing.header-gap};卡片内边距 {spacing.card-padding}(标准)/{spacing.card-padding-lg}(大图表)。
|
|
173
173
|
- 响应式:宽屏可强化错落层级;窄屏按阅读和操作优先级重排,标题缩放、图例简化,导航采用适合当前应用的移动形态。
|
|
174
|
-
- 滚动条:宽 6px,轨道 {colors.
|
|
174
|
+
- 滚动条:宽 6px,轨道 {colors.background},滑块 #333,圆角 10px。
|
|
175
175
|
|
|
176
176
|
## Elevation & Depth
|
|
177
177
|
|
|
178
|
-
- 整体不依赖阴影分层,靠毛玻璃透明度梯度({colors.
|
|
178
|
+
- 整体不依赖阴影分层,靠毛玻璃透明度梯度({colors.card} → {colors.surface-hover})+ 1px 边框({colors.border})营造深度。
|
|
179
179
|
- 例外阴影:导航激活态 shadow-lg shadow-white/20;移动浮动按钮 shadow-2xl;其余元素无阴影。
|
|
180
|
-
- Hover:卡片背景微亮(
|
|
180
|
+
- Hover:卡片背景微亮(card→surface-hover),图标 group-hover:scale-110,按钮/导航文字色反转或加深,浮动按钮 hover:rotate-45,过渡统一 transition-all duration-300。
|
|
181
181
|
|
|
182
182
|
## Shapes
|
|
183
183
|
|
|
@@ -202,14 +202,14 @@ frontmatter components 已含核心规格,补充细节:
|
|
|
202
202
|
|
|
203
203
|
- 图表配色优先使用 charts.palette 四色顺序,不随意扩展或调换顺序。
|
|
204
204
|
- Hover 交互统一 transition-all duration-300,避免不同组件使用不一致的过渡时长。
|
|
205
|
-
- 弱化文字用透明度阶梯(text-
|
|
206
|
-
- 大圆角(rounded.card)与强调色(
|
|
205
|
+
- 弱化文字用透明度阶梯(muted-foreground/text-50/40/30)表达层级,不引入新的灰度色板。
|
|
206
|
+
- 大圆角(rounded.card)与强调色(primary)是核心识别特征,新增卡片类组件应延用而非另起圆角值。
|
|
207
207
|
|
|
208
208
|
## Hard Rules
|
|
209
209
|
|
|
210
|
-
- 背景必须为纯黑({colors.
|
|
210
|
+
- 背景必须为纯黑({colors.background})+固定模糊背景图+三段渐变遮罩,禁止改为浅色或纯色背景。
|
|
211
211
|
- 卡片类容器必须使用毛玻璃(components.glass-card):半透明白底+backdrop-blur+细边框+{rounded.card},禁止实色不透明卡片。
|
|
212
|
-
- 强调色 {colors.
|
|
212
|
+
- 强调色 {colors.primary} 仅用于主数据系列/图标/趋势标记的点缀式强调,禁止大面积铺色。
|
|
213
213
|
- 字体 @import 必须原样写入全局样式首行,禁止替换或省略(HARD REQUIREMENT)。
|
|
214
214
|
- 图表序列色必须使用 charts.palette 固定顺序(红/白/橙/绿),禁止引入额外颜色。
|
|
215
215
|
|
package/steering/nestjs-react-fullstack/skills/design-guide/references/cybernetic-vault-terminal.md
CHANGED
|
@@ -5,12 +5,12 @@ name_zh: 赛博机库
|
|
|
5
5
|
description: "深空蓝黑底的赛博数据终端:亮青蓝为唯一高能强调,深色嵌套面板、等宽技术标签与模块化网格共同形成高信息密度但清晰的操作界面。适合分析、监控、后台、工作流工具与产品展示;动态网格或粒子只作内容后的环境层。"
|
|
6
6
|
colors:
|
|
7
7
|
primary: "#0EA5E9"
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
highlight: "#FFFFFF"
|
|
9
|
+
primary-2: "#3B82F6"
|
|
10
10
|
background: "#020617"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
card: "#0F172A"
|
|
12
|
+
foreground: "#FFFFFF"
|
|
13
|
+
muted-foreground: "#A1A1AA"
|
|
14
14
|
border: "#27272A"
|
|
15
15
|
typography:
|
|
16
16
|
display-lg:
|
|
@@ -40,10 +40,10 @@ rounded:
|
|
|
40
40
|
pill: "9999px"
|
|
41
41
|
components:
|
|
42
42
|
card:
|
|
43
|
-
background: "Use the
|
|
43
|
+
background: "Use the card token with subtle borders and restrained shadow depth"
|
|
44
44
|
radius: "Match the declared card radius token"
|
|
45
45
|
button:
|
|
46
|
-
background: "Use primary or
|
|
46
|
+
background: "Use primary or primary-2 colors for the main action"
|
|
47
47
|
radius: "Use the declared control or pill radius according to component role"
|
|
48
48
|
---
|
|
49
49
|
# Cybernetic Vault Terminal
|
|
@@ -54,7 +54,7 @@ Tags: dashboard, animated, webgl, threejs, bento, dither, charts, support.
|
|
|
54
54
|
## Composition
|
|
55
55
|
建立一个明确焦点,并可用不对称模块网格展开内容;保持紧凑导航、嵌套表面和主次指标层级。具体首屏结构和模块顺序由任务决定,窄屏按阅读顺序重排,操作不能因装饰层遮挡。
|
|
56
56
|
## Colors
|
|
57
|
-
Anchor the palette in primary #0EA5E9,
|
|
57
|
+
Anchor the palette in primary #0EA5E9, highlight #FFFFFF, primary-2 #3B82F6, background #020617, card #0F172A, foreground #FFFFFF. Keep background, surface, text, and border roles distinct so generated layouts retain the same contrast pattern as the source.
|
|
58
58
|
## Typography
|
|
59
59
|
Use Inter for display moments and Inter for body copy unless the HTML clearly demands a compatible fallback. Labels and technical metadata should use JetBrains Mono or an equivalent mono face.
|
|
60
60
|
## Layout
|