@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.
Files changed (36) hide show
  1. package/package.json +6 -6
  2. package/steering/nestjs-react-fullstack/skills/app-init-feasibility-guide/SKILL.md +1 -2
  3. package/steering/nestjs-react-fullstack/skills/client-builtins-file-storage-service/SKILL.md +0 -1
  4. package/steering/nestjs-react-fullstack/skills/client-builtins-user-service/SKILL.md +0 -2
  5. package/steering/nestjs-react-fullstack/skills/coding-guide/SKILL.md +14 -61
  6. package/steering/nestjs-react-fullstack/skills/plugin-guide/SKILL.md +1 -4
  7. package/steering/nestjs-react-fullstack/skills/plugin-guide/references/plugin-coding-guide.md +5 -37
  8. package/steering/nestjs-react-fullstack/skills_common/mcp-guide/SKILL.md +376 -0
  9. package/steering/nestjs-react-fullstack/skills_local/client-builtins-user-service/SKILL.md +0 -2
  10. package/steering/nestjs-react-fullstack/skills_local/coding-guide/SKILL.md +13 -44
  11. package/steering/nestjs-react-fullstack/skills_local/plugin-guide/SKILL.md +1 -1
  12. package/steering/nestjs-react-fullstack/skills_local/plugin-guide/references/plugin-coding-guide.md +5 -37
  13. package/steering/vite-react/skills/plugin-guide/SKILL.md +5 -2
  14. package/steering/nestjs-react-fullstack/skills/design-guide/SKILL.md +0 -188
  15. package/steering/nestjs-react-fullstack/skills/design-guide/references/broadsheet.md +0 -311
  16. package/steering/nestjs-react-fullstack/skills/design-guide/references/claude-editorial-research.md +0 -375
  17. package/steering/nestjs-react-fullstack/skills/design-guide/references/corporate-blueprint.md +0 -252
  18. package/steering/nestjs-react-fullstack/skills/design-guide/references/crimson-frosted-glass.md +0 -221
  19. package/steering/nestjs-react-fullstack/skills/design-guide/references/cybernetic-vault-terminal.md +0 -74
  20. package/steering/nestjs-react-fullstack/skills/design-guide/references/dashboard.md +0 -233
  21. package/steering/nestjs-react-fullstack/skills/design-guide/references/digital-e-guide.md +0 -349
  22. package/steering/nestjs-react-fullstack/skills/design-guide/references/flowbite.md +0 -179
  23. package/steering/nestjs-react-fullstack/skills/design-guide/references/frontend-design.md +0 -66
  24. package/steering/nestjs-react-fullstack/skills/design-guide/references/handwritten-sketch.md +0 -211
  25. package/steering/nestjs-react-fullstack/skills/design-guide/references/industry.md +0 -346
  26. package/steering/nestjs-react-fullstack/skills/design-guide/references/metabase.md +0 -220
  27. package/steering/nestjs-react-fullstack/skills/design-guide/references/minimal-jade.md +0 -205
  28. package/steering/nestjs-react-fullstack/skills/design-guide/references/nebula-crimson.md +0 -306
  29. package/steering/nestjs-react-fullstack/skills/design-guide/references/nexuscore-analytics.md +0 -74
  30. package/steering/nestjs-react-fullstack/skills/design-guide/references/organic-minimalism.md +0 -251
  31. package/steering/nestjs-react-fullstack/skills/design-guide/references/phosphor-hud.md +0 -214
  32. package/steering/nestjs-react-fullstack/skills/design-guide/references/pm-spec.md +0 -233
  33. package/steering/nestjs-react-fullstack/skills/design-guide/references/pop-art.md +0 -264
  34. package/steering/nestjs-react-fullstack/skills/design-guide/references/token-mapping.md +0 -68
  35. package/steering/nestjs-react-fullstack/skills/design-guide/references/warm-elegance.md +0 -215
  36. package/steering/nestjs-react-fullstack/skills/design-guide/references/wild-orange.md +0 -203
@@ -1,306 +0,0 @@
1
- ---
2
- version: alpha
3
- name: nebula-crimson
4
- name_zh: 深红星云
5
- description: >
6
- 高端商务年报美学:权威、庄重、高端科技感。深红 #8B0000 被极度克制地用作点睛色(品牌区块背景、强调数值、进度条、装饰线、hover),
7
- 大面积由白 / 浅灰 #FAFAFA / 近纯黑 #1A0000–#050505 承担,可用全幅明暗区块营造呼吸节奏,但区块数量与顺序服从内容。
8
- 视觉签名是超黑字重(font-black/900)配超紧字距(tracking-tighter)的巨型标题,搭配全大写英文注释标签(uppercase tracking-widest),
9
- 中英双语层次分明。暗区用玻璃态透明白容器(bg-white/5~/20 + backdrop-blur),叠加网格线、carbon-fibre 纹理、径向渐变与品牌色模糊光斑。
10
- colors:
11
- bg: "#FAFAFA"
12
- surface: "#FFFFFF"
13
- header: "#8B0000"
14
- text: "#111827"
15
- textMuted: "#9CA3AF"
16
- accent: "#8B0000"
17
- border: "#F3F4F6"
18
- heroDark: "#1A0000"
19
- outlookDark: "#030712"
20
- footerDark: "#050505"
21
- growthText: "#16A34A"
22
- growthBg: "#DCFCE7"
23
- lightRedTint: "#FEF2F2"
24
- gridLine: "#EEEEEE"
25
- axisLabel: "#999999"
26
- axisLabelAlt: "#666666"
27
- seq1: "#8B0000"
28
- seq2: "#A52A2A"
29
- seq3: "#CD5C5C"
30
- seq4: "#E9967A"
31
- seq5: "#FFA07A"
32
- typography:
33
- fontImport: "@import url('https://miaoda.feishu.cn/fonts/css2?family=Inter:wght@300;400;500;600;700;900&display=swap');"
34
- base:
35
- fontFamily: "'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif"
36
- h1Hero:
37
- fontSize: "text-6xl md:text-9xl"
38
- fontWeight: "900"
39
- lineHeight: "0.9"
40
- letterSpacing: "tracking-tighter"
41
- h1Number:
42
- fontSize: "text-6xl md:text-8xl"
43
- fontWeight: "900"
44
- letterSpacing: "tracking-tighter"
45
- color: "{colors.accent}"
46
- h2Section:
47
- fontSize: "text-5xl"
48
- fontWeight: "900"
49
- letterSpacing: "tracking-tight"
50
- h2Outlook:
51
- fontSize: "text-8xl"
52
- fontWeight: "900"
53
- letterSpacing: "tracking-tighter"
54
- h3Card:
55
- fontSize: "text-2xl"
56
- fontWeight: "900"
57
- letterSpacing: "tracking-tight"
58
- h3Panel:
59
- fontSize: "text-xl"
60
- fontWeight: "700"
61
- h4Data:
62
- fontSize: "text-5xl / text-4xl"
63
- fontWeight: "900"
64
- letterSpacing: "tracking-tight"
65
- eyebrow:
66
- fontSize: "text-xs"
67
- fontWeight: "900"
68
- letterSpacing: "tracking-widest"
69
- upper: true
70
- color: "{colors.accent}"
71
- metricLabel:
72
- fontSize: "text-[10px]"
73
- fontWeight: "700"
74
- letterSpacing: "tracking-[0.15em]"
75
- upper: true
76
- color: "{colors.textMuted}"
77
- body:
78
- fontSize: "text-lg / text-sm"
79
- lineHeight: "relaxed"
80
- color: "{colors.textMuted}"
81
- microLabel:
82
- fontSize: "text-[10px]"
83
- fontWeight: "900"
84
- letterSpacing: "tracking-widest"
85
- upper: true
86
- footerBrand:
87
- fontSize: "text-xl"
88
- fontWeight: "900"
89
- letterSpacing: "tracking-[0.3em]"
90
- upper: true
91
- rounded:
92
- sm: "8px"
93
- card: "12px"
94
- panel: "16px"
95
- large: "24px"
96
- mega: "32px"
97
- full: "9999px"
98
- spacing:
99
- sectionXMobile: "2rem"
100
- sectionY: "8rem"
101
- sectionXDesktop: "6rem"
102
- titleGap: "5rem"
103
- gridGap: "1.5rem"
104
- cardPad: "2rem"
105
- components:
106
- metricCard:
107
- background: "{colors.surface}"
108
- border: "border border-gray-100 = {colors.border}"
109
- borderRadius: "{rounded.large}"
110
- boxShadow: "0 10px 40px -15px rgba(0,0,0,0.1)"
111
- description: "浅色指标卡;hover 投影转品牌色深投影 0 20px 60px -15px rgba(139,0,0,0.2),底部进度线 w-0→w-full bg-accent,图标 bg-red-50/text-crimson → bg-crimson/text-white"
112
- crimsonBlock:
113
- background: "{colors.header}"
114
- description: "全幅品牌区块(Hero 深红黑 / Business 纯深红);叠加 skew 模糊光斑 bg-nebula-crimson opacity-10 blur-3xl 与深红点阵 radial-gradient(circle at 2px 2px, white 1px, transparent 0) 40px"
115
- glassCard:
116
- background: "rgba(255,255,255,0.05)"
117
- border: "border border-white/10"
118
- borderRadius: "{rounded.panel}"
119
- description: "暗区玻璃态容器;hover bg-white/5→/10;配 backdrop-blur-md"
120
- emphasisBar:
121
- border: "border-l-4 {colors.accent}"
122
- description: "数据高亮左强调条;hover bg 淡红 hover:bg-red-50/30;emphasis-box 用 border-l-8"
123
- productCard:
124
- background: "{colors.surface}"
125
- border: "border-b-[12px] {colors.border} hover:border-nebula-crimson"
126
- borderRadius: "{rounded.large}"
127
- boxShadow: "shadow-lg"
128
- description: "hover:-translate-y-4 上浮 + 图标 hover:scale-110;transition duration-500"
129
- progressBar:
130
- background: "linear-gradient(to right, #7F1D1D, {colors.accent})"
131
- borderRadius: "{rounded.full}"
132
- description: "填充动画 transition-all duration-[1.5s] ease-out;from-red-900(#7F1D1D 内置)→nebula-crimson"
133
- chartTooltipLight:
134
- background: "{colors.surface}"
135
- borderRadius: "{rounded.card}"
136
- boxShadow: "shadowBlur:30, shadowColor:rgba(0,0,0,0.1), shadowOffsetY:10"
137
- description: "浅区图表 tooltip"
138
- chartTooltipDark:
139
- background: "{colors.header}"
140
- border: "rgba(255,255,255,0.2)"
141
- borderRadius: "8px"
142
- color: "#FFFFFF"
143
- description: "暗/深红区图表 tooltip 变体"
144
- anchors:
145
- - id: crimson-accent
146
- type: token
147
- desc: 深红点睛色,仅用于品牌区块背景、强调数值、进度条、装饰线与 hover(见 colors.accent),绝不入正文或大面积辅助面
148
- - id: full-bleed-rhythm
149
- type: pattern
150
- desc: 可用全幅明暗区块与大留白形成呼吸节奏,明暗顺序和段落数量按内容决定
151
- - id: mega-black-title
152
- type: pattern
153
- desc: 超黑字重 + 超紧字距的巨型标题,搭配全大写英文注释标签,中英双语层次
154
- - id: eyebrow-line
155
- type: component
156
- desc: 小节 eyebrow 前置一段深红短装饰线 + 大写英文标签
157
- - id: metric-card
158
- type: component
159
- desc: 浅色指标卡,hover 时品牌色投影加深、底部进度线展开、图标翻色
160
- - id: crimson-chart-seq
161
- type: token
162
- desc: 图表固定的深红→鲑橙 5 段序列色,图表不出现其他色相(见 colors.seq1–seq5)
163
- - id: glass-on-dark
164
- type: component
165
- desc: 暗区玻璃态透明白容器 + backdrop-blur,边框极淡白
166
- gaps:
167
- - Inter 声明加载权重为 300/400/600/700,但 font-black(900) 驱动几乎所有标题、font-medium(500) 用于 footer 描述——二者均未在声明加载集里。本档 @import 已补齐 300;400;500;600;700;900,供消费侧忠实加载(源加载集不全)。
168
- - 进度条渐变 from-red-900 依赖 Tailwind 内置 red-900(#7F1D1D),非自定义 token;自定义类仅 *-nebula-crimson。
169
- - 未声明负向/危险/警告语义色,仅有绿色增长标记(growthText/growthBg)。
170
- - 中大号标题多数未显式声明 line-height,依赖浏览器默认(仅 Hero 有 leading-[0.9]、正文有 leading-relaxed)。
171
- - shadow-2xl 列出但无具体使用位置;ECharts 轴标签在 #999999(BASE) 与 #666666(横向条形变体) 间混用无明述理由。
172
- - text-gray-500 / text-gray-700 在组件中临时使用,但仅 gray-400/gray-900 被正式 token 化。
173
- - 未声明 motion 缓动曲线 token(仅进度条一处内联 ease-out)。
174
- ---
175
-
176
- ## Overview
177
-
178
- 高端商务年报美学:权威、庄重、自信、高端科技感。深红主色 `#8B0000` 被克制地用作点睛色,仅出现在品牌区块背景、强调数值、装饰线与 hover 态;大面积由白色 / 浅灰 `#FAFAFA` / 近纯黑 `#1A0000`–`#050505` 承担。可用明暗交替的全幅区块营造呼吸感,但不固定区块顺序。
179
-
180
- 视觉签名 = 超黑字重(`font-black` / 900)+ 超紧字距(`tracking-tighter`)的巨型标题,搭配全大写英文注释标签(`uppercase tracking-widest`),中英双语层次分明。背景系统性叠加网格线、carbon-fibre 纹理、径向渐变与模糊色块(含品牌色 `blur-3xl` 光斑);暗色区使用玻璃态透明白容器 `bg-white/5 ~ /20`。
181
-
182
- ## Colors
183
-
184
- 角色 × 值 × 用法:
185
-
186
- | 角色 | 值 | 用法 |
187
- |------|-----|------|
188
- | bg 主内容区底 | `#FAFAFA` | 浅色段落基底(`bg-[#fafafa]`)|
189
- | surface 卡片/面板 | `#FFFFFF` | 卡片、面板、容器 |
190
- | header 强调区背景 | `#8B0000` | 全幅品牌区块(Hero、业务分析)|
191
- | text 主文字 | `#111827` | 标题与正文(`text-gray-900`)|
192
- | textMuted 弱文字 | `#9CA3AF` | 标签、副标、说明(`text-gray-400`)|
193
- | accent 点睛 | `#8B0000` | 关键数值、图标高亮、进度条、分隔线 |
194
- | border 边框 | `#F3F4F6` | 浅色卡片/面板边框(`border-gray-100`)|
195
-
196
- 深/暗区背景:Hero `#1A0000`(深红黑)、Outlook `#030712`(`bg-gray-950` 近纯黑)、Footer `#050505`(极深黑)。
197
-
198
- 语义色(唯一声明):增长/正向 = 绿 `#16A34A` 文字 / `#DCFCE7` 底(`text-green-600` / `bg-green-50`)。未声明负向/危险/警告色。
199
-
200
- 浅色辅助:淡红底 `#FEF2F2`(`bg-red-50`,图标/高亮底)。暗区玻璃容器 = `rgba(255,255,255,0.05~0.2)`。
201
-
202
- 图表序列色(ECharts,放这里作 token):`seq1 #8B0000 → seq2 #A52A2A → seq3 #CD5C5C → seq4 #E9967A → seq5 #FFA07A`,深红 → 鲑橙 5 段固定序列,用作默认 `color` 数组、线填充、柱填充、饼环等。图表不出现其他色相。ECharts 网格线 `#EEEEEE`、轴标签 `#999999`(横向条形变体用 `#666666`);线面积渐变 `rgba(139,0,0,0.15)→rgba(139,0,0,0)`;散点阴影 `rgba(139,0,0,0.3)`;轴指针阴影 `rgba(139,0,0,0.05)`。
203
-
204
- 自定义品牌类(原样保留):
205
- ```css
206
- .bg-nebula-crimson { background-color: #8B0000; }
207
- .text-nebula-crimson { color: #8B0000; }
208
- .border-nebula-crimson { border-color: #8B0000; }
209
- ```
210
-
211
- ## Typography
212
-
213
- **字体加载(HARD REQUIREMENT,原样写入全局样式首行,禁止替换域名):**
214
- ```css
215
- @import url('https://miaoda.feishu.cn/fonts/css2?family=Inter:wght@300;400;500;600;700;900&display=swap');
216
- ```
217
- 字体栈:`font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;`。英文用 Inter,中文用 PingFang SC / Microsoft YaHei(系统字体,零成本兜底),末位 `sans-serif`。ECharts `textStyle.fontFamily` 同栈,部分轴/标签组件覆盖为 `Inter`。
218
-
219
- > Inter 是拉丁正文/展示无衬线体,非手写体,含完整拉丁字形;中文由系统 PingFang SC / Microsoft YaHei 承接,无需额外镜像加载。@import 权重已从源声明的 300/400/600/700 补齐 500 与 900(源全文用 `font-black`(900) 与 `font-medium`(500) 却未列入加载集,此处忠实补齐,见 gaps)。
220
-
221
- 字号体系(verbatim Tailwind):
222
-
223
- | 层级 | 用途 | 类 |
224
- |------|------|-----|
225
- | H1 Hero | 页面主标题 | `text-6xl md:text-9xl font-black leading-[0.9] tracking-tighter` |
226
- | H1 数字 | 巨型统计数值 | `text-8xl font-black tracking-tighter text-nebula-crimson` |
227
- | H2 章节 | 小节标题 | `text-5xl font-black tracking-tight` |
228
- | H2 Outlook | 展望标题 | `text-6xl md:text-8xl font-black tracking-tighter` |
229
- | H3 卡片 | 子块标题 | `text-2xl font-black tracking-tight` |
230
- | H3 面板 | 图表面板标题 | `text-xl font-bold` |
231
- | H4 数据 | 大数据展示 | `text-5xl` 或 `text-4xl` + `font-black tracking-tight` |
232
- | 章节英文标签 | eyebrow | `text-xs font-black tracking-widest uppercase text-nebula-crimson` |
233
- | 指标标签 | 卡片顶标签 | `text-[10px] font-bold uppercase tracking-[0.15em] text-gray-400` |
234
- | 正文 | 段落 | `text-lg leading-relaxed text-gray-400` 或 `text-sm text-gray-500` |
235
- | 脚注/微标签 | micro label | `text-[10px] uppercase font-black tracking-widest` |
236
- | Footer 品牌名 | | `text-xl font-black tracking-[0.3em] uppercase` |
237
-
238
- 字距:`tracking-tighter`(Hero/Outlook/数字巨标);`tracking-tight`(多数 H2/H3/H4 与指标值);`tracking-widest`(英文大写 eyebrow/微标签);`tracking-[0.15em]`(指标标签);`tracking-[0.2em]`(强调框小标题);`tracking-[0.3em]`(Footer 品牌名);正文无字距。行高仅 `leading-[0.9]`(Hero)与 `leading-relaxed`(正文/描述)显式声明。
239
-
240
- ## Layout
241
-
242
- 容器:`max-w-7xl mx-auto`;水平内边距 `px-8 md:px-24`(移动 2rem / 桌面 6rem);区块垂直内边距 `py-32`(8rem)。
243
-
244
- 区块间距:标题→内容 `mb-20`(5rem);标准网格间距 `gap-6`(1.5rem),宽松 `gap-10 ~ gap-24`;卡片内边距 `p-8 ~ p-12`;元素间距 `mb-3 ~ mb-6`。
245
-
246
- 根据内容在浅色、深红和近黑表面间建立节奏;不要求年报章节、Hero、Overview、Business、Team、Outlook 或 Footer 按固定顺序出现。深色区适合巨型标题或关键结论,浅色区适合高密度内容,玻璃卡用于暗区承载信息。
247
-
248
- 网格列数和主次比例按信息关系确定。窄屏减少列数、缩放巨型标题并保持内容顺序清晰,不保留桌面端的固定分栏。
249
-
250
- ## Elevation & Depth
251
-
252
- | 级别 | 值 | 用途 |
253
- |------|-----|------|
254
- | 微 | `shadow-sm` | 图表面板 |
255
- | 标准 | `shadow-lg` | 产品卡 |
256
- | 强 | `shadow-xl` | 浮层信息面板 |
257
- | 巨 | `shadow-2xl` | 暗区特殊容器(无具体使用位,见 gaps)|
258
- | 指标卡默认 | `0 10px 40px -15px rgba(0,0,0,0.1)` | 指标卡 |
259
- | 指标卡 hover | `0 20px 60px -15px rgba(139,0,0,0.2)` | 品牌色染色投影 |
260
- | 暗区白面板 | `0 40px 100px -20px rgba(0,0,0,0.3)` | 深区内白面板 |
261
-
262
- ECharts:浅区 tooltip `shadowBlur:30, shadowColor:rgba(0,0,0,0.1), shadowOffsetY:10`;散点 `shadowBlur:4, shadowColor:rgba(139,0,0,0.3)`。
263
-
264
- 背景装饰:Hero 复合 = `bg-[#1a0000]` + 径向渐变 `radial-gradient(circle at 20% 30%, rgba(139,0,0,0.4) 0%, transparent 50%)` 与 `radial-gradient(circle at 80% 70%, rgba(165,42,42,0.3) 0%, transparent 50%)` + 网格线 `1px rgba(255,255,255,0.05)` @60px `opacity-20` + carbon-fibre 纹理 `opacity-[0.03]`。暗区模糊色块:`w-2/3 bg-nebula-crimson skew-x-12 opacity-10 blur-3xl`,反向计数块 `w-1/2 bg-blue-900 skew-x-[-12deg] opacity-5 blur-3xl`。浅区柔光:`w-64 h-64 bg-red-50 rounded-full blur-3xl opacity-50`。深红点阵:`radial-gradient(circle at 2px 2px, white 1px, transparent 0)` `backgroundSize:40px 40px` `opacity-10`。玻璃:`backdrop-blur-md`。
265
-
266
- ## Shapes
267
-
268
- 圆角:`rounded-lg`(8px, badge/图标容器) · `rounded-xl`(12px, 标准卡) · `rounded-2xl`(16px, 中面板) · `rounded-3xl`(24px, 大面板/产品卡) · `rounded-[2rem]`(32px, 巨容器) · `rounded-full`(进度条)。图表容器 `rounded-2xl` 或 `rounded-[2rem]`;图表 tooltip `borderRadius:12`(浅) / `8`(暗变体);柱 itemStyle 顶角 `[10,10,0,0]`、横向 `[0,10,10,0]`。
269
-
270
- 边框:标准浅色 `border border-gray-100`;暗区玻璃 `border border-white/10`;左强调 `border-l-4 border-nebula-crimson`(强调框 `border-l-8`);产品卡底强调 `border-b-[12px] border-gray-100 hover:border-nebula-crimson`;hover 底部进度线 `h-1 w-0 bg-nebula-crimson group-hover:w-full`;Footer 顶 `border-t border-white/5`;分隔 `h-px w-full bg-gray-100`,品牌分隔 `h-px w-24 bg-nebula-crimson`;目标卡增长徽章 `border border-red-800/30`。
271
-
272
- ## Components
273
-
274
- - **指标卡**:`{components.metricCard}` — 浅色卡;hover 投影转品牌色深投影、底部进度线展开、图标翻色,`transition-all duration-500`。
275
- - **品牌区块**:`{components.crimsonBlock}` — 全幅深红/深红黑区块,叠加 skew 模糊光斑与深红点阵。
276
- - **玻璃卡**:`{components.glassCard}` — 暗区透明白容器 + `backdrop-blur-md`,hover 提亮。
277
- - **左强调条**:`{components.emphasisBar}` — 数据高亮,hover 淡红底。
278
- - **产品卡**:`{components.productCard}` — hover 上浮 + 图标放大 + 底边线变品牌色。
279
- - **进度条**:`{components.progressBar}` — 红→深红渐变,`transition-all duration-[1.5s] ease-out`。
280
- - **图表**:序列色见 `{colors.seq1}`–`{colors.seq5}`(深红→鲑橙 5 段,不引入其他色相);浅区 tooltip `{components.chartTooltipLight}`,暗/深红区 tooltip `{components.chartTooltipDark}`。
281
-
282
- 交互动效:阴影加深 / 上浮 `-translate-y-4` / 底线展开 `w-0→w-full` / 图标 `scale-110` 均 `duration-500`;文字微移 `hover:translate-x-1 duration-300`;图标翻色 `duration-300`;玻璃提亮 `bg-white/5→/10 duration-300`。动画:滚动提示 `animate-bounce opacity-40`;Hero 标题渐变 `animate-pulse`;进度条 `duration-[1.5s] ease-out`。
283
-
284
- ## Hard Rules
285
-
286
- - 标题始终 `font-black`(900) + `tracking-tight` 或 `tracking-tighter`;英文辅助标签始终 `uppercase tracking-widest text-[10px]`。
287
- - 深红 `#8B0000` 极度克制:仅用于品牌区块背景、强调数值、进度条、装饰线与 hover 过渡;正文与大面积辅助面禁用深红,改用白/灰承载。
288
- - 页面应使用浅色与暗色表面建立对比节奏,但不规定颜色顺序、段数或每段必须全幅。
289
- - 内容容器可参考 `max-w-7xl mx-auto`,并按任务形态调整。
290
- - eyebrow 行在大写英文标签前必须前置小装饰线 `h-0.5 w-8 bg-nebula-crimson`。
291
- - 图表配色必须是固定的深红→鲑橙 5 段序列(`{colors.seq1}`–`{colors.seq5}`);图表内不引入其他色相。
292
- - 组件圆角下限为 `rounded-lg`(8px),禁止直角卡片。
293
- - 字体 @import 域必须走 `https://miaoda.feishu.cn/fonts/css2`,禁止 `fonts.googleapis.com` 直连。
294
-
295
- ## Exceptions
296
-
297
- - `bg-blue-900` 仅允许作为暗区 `opacity-5 blur-3xl` 背景光斑出现(反向计数块),绝不作为可用 UI 色相。
298
- - 进度条渐变起点 `from-red-900`(#7F1D1D) 借用 Tailwind 内置色,属唯一允许的非 `nebula-crimson` 品牌红。
299
- - 暗色背景为逐区块选择(Hero/Outlook/Footer),非全局明暗主题切换系统;不存在 theme toggle。
300
-
301
- ## Do's and Don'ts
302
-
303
- - Do:用白/深灰的大量留白框住深红点睛;中英双语标题保持层次(超黑巨标 + 大写英文 eyebrow)。
304
- - Do:图表容器统一 `rounded-2xl`/`rounded-[2rem]` + `shadow-sm`;hover 态优先用品牌色染色投影传达高端感。
305
- - Don't:不引入第二强调色相(除绿色增长标记外,全系仅深红 + 灰阶)。
306
- - Don't:不使用衬线体;不加 `rounded-lg` 以下的小圆角组件。
@@ -1,74 +0,0 @@
1
- ---
2
- version: "neuform-top-creators-featured"
3
- name: nexuscore-analytics
4
- name_zh: 核心分析
5
- description: "近黑底配电光紫的精密分析界面:紧凑直角面板、清晰的数据层级与等宽元数据组成克制的未来感。适合分析看板、运营后台、工作台、开发者工具和界面型产品展示;动态光效只用于建立焦点,不能取代内容结构。"
6
- colors:
7
- primary: "#6D5DFB"
8
- secondary: "#18181B"
9
- accent: "#6D5DFB"
10
- background: "#0F1115"
11
- surface: "#18181B"
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: "8px"
39
- control: "8px"
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
- # NexusCore Analytics
50
- Source: Neuform Featured templates from top creators. Author: Meng To (@mengto). Views: 18; favorites: 2; remixes: 0.
51
- Tags: dashboard, charts, bento, animated, webgl, threejs, cta, navigation.
52
- ## Overview
53
- 近黑背景与深灰表面承载密集但可读的数据层级,电光紫只落在关键指标、当前状态与主操作。Inter 负责正文,JetBrains Mono 负责标签和技术元数据。适合分析看板、运营后台、开发者工具、工作台与界面型产品展示。
54
- ## Composition
55
- 用核心指标或关键工作区建立焦点,再以紧凑模块组织次级信息;具体位置与顺序按任务决定。桌面端可保留横向比较和数据密度,窄屏按任务优先级重排,主操作保持可见。
56
- ## Colors
57
- Anchor the palette in primary #6D5DFB, secondary #18181B, accent #6D5DFB, background #0F1115, surface #18181B, 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,251 +0,0 @@
1
- ---
2
- version: alpha
3
- name: organic-minimalism
4
- name_zh: 有机极简
5
- description: 有机极简主义界面风——大面积留白配柔和自然绿调,超大圆角卡片(40-48px)+极简线性图标+无装饰主义排版;单一强调色石灰绿严格聚焦于激活态/CTA/关键结果,全局仅浅阴影(shadow-sm)。自然、轻盈、精确、值得信赖。
6
- colors:
7
- bg: "#FFFFFF"
8
- surface: "#F6F7F2"
9
- header: "#1A1A1A"
10
- text: "#1A1A1A"
11
- text-muted: "#9CA3AF"
12
- accent-bg: "#D8EC9D"
13
- accent-text: "#B3D166"
14
- border: "rgba(243, 244, 246, 0.5)"
15
- hover-bg: "#F3F4F6"
16
- accent-soft: "rgba(179, 209, 102, 0.3)"
17
- select-target-hover: "#1F2937"
18
- select-target-bg: "#111827"
19
- selection-highlight: "#D1FAE5"
20
- typography:
21
- base:
22
- fontFamily: '"Noto Sans SC", sans-serif'
23
- usage: 全局唯一字体族,标题/正文/数值统一继承(无字体切换);数值以 font-bold 呈现区分,非独立数字字体
24
- hero-title:
25
- fontSize: 48px
26
- fontWeight: 700
27
- lineHeight: leading-tight
28
- usage: 页面主标题(Tailwind text-5xl font-bold leading-tight)
29
- section-title:
30
- fontSize: 36px
31
- fontWeight: 700
32
- usage: 区块标题、转换器数值显示(Tailwind text-4xl font-bold)
33
- card-title:
34
- fontSize: 24px
35
- fontWeight: 700
36
- usage: 网格卡片标题(Tailwind text-2xl font-bold)
37
- body:
38
- fontSize: 18px
39
- fontWeight: 400
40
- lineHeight: leading-relaxed
41
- usage: 描述段落(Tailwind text-lg font-normal leading-relaxed)
42
- small-label:
43
- fontSize: 14px
44
- fontWeight: 500
45
- usage: 按钮文字、卡片副标题(Tailwind text-sm font-medium)
46
- breadcrumb:
47
- fontSize: 12px
48
- fontWeight: 500
49
- usage: 面包屑导航、底部版权(Tailwind text-[12px] font-medium)
50
- micro-label:
51
- fontSize: 11px
52
- fontWeight: 700
53
- letterSpacing: tracking-widest
54
- upper: true
55
- usage: 表单标签(uppercase+tracking-widest)、页脚关键词(Tailwind text-[11px] font-bold uppercase tracking-widest)
56
- pill-select:
57
- fontSize: 12px
58
- fontWeight: 700
59
- usage: 下拉选择器文字(Tailwind text-xs font-bold)
60
- rounded:
61
- hero: 48px
62
- panel: 40px
63
- icon: 16px
64
- full: 9999px
65
- spacing:
66
- page-top: 48px
67
- hero-margin-top: 64px
68
- hero-padding: "48px~64px"
69
- grid-margin-top: 96px
70
- grid-margin-bottom: 128px
71
- card-padding: 40px
72
- panel-padding: "32px~48px"
73
- grid-gap: 24px
74
- form-group-gap: 48px
75
- footer-padding: 48px
76
- components:
77
- cta-button:
78
- container: flex items-center gap-3 group px-1
79
- text: "font-bold {colors.text}"
80
- circle: "w-10 h-10 rounded-full {colors.accent-bg} shadow-sm"
81
- icon: "w-5 h-5 {colors.text}"
82
- hover: group-hover:translate-x-1
83
- learn-more-button:
84
- container: flex items-center gap-2 group
85
- text: "text-sm font-medium {colors.text}"
86
- circle: "w-8 h-8 rounded-full {colors.hover-bg}"
87
- icon: "w-4 h-4 {colors.text}"
88
- hover: group-hover:rotate-45
89
- swap-button:
90
- container: "w-12 h-12 rounded-full {colors.bg} border border-gray-100 shadow-sm"
91
- icon: "w-4 h-4 {colors.text-muted}"
92
- hover: hover:bg-gray-50 hover:scale-110
93
- category-card:
94
- radius: "{rounded.panel}"
95
- padding: "{spacing.card-padding}"
96
- layout: "h-[320px] flex flex-col justify-between text-left"
97
- default: "bg={colors.surface},hover:bg-gray-100/50"
98
- active: "bg={colors.accent-bg}"
99
- icon-container:
100
- default: "w-12 h-12 {rounded.icon} bg-transparent {colors.text}"
101
- active: "w-12 h-12 {rounded.icon} bg-white {colors.text}"
102
- hover: group-hover:scale-110
103
- title: "见 {typography.card-title}"
104
- subtitle: "{colors.text-muted} text-sm mt-1"
105
- arrow-default: "w-10 h-10 rounded-full bg-white shadow-sm,icon={colors.text-muted}"
106
- arrow-active: "w-10 h-10 rounded-full bg-white,icon={colors.text}"
107
- transition: "all 0.3s cubic-bezier(0.4, 0, 0.2, 1)"
108
- number-input:
109
- style: "text-4xl font-bold {colors.text} bg-transparent focus:outline-none w-full"
110
- placeholder: "0"
111
- validation: "仅允许数字和小数点 /^-?\\d*\\.?\\d*$/"
112
- appearance: "-webkit-appearance: none(隐藏浏览器数字控件)"
113
- unit-select:
114
- source: "bg={colors.accent-soft},文字色 text-lime-800(源未提供 hex,见 gaps),text-xs font-bold px-4 py-2 rounded-full,hover:bg-lime-primary/50"
115
- target: "bg={colors.select-target-bg},color=white,text-xs font-bold px-4 py-2 rounded-full,hover:bg={colors.select-target-hover}"
116
- result-display:
117
- style: "text-4xl font-bold {colors.accent-text} truncate w-full"
118
- anchors:
119
- - id: huge-rounded-cards
120
- type: token
121
- desc: 全站卡片/面板圆角均为超大有机圆角(见 rounded.hero 与 rounded.panel),取代常规小圆角体系
122
- - id: lime-accent-single
123
- type: token
124
- desc: 唯一强调色石灰绿(accent-bg/accent-text),仅用于激活态、CTA、数值结果,不做大面积铺色
125
- - id: category-card-active-state
126
- type: component
127
- desc: 分类网格卡片默认态暖灰底,激活态整卡切换为强调色底+图标容器反白,是全站唯一的状态切换视觉焦点
128
- - id: minimal-line-icon
129
- type: pattern
130
- desc: 全站图标为极简线性图标,无填充无装饰边框,仅描边呈现
131
- - id: whitespace-heavy-layout
132
- type: pattern
133
- desc: 区块间距远大于常规密度,留白本身是主要视觉语言而非装饰元素
134
- - id: soft-shadow-only
135
- type: token
136
- desc: 全局阴影统一为极轻的 shadow-sm 一档,无重投影、无模糊分级体系
137
- - id: no-decoration-typography
138
- type: pattern
139
- desc: 全站单一无衬线字体族,无手写体/衬线体混排,标题与正文靠字重字号区分而非装饰
140
- gaps:
141
- - 下拉选择器(来源单位)文字色 class 为 text-lime-800,源未提供对应 hex 值
142
- - 源文件未提供字体 @import 语句(仅注明字体族名 'Noto Sans SC, sans-serif'),按规范补充标准 Google Fonts 引入,权重覆盖源文件实际使用的 400/500/700(补充项,请确认)
143
- - 无暗色模式定义
144
- - 无图表/数据看板组件规范(源为单位转换器工具页,不含图表场景)
145
- - 无表单校验错误态样式定义(仅数字输入框的格式校验规则,无错误提示视觉)
146
- - 未指定具体图标库,仅描述为"极简线性图标"(源无实现细节)
147
- exceptions:
148
- - 互换按钮/圆形图标按钮/下拉选择器 Pill 使用 rounded.full(全圆),不遵循卡片类超大圆角(hero/panel)体系,圆形与卡片是两套独立圆角逻辑
149
- - 页脚边框(border-t border-gray-100)使用不透明 gray-100,而非 colors.border 的半透明 rgba 值,是全局唯一使用不透明边框色的位置
150
- - 下拉选择器(来源单位)文字色 text-lime-800 源未给出 hex,未纳入 colors 色板(见 gaps)
151
- ---
152
-
153
- ## Overview
154
-
155
- 有机极简主义界面风:超大留白 + 单一石灰绿强调色 + 极简线性图标构成自然、轻盈、精确、可信任的基调。整体节奏依赖宽松间距营造呼吸感,而非依赖装饰元素;模块类型和页面结构由任务决定。
156
-
157
- ## Colors
158
-
159
- | 角色 | 值 | 用法 |
160
- |-----|-----|-----|
161
- | bg | {colors.bg} | 页面主背景 |
162
- | surface | {colors.surface} | 卡片/区块底色,带微黄暖灰调(转换器面板/网格卡片默认态) |
163
- | header | {colors.header} | 主标题文字 |
164
- | text | {colors.text} | 正文主色、按钮文字、图标默认色 |
165
- | text-muted | {colors.text-muted} | 辅助说明、副标题、标签文字、非激活箭头图标 |
166
- | accent-bg | {colors.accent-bg} | 石灰绿背景 —— CTA 圆形按钮底色、分类卡片激活态底色 |
167
- | accent-text | {colors.accent-text} | 石灰绿文字 —— 转换结果数值 |
168
- | border | {colors.border} | 转换器面板极淡分割线 |
169
- | hover-bg | {colors.hover-bg} | 悬停态底色、"了解更多"按钮圆形底 |
170
- | accent-soft | {colors.accent-soft} | 下拉选择器(来源单位)背景,石灰绿低透明度 |
171
- | select-target-hover | {colors.select-target-hover} | 下拉选择器(目标单位)悬停色 |
172
- | select-target-bg | {colors.select-target-bg} | 下拉选择器(目标单位)默认背景,深色 |
173
- | selection-highlight | {colors.selection-highlight} | 文本选中高亮(selection:bg) |
174
-
175
- ## Typography
176
-
177
- 全局样式首行原样写入(HARD REQUIREMENT,禁止替换;补充项——源文件仅注明字体族名 "Noto Sans SC, sans-serif",未提供 @import 语句,此处按 Google Fonts 标准补充,权重覆盖源文件实际使用的 400/500/700,请确认):
178
-
179
- ```css
180
- @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap');
181
- ```
182
-
183
- 全站单一字体族(见 frontmatter typography.base),无字体切换;数值继承同一字体,仅以 font-bold 呈现区分,非独立数字字体。
184
-
185
- | 层级 | 大小 | 字重 | 行高 | 用途 |
186
- |-----|-----|-----|-----|-----|
187
- | Hero Title | 48px(text-5xl) | 700(font-bold) | leading-tight | 页面主标题 |
188
- | Section Title | 36px(text-4xl) | 700(font-bold) | 默认 | 区块标题、转换器数值显示 |
189
- | Card Title | 24px(text-2xl) | 700(font-bold) | 默认 | 网格卡片标题 |
190
- | Body | 18px(text-lg) | 400(font-normal) | leading-relaxed | 描述段落 |
191
- | Small Label | 14px(text-sm) | 500(font-medium) | 默认 | 按钮文字、卡片副标题 |
192
- | Breadcrumb | 12px(text-[12px]) | 500(font-medium) | 默认 | 面包屑导航、底部版权 |
193
- | Micro Label | 11px(text-[11px]) | 700(font-bold) | 默认 | 表单标签(uppercase+tracking-widest)、页脚关键词 |
194
- | Pill / Select | 12px(text-xs) | 700(font-bold) | 默认 | 下拉选择器文字 |
195
-
196
- ## Layout
197
-
198
- - 整体容器可参考 max-w-7xl(1280px) mx-auto px-6,并按内容密度调整。
199
- - 用超大圆角表面承载主任务或重要内容;卡片数量、列数、主次比例和区块顺序不作预设。
200
- - 间距系统:见 frontmatter spacing(page-top / hero-margin-top / hero-padding / grid-margin-top / grid-margin-bottom / card-padding / panel-padding / grid-gap / form-group-gap / footer-padding)。
201
- - 响应式断点按可读性减少列数和内边距,窄屏将相关内容自然重排,不固定为 2/5+3/5 或三列。
202
-
203
- ## Elevation & Depth
204
-
205
- 全局保持极轻阴影(仅 shadow-sm),强化通透感,无重阴影/无模糊层级体系:
206
-
207
- | 元素 | 阴影值 |
208
- |-----|-----|
209
- | 转换器白色面板 | shadow-sm |
210
- | CTA 圆形按钮 | shadow-sm |
211
- | 非激活卡片箭头按钮 | shadow-sm |
212
- | 互换按钮 | shadow-sm |
213
-
214
- 无 hover 阴影升级,深度感完全依赖留白与超大圆角,不依赖阴影分级。
215
-
216
- ## Shapes
217
-
218
- - 圆角体系:Hero 卡片 {rounded.hero},转换器面板/网格卡片 {rounded.panel},图标容器 {rounded.icon},圆形按钮/Pill {rounded.full}。全站无常规小圆角(4-8px)卡片,圆角只有"超大"与"全圆"两档。
219
- - 边框:转换器面板 border {colors.border};输入/输出下划线 border-b border-gray-100;互换按钮 border border-gray-100;页脚顶部 border-t border-gray-100。全局边框极淡(gray-100 或 border token 半透明),不用深色描边。
220
- - 图标:极简线性描边图标,无填充/无装饰边框(源未指定具体图标库,见 gaps)。
221
- - 动效:卡片切换 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);悬停微交互 scale-110 / translate-x-1 / rotate-45,幅度小、无弹跳。
222
-
223
- ## Components
224
-
225
- 详见 frontmatter components(cta-button / learn-more-button / swap-button / category-card / number-input / unit-select / result-display)。补充说明:
226
-
227
- - CTA 按钮悬停 group-hover:translate-x-1,圆形箭头底色即 accent-bg。
228
- - "了解更多"按钮悬停 group-hover:rotate-45,圆形底色为中性灰 hover-bg,与 CTA 的强调色圆形形成主/次按钮区分。
229
- - Category Card 默认态与激活态是本风格唯一的强调色触发点:默认态用 surface 暖灰,激活态整卡切换为 accent-bg,图标容器同步由透明切换为白底。
230
- - 下拉选择器(来源单位)用 accent-soft(石灰绿 30% 透明度)底,与(目标单位)深色 select-target-bg 底形成"来源=浅绿 / 目标=深灰"的语义区分。
231
-
232
- ## Do's and Don'ts
233
-
234
- - 强调色(accent-bg / accent-text)只用于激活态、CTA、数值结果,不做大面积铺色。
235
- - 卡片/面板圆角保持超大(40px 以上),避免与常规小圆角混用打破"有机"气质。
236
- - 阴影统一用 shadow-sm 级别,不引入更重的投影分级。
237
- - 页面留白节奏(mt-24 / mb-32 等大间距)是气质核心,不为塞入更多内容压缩间距。
238
-
239
- ## Hard Rules
240
-
241
- - 全局唯一强调色为石灰绿(accent-bg / accent-text),不得引入第二种强调色。
242
- - 卡片类圆角(Hero / 面板 / 网格卡片)必须使用 rounded.hero 或 rounded.panel(40px 以上),不得使用常规小圆角。
243
- - 阴影统一 shadow-sm,禁止使用更重的投影或模糊阴影层级。
244
- - 主字体族全局统一为 Noto Sans SC,不得混入手写体/衬线体等其他字体气质。
245
- - @import 字体加载行必须原样保留在全局样式首行,禁止替换或省略(HARD REQUIREMENT)。
246
-
247
- ## Exceptions
248
-
249
- - 互换按钮/圆形图标按钮/下拉选择器 Pill 使用 rounded.full(全圆),不遵循卡片类超大圆角(hero / panel)体系,圆形与卡片是两套独立圆角逻辑。
250
- - 页脚边框(border-t border-gray-100)使用不透明 gray-100,而非 colors.border 的半透明 rgba 值,是全局唯一使用不透明边框色的位置。
251
- - 下拉选择器(来源单位)文字色 text-lime-800 源未给出 hex,未纳入 colors 色板(见 gaps)。