@lark-apaas/coding-steering 0.1.64 → 0.1.66

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 (24) hide show
  1. package/package.json +1 -1
  2. package/steering/nestjs-react-fullstack/skills/coding-guide/SKILL.md +1 -1
  3. package/steering/nestjs-react-fullstack/skills/design-guide/SKILL.md +3 -1
  4. package/steering/nestjs-react-fullstack/skills/design-guide/references/broadsheet.md +35 -33
  5. package/steering/nestjs-react-fullstack/skills/design-guide/references/claude-editorial-research.md +33 -33
  6. package/steering/nestjs-react-fullstack/skills/design-guide/references/crimson-frosted-glass.md +41 -41
  7. package/steering/nestjs-react-fullstack/skills/design-guide/references/cybernetic-vault-terminal.md +8 -8
  8. package/steering/nestjs-react-fullstack/skills/design-guide/references/dashboard.md +43 -42
  9. package/steering/nestjs-react-fullstack/skills/design-guide/references/digital-e-guide.md +98 -98
  10. package/steering/nestjs-react-fullstack/skills/design-guide/references/finance-report.md +24 -24
  11. package/steering/nestjs-react-fullstack/skills/design-guide/references/flowbite.md +16 -16
  12. package/steering/nestjs-react-fullstack/skills/design-guide/references/handwritten-sketch.md +56 -52
  13. package/steering/nestjs-react-fullstack/skills/design-guide/references/industry.md +40 -38
  14. package/steering/nestjs-react-fullstack/skills/design-guide/references/metabase.md +47 -41
  15. package/steering/nestjs-react-fullstack/skills/design-guide/references/minimal-jade.md +48 -48
  16. package/steering/nestjs-react-fullstack/skills/design-guide/references/nebula-crimson.md +23 -23
  17. package/steering/nestjs-react-fullstack/skills/design-guide/references/nexuscore-analytics.md +7 -7
  18. package/steering/nestjs-react-fullstack/skills/design-guide/references/organic-minimalism.md +43 -41
  19. package/steering/nestjs-react-fullstack/skills/design-guide/references/pm-spec.md +54 -53
  20. package/steering/nestjs-react-fullstack/skills/design-guide/references/pop-art.md +51 -43
  21. package/steering/nestjs-react-fullstack/skills/design-guide/references/sap-fiori-horizon.md +33 -31
  22. package/steering/nestjs-react-fullstack/skills/design-guide/references/token-mapping.md +17 -17
  23. package/steering/nestjs-react-fullstack/skills/design-guide/references/warm-elegance.md +43 -41
  24. package/steering/nestjs-react-fullstack/skills/design-guide/references/wild-orange.md +24 -24
@@ -4,16 +4,17 @@ name: organic-minimalism
4
4
  name_zh: 有机极简
5
5
  description: 有机极简主义界面风——大面积留白配柔和自然绿调,超大圆角卡片(40-48px)+极简线性图标+无装饰主义排版;单一强调色石灰绿严格聚焦于激活态/CTA/关键结果,全局仅浅阴影(shadow-sm)。自然、轻盈、精确、值得信赖。
6
6
  colors:
7
- bg: "#FFFFFF"
8
- surface: "#F6F7F2"
7
+ background: "#FFFFFF"
8
+ card: "#F6F7F2"
9
9
  header: "#1A1A1A"
10
- text: "#1A1A1A"
11
- text-muted: "#9CA3AF"
12
- accent-bg: "#D8EC9D"
13
- accent-text: "#B3D166"
10
+ foreground: "#1A1A1A"
11
+ muted-foreground: "#9CA3AF"
12
+ primary: "#D8EC9D"
13
+ primary-foreground: "#1A1A1A"
14
+ primary-strong: "#B3D166"
14
15
  border: "rgba(243, 244, 246, 0.5)"
15
- hover-bg: "#F3F4F6"
16
- accent-soft: "rgba(179, 209, 102, 0.3)"
16
+ accent: "#F3F4F6"
17
+ primary-soft: "rgba(179, 209, 102, 0.3)"
17
18
  select-target-hover: "#1F2937"
18
19
  select-target-bg: "#111827"
19
20
  selection-highlight: "#D1FAE5"
@@ -76,52 +77,52 @@ spacing:
76
77
  components:
77
78
  cta-button:
78
79
  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}"
80
+ text: "font-bold {colors.foreground}"
81
+ circle: "w-10 h-10 rounded-full {colors.primary} shadow-sm"
82
+ icon: "w-5 h-5 {colors.foreground}"
82
83
  hover: group-hover:translate-x-1
83
84
  learn-more-button:
84
85
  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}"
86
+ text: "text-sm font-medium {colors.foreground}"
87
+ circle: "w-8 h-8 rounded-full {colors.accent}"
88
+ icon: "w-4 h-4 {colors.foreground}"
88
89
  hover: group-hover:rotate-45
89
90
  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}"
91
+ container: "w-12 h-12 rounded-full {colors.background} border border-gray-100 shadow-sm"
92
+ icon: "w-4 h-4 {colors.muted-foreground}"
92
93
  hover: hover:bg-gray-50 hover:scale-110
93
94
  category-card:
94
95
  radius: "{rounded.panel}"
95
96
  padding: "{spacing.card-padding}"
96
97
  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}"
98
+ default: "bg={colors.card},hover:bg-gray-100/50"
99
+ active: "bg={colors.primary}"
99
100
  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}"
101
+ default: "w-12 h-12 {rounded.icon} bg-transparent {colors.foreground}"
102
+ active: "w-12 h-12 {rounded.icon} bg-white {colors.foreground}"
102
103
  hover: group-hover:scale-110
103
104
  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}"
105
+ subtitle: "{colors.muted-foreground} text-sm mt-1"
106
+ arrow-default: "w-10 h-10 rounded-full bg-white shadow-sm,icon={colors.muted-foreground}"
107
+ arrow-active: "w-10 h-10 rounded-full bg-white,icon={colors.foreground}"
107
108
  transition: "all 0.3s cubic-bezier(0.4, 0, 0.2, 1)"
108
109
  number-input:
109
- style: "text-4xl font-bold {colors.text} bg-transparent focus:outline-none w-full"
110
+ style: "text-4xl font-bold {colors.foreground} bg-transparent focus:outline-none w-full"
110
111
  placeholder: "0"
111
112
  validation: "仅允许数字和小数点 /^-?\\d*\\.?\\d*$/"
112
113
  appearance: "-webkit-appearance: none(隐藏浏览器数字控件)"
113
114
  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
+ source: "bg={colors.primary-soft},文字色 text-lime-800(源未提供 hex,见 gaps),text-xs font-bold px-4 py-2 rounded-full,hover:bg-lime-primary/50"
115
116
  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
117
  result-display:
117
- style: "text-4xl font-bold {colors.accent-text} truncate w-full"
118
+ style: "text-4xl font-bold {colors.primary-strong} truncate w-full"
118
119
  anchors:
119
120
  - id: huge-rounded-cards
120
121
  type: token
121
122
  desc: 全站卡片/面板圆角均为超大有机圆角(见 rounded.hero 与 rounded.panel),取代常规小圆角体系
122
123
  - id: lime-accent-single
123
124
  type: token
124
- desc: 唯一强调色石灰绿(accent-bg/accent-text),仅用于激活态、CTA、数值结果,不做大面积铺色
125
+ desc: 唯一强调色石灰绿(primary/primary-strong),仅用于激活态、CTA、数值结果,不做大面积铺色
125
126
  - id: category-card-active-state
126
127
  type: component
127
128
  desc: 分类网格卡片默认态暖灰底,激活态整卡切换为强调色底+图标容器反白,是全站唯一的状态切换视觉焦点
@@ -158,16 +159,17 @@ exceptions:
158
159
 
159
160
  | 角色 | 值 | 用法 |
160
161
  |-----|-----|-----|
161
- | bg | {colors.bg} | 页面主背景 |
162
- | surface | {colors.surface} | 卡片/区块底色,带微黄暖灰调(转换器面板/网格卡片默认态) |
162
+ | background | {colors.background} | 页面主背景 |
163
+ | card | {colors.card} | 卡片/区块底色,带微黄暖灰调(转换器面板/网格卡片默认态) |
163
164
  | 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} | 石灰绿文字 —— 转换结果数值 |
165
+ | foreground | {colors.foreground} | 正文主色、按钮文字、图标默认色 |
166
+ | muted-foreground | {colors.muted-foreground} | 辅助说明、副标题、标签文字、非激活箭头图标 |
167
+ | primary | {colors.primary} | 石灰绿背景 —— CTA 圆形按钮底色、分类卡片激活态底色 |
168
+ | primary-foreground | {colors.primary-foreground} | 压在石灰绿底上的文字/图标色(CTA 圆形按钮图标、激活态卡片文字,同 foreground) |
169
+ | primary-strong | {colors.primary-strong} | 石灰绿文字 —— 转换结果数值 |
168
170
  | border | {colors.border} | 转换器面板极淡分割线 |
169
- | hover-bg | {colors.hover-bg} | 悬停态底色、"了解更多"按钮圆形底 |
170
- | accent-soft | {colors.accent-soft} | 下拉选择器(来源单位)背景,石灰绿低透明度 |
171
+ | accent | {colors.accent} | 悬停态底色、"了解更多"按钮圆形底 |
172
+ | primary-soft | {colors.primary-soft} | 下拉选择器(来源单位)背景,石灰绿低透明度 |
171
173
  | select-target-hover | {colors.select-target-hover} | 下拉选择器(目标单位)悬停色 |
172
174
  | select-target-bg | {colors.select-target-bg} | 下拉选择器(目标单位)默认背景,深色 |
173
175
  | selection-highlight | {colors.selection-highlight} | 文本选中高亮(selection:bg) |
@@ -224,21 +226,21 @@ exceptions:
224
226
 
225
227
  详见 frontmatter components(cta-button / learn-more-button / swap-button / category-card / number-input / unit-select / result-display)。补充说明:
226
228
 
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 底形成"来源=浅绿 / 目标=深灰"的语义区分。
229
+ - CTA 按钮悬停 group-hover:translate-x-1,圆形箭头底色即 primary。
230
+ - "了解更多"按钮悬停 group-hover:rotate-45,圆形底色为中性灰 accent,与 CTA 的强调色圆形形成主/次按钮区分。
231
+ - Category Card 默认态与激活态是本风格唯一的强调色触发点:默认态用 card 暖灰,激活态整卡切换为 primary,图标容器同步由透明切换为白底。
232
+ - 下拉选择器(来源单位)用 primary-soft(石灰绿 30% 透明度)底,与(目标单位)深色 select-target-bg 底形成"来源=浅绿 / 目标=深灰"的语义区分。
231
233
 
232
234
  ## Do's and Don'ts
233
235
 
234
- - 强调色(accent-bg / accent-text)只用于激活态、CTA、数值结果,不做大面积铺色。
236
+ - 强调色(primary / primary-strong)只用于激活态、CTA、数值结果,不做大面积铺色。
235
237
  - 卡片/面板圆角保持超大(40px 以上),避免与常规小圆角混用打破"有机"气质。
236
238
  - 阴影统一用 shadow-sm 级别,不引入更重的投影分级。
237
239
  - 页面留白节奏(mt-24 / mb-32 等大间距)是气质核心,不为塞入更多内容压缩间距。
238
240
 
239
241
  ## Hard Rules
240
242
 
241
- - 全局唯一强调色为石灰绿(accent-bg / accent-text),不得引入第二种强调色。
243
+ - 全局唯一强调色为石灰绿(primary / primary-strong),不得引入第二种强调色。
242
244
  - 卡片类圆角(Hero / 面板 / 网格卡片)必须使用 rounded.hero 或 rounded.panel(40px 以上),不得使用常规小圆角。
243
245
  - 阴影统一 shadow-sm,禁止使用更重的投影或模糊阴影层级。
244
246
  - 主字体族全局统一为 Noto Sans SC,不得混入手写体/衬线体等其他字体气质。
@@ -3,24 +3,25 @@ version: alpha
3
3
  name: pm-spec
4
4
  name_zh: 规格蓝本
5
5
  description: >-
6
- 单页产品规格 / PRD 风格:冷灰蓝纸面(bg #f5f7fa / paper 白)承载浓密文档流,
6
+ 单页产品规格 / PRD 风格:冷灰蓝纸面(background #f5f7fa / card 白)承载浓密文档流,
7
7
  靛紫强调色 #4a36e3 仅点缀状态胶囊、引用块、指标目标与里程碑徽章;正文用 system-serif
8
8
  Charter 起标题、系统无衬线走正文、等宽体承担全部 uppercase 微标签(面包屑 / 表头 /
9
9
  徽章 / 页脚)。无阴影,层级只靠 1px 细线 (#e2e6ee) + 10px 圆角卡片。信息块以 grid
10
10
  可在适合长文档精读的场景中使用纸面内容流与局部分栏。它定义文档气质,不强制所有主题采用同一种页面骨架。
11
11
  colors:
12
- bg: "#f5f7fa"
13
- paper: "#ffffff"
14
- ink: "#0e1322"
15
- muted: "#5a647a"
16
- line: "#e2e6ee"
12
+ background: "#f5f7fa"
13
+ card: "#ffffff"
14
+ foreground: "#0e1322"
15
+ muted-foreground: "#5a647a"
16
+ border: "#e2e6ee"
17
17
  line-strong: "#c8cfdb"
18
- accent: "#4a36e3"
19
- accent-soft: "#ece8ff"
18
+ primary: "#4a36e3"
19
+ primary-foreground: "#ffffff"
20
+ accent: "#ece8ff"
20
21
  warn: "#b8741a"
21
22
  positive: "#1f8a5a"
22
23
  th-bg: "#f8fafd"
23
- accent-grad-end: "#8473ff"
24
+ primary-grad-end: "#8473ff"
24
25
  typography:
25
26
  h1:
26
27
  fontFamily: "'Charter', Georgia, 'PingFang SC', 'Noto Serif SC', serif"
@@ -36,14 +37,14 @@ typography:
36
37
  fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, 'PingFang SC', sans-serif"
37
38
  fontSize: "13px"
38
39
  fontWeight: "400"
39
- color: "{colors.muted}"
40
+ color: "{colors.muted-foreground}"
40
41
  body:
41
42
  fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, 'PingFang SC', sans-serif"
42
43
  fontSize: "14.5px"
43
44
  lineHeight: "1.6"
44
45
  summary:
45
46
  fontSize: "17px"
46
- color: "{colors.muted}"
47
+ color: "{colors.muted-foreground}"
47
48
  quote:
48
49
  fontFamily: "'Charter', Georgia, 'PingFang SC', 'Noto Serif SC', serif"
49
50
  fontSize: "17px"
@@ -53,13 +54,13 @@ typography:
53
54
  fontSize: "10.5px"
54
55
  letterSpacing: "0.06em"
55
56
  textTransform: "uppercase"
56
- color: "{colors.muted}"
57
+ color: "{colors.muted-foreground}"
57
58
  crumb:
58
59
  fontFamily: "ui-monospace, SFMono-Regular, Menlo, monospace"
59
60
  fontSize: "11.5px"
60
61
  letterSpacing: "0.08em"
61
62
  textTransform: "uppercase"
62
- color: "{colors.muted}"
63
+ color: "{colors.muted-foreground}"
63
64
  rounded:
64
65
  pill: "999px"
65
66
  card: "10px"
@@ -75,45 +76,45 @@ spacing:
75
76
  meta-gap: "32px"
76
77
  components:
77
78
  header-top:
78
- borderBottom: "1px solid {colors.line}"
79
+ borderBottom: "1px solid {colors.border}"
79
80
  padding: "16px 0"
80
81
  description: "可选文档页头:面包屑、状态胶囊与 Owner/Updated/Reviewers 等 meta;仅在内容语义需要时使用"
81
82
  pill-draft:
82
- background: "{colors.accent-soft}"
83
- color: "{colors.accent}"
83
+ background: "{colors.accent}"
84
+ color: "{colors.primary}"
84
85
  borderRadius: "{rounded.pill}"
85
86
  fontFamily: "ui-monospace, SFMono-Regular, Menlo, monospace"
86
87
  padding: "4px 10px"
87
88
  panel:
88
- background: "{colors.paper}"
89
- border: "1px solid {colors.line}"
89
+ background: "{colors.card}"
90
+ border: "1px solid {colors.border}"
90
91
  borderRadius: "{rounded.card}"
91
92
  padding: "{spacing.card-pad}"
92
93
  quote-block:
93
- background: "{colors.accent-soft}"
94
- borderLeft: "3px solid {colors.accent}"
94
+ background: "{colors.accent}"
95
+ borderLeft: "3px solid {colors.primary}"
95
96
  borderRadius: "{rounded.quote}"
96
97
  padding: "22px 24px"
97
98
  metric-table:
98
- background: "{colors.paper}"
99
- border: "1px solid {colors.line}"
99
+ background: "{colors.card}"
100
+ border: "1px solid {colors.border}"
100
101
  borderRadius: "{rounded.card}"
101
- description: "th 用 label 排版 + 背景 {colors.th-bg};行分隔 1px {colors.line}"
102
+ description: "th 用 label 排版 + 背景 {colors.th-bg};行分隔 1px {colors.border}"
102
103
  target-cell:
103
104
  fontFamily: "ui-monospace, SFMono-Regular, Menlo, monospace"
104
- color: "{colors.accent}"
105
+ color: "{colors.primary}"
105
106
  fontWeight: "600"
106
107
  story-num:
107
- background: "{colors.accent-soft}"
108
- color: "{colors.accent}"
108
+ background: "{colors.accent}"
109
+ color: "{colors.primary}"
109
110
  borderRadius: "{rounded.circle}"
110
111
  milestone-badge:
111
- background: "{colors.accent-soft}"
112
- color: "{colors.accent}"
112
+ background: "{colors.accent}"
113
+ color: "{colors.primary}"
113
114
  borderRadius: "{rounded.pill}"
114
115
  avatar:
115
- background: "linear-gradient(135deg, {colors.accent}, {colors.accent-grad-end})"
116
- color: "{colors.paper}"
116
+ background: "linear-gradient(135deg, {colors.primary}, {colors.primary-grad-end})"
117
+ color: "{colors.primary-foreground}"
117
118
  borderRadius: "{rounded.circle}"
118
119
  anchors:
119
120
  - id: mono-uppercase-label
@@ -121,16 +122,16 @@ anchors:
121
122
  desc: 所有微标签(面包屑/表头/徽章/胶囊/页脚)走等宽体 + 全大写 + 字距,见 typography.label
122
123
  - id: accent-frugal
123
124
  type: pattern
124
- desc: 靛紫强调色(见 colors.accent)克制使用——只落状态胶囊、引用左边框、指标目标、里程碑徽章
125
+ desc: 靛紫强调色(见 colors.primary)克制使用——只落状态胶囊、引用左边框、指标目标、里程碑徽章
125
126
  - id: borderless-cards
126
127
  type: pattern
127
- desc: 无阴影,卡片层级仅靠细线(colors.line)+ card 圆角,纸面浮在冷灰底上
128
+ desc: 无阴影,卡片层级仅靠细线(colors.border)+ card 圆角,纸面浮在冷灰底上
128
129
  - id: serif-headings
129
130
  type: token
130
131
  desc: 标题用 system-serif Charter(typography.h1/h2),正文与标签走无衬线/等宽,三字体分工
131
132
  - id: pill-status
132
133
  type: component
133
- desc: 右上状态胶囊(Draft/Review/Approved)圆角全径 + 前置圆点,accent-soft 底
134
+ desc: 右上状态胶囊(Draft/Review/Approved)圆角全径 + 前置圆点,accent 底
134
135
  - id: grid-blocks
135
136
  type: pattern
136
137
  desc: 对比型信息块可使用局部 grid 分栏,比例与列数按内容决定,窄屏自然收敛
@@ -138,13 +139,13 @@ anchors:
138
139
  type: pattern
139
140
  desc: 长文档场景可采用纸面内容流与 spacing.page-max 作为阅读宽度参考,不限制其他应用形态
140
141
  gaps:
141
- - "源仅 Draft 一种状态胶囊配色(accent-soft/accent);Review/Approved 的语义色未定义"
142
+ - "源仅 Draft 一种状态胶囊配色(accent/primary);Review/Approved 的语义色未定义"
142
143
  - "warn (#b8741a) 与 positive (#1f8a5a) 在示例中作为 CSS 变量声明但正文未实际着色,用途待补"
143
144
  - "暗色模式未定义;仅浅色纸面"
144
145
  - "补充项:源字体全为 system/local(Charter/Georgia/Inter),无 webfont @import;下方为 Inter 兜底 @import,Charter 缺失时退 Georgia 系统衬线"
145
146
  - "补充项:源无 CJK 字形,已在 display/body fontFamily 末尾注入 PingFang SC 等系统兜底(非源值)"
146
147
  exceptions:
147
- - accent 强调色允许在同屏出现多次(状态胶囊 + 指标目标 + 里程碑徽章 + 引用边框),因均属"结构性点缀"而非装饰
148
+ - primary 强调色允许在同屏出现多次(状态胶囊 + 指标目标 + 里程碑徽章 + 引用边框),因均属"结构性点缀"而非装饰
148
149
  ---
149
150
 
150
151
  ## Overview
@@ -156,17 +157,17 @@ exceptions:
156
157
  ## Colors
157
158
 
158
159
  - **底色 paper flow**:页面底 `#f5f7fa`,所有内容卡片纸面 `#ffffff`,形成"纸浮在灰底上"的文档层。
159
- - **文字**:主文本 ink `#0e1322`;次要/元信息 muted `#5a647a`。
160
- - **描边**:常规分隔 line `#e2e6ee`(卡片边框、行分隔、区块下边线);强分隔 line-strong `#c8cfdb`(如禁用态 tick 底)。
161
- - **强调 accent `#4a36e3`**:唯一主强调色,用于状态胶囊文字、引用左边框、指标目标值、里程碑徽章、故事序号、用户故事中的加粗角色词。配套浅底 accent-soft `#ece8ff` 做胶囊/徽章/序号圆的填充。
160
+ - **文字**:主文本 foreground `#0e1322`;次要/元信息 muted-foreground `#5a647a`。
161
+ - **描边**:常规分隔 border `#e2e6ee`(卡片边框、行分隔、区块下边线);强分隔 line-strong `#c8cfdb`(如禁用态 tick 底)。
162
+ - **强调 primary `#4a36e3`**:唯一主强调色,用于状态胶囊文字、引用左边框、指标目标值、里程碑徽章、故事序号、用户故事中的加粗角色词。配套浅底 accent `#ece8ff` 做胶囊/徽章/序号圆的填充。
162
163
  - **语义色**:positive `#1f8a5a`(达成态 tick "✓")、warn `#b8741a`(预警,示例中声明未着色)。
163
- - **辅助**:表头背景 th-bg `#f8fafd`;头像渐变 `linear-gradient(135deg, #4a36e3, #8473ff)`(accent → accent-grad-end)。
164
+ - **辅助**:表头背景 th-bg `#f8fafd`;头像渐变 `linear-gradient(135deg, #4a36e3, #8473ff)`(primary → primary-grad-end)。
164
165
 
165
166
  ## Typography
166
167
 
167
168
  三字体分工,各司其职,不得混用:
168
169
  - **衬线(display)** `'Charter', Georgia, serif`:仅标题——h1 42px/行高 1.06/字距 -0.015em/700、h2 24px/字距 -0.005em、引用正文 17px/行高 1.5、目标列表小标题、里程碑标题、goal-list h3。非 PRD 内容改写出的分节标题同样必须走这一衬线 h2,不得因为内容变了就换回无衬线。
169
- - **无衬线(body)** `-apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, sans-serif`:正文 14.5px/行高 1.6、摘要 17px(muted)、h2 副标题 13px、故事与问题文本。
170
+ - **无衬线(body)** `-apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, sans-serif`:正文 14.5px/行高 1.6、摘要 17px(muted-foreground)、h2 副标题 13px、故事与问题文本。
170
171
  - **等宽(mono)** `ui-monospace, SFMono-Regular, Menlo, monospace`:全部 uppercase 微标签——面包屑 11.5px/字距 0.08em、状态胶囊 11px/0.06em、表头 10.5px/0.06em、meta-row 标签 10.5px、里程碑徽章 10.5px、里程碑工期 11px、目标数值单元格、页脚 11.5px。
171
172
 
172
173
  字体加载(消费侧指令,原样写入全局样式首行,**禁止用 `<link>` 标签代替**):
@@ -180,14 +181,14 @@ exceptions:
180
181
  - **阅读容器**:长文内容可参考 `max-width 1080px`、上下 `margin 28px auto` 和 `page-pad`;工具、工作台或数据应用可按任务需要使用更宽或不同的信息架构。
181
182
  - **内容组织**:保留输入内容的语义结构。衬线标题、摘要、指标卡、图表和表格面板可按需组合,不要求每节同构。
182
183
  - **区块间距**:`section` 间 `margin-top 40px`;块内 grid 间距统一 `14px`(block-gap)。
183
- - **头部**:文档场景可使用 flex 两端对齐、`padding 16px 0` + 底部 1px line;应用导航形态由实际信息架构决定。
184
+ - **头部**:文档场景可使用 flex 两端对齐、`padding 16px 0` + 底部 1px border;应用导航形态由实际信息架构决定。
184
185
  - **grid 分栏**:对比信息、指标和里程碑可使用局部网格,比例与列数按内容量决定,不继承 PRD 示例值。
185
186
  - **元信息条**:`padding 16px 22px`,列间距 `32px`(meta-gap),标签在上(mono 小字)值在下。
186
187
  - **响应式**:窄屏减少局部网格列数、缩小标题并维持阅读顺序。
187
188
 
188
189
  ## Elevation & Depth
189
190
 
190
- **零阴影体系。** 所有卡片(panel/table/story/step/question/meta-row)深度仅由 `1px solid #e2e6ee` 边框 + `10px` 圆角 + 纸白背景在灰底上表达。引用块用 3px accent 左边框作强调而非投影。层级靠"纸面 vs 底色"的明度差,不靠 z 轴。**hover/focus/active 等交互态同样不得引入投影**——按钮、输入框、可点击卡片的状态反馈一律改用边框颜色变化(如切到 `{colors.accent}` 或 `{colors.line-strong}`)或背景色微调,不加哪怕是 `0 1px 2px` 的轻投影。
191
+ **零阴影体系。** 所有卡片(panel/table/story/step/question/meta-row)深度仅由 `1px solid #e2e6ee` 边框 + `10px` 圆角 + 纸白背景在灰底上表达。引用块用 3px primary 左边框作强调而非投影。层级靠"纸面 vs 底色"的明度差,不靠 z 轴。**hover/focus/active 等交互态同样不得引入投影**——按钮、输入框、可点击卡片的状态反馈一律改用边框颜色变化(如切到 `{colors.primary}` 或 `{colors.line-strong}`)或背景色微调,不加哪怕是 `0 1px 2px` 的轻投影。
191
192
 
192
193
  ## Shapes
193
194
 
@@ -200,27 +201,27 @@ exceptions:
200
201
 
201
202
  ## Components
202
203
 
203
- - **状态胶囊 pill**:`accent-soft` 底 + `accent` 字,全径圆角,前置 6px 圆点,mono uppercase 11px。
204
- - **面板 panel / 引用 quote-block**:见 frontmatter components——panel 纸白 + 1px line;quote-block accent-soft 底 + 3px accent 左边框,正文用衬线 17px。
205
- - **目标/非目标块**:两列 goal-list,小标题带圆形 tick——达成 `positive` 底白勾,排除 `line-strong` 底 muted 叉。
206
- - **指标表 metric-table**:th 用 label 排版 + `th-bg` 背景;目标列 target-cell 走 mono + accent + 600;行间 1px line 分隔,末行无线。
207
- - **用户故事 story**:左侧圆形序号(accent-soft 底 accent 字 mono 600),右侧文本中角色词用 accent 加粗。
204
+ - **状态胶囊 pill**:`accent` 底 + `primary` 字,全径圆角,前置 6px 圆点,mono uppercase 11px。
205
+ - **面板 panel / 引用 quote-block**:见 frontmatter components——panel 纸白 + 1px border;quote-block accent 底 + 3px primary 左边框,正文用衬线 17px。
206
+ - **目标/非目标块**:两列 goal-list,小标题带圆形 tick——达成 `positive` 底白勾,排除 `line-strong` 底 muted-foreground 叉。
207
+ - **指标表 metric-table**:th 用 label 排版 + `th-bg` 背景;目标列 target-cell 走 mono + primary + 600;行间 1px border 分隔,末行无线。
208
+ - **用户故事 story**:左侧圆形序号(accent 底 primary 字 mono 600),右侧文本中角色词用 primary 加粗。
208
209
  - **里程碑 step**:顶部 pill 徽章(M1·日期)+ 衬线标题 + mono 工期 + 要点列表,4 列时间线。
209
- - **指派 chip / avatar**:问题右侧 muted 小字 + 圆形头像(accent→accent-grad-end 渐变,白字缩写)。
210
- - **图表**:源无图表;如需数据可视化,序列色以 accent `#4a36e3` 起、accent-grad-end `#8473ff` 次,容器沿用 panel(纸白 + 1px line + card 圆角),图表本身不加投影、不脱离 panel 容器单独铺满一屏。
210
+ - **指派 chip / avatar**:问题右侧 muted-foreground 小字 + 圆形头像(primary→primary-grad-end 渐变,primary-foreground 白字缩写)。
211
+ - **图表**:源无图表;如需数据可视化,序列色以 primary `#4a36e3` 起、primary-grad-end `#8473ff` 次,容器沿用 panel(纸白 + 1px border + card 圆角),图表本身不加投影、不脱离 panel 容器单独铺满一屏。
211
212
 
212
213
  ## Hard Rules
213
214
 
214
215
  - **必须**保持三字体严格分工:衬线只用于标题/引用,等宽只用于 uppercase 微标签,正文无衬线。禁止用衬线排正文或用无衬线排标签。
215
- - **禁止**使用 box-shadow / drop-shadow,**含 hover/focus/active 等交互态和表单控件**;所有层级、所有状态只用 1px `{colors.line}` 边框 + `{rounded.card}` 圆角表达,交互反馈改用边框变色或背景色变化,不得加任何投影(哪怕是 `0 1px 2px` 的轻投影)。
216
- - **禁止**大面积铺 accent 色块;`{colors.accent}` 仅用于胶囊/徽章/序号/目标值/引用边框/角色词等结构性点缀。
217
- - **必须**让每个内容卡片坐在 `{colors.paper}` 纸面上、页面底为 `{colors.bg}`,不得反转。
216
+ - **禁止**使用 box-shadow / drop-shadow,**含 hover/focus/active 等交互态和表单控件**;所有层级、所有状态只用 1px `{colors.border}` 边框 + `{rounded.card}` 圆角表达,交互反馈改用边框变色或背景色变化,不得加任何投影(哪怕是 `0 1px 2px` 的轻投影)。
217
+ - **禁止**大面积铺 primary 色块;`{colors.primary}` 仅用于胶囊/徽章/序号/目标值/引用边框/角色词等结构性点缀。
218
+ - **必须**让每个内容卡片坐在 `{colors.card}` 纸面上、页面底为 `{colors.background}`,不得反转。
218
219
  - 所有 uppercase 微标签**必须**带字距(≥0.06em)且用 `{typography.label}` 字体族。
219
220
  - **禁止**替换字体栈与 @import(见 Typography 硬指令);**禁止**用 `<link rel="stylesheet" href="https://fonts.googleapis.com/...">` 标签加载字体来代替 @import——一律用 `<style>` 内 `@import url(...)` 或独立 CSS 文件首行的裸 `@import` 语句。
220
221
 
221
222
  ## Exceptions
222
223
 
223
- - accent 强调色允许在同一屏出现多处(状态胶囊 + 指标目标 + 里程碑徽章 + 引用左边框 + 故事序号),因均属"结构性点缀"而非装饰性铺色,不违反克制原则。
224
+ - primary 强调色允许在同一屏出现多处(状态胶囊 + 指标目标 + 里程碑徽章 + 引用左边框 + 故事序号),因均属"结构性点缀"而非装饰性铺色,不违反克制原则。
224
225
  - warn `#b8741a` 与 positive `#1f8a5a` 作为语义储备色允许在需要"预警/达成"语义时启用(示例中仅 positive 用于 tick)。
225
226
 
226
227
  ## Do's and Don'ts
@@ -4,12 +4,16 @@ name: pop-art
4
4
  name_zh: 波普艺术
5
5
  description: 美式漫画/丝网印刷波普风——高饱和四色(黄/红/绿/蓝)+纯黑纯白,零渐变零透明叠加;所有容器纯黑粗描边(2~8px)配纯色零模糊硬阴影(色块偏移,非 blur),背景叠加半色调圆点纹理(致敬 Ben-Day dots);装饰大标题用漫画体 Bangers,全部标题/标签 uppercase+宽字距+font-black(900);圆角只取极端两端(超大圆角或完全无圆角);标题色块/CTA 施加 1~3deg 微倾斜模拟拼贴剪报感;交互强调硬位移("按下"感)而非缓动渐变。视觉冲击、直接、图形化。
6
6
  colors:
7
+ background: "#FFDE00"
7
8
  primary: "#FFDE00"
8
- accent: "#FF3B30"
9
+ primary-foreground: "#000000"
10
+ ring: "#000000"
11
+ signal: "#FF3B30"
9
12
  success: "#4CD964"
10
13
  info: "#007AFF"
11
- ink: "#000000"
12
- surface: "#FFFFFF"
14
+ foreground: "#000000"
15
+ border: "#000000"
16
+ card: "#FFFFFF"
13
17
  surface-warm: "#FFF9C4"
14
18
  surface-warm-alt: "#FFFDF5"
15
19
  button-yellow: "#FFCC00"
@@ -45,44 +49,44 @@ spacing:
45
49
  nav-gap: 16px
46
50
  components:
47
51
  pop-card:
48
- background: "{colors.surface}(默认) | {colors.surface-warm-alt} | {colors.ink}"
49
- border: "6px solid {colors.ink}(弹窗用 8px)"
50
- boxShadow: "12px 12px 0px 0px {colors.ink}(默认档,见 Elevation)"
52
+ background: "{colors.card}(默认) | {colors.surface-warm-alt} | {colors.foreground}"
53
+ border: "6px solid {colors.border}(弹窗用 8px)"
54
+ boxShadow: "12px 12px 0px 0px {colors.foreground}(默认档,见 Elevation)"
51
55
  padding: "{spacing.card-padding}"
52
56
  borderRadius: "{rounded.lg}"
53
57
  pop-button:
54
- border: "4px solid {colors.ink}"
55
- boxShadow: "4px 4px 0px 0px {colors.ink}"
58
+ border: "4px solid {colors.border}"
59
+ boxShadow: "4px 4px 0px 0px {colors.foreground}"
56
60
  padding: "24px 12px(默认) | 24px(大按钮)"
57
61
  borderRadius: "{rounded.full}"
58
62
  fontStyle: font-black uppercase tracking-widest
59
- variants: "red={colors.accent}白字(暂停/停止) | green={colors.success}黑字(开始/选中) | blue={colors.info}白字(选择/商店) | yellow={colors.button-yellow}黑字(默认/重置) | black={colors.ink}白字(强调) | white={colors.surface}黑字(未选中)"
63
+ variants: "red={colors.signal}白字(暂停/停止) | green={colors.success}黑字(开始/选中) | blue={colors.info}白字(选择/商店) | yellow={colors.button-yellow}黑字(默认/重置) | black={colors.foreground}白字(强调) | white={colors.card}黑字(未选中)"
60
64
  active: "translate(2px,2px)+阴影缩小至 2px;disabled opacity-50;选中态 scale-105+ring-4 ring-black ring-offset-2"
61
65
  section-header:
62
- background: "{colors.ink} | {colors.accent}(按主题)"
63
- color: "{colors.surface}"
66
+ background: "{colors.foreground} | {colors.signal}(按主题)"
67
+ color: "#FFFFFF"
64
68
  padding: "32px 12px"
65
69
  borderRadius: "0(完全无圆角,方形色块呼应剪报/漫画分格感)"
66
70
  rotate: "-1deg | 1deg"
67
- boxShadow: "8px 8px 0 0 {colors.success} | 8px 8px 0 0 {colors.ink}"
71
+ boxShadow: "8px 8px 0 0 {colors.success} | 8px 8px 0 0 {colors.foreground}"
68
72
  typography: text-5xl font-black pop-font uppercase tracking-tighter
69
73
  status-bar:
70
- background: "{colors.ink}"
71
- color: "{colors.surface}"
74
+ background: "{colors.foreground}"
75
+ color: "#FFFFFF"
72
76
  padding: "32px 20px"
73
77
  borderRadius: "0 0 2.5rem 2.5rem"
74
78
  typography: font-black uppercase tracking-widest text-xs
75
79
  layout: flex justify-between items-center
76
80
  progress-bar:
77
- track: "{colors.ink}底,border-4 {colors.ink},{rounded.full},内 padding 4px"
81
+ track: "{colors.foreground}底,border-4 {colors.border},{rounded.full},内 padding 4px"
78
82
  inner-track: "bg-gray-900,高 32px,{rounded.full}"
79
83
  fill: "{colors.success},{rounded.full}"
80
- label: "覆盖居中,{colors.surface} 10px font-black uppercase tracking-widest"
84
+ label: "覆盖居中,{colors.card} 10px font-black uppercase tracking-widest"
81
85
  stat-item:
82
86
  layout: flex justify-between items-center
83
- divider: "border-b-4 {colors.ink}/5(见 Exceptions),底 padding 20px"
87
+ divider: "border-b-4 {colors.border}/5(见 Exceptions),底 padding 20px"
84
88
  label: font-black text-lg opacity-60 uppercase tracking-widest
85
- value: "font-black text-5xl + 主题色 + drop-shadow(2px 2px 0 {colors.ink})"
89
+ value: "font-black text-5xl + 主题色 + drop-shadow(2px 2px 0 {colors.foreground})"
86
90
  pill-tag:
87
91
  background: "语义色浅底(如 -50)"
88
92
  color: "语义色主色(如 -500)"
@@ -90,22 +94,22 @@ components:
90
94
  typography: text-xs font-black uppercase
91
95
  borderRadius: "{rounded.full}"
92
96
  border: "2px solid 语义色浅描边(如 -100)"
93
- boxShadow: "2px 2px 0 0 {colors.ink}(纯色偏移,禁止半透明)"
97
+ boxShadow: "2px 2px 0 0 {colors.foreground}(纯色偏移,禁止半透明)"
94
98
  modal-overlay:
95
99
  mask: "{colors.overlay}+backdrop-blur-md,z-[100],fixed inset-0 flex center,padding 24px"
96
- card: "{colors.surface}底,border-[8px] {colors.ink},padding {spacing.modal-padding},{rounded.xl},boxShadow 24px 24px 0 0 {colors.button-yellow}"
100
+ card: "{colors.card}底,border-[8px] {colors.border},padding {spacing.modal-padding},{rounded.xl},boxShadow 24px 24px 0 0 {colors.button-yellow}"
97
101
  enter: "scale 0.8→1,rotate -10deg→0"
98
102
  quote-block:
99
103
  typography: font-bold italic leading-relaxed opacity-70
100
104
  border: "border-l-8 border-yellow-400,左 padding 24px"
101
105
  chart-container:
102
- background: "{colors.surface}"
103
- border: "4px solid {colors.ink}"
104
- boxShadow: "12px 12px 0 0 {colors.ink}(见 Elevation 标准档,禁止默认 blur 投影)"
106
+ background: "{colors.card}"
107
+ border: "4px solid {colors.border}"
108
+ boxShadow: "12px 12px 0 0 {colors.foreground}(见 Elevation 标准档,禁止默认 blur 投影)"
105
109
  borderRadius: "{rounded.lg}"
106
110
  padding: "{spacing.card-padding}"
107
- seriesColors: "循环取用 {colors.primary}/{colors.accent}/{colors.success}/{colors.info}/{colors.button-yellow},不使用渐变/半透明系列色"
108
- axisLabel: "font-black text-xs {colors.ink};刻度/数值本身非标题语义,不强制 uppercase"
111
+ seriesColors: "循环取用 {colors.primary}/{colors.signal}/{colors.success}/{colors.info}/{colors.button-yellow},不使用渐变/半透明系列色"
112
+ axisLabel: "font-black text-xs {colors.foreground};刻度/数值本身非标题语义,不强制 uppercase"
109
113
  legend: "font-black uppercase tracking-wide text-xs,图例色块用方形(非圆点),呼应硬边气质"
110
114
  anchors:
111
115
  - id: halftone-dot-bg
@@ -154,12 +158,16 @@ exceptions:
154
158
 
155
159
  | 角色 | 值 | 用法 |
156
160
  |-----|-----|-----|
157
- | primary | {colors.primary} | 页面主背景、主按钮默认态 |
158
- | accent | {colors.accent} | 强调/危险操作、暂停停止按钮、成就标题背景 |
161
+ | background | {colors.background} | 页面主背景(与 primary 同值) |
162
+ | primary | {colors.primary} | 主按钮默认态、签名黄 |
163
+ | primary-foreground | {colors.primary-foreground} | 压在 primary 黄底上的黑字 |
164
+ | ring | {colors.ring} | 选中态 ring-4 ring-black 聚焦环 |
165
+ | signal | {colors.signal} | 强调/危险操作、暂停停止按钮、成就标题背景 |
159
166
  | success | {colors.success} | 开始按钮、进度条填充、侧边栏标题阴影 |
160
167
  | info | {colors.info} | 选中态、CTA 卡片、连续记录数值、选择按钮 |
161
- | ink | {colors.ink} | 描边、阴影、头部导航栏、标题块背景、主要文本 |
162
- | surface | {colors.surface} | 卡片基底、内容面板、未选中按钮底色 |
168
+ | foreground | {colors.foreground} | 阴影、头部导航栏、标题块背景、主要文本 |
169
+ | border | {colors.border} | 全部纯黑粗描边(与 foreground 同值) |
170
+ | card | {colors.card} | 卡片基底、内容面板、未选中按钮底色 |
163
171
  | surface-warm | {colors.surface-warm} | 侧边栏背景,降低纯白刺眼感 |
164
172
  | surface-warm-alt | {colors.surface-warm-alt} | 计时器一类卡片内底色 |
165
173
  | button-yellow | {colors.button-yellow} | 重置按钮、激活态、统计数值高亮 |
@@ -189,11 +197,11 @@ Bangers 为拉丁漫画体,无中文字形,fontFamily 已含 CJK 兜底(PingFang
189
197
  | 微型标签 | text-[10px] | 900 | uppercase tracking-[0.2em] | heading |
190
198
  | 引言正文 | text-base(1rem) | 700 | italic leading-relaxed opacity-70 | quote |
191
199
 
192
- 排版规则:全部标题/标签 uppercase(禁止小写),这一条硬约束不因层级而异;但**宽字距(tracking-widest 或以上)只是标签/按钮/微型文字类角色的强制要求**(对应上表"标签文字""微型标签"两行),展示级大标题(区块大标题/侧边栏标题/卡片标题)按上表走 tracking-tighter/tracking-tight,是漫画大字号海报的正当紧凑排版,不视为"宽字距不足";两类角色不互相覆盖,禁止把大标题也拉成 tracking-widest。强调数值叠加 drop-shadow(2px 2px 0 {colors.ink}) 增加立体感。
200
+ 排版规则:全部标题/标签 uppercase(禁止小写),这一条硬约束不因层级而异;但**宽字距(tracking-widest 或以上)只是标签/按钮/微型文字类角色的强制要求**(对应上表"标签文字""微型标签"两行),展示级大标题(区块大标题/侧边栏标题/卡片标题)按上表走 tracking-tighter/tracking-tight,是漫画大字号海报的正当紧凑排版,不视为"宽字距不足";两类角色不互相覆盖,禁止把大标题也拉成 tracking-widest。强调数值叠加 drop-shadow(2px 2px 0 {colors.foreground}) 增加立体感。
193
201
 
194
202
  ## Layout
195
203
 
196
- - 页面可使用 {colors.primary} 底叠加半色调纹理,内容容器最大宽度参考 {spacing.container-max},内边距使用 {spacing.content-padding}。
204
+ - 页面可使用 {colors.background} 底叠加半色调纹理,内容容器最大宽度参考 {spacing.container-max},内边距使用 {spacing.content-padding}。
197
205
  - 导航、核心视图、统计、引言和 CTA 按实际任务组织;侧栏和左右双列只是可选构图,不是风格要求。
198
206
  - 视图切换:进入 opacity 0→1 配 scale 0.95→1 或 y 30→0,退出反向;缓动统一用 cubic-bezier(0.34,1.56,0.64,1)(回弹感,见 Hard Rules),禁止用框架默认的 ease/ease-out。
199
207
  - 响应式(移动优先):按内容关系减少列数,导航选择适合当前应用的窄屏形态;不得简单隐藏业务必要内容,主内容 padding 随宽度调整。
@@ -205,21 +213,21 @@ Bangers 为拉丁漫画体,无中文字形,fontFamily 已含 CJK 兜底(PingFang
205
213
  | 档位 | 值 | 用途 |
206
214
  |-----|-----|-----|
207
215
  | 超大 | 24px 24px 0 0 {colors.button-yellow} | 弹窗卡片 |
208
- | 大 | 16px 16px 0 0 {colors.ink} | 计时器一类主卡片 |
209
- | 标准 | 12px 12px 0 0 {colors.ink} | 普通内容卡片、CTA 卡片、图表容器(见 Components.chart-container) |
210
- | 中 | 8px 8px 0 0 {colors.success} 或 {colors.ink} | 区块标题色块 |
211
- | 小 | 6px 6px 0 0 {colors.accent} 或 {colors.success} | 侧边栏卡片、品牌标题 |
212
- | 按钮 | 4px 4px 0 0 {colors.ink} | 所有按钮默认态 |
213
- | 按钮按下 | 2px 2px 0 0 {colors.ink} | 按钮 active 态 |
214
- | 标签 | 2px 2px 0 0 {colors.ink} | pill-tag 等小型标签容器 |
215
- | 文字 | drop-shadow 2px 2px 0 {colors.ink} | 统计数字高亮 |
216
+ | 大 | 16px 16px 0 0 {colors.foreground} | 计时器一类主卡片 |
217
+ | 标准 | 12px 12px 0 0 {colors.foreground} | 普通内容卡片、CTA 卡片、图表容器(见 Components.chart-container) |
218
+ | 中 | 8px 8px 0 0 {colors.success} 或 {colors.foreground} | 区块标题色块 |
219
+ | 小 | 6px 6px 0 0 {colors.signal} 或 {colors.success} | 侧边栏卡片、品牌标题 |
220
+ | 按钮 | 4px 4px 0 0 {colors.foreground} | 所有按钮默认态 |
221
+ | 按钮按下 | 2px 2px 0 0 {colors.foreground} | 按钮 active 态 |
222
+ | 标签 | 2px 2px 0 0 {colors.foreground} | pill-tag 等小型标签容器 |
223
+ | 文字 | drop-shadow 2px 2px 0 {colors.foreground} | 统计数字高亮 |
216
224
 
217
225
  所有阴影均为零模糊纯色偏移(禁止任何 rgba/半透明色值),这是波普风格的核心视觉标识(见 Hard Rules)。
218
226
 
219
227
  ## Shapes
220
228
 
221
229
  - 圆角:见 frontmatter rounded,**只有 xl(4rem)/lg(3rem~2.5rem)/full(9999px 全圆)三档可选**,不存在任何 16~32px 区间的"中等圆角"选项;需要方形直角时直接写字面值 0(如 section-header),禁止引入新的居中档半径。
222
- - 边框:超粗 8px(弹窗)、主 6px(pop-card)、标准 4px(按钮/CTA/进度条/图表容器)、细 2px(次级/标签)、虚线 4px dashed(提示占位区域),统一纯黑 {colors.ink};次级分隔线允许低透明度(见 Exceptions)。
230
+ - 边框:超粗 8px(弹窗)、主 6px(pop-card)、标准 4px(按钮/CTA/进度条/图表容器)、细 2px(次级/标签)、虚线 4px dashed(提示占位区域),统一纯黑 {colors.border};次级分隔线允许低透明度(见 Exceptions)。
223
231
  - 半色调纹理:`radial-gradient(rgba(0,0,0,0.1) 2px, transparent 2px)`,background-size 20px 20px,叠加于主内容区/黑底区块背景,致敬 Ben-Day dots 印刷技法。
224
232
  - 微倾斜:标题色块/CTA 约 -1deg~2deg,装饰元素随机小角度,营造拼贴/剪报感,幅度不超过 3deg 避免阅读困难。
225
233
 
@@ -229,13 +237,13 @@ Bangers 为拉丁漫画体,无中文字形,fontFamily 已含 CJK 兜底(PingFang
229
237
 
230
238
  - **PopCard**:所有内容卡片的基座;variant=黑底用于对比色块,可视强调需要升级到 Elevation 大/超大档。
231
239
  - **PopButton**:六色变体覆盖主要操作语义(红=危险/暂停、绿=开始/选中、蓝=选择、黄=默认/重置、黑=强调、白=未选中);圆角改为 {rounded.full} 药丸形,选中态叠加 ring-4 ring-black ring-offset-2 + scale-105。
232
- - **SectionHeader**:承担页面/模块分区职责,accent/ink 背底与 success/ink 阴影交替使用,方形直角(borderRadius:0)呼应剪报分格,保持区域可扫描。
240
+ - **SectionHeader**:承担页面/模块分区职责,signal/foreground 背底与 success/foreground 阴影交替使用,方形直角(borderRadius:0)呼应剪报分格,保持区域可扫描。
233
241
  - **ProgressBar**:外框/内轨/填充三层结构,标签绝对居中覆盖,填充色随语义变化(默认 success)。
234
242
  - **StatItem**:关键数值展示,标签 60% 不透明度弱化,数值用主题色 + drop-shadow 强调立体感;该行不单独描边(边界由外层 pop-card 提供,见 Exceptions)。
235
243
  - **PillTag**:用语义色浅底/主色/浅描边组合承载标签场景,阴影为纯色 2px 偏移(禁止 rgba 半透明),非主色板核心角色,轻量补充。
236
244
  - **ModalOverlay**:遮罩 60% 黑 + backdrop-blur-md,卡片入场 scale 0.8→1 + rotate -10deg→0,是全局唯一使用模糊效果的场景。
237
245
  - **QuoteBlock**:左侧粗色条(border-l-8)+ 斜体正文,是唯一非 font-black 主体文本角色。
238
- - **ChartContainer**:报表/图表类页面(折线图、饼图、柱状图、雷达图、热力图、桑基图等)统一套用与 PopCard 同级的边框+阴影+圆角三件套(4px 纯黑描边 + 标准档硬偏移阴影 + {rounded.lg}),禁止套用常规仪表盘的细边框+软阴影+默认圆角;图表序列色循环取 primary/accent/success/info/button-yellow,图例用方形色块 + font-black uppercase 标签,坐标轴刻度数值本身不强制 uppercase。
246
+ - **ChartContainer**:报表/图表类页面(折线图、饼图、柱状图、雷达图、热力图、桑基图等)统一套用与 PopCard 同级的边框+阴影+圆角三件套(4px 纯黑描边 + 标准档硬偏移阴影 + {rounded.lg}),禁止套用常规仪表盘的细边框+软阴影+默认圆角;图表序列色循环取 primary/signal/success/info/button-yellow,图例用方形色块 + font-black uppercase 标签,坐标轴刻度数值本身不强制 uppercase。
239
247
 
240
248
  ## Do's and Don'ts
241
249
 
@@ -260,5 +268,5 @@ Bangers 为拉丁漫画体,无中文字形,fontFamily 已含 CJK 兜底(PingFang
260
268
 
261
269
  - 引言(quote-block)字重为 font-bold,是唯一非 font-black 主体文本角色。
262
270
  - 弹窗遮罩自带 backdrop-blur,是唯一允许的模糊效果(不属于阴影系统)。
263
- - 次级分隔线/边框允许不透明度衰减({colors.ink}/5、/10、/20),不违反"边框必须纯黑实线"的硬规则;stat-item 行内 divider 属此例外,不代表该行需要独立完整描边。
271
+ - 次级分隔线/边框允许不透明度衰减({colors.border}/5、/10、/20),不违反"边框必须纯黑实线"的硬规则;stat-item 行内 divider 属此例外,不代表该行需要独立完整描边。
264
272
  - 状态指示灯(colors.status-green/colors.status-red)使用 Tailwind 默认命名色,不入常规九色主色板引用。