@lark-apaas/coding-steering 0.1.52 → 0.1.53-alpha.20260916135943
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/crimson-frosted-glass.md
DELETED
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
version: alpha
|
|
3
|
-
name: crimson-frosted-glass
|
|
4
|
-
name_zh: 暗黑毛玻璃
|
|
5
|
-
description: 毛玻璃暗色界面风——纯黑底 + 固定模糊背景图 + 三段渐变遮罩,浮层为半透明白毛玻璃卡片(细边框+24px 大圆角+无阴影),红色强调色(#FF4D4D)点缀主数据系列/图标/趋势标记;超大粗体标题(text-5xl~text-7xl,extrabold/black,tracking-tighter);内容采用杂志式层级与错落节奏。高端、沉浸、数据自信。
|
|
6
|
-
colors:
|
|
7
|
-
bg: "#000000"
|
|
8
|
-
surface: "rgba(255,255,255,0.05)"
|
|
9
|
-
surface-hover: "rgba(255,255,255,0.10)"
|
|
10
|
-
header-from: "rgba(0,0,0,0.60)"
|
|
11
|
-
header-via: "rgba(0,0,0,0.80)"
|
|
12
|
-
header-to: "#000000"
|
|
13
|
-
text: "#FFFFFF"
|
|
14
|
-
text-60: "rgba(255,255,255,0.60)"
|
|
15
|
-
text-50: "rgba(255,255,255,0.50)"
|
|
16
|
-
text-40: "rgba(255,255,255,0.40)"
|
|
17
|
-
text-30: "rgba(255,255,255,0.30)"
|
|
18
|
-
accent: "#FF4D4D"
|
|
19
|
-
border: "rgba(255,255,255,0.10)"
|
|
20
|
-
icon-bg: "rgba(255,255,255,0.05)"
|
|
21
|
-
button-active-bg: "#FFFFFF"
|
|
22
|
-
button-active-text: "#000000"
|
|
23
|
-
accent-area-top: "rgba(255,77,77,0.30)"
|
|
24
|
-
accent-area-bottom: "rgba(255,77,77,0)"
|
|
25
|
-
inactive-bar: "rgba(255,255,255,0.10)"
|
|
26
|
-
positive: "#4ADE80"
|
|
27
|
-
positive-bg: "rgba(34,197,94,0.20)"
|
|
28
|
-
negative: "#EF4444"
|
|
29
|
-
icon-orange: "#FB923C"
|
|
30
|
-
icon-blue: "#60A5FA"
|
|
31
|
-
typography:
|
|
32
|
-
sans:
|
|
33
|
-
fontFamily: 'Inter, sans-serif'
|
|
34
|
-
fontWeight: 400
|
|
35
|
-
usage: 全局唯一字体(Tailwind font-sans),标题字重上探至 800(extrabold)/900(black)
|
|
36
|
-
rounded:
|
|
37
|
-
card: 24px
|
|
38
|
-
button-group: 16px
|
|
39
|
-
button: 12px
|
|
40
|
-
icon: 12px
|
|
41
|
-
nav-item: 16px
|
|
42
|
-
trend-tag: 8px
|
|
43
|
-
avatar: 9999px
|
|
44
|
-
tooltip: 12px
|
|
45
|
-
bar-end: "0px 10px 10px 0px"
|
|
46
|
-
spacing:
|
|
47
|
-
content-padding-mobile: 16px
|
|
48
|
-
content-padding-desktop: 48px
|
|
49
|
-
section-gap: 32px
|
|
50
|
-
section-gap-lg: 48px
|
|
51
|
-
card-gap: 24px
|
|
52
|
-
header-gap: 32px
|
|
53
|
-
card-padding: 24px
|
|
54
|
-
card-padding-lg: 32px
|
|
55
|
-
components:
|
|
56
|
-
glass-card:
|
|
57
|
-
background: "{colors.surface}"
|
|
58
|
-
backdropFilter: "blur(12px)"
|
|
59
|
-
border: "1px solid {colors.border}"
|
|
60
|
-
borderRadius: "{rounded.card}"
|
|
61
|
-
hover: "background→{colors.surface-hover},transition-all duration-300"
|
|
62
|
-
stat-card:
|
|
63
|
-
base: "glass-card p-6 flex flex-col justify-between h-full group"
|
|
64
|
-
top: "标签 text-sm {colors.text-60} tracking-wider uppercase(左)+ 图标容器 p-2 {colors.icon-bg} rounded-xl group-hover:scale-110(右)"
|
|
65
|
-
value: "text-3xl font-extrabold {colors.text}"
|
|
66
|
-
subtitle: "text-sm {colors.text-40}"
|
|
67
|
-
icon: "lucide-react,语义色(icon-orange/icon-blue/negative 等)"
|
|
68
|
-
hero-card:
|
|
69
|
-
base: "glass-card overflow-hidden relative;尺寸按内容和可用空间确定"
|
|
70
|
-
header: "小标签 text-sm {colors.text-40} uppercase tracking-widest + 大数值 text-6xl font-black + 趋势标签({colors.positive}/{colors.positive-bg}/{rounded.trend-tag}) + 时间戳 {colors.text-30}"
|
|
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
|
-
chart-layer: "absolute inset-0 top-32,面积图铺满剩余空间"
|
|
73
|
-
navigation:
|
|
74
|
-
base: "使用 {colors.surface} 毛玻璃表面与 {colors.border} 分隔,位置和形态由应用信息架构决定"
|
|
75
|
-
logo: "w-12 h-12 rounded-full border-2 border-white/20,hover:border-white"
|
|
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
|
-
time-toggle:
|
|
78
|
-
base: "flex items-center space-x-4 {colors.surface-hover} p-2 {rounded.button-group} backdrop-blur-md"
|
|
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.text-60} font-bold text-sm hover:text-white"
|
|
81
|
-
charts:
|
|
82
|
-
palette: "{colors.accent} {colors.text} #FFA366 #4DFF88(红/白/橙/绿,序列固定顺序)"
|
|
83
|
-
container: "glass-card,{rounded.card},无阴影,p-6(标准)/p-8(大图表)"
|
|
84
|
-
tooltip: "背景 rgba(0,0,0,0.80),{rounded.tooltip},backdrop-blur(8px),文字 {colors.text}"
|
|
85
|
-
axis: "yAxis 默认隐藏标签,xAxis 标签 {colors.text-30},网格线 rgba(255,255,255,0.05)"
|
|
86
|
-
area-fill: "折线区域渐变 {colors.accent-area-top} → {colors.accent-area-bottom}"
|
|
87
|
-
bar: "水平条形,首项(最大值) {colors.accent},其余 {colors.inactive-bar},borderRadius {rounded.bar-end}"
|
|
88
|
-
anchors:
|
|
89
|
-
- id: black-glass-base
|
|
90
|
-
type: pattern
|
|
91
|
-
desc: 纯黑背景(colors.bg)+固定模糊背景图+三段渐变遮罩(colors.header-from/via/to)作全页底层,毛玻璃卡片浮于其上
|
|
92
|
-
- id: glass-card-signature
|
|
93
|
-
type: component
|
|
94
|
-
desc: 毛玻璃卡片(components.glass-card)半透明白底+backdrop-blur+细白边框+大圆角(rounded.card),是全页核心识别单元
|
|
95
|
-
- id: crimson-accent
|
|
96
|
-
type: token
|
|
97
|
-
desc: 强调色(colors.accent)专用于主数据系列/图标/趋势标记,点缀式使用不铺大面积
|
|
98
|
-
- id: oversized-heading
|
|
99
|
-
type: pattern
|
|
100
|
-
desc: 页面主标题超大字重(font-extrabold~font-black)搭配 tracking-tighter,弱化词用 text-40 斜体细体
|
|
101
|
-
- id: no-shadow-depth
|
|
102
|
-
type: pattern
|
|
103
|
-
desc: 层次感几乎不依赖阴影,靠毛玻璃透明度分级(surface/surface-hover/border)营造深度
|
|
104
|
-
- id: four-color-chart-sequence
|
|
105
|
-
type: token
|
|
106
|
-
desc: 图表统一序列色(components.charts.palette 红/白/橙/绿固定顺序),不随意扩展色数
|
|
107
|
-
gaps:
|
|
108
|
-
- 无表单控件(input/select/checkbox 等)规范
|
|
109
|
-
- 无 Empty/Loading/Error 状态定义
|
|
110
|
-
- 单一暗色主题,无 light mode 定义
|
|
111
|
-
- Sidebar 具体图标集未列出,仅注明限定 lucide-react 图标库
|
|
112
|
-
- 头像图片/背景模糊图片来源未定义,仅注明 URL 可替换
|
|
113
|
-
exceptions:
|
|
114
|
-
- 圆形头像/Logo/进度环使用全圆 rounded.avatar,不套用卡片 24px 大圆角体系
|
|
115
|
-
- 导航激活态/移动浮动按钮/滚动条滑块允许有阴影(shadow-lg/shadow-2xl),不受"整体无阴影"规则约束
|
|
116
|
-
- 断点适配下的字号/间距/网格列数、图表高度、Section 子网格列数、背景模糊图片 URL、头像图片 URL、切换按钮数量与文案允许按需微调
|
|
117
|
-
- 图标限定 lucide-react 图标库,可按需更换具体图标
|
|
118
|
-
---
|
|
119
|
-
|
|
120
|
-
## Overview
|
|
121
|
-
|
|
122
|
-
毛玻璃暗色界面风格。纯黑背景 + 固定模糊背景图 + 三段渐变遮罩打底,浮层为半透明白毛玻璃卡片(细边框+大圆角+无阴影),红色强调色专用于主数据系列/图标/趋势标记的点缀式强调。内容区使用杂志式大小对比和错落节奏,具体导航与模块结构服从任务。情绪基调:高端、沉浸、数据自信。
|
|
123
|
-
|
|
124
|
-
## Colors
|
|
125
|
-
|
|
126
|
-
| 角色 | 值 | 用法 |
|
|
127
|
-
|-----|-----|------|
|
|
128
|
-
| bg | {colors.bg} | 页面背景,纯黑 |
|
|
129
|
-
| surface | {colors.surface} | 毛玻璃卡片/Sidebar/图标容器背景 |
|
|
130
|
-
| surface-hover | {colors.surface-hover} | 卡片/按钮组 hover 背景 |
|
|
131
|
-
| header-from/via/to | {colors.header-from} → {colors.header-via} → {colors.header-to} | 固定背景层三段渐变遮罩 |
|
|
132
|
-
| text | {colors.text} | 主要文字 |
|
|
133
|
-
| text-60/50/40/30 | {colors.text-60}/{colors.text-50}/{colors.text-40}/{colors.text-30} | 四档次要文字:标签/描述/辅助/极小字 |
|
|
134
|
-
| accent | {colors.accent} | 主强调色:数据系列、图标、趋势标记、按钮激活强调 |
|
|
135
|
-
| border | {colors.border} | 卡片边框、Sidebar 分隔线 |
|
|
136
|
-
| icon-bg | {colors.icon-bg} | 图标容器背景(值同 surface) |
|
|
137
|
-
| button-active-bg/text | {colors.button-active-bg}/{colors.button-active-text} | 激活态按钮/浮动按钮反色底 |
|
|
138
|
-
| accent-area-top/bottom | {colors.accent-area-top} → {colors.accent-area-bottom} | 面积图渐变填充 |
|
|
139
|
-
| inactive-bar | {colors.inactive-bar} | 条形图非强调条 |
|
|
140
|
-
| positive/positive-bg | {colors.positive}/{colors.positive-bg} | 趋势正向文字/标签底 |
|
|
141
|
-
| negative | {colors.negative} | 趋势负向文字、图标-红色(复用同值) |
|
|
142
|
-
| icon-orange/icon-blue | {colors.icon-orange}/{colors.icon-blue} | 辅助图标色 |
|
|
143
|
-
|
|
144
|
-
## Typography
|
|
145
|
-
|
|
146
|
-
全局样式首行原样写入(HARD REQUIREMENT,禁止替换):
|
|
147
|
-
|
|
148
|
-
```css
|
|
149
|
-
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
|
|
150
|
-
```
|
|
151
|
-
|
|
152
|
-
| 层级 | 样式 | 颜色 |
|
|
153
|
-
|-----|-----|-----|
|
|
154
|
-
| 页面主标题 | text-5xl md:text-7xl font-extrabold tracking-tighter leading-none | {colors.text},弱化部分 {colors.text-40} italic font-light |
|
|
155
|
-
| Hero KPI 数值 | text-6xl font-black | {colors.text} |
|
|
156
|
-
| Section 标题 | text-2xl font-black italic | {colors.text} |
|
|
157
|
-
| 卡片内标题 | text-xl font-bold | {colors.text} |
|
|
158
|
-
| KPI 数值(卡片) | text-3xl font-extrabold | {colors.text} |
|
|
159
|
-
| 标签/分类 | text-sm font-medium tracking-wider uppercase | {colors.text-60} |
|
|
160
|
-
| 小标签 | text-sm font-bold uppercase tracking-widest | {colors.text-40} |
|
|
161
|
-
| 趋势标签 | text-xs font-bold | {colors.positive},bg {colors.positive-bg},{rounded.trend-tag} |
|
|
162
|
-
| 描述文字 | text-lg leading-relaxed | {colors.text-50} |
|
|
163
|
-
| 辅助小字 | text-sm | {colors.text-40} |
|
|
164
|
-
| 极小字 | text-[10px] uppercase tracking-tighter | {colors.text-30} |
|
|
165
|
-
| 按钮文字 | text-sm font-bold | 激活 {colors.button-active-text};非激活 {colors.text-60} |
|
|
166
|
-
| 突出标题 | text-4xl font-black uppercase | {colors.text} |
|
|
167
|
-
|
|
168
|
-
## Layout
|
|
169
|
-
|
|
170
|
-
- 固定背景层(最底层,均 fixed inset-0 pointer-events-none):模糊图片 opacity-40 + 渐变遮罩 linear-gradient(to bottom, {colors.header-from}, {colors.header-via}, {colors.header-to})。
|
|
171
|
-
- 页面模块按业务内容自由组织,可用大小悬殊的毛玻璃卡片形成杂志式焦点;不得固定导航位置、3/4+1/4 分栏、洞察列数或区块顺序。
|
|
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
|
-
- 响应式:宽屏可强化错落层级;窄屏按阅读和操作优先级重排,标题缩放、图例简化,导航采用适合当前应用的移动形态。
|
|
174
|
-
- 滚动条:宽 6px,轨道 {colors.bg},滑块 #333,圆角 10px。
|
|
175
|
-
|
|
176
|
-
## Elevation & Depth
|
|
177
|
-
|
|
178
|
-
- 整体不依赖阴影分层,靠毛玻璃透明度梯度({colors.surface} → {colors.surface-hover})+ 1px 边框({colors.border})营造深度。
|
|
179
|
-
- 例外阴影:导航激活态 shadow-lg shadow-white/20;移动浮动按钮 shadow-2xl;其余元素无阴影。
|
|
180
|
-
- Hover:卡片背景微亮(surface→surface-hover),图标 group-hover:scale-110,按钮/导航文字色反转或加深,浮动按钮 hover:rotate-45,过渡统一 transition-all duration-300。
|
|
181
|
-
|
|
182
|
-
## Shapes
|
|
183
|
-
|
|
184
|
-
- 圆角体系(全部见 frontmatter rounded):卡片 {rounded.card},按钮组 {rounded.button-group},按钮/图标 {rounded.button}/{rounded.icon},导航项 {rounded.nav-item},趋势标签 {rounded.trend-tag},头像/Logo/进度环 {rounded.avatar}(全圆,例外见 Exceptions),Tooltip {rounded.tooltip},条形图右端 {rounded.bar-end}。
|
|
185
|
-
- 边框:卡片 1px solid {colors.border};Sidebar 右边框同色;Logo border-2 border-white/20(hover→border-white);头像堆叠 border-2 border-black;Sidebar 头像 border border-white/20。
|
|
186
|
-
- 无手绘/有机形态语言,全部规则矩形/圆形几何。
|
|
187
|
-
|
|
188
|
-
## Components
|
|
189
|
-
|
|
190
|
-
frontmatter components 已含核心规格,补充细节:
|
|
191
|
-
|
|
192
|
-
- **glass-card**:所有卡片基座,毛玻璃背景+细边框+大圆角,无阴影。
|
|
193
|
-
- **stat-card**:紧凑数据卡,顶部标签+图标,底部数值+副标题,可按信息关系独立使用。
|
|
194
|
-
- **hero-card**:用于主数据焦点的较大卡片,包含面积图背景层和顶部信息层;尺寸和位置按内容决定。
|
|
195
|
-
- **navigation**:若业务需要导航,沿用毛玻璃表面、图标容器和反色激活态,不限制侧栏或顶栏。
|
|
196
|
-
- **time-toggle**:时间段切换按钮组,激活态反色(白底黑字)。
|
|
197
|
-
- **图例**:自定义 HTML/CSS 实现(非 ECharts 内置 legend),水平图例 flex + 圆点色块 + 大写标签;垂直图例 space-y-3 + 圆点+名称+数值。
|
|
198
|
-
- **SVG 圆环进度**:relative w-24 h-24,背景环 stroke white/5,进度环 stroke {colors.negative} strokeWidth 3 strokeLinecap round,中心数字 font-bold text-xl。
|
|
199
|
-
- **图表(ECharts)**:序列色/容器/Tooltip/坐标轴规则见 frontmatter components.charts;折线默认 smooth+区域渐变,阶梯折线用于辅助系列;饼图环形 55%~73% padAngle 5 无描边;水平条形首项高亮其余灰。
|
|
200
|
-
|
|
201
|
-
## Do's and Don'ts
|
|
202
|
-
|
|
203
|
-
- 图表配色优先使用 charts.palette 四色顺序,不随意扩展或调换顺序。
|
|
204
|
-
- Hover 交互统一 transition-all duration-300,避免不同组件使用不一致的过渡时长。
|
|
205
|
-
- 弱化文字用透明度阶梯(text-60/50/40/30)表达层级,不引入新的灰度色板。
|
|
206
|
-
- 大圆角(rounded.card)与强调色(accent)是核心识别特征,新增卡片类组件应延用而非另起圆角值。
|
|
207
|
-
|
|
208
|
-
## Hard Rules
|
|
209
|
-
|
|
210
|
-
- 背景必须为纯黑({colors.bg})+固定模糊背景图+三段渐变遮罩,禁止改为浅色或纯色背景。
|
|
211
|
-
- 卡片类容器必须使用毛玻璃(components.glass-card):半透明白底+backdrop-blur+细边框+{rounded.card},禁止实色不透明卡片。
|
|
212
|
-
- 强调色 {colors.accent} 仅用于主数据系列/图标/趋势标记的点缀式强调,禁止大面积铺色。
|
|
213
|
-
- 字体 @import 必须原样写入全局样式首行,禁止替换或省略(HARD REQUIREMENT)。
|
|
214
|
-
- 图表序列色必须使用 charts.palette 固定顺序(红/白/橙/绿),禁止引入额外颜色。
|
|
215
|
-
|
|
216
|
-
## Exceptions
|
|
217
|
-
|
|
218
|
-
- 圆形头像/Logo/进度环使用全圆 {rounded.avatar},不套用卡片 {rounded.card} 大圆角体系。
|
|
219
|
-
- 导航激活态、移动浮动按钮、滚动条滑块允许有阴影(shadow-lg/shadow-2xl),不受"整体无阴影"规则约束。
|
|
220
|
-
- 断点适配下的字号/间距/网格列数、图表高度、Section 子网格列数、背景模糊图片 URL、头像图片 URL、切换按钮数量与文案允许按需微调。
|
|
221
|
-
- 图标限定 lucide-react 图标库,可按需更换具体图标。
|
package/steering/nestjs-react-fullstack/skills/design-guide/references/cybernetic-vault-terminal.md
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
version: "neuform-staff-featured-2026-05-22"
|
|
3
|
-
name: cybernetic-vault-terminal
|
|
4
|
-
name_zh: 赛博机库
|
|
5
|
-
description: "深空蓝黑底的赛博数据终端:亮青蓝为唯一高能强调,深色嵌套面板、等宽技术标签与模块化网格共同形成高信息密度但清晰的操作界面。适合分析、监控、后台、工作流工具与产品展示;动态网格或粒子只作内容后的环境层。"
|
|
6
|
-
colors:
|
|
7
|
-
primary: "#0EA5E9"
|
|
8
|
-
secondary: "#FFFFFF"
|
|
9
|
-
accent: "#3B82F6"
|
|
10
|
-
background: "#020617"
|
|
11
|
-
surface: "#0F172A"
|
|
12
|
-
text-primary: "#FFFFFF"
|
|
13
|
-
text-secondary: "#A1A1AA"
|
|
14
|
-
border: "#27272A"
|
|
15
|
-
typography:
|
|
16
|
-
display-lg:
|
|
17
|
-
fontFamily: "Inter"
|
|
18
|
-
fontSize: "64px"
|
|
19
|
-
fontWeight: 500
|
|
20
|
-
lineHeight: "1.04"
|
|
21
|
-
letterSpacing: "0"
|
|
22
|
-
body-md:
|
|
23
|
-
fontFamily: "Inter"
|
|
24
|
-
fontSize: "16px"
|
|
25
|
-
fontWeight: 400
|
|
26
|
-
lineHeight: "1.6"
|
|
27
|
-
label-md:
|
|
28
|
-
fontFamily: "JetBrains Mono"
|
|
29
|
-
fontSize: "12px"
|
|
30
|
-
fontWeight: 600
|
|
31
|
-
lineHeight: "1.2"
|
|
32
|
-
spacing:
|
|
33
|
-
base: "8px"
|
|
34
|
-
gap: "16px"
|
|
35
|
-
card-padding: "24px"
|
|
36
|
-
section-padding: "80px"
|
|
37
|
-
rounded:
|
|
38
|
-
card: "24px"
|
|
39
|
-
control: "23px"
|
|
40
|
-
pill: "9999px"
|
|
41
|
-
components:
|
|
42
|
-
card:
|
|
43
|
-
background: "Use the surface token with subtle borders and restrained shadow depth"
|
|
44
|
-
radius: "Match the declared card radius token"
|
|
45
|
-
button:
|
|
46
|
-
background: "Use primary or accent colors for the main action"
|
|
47
|
-
radius: "Use the declared control or pill radius according to component role"
|
|
48
|
-
---
|
|
49
|
-
# Cybernetic Vault Terminal
|
|
50
|
-
Source: Neuform staff featured templates. Author: Aksonvady Phomhome (@aksonvady). Views: 583; favorites: 13; remixes: 2.
|
|
51
|
-
Tags: dashboard, animated, webgl, threejs, bento, dither, charts, support.
|
|
52
|
-
## Overview
|
|
53
|
-
深空蓝黑界面以清晰的信息密度、模块化面板和稳定节奏呈现工作流。亮青蓝只强调关键动作、主指标与当前状态;Inter 承担正文,JetBrains Mono 承担标签和技术元数据。适合产品展示、管理后台、分析体验、监控与支持工具。
|
|
54
|
-
## Composition
|
|
55
|
-
建立一个明确焦点,并可用不对称模块网格展开内容;保持紧凑导航、嵌套表面和主次指标层级。具体首屏结构和模块顺序由任务决定,窄屏按阅读顺序重排,操作不能因装饰层遮挡。
|
|
56
|
-
## Colors
|
|
57
|
-
Anchor the palette in primary #0EA5E9, secondary #FFFFFF, accent #3B82F6, background #020617, surface #0F172A, text-primary #FFFFFF. Keep background, surface, text, and border roles distinct so generated layouts retain the same contrast pattern as the source.
|
|
58
|
-
## Typography
|
|
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
|
-
## Layout
|
|
61
|
-
Keep spacing deliberate and stable. Choose grid direction, max-width, card density, and responsive stacking from the content relationships. Source layouts are examples, not structures to reproduce.
|
|
62
|
-
## Components
|
|
63
|
-
Dashboard, chart, and data panels should preserve their compact operational hierarchy, nested surfaces, and metric emphasis.
|
|
64
|
-
## Motion
|
|
65
|
-
Preserve existing motion cues such as masked reveals, staggered entrance, hover lift, scroll-triggered transitions, and ambient movement. Keep easing smooth and restrained.
|
|
66
|
-
## WebGL & Effects
|
|
67
|
-
|
|
68
|
-
If the source includes canvas, WebGL, Three.js, gradients, particles, or atmospheric effects, rebuild them as supporting layers behind the content. Keep effects performant, responsive, and secondary to the interface.
|
|
69
|
-
|
|
70
|
-
## Guardrails
|
|
71
|
-
- Do not flatten the source into a generic card grid.
|
|
72
|
-
- Do not swap the color mode unless the source clearly supports it.
|
|
73
|
-
- Preserve a strong focal signal and the intended visual density without copying a fixed first-viewport composition.
|
|
74
|
-
- Keep buttons, cards, and badges aligned to the same radius and border language.
|
|
@@ -1,233 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
version: alpha
|
|
3
|
-
name: dashboard
|
|
4
|
-
name_zh: 陶土净台
|
|
5
|
-
description: >-
|
|
6
|
-
暖调米白底 + 纯白卡片 + 陶土橙单强调色的数据看板风格。零阴影,层次全靠
|
|
7
|
-
极细暖灰边框与底色/表面的明度差;内容模块按任务关系自由组合,数据图表使用
|
|
8
|
-
内联 SVG。文字为暖黑,小标签全大写宽字距,
|
|
9
|
-
大数字收紧字距;系统字体栈,无 webfont。密度中等偏疏朗,气质克制、干净、温润。
|
|
10
|
-
colors:
|
|
11
|
-
bg: "#fafaf9"
|
|
12
|
-
fg: "#1c1b1a"
|
|
13
|
-
muted: "#6b6964"
|
|
14
|
-
border: "#e6e4e0"
|
|
15
|
-
accent: "#c96442"
|
|
16
|
-
surface: "#ffffff"
|
|
17
|
-
good: "#2f7d4a"
|
|
18
|
-
bad: "#b53a2a"
|
|
19
|
-
typography:
|
|
20
|
-
body:
|
|
21
|
-
fontFamily: "-apple-system, system-ui, sans-serif"
|
|
22
|
-
fontSize: 14px
|
|
23
|
-
lineHeight: 1.5
|
|
24
|
-
pageTitle:
|
|
25
|
-
fontSize: 20px
|
|
26
|
-
letterSpacing: -0.01em
|
|
27
|
-
kpiValue:
|
|
28
|
-
fontSize: 28px
|
|
29
|
-
letterSpacing: -0.02em
|
|
30
|
-
kpiLabel:
|
|
31
|
-
fontSize: 12px
|
|
32
|
-
letterSpacing: 0.05em
|
|
33
|
-
transform: uppercase
|
|
34
|
-
color: "{colors.muted}"
|
|
35
|
-
delta:
|
|
36
|
-
fontSize: 12px
|
|
37
|
-
panelTitle:
|
|
38
|
-
fontSize: 14px
|
|
39
|
-
fontWeight: 500
|
|
40
|
-
microLabel:
|
|
41
|
-
fontSize: 11px
|
|
42
|
-
letterSpacing: 0.06em
|
|
43
|
-
transform: uppercase
|
|
44
|
-
fontWeight: 500
|
|
45
|
-
color: "{colors.muted}"
|
|
46
|
-
brand:
|
|
47
|
-
fontWeight: 600
|
|
48
|
-
rounded:
|
|
49
|
-
control: 6px
|
|
50
|
-
card: 10px
|
|
51
|
-
pill: 999px
|
|
52
|
-
spacing:
|
|
53
|
-
mainPadding: "0 28px 56px"
|
|
54
|
-
topbarPadding: "16px 0"
|
|
55
|
-
topbarGapBelow: 24px
|
|
56
|
-
cardGap: 16px
|
|
57
|
-
kpiRowGapBelow: 28px
|
|
58
|
-
kpiPadding: "16px 18px"
|
|
59
|
-
panelPadding: 20px
|
|
60
|
-
buttonPadding: "7px 13px"
|
|
61
|
-
navItemPadding: "7px 10px"
|
|
62
|
-
tableCellPadding: "10px 6px"
|
|
63
|
-
pillPadding: "2px 8px"
|
|
64
|
-
chartHeight: 240px
|
|
65
|
-
components:
|
|
66
|
-
brandMark:
|
|
67
|
-
color: "{colors.fg}"
|
|
68
|
-
fontWeight: 600
|
|
69
|
-
navLink:
|
|
70
|
-
padding: "{spacing.navItemPadding}"
|
|
71
|
-
borderRadius: "{rounded.control}"
|
|
72
|
-
color: "{colors.fg}"
|
|
73
|
-
activeBackground: "{colors.bg}"
|
|
74
|
-
activeFontWeight: 500
|
|
75
|
-
hoverBackground: "{colors.bg}"
|
|
76
|
-
kpiCard:
|
|
77
|
-
background: "{colors.surface}"
|
|
78
|
-
border: "1px solid {colors.border}"
|
|
79
|
-
borderRadius: "{rounded.card}"
|
|
80
|
-
padding: "{spacing.kpiPadding}"
|
|
81
|
-
panel:
|
|
82
|
-
background: "{colors.surface}"
|
|
83
|
-
border: "1px solid {colors.border}"
|
|
84
|
-
borderRadius: "{rounded.card}"
|
|
85
|
-
padding: "{spacing.panelPadding}"
|
|
86
|
-
buttonPrimary:
|
|
87
|
-
background: "{colors.accent}"
|
|
88
|
-
color: "white"
|
|
89
|
-
border: "1px solid {colors.accent}"
|
|
90
|
-
borderRadius: "{rounded.control}"
|
|
91
|
-
padding: "{spacing.buttonPadding}"
|
|
92
|
-
buttonSecondary:
|
|
93
|
-
background: "transparent"
|
|
94
|
-
color: "{colors.fg}"
|
|
95
|
-
border: "1px solid {colors.border}"
|
|
96
|
-
borderRadius: "{rounded.control}"
|
|
97
|
-
padding: "{spacing.buttonPadding}"
|
|
98
|
-
pill:
|
|
99
|
-
fontSize: 11px
|
|
100
|
-
padding: "{spacing.pillPadding}"
|
|
101
|
-
borderRadius: "{rounded.pill}"
|
|
102
|
-
background: "{colors.bg}"
|
|
103
|
-
border: "1px solid {colors.border}"
|
|
104
|
-
chartArea:
|
|
105
|
-
height: "{spacing.chartHeight}"
|
|
106
|
-
background: "linear-gradient(180deg, rgba(201,100,66,0.06), transparent)"
|
|
107
|
-
borderBottom: "1px solid {colors.border}"
|
|
108
|
-
chartBar:
|
|
109
|
-
fill: "{colors.muted}"
|
|
110
|
-
track: "{colors.border}"
|
|
111
|
-
anchors:
|
|
112
|
-
- id: terracotta-accent
|
|
113
|
-
type: token
|
|
114
|
-
desc: 全页唯一强调色是陶土橙(见 colors.accent),每屏最多两处——主按钮与唯一主图表,其余柱状/进度条一律中性色
|
|
115
|
-
- id: flat-border-depth
|
|
116
|
-
type: pattern
|
|
117
|
-
desc: 零阴影平面系统,层次只靠极细暖灰边框(见 colors.border)与表面/底色的微弱明度差
|
|
118
|
-
- id: warm-neutrals
|
|
119
|
-
type: token
|
|
120
|
-
desc: 底色是暖调米白(见 colors.bg),文字是暖黑(见 colors.fg),中性色全部偏暖不偏蓝
|
|
121
|
-
- id: kpi-card
|
|
122
|
-
type: component
|
|
123
|
-
desc: KPI 卡三段式——全大写宽字距灰色小标签、收紧字距的大数字、涨跌语义色 delta
|
|
124
|
-
- id: status-pill
|
|
125
|
-
type: component
|
|
126
|
-
desc: 全圆角胶囊状态标签,语义色只染文字与半透明描边,底仍为页面底色
|
|
127
|
-
- id: inline-svg-chart
|
|
128
|
-
type: pattern
|
|
129
|
-
desc: 图表一律内联 SVG,全页仅一个主图表可用陶土色描边/渐变,其余柱状/进度条一律中性灰色,禁用图表库
|
|
130
|
-
gaps:
|
|
131
|
-
- 暗色模式未定义(来源仅亮色)
|
|
132
|
-
- 图标体系未定义(来源导航为纯文字,品牌标仅一个 ◐ 字符)
|
|
133
|
-
- 动效/过渡未定义(来源无 transition/animation)
|
|
134
|
-
- focus / disabled 等交互态未定义(来源仅 nav hover 一种)
|
|
135
|
-
- 字号体系仅覆盖 11/12/14/20/28 五档,H2-H6 标题层级未定义
|
|
136
|
-
- 图表多序列配色未定义(来源仅单序列陶土色折线)
|
|
137
|
-
exceptions:
|
|
138
|
-
- rgba 半透明派生色仅限三处既有值:图表渐变底、状态胶囊 good/bad 描边
|
|
139
|
-
- 窄屏下数据模块按阅读优先级重排,保证标签、数值和操作可读可用
|
|
140
|
-
- 全页允许一个主图表用 accent 描边/渐变;其余柱状图/进度条/排行榜一律用 `{components.chartBar}` 中性配色,不占用 accent 预算
|
|
141
|
-
---
|
|
142
|
-
|
|
143
|
-
## Overview
|
|
144
|
-
|
|
145
|
-
陶土净台(terracotta-console):温润克制的管理/分析界面风格。暖米白页面底 `{colors.bg}` 上铺纯白卡片 `{colors.surface}`,全部层次由 1px 暖灰边框 `{colors.border}` 承担,全页零 box-shadow。唯一强调色是陶土橙 `{colors.accent}`,每屏最多出现两处(主行动 + 唯一主数据焦点)。页面骨架、导航位置和内容分区由用户需求与信息关系决定;CSS Grid 或 Flexbox 只用于实现自适应布局。
|
|
146
|
-
|
|
147
|
-
## Colors
|
|
148
|
-
|
|
149
|
-
| 角色 | Token | 值 | 用法 |
|
|
150
|
-
|------|-------|-----|------|
|
|
151
|
-
| 页面底 | `{colors.bg}` | #fafaf9 | body 背景;同时复用为 nav 激活/hover 底、胶囊底——"底色即最浅灰"是本风格的层次手法 |
|
|
152
|
-
| 表面 | `{colors.surface}` | #ffffff | 侧栏、KPI 卡、panel 的背景 |
|
|
153
|
-
| 主文字 | `{colors.fg}` | #1c1b1a | 正文、导航链接、次级按钮文字(暖黑,非纯黑);同时是品牌标/logo 的唯一颜色 |
|
|
154
|
-
| 次文字 | `{colors.muted}` | #6b6964 | KPI 标签、表头、分组标签、顶栏右侧辅助信息;同时是非主图表柱状/进度条的填充色 |
|
|
155
|
-
| 边框 | `{colors.border}` | #e6e4e0 | 所有描边:卡片、侧栏右缘、顶栏下缘、表格行分隔、次级按钮;同时是非主图表柱状/进度条的轨道底色 |
|
|
156
|
-
| 强调 | `{colors.accent}` | #c96442 | 仅两类用途:主按钮(底+描边)、**全页唯一主图表**的描边与渐变底;禁止用于导航激活、文字链接、品牌标/logo、大面积填充、以及除主图表外的任何柱状图/进度条/排行榜 |
|
|
157
|
-
| 正向 | `{colors.good}` | #2f7d4a | 上涨 delta 文字、正向胶囊文字(描边用 rgba(47,125,74,0.3)) |
|
|
158
|
-
| 负向 | `{colors.bad}` | #b53a2a | 下跌 delta 文字、负向胶囊文字(描边用 rgba(181,58,42,0.3))。注意 `{colors.bad}` 与 `{colors.accent}` 同属暖红橙系但是两个不同 token:预警/下跌类文字与胶囊用 bad,按钮/主图表用 accent,两者不得混用替代 |
|
|
159
|
-
|
|
160
|
-
不发明新色。所有半透明色仅限 Exceptions 列出的三处既有 rgba 值。
|
|
161
|
-
|
|
162
|
-
## Typography
|
|
163
|
-
|
|
164
|
-
字体硬指令(HARD REQUIREMENT):本风格使用系统字体栈 `-apple-system, system-ui, sans-serif`,**原样写入、禁止替换**为任何 webfont;**禁止添加任何 `@import` 字体加载行**——无外部字体正是该风格气质的一部分。
|
|
165
|
-
|
|
166
|
-
- 正文 `{typography.body}`:14px / 1.5,字重常规。
|
|
167
|
-
- 页面标题 `{typography.pageTitle}`:20px,letter-spacing -0.01em,仅顶栏 h1 一处。
|
|
168
|
-
- KPI 大数字 `{typography.kpiValue}`:28px,letter-spacing -0.02em(大字必收字距)。
|
|
169
|
-
- KPI 标签 `{typography.kpiLabel}`:12px,全大写,letter-spacing 0.05em,色 `{colors.muted}`。
|
|
170
|
-
- delta `{typography.delta}`:12px,色随涨跌用 `{colors.good}` / `{colors.bad}`。
|
|
171
|
-
- 面板标题 `{typography.panelTitle}`:14px / 500,禁止加粗到 600 以上。
|
|
172
|
-
- 微标签 `{typography.microLabel}`(表头 th、侧栏分组标签):11px,全大写,letter-spacing 0.06em,500,色 `{colors.muted}`。
|
|
173
|
-
- 品牌名 `{typography.brand}`:600,全页最重字重,颜色固定 `{colors.fg}`(见 `{components.brandMark}`),禁止用 accent。
|
|
174
|
-
|
|
175
|
-
层级规律:靠"大小写转换 + 字距 + 灰度"区分层级,不靠加粗;600 只给品牌名。
|
|
176
|
-
|
|
177
|
-
## Layout
|
|
178
|
-
|
|
179
|
-
- 采用清晰、紧凑但不过度拥挤的信息密度;主任务和主数据焦点优先,次级信息降低对比度。
|
|
180
|
-
- 卡片、表格和图表按内容关系组合,列数与比例由信息量决定,不预设 KPI 行、主副图表或固定侧栏。
|
|
181
|
-
- 导航可使用侧栏、顶栏、标签页或页面内导航;仅在业务需要持续可见时固定。
|
|
182
|
-
- 内容宽度、网格列数和排列应随窗口变化;窄屏按任务优先级重排为可读结构。
|
|
183
|
-
|
|
184
|
-
## Elevation & Depth
|
|
185
|
-
|
|
186
|
-
**全页禁止 box-shadow。** **HARD REQUIREMENT**:`<style>` 块首行追加 `*,*::before,*::after{box-shadow:none!important}` 作为强制兜底,任何后续规则都不得覆盖这条。深度体系只有两层:页面底 `{colors.bg}` 与表面 `{colors.surface}`,一切分界由 1px `{colors.border}` 描边完成(卡片四周、侧栏右缘、顶栏下缘、表格行上缘、图表底缘)。不使用第二层浮起、不使用 overlay 阴影。
|
|
187
|
-
|
|
188
|
-
## Shapes
|
|
189
|
-
|
|
190
|
-
- 控件(按钮、导航项)圆角 `{rounded.control}`(6px)。
|
|
191
|
-
- 容器(KPI 卡、panel)圆角 `{rounded.card}`(10px)。
|
|
192
|
-
- 状态胶囊全圆角 `{rounded.pill}`(999px)。
|
|
193
|
-
- 所有描边一律 1px 实线;无双线、无虚线、无粗边框。
|
|
194
|
-
|
|
195
|
-
## Components
|
|
196
|
-
|
|
197
|
-
- **KPI 卡** `{components.kpiCard}`:结构固定三段——`{typography.kpiLabel}` 标签(下距 8px)→ `{typography.kpiValue}` 大数字 → `{typography.delta}` delta(上距 4px,涨 `{colors.good}` / 跌 `{colors.bad}`)。指标名必须具体拟真(如 MRR、Active accounts、P95 latency),禁止 "Metric A" 类占位。
|
|
198
|
-
- **面板** `{components.panel}`:标题 `{typography.panelTitle}` 下距 16px,内容为图表或表格。
|
|
199
|
-
- **按钮**:主按钮 `{components.buttonPrimary}`(陶土底白字,每屏至多 1 个);次按钮 `{components.buttonSecondary}`(透明底、灰描边)。两者 padding 7px 13px、圆角 6px。
|
|
200
|
-
- **导航项** `{components.navLink}`:默认无底;当前项判定只能用以下手法组合,**禁止用 accent(含圆点、竖线、图标填充、文字色)**——① 底色 `{colors.bg}`(已默认)② 字重升到 500(`activeFontWeight`)。hover 底同为 `{colors.bg}`。
|
|
201
|
-
- **品牌标** `{components.brandMark}`:颜色固定 `{colors.fg}`,字重 600;无论是文字标还是 ◐ 符号图标,禁止用 `{colors.accent}` 或任何语义色。
|
|
202
|
-
- **状态胶囊** `{components.pill}`:11px,padding 2px 8px,底 `{colors.bg}` + 灰描边;good/bad 变体只改文字色与描边(rgba(47,125,74,0.3) / rgba(181,58,42,0.3)),不填充语义色底。
|
|
203
|
-
- **表格**:th 用 `{typography.microLabel}` 样式且左对齐;单元格 padding `{spacing.tableCellPadding}`;行分隔用 border-top `{colors.border}`;无斑马纹、无外框。
|
|
204
|
-
- **图表** `{components.chartArea}`:高 240px,容器底为陶土色微渐变 `linear-gradient(180deg, rgba(201,100,66,0.06), transparent)`,底缘 1px `{colors.border}`。图表本体一律内联 SVG,禁用任何 JS 图表库。**HARD REQUIREMENT——accent 图表预算**:全页只有*一个*"主图表"(通常是最重要的趋势/GMV/核心指标折线)允许用 `{colors.accent}` 描边(`<polyline>`,stroke-width 2,fill none,`viewBox="0 0 600 240"` + `preserveAspectRatio="none"`);**其余所有柱状图、横向进度条、排行榜条、占比条组件一律用中性色** `{components.chartBar}`——填充部分 `{colors.muted}`,轨道/背景部分 `{colors.border}`,禁止再用 accent。坐标轴标注从轻(`{colors.muted}`、更小字号)。数据必须是拟真数值。
|
|
205
|
-
|
|
206
|
-
## Do's and Don'ts
|
|
207
|
-
|
|
208
|
-
- Do:留白疏朗、卡片间距统一走 `{spacing.cardGap}`;层级靠灰度与大小写而非字重。
|
|
209
|
-
- Do:密度随内容气质微调——运营/交易类可收紧行高,常规分析保持现状的疏朗档。
|
|
210
|
-
- Do:给每个实际存在的逻辑区块加 `data-od-id="slug"` 属性。
|
|
211
|
-
- Don't:不给卡片加阴影或第二层底色;不把强调色用于导航激活态、链接、图标或品牌标。
|
|
212
|
-
- Don't:不给非主图表的柱状图/进度条/排行榜上色 accent,一律用中性色。
|
|
213
|
-
- Don't:不引入第三方 CSS/JS;单 HTML 文件内联一个 `<style>` 块交付。
|
|
214
|
-
|
|
215
|
-
## Hard Rules
|
|
216
|
-
|
|
217
|
-
1. 禁止任何 box-shadow;`<style>` 首行必须写 `*,*::before,*::after{box-shadow:none!important}`;深度只允许 1px `{colors.border}` 描边 + 底/表面明度差。
|
|
218
|
-
2. `{colors.accent}` 全页预算固定为两处,且只能是:①主按钮 ②唯一主图表的描边/渐变强调。多图表页面里,非主图表的柱状图/进度条/排行榜/占比条一律用 `{colors.muted}`(填充)+ `{colors.border}`(轨道)中性配色,不得追加 accent;禁止用于导航激活、文字链接、大面积填充、品牌标/logo。
|
|
219
|
-
3. 颜色只用 frontmatter 色板 token;半透明派生仅限 Exceptions 列出的三处 rgba 值,禁止新造颜色;`{colors.bad}` 与 `{colors.accent}` 是两个不同 token,不得互相替代。
|
|
220
|
-
4. 字体:系统字体栈原样使用,禁止替换 webfont、禁止 `@import`。
|
|
221
|
-
5. 图表只用内联 SVG,禁止 ECharts/Chart.js 等任何图表库与外部脚本。
|
|
222
|
-
6. 数据指标名与数值必须具体拟真,禁止 "Metric A / Metric B" 占位。
|
|
223
|
-
7. 使用与实际内容相符的语义 HTML,不为复刻示例而添加无业务意义的侧栏、顶栏或区块。
|
|
224
|
-
8. 数值 token(字号、间距、圆角)照本文件取值,禁止取整到其他栅格。
|
|
225
|
-
9. 若页面存在导航,当前项只能用底色 `{colors.bg}` 或字重 500 标出,品牌标固定 `{colors.fg}`;两者均禁止使用 accent(含圆点、竖线、图标填充等任何形式)。
|
|
226
|
-
|
|
227
|
-
## Exceptions
|
|
228
|
-
|
|
229
|
-
- 半透明色三处白名单:图表容器渐变 `rgba(201,100,66,0.06)`、good 胶囊描边 `rgba(47,125,74,0.3)`、bad 胶囊描边 `rgba(181,58,42,0.3)`。
|
|
230
|
-
- 响应式:`max-width: 900px` 时允许 KPI 网格 `repeat(4,1fr)` → `repeat(2,1fr)`、panels 行 `2fr 1fr` → `1fr`。
|
|
231
|
-
- 语义色 `{colors.good}` / `{colors.bad}` 仅允许出现在 delta 文字与状态胶囊,不得用于按钮或图表。
|
|
232
|
-
- 侧栏宽度允许在 220–260px 区间内按导航文案长度调整(默认 220px)。
|
|
233
|
-
- 全页允许一个主图表用 `{colors.accent}` 描边/渐变;其余柱状图/进度条/排行榜一律用 `{components.chartBar}`(`{colors.muted}` 填充 + `{colors.border}` 轨道)中性配色,不占用 accent 预算。
|