@qilitt-mickey/vue3-temp-skill 1.1.36 → 1.1.37

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.
@@ -6,6 +6,7 @@ export const themeVars = {
6
6
  brandPrimary: '',
7
7
  brandHover: '',
8
8
  brandActive: '',
9
+ sidebarBg: '',
9
10
  successColor: '',
10
11
  warningColor: '',
11
12
  errorColor: '',
@@ -3,6 +3,7 @@ export const themeVars = {
3
3
  /** --brand-primary */
4
4
  /** --brand-hover */
5
5
  /** --brand-active */
6
+ /** --sidebar-bg */
6
7
  /** --success-color */
7
8
  /** --warning-color */
8
9
  /** --error-color */
@@ -56,6 +57,7 @@ export const themeVars = {
56
57
  brandPrimary: '' as string,
57
58
  brandHover: '' as string,
58
59
  brandActive: '' as string,
60
+ sidebarBg: '' as string,
59
61
  successColor: '' as string,
60
62
  warningColor: '' as string,
61
63
  errorColor: '' as string,
package/dist/theme.css CHANGED
@@ -6,6 +6,7 @@
6
6
  /* brand_primary → --brand-primary(无出厂值,需项目侧定值) */
7
7
  /* brand_hover → --brand-hover(无出厂值,需项目侧定值) */
8
8
  /* brand_active → --brand-active(无出厂值,需项目侧定值) */
9
+ /* sidebar_bg → --sidebar-bg(无出厂值,需项目侧定值) */
9
10
  /* success_color → --success-color(无出厂值,需项目侧定值) */
10
11
  /* warning_color → --warning-color(无出厂值,需项目侧定值) */
11
12
  /* error_color → --error-color(无出厂值,需项目侧定值) */
@@ -11,6 +11,7 @@
11
11
  "brand_primary": { "token": "--brand-primary", "type": "color", "desc": "品牌主色" },
12
12
  "brand_hover": { "token": "--brand-hover", "type": "color", "desc": "品牌悬停色" },
13
13
  "brand_active": { "token": "--brand-active", "type": "color", "desc": "品牌激活色" },
14
+ "sidebar_bg": { "token": "--sidebar-bg", "type": "color", "desc": "侧栏底色(经 theme.scss data-theme=default → --vts-theme-menu-bg 链生效;浅色侧栏主题勿用此字段)" },
14
15
  "success_color": { "token": "--success-color", "type": "color", "desc": "成功功能色" },
15
16
  "warning_color": { "token": "--warning-color", "type": "color", "desc": "警告功能色" },
16
17
  "error_color": { "token": "--error-color", "type": "color", "desc": "错误功能色" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qilitt-mickey/vue3-temp-skill",
3
- "version": "1.1.36",
3
+ "version": "1.1.37",
4
4
  "type": "module",
5
5
  "description": "Vue 3 企业级中后台项目开发规范技能包 — core-kernel 架构、按需功能模块",
6
6
  "bin": {
@@ -117,7 +117,7 @@ node parser/index.js match --batch <changesets-dir>
117
117
  3. **两层都未命中** → 不写任何样式,进待补充清单。
118
118
  4. **值未命中译表且非 hex**(parser 会提示)→ 施工前向用户确认精确值,不猜。
119
119
 
120
- 全局令牌(`global` 字段,**整套主题切换优先通道**)→ `design-tokens.scss` 对应变量(`basic/` 词典翻译,语义值走 `mapping/basic/semantic-values.json` 译表),主色走 `setEpThemeColor()` 链路。
120
+ 全局令牌(`global` 字段,**整套主题切换优先通道**)→ `design-tokens.scss` 对应变量(`basic/` 词典翻译,语义值走 `mapping/basic/semantic-values.json` 译表),主色走 `setEpThemeColor()` 链路。**壳层模块底色注意**:顶栏底色不走 global(无独立令牌),须以 `{"id": "admin.layout.header", "style": {"bg": "<值>"}}` 场景条目声明(scoped 覆盖 .navbar 底色);侧栏底色两者皆可——global 走 `sidebar_bg`(--sidebar-bg 令牌链),场景条目走 `admin.layout.sidebar` 的 `bg`(--vts-theme-menu-bg)。
121
121
 
122
122
  ### 第 4 步 · L3 新模块处理(分级布局)
123
123