Commit 57025b00b21d105e6cb4ffdc84e5097252515723

Authored by zichun
1 parent 7ce9262d

templates: fix stale docs/06 § 四 / § 4.x refs in styles-tokens CSS

docs-06-static-template.md actually defines § 二 Design Tokens with
subsections 2.1 / 2.2 / 2.3. The CSS template comments still cited the
pre-renumber § 四 / § 4.1 / § 4.2, so downstream-generated tokens.css
files pointed readers to non-existent sections of docs/06.
skills/plan/skeleton-gen/templates/styles-tokens-template.css
1 /* 1 /*
2 * src/styles/tokens.css — Design Tokens 2 * src/styles/tokens.css — Design Tokens
3 * 命名规范见 docs/04-技术规范.md § 2.5 3 * 命名规范见 docs/04-技术规范.md § 2.5
4 - * 色值锁定见 docs/06-UI交互规范.md § 4 + * 色值锁定见 docs/06-UI交互规范.md §
5 * 5 *
6 * 命名格式:--color-<scope>-<role>-<state> 6 * 命名格式:--color-<scope>-<role>-<state>
7 * <scope> 组件域:form / table-row / table-header / ... 7 * <scope> 组件域:form / table-row / table-header / ...
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
11 * 约束: 11 * 约束:
12 * - 组件样式中只用 var(--color-xxx),禁止硬编码 hex / rgba 12 * - 组件样式中只用 var(--color-xxx),禁止硬编码 hex / rgba
13 * - 修改色值只改本文件,不允许在组件级覆盖 13 * - 修改色值只改本文件,不允许在组件级覆盖
14 - * - 新增 token 须先登记到 docs/06 § 4.1 / 4.2,再补到此处 14 + * - 新增 token 须先登记到 docs/06 § 2.1 / 2.2,再补到此处
15 */ 15 */
16 16
17 :root { 17 :root {
@@ -25,7 +25,7 @@ @@ -25,7 +25,7 @@
25 --color-border: #d9d9d9; 25 --color-border: #d9d9d9;
26 --color-bg-base: #f0f2f5; 26 --color-bg-base: #f0f2f5;
27 27
28 - /* === 2. 组件级状态色(与 docs/06 § 4.2 一一对应) === */ 28 + /* === 2. 组件级状态色(与 docs/06 § 2.2 一一对应) === */
29 29
30 /* form:输入框 / 备注框 / 时间框 / 下拉框共用 */ 30 /* form:输入框 / 备注框 / 时间框 / 下拉框共用 */
31 --color-form-bg-edit: #ffffff; 31 --color-form-bg-edit: #ffffff;