@zl-ui-kit/theme 0.14.1 → 0.14.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zl-ui-kit/theme",
3
- "version": "0.14.1",
3
+ "version": "0.14.2",
4
4
  "type": "module",
5
5
  "description": "ZL UI 主题引擎:内置 5 套主题(light/dark/red-light/red-dark/blue),--zl-* 业务变量 + --el-* Element Plus 变量三层体系,支持运行时自定义主题(defineTheme/setTheme)",
6
6
  "license": "MIT",
@@ -41,8 +41,8 @@
41
41
  "cross-env": "^7.0.3",
42
42
  "tsup": "^8.3.5",
43
43
  "typescript": "^5.7.3",
44
- "@jichuang/tsconfig": "1.0.0",
45
- "@jichuang/eslint-config": "1.0.0"
44
+ "@jichuang/eslint-config": "1.0.0",
45
+ "@jichuang/tsconfig": "1.0.0"
46
46
  },
47
47
  "repository": {
48
48
  "type": "git",
@@ -349,6 +349,19 @@ body[data-theme='blue'] {
349
349
  --zl-font-family-code: Consolas, 'SFMono-Regular', Menlo, monospace;
350
350
  --zl-slogan-font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
351
351
  }
352
+ /* blue 主题:表单控件边框态(由 scripts/themegen.mjs 生成,DO NOT EDIT) */
353
+ body[data-theme='blue'] .el-input,
354
+ body[data-theme='blue'] .el-textarea {
355
+ --el-input-border-color: #DCDFE6;
356
+ }
357
+ body[data-theme='blue'] .el-select__wrapper {
358
+ box-shadow: 0 0 0 1px #DCDFE6 inset;
359
+ }
360
+ body[data-theme='blue'] .el-select__wrapper.is-focused .el-select__caret,
361
+ body[data-theme='blue'] .el-select__wrapper.is-focused .el-select__selected-item,
362
+ body[data-theme='blue'] .el-select__wrapper.is-focused .el-select__placeholder:not(.is-transparent) {
363
+ color: var(--el-color-primary);
364
+ }
352
365
 
353
366
  /*
354
367
  * 全局 reset(随每套主题 CSS 一并注入;变量取 --zl-*,缺省回退为浅色值)
@@ -349,6 +349,19 @@ body {
349
349
  --zl-font-family-code: Consolas, 'SFMono-Regular', Menlo, monospace;
350
350
  --zl-slogan-font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
351
351
  }
352
+ /* light 主题:表单控件边框态(由 scripts/themegen.mjs 生成,DO NOT EDIT) */
353
+ body .el-input,
354
+ body .el-textarea {
355
+ --el-input-border-color: #DCDFE6;
356
+ }
357
+ body .el-select__wrapper {
358
+ box-shadow: 0 0 0 1px #DCDFE6 inset;
359
+ }
360
+ body .el-select__wrapper.is-focused .el-select__caret,
361
+ body .el-select__wrapper.is-focused .el-select__selected-item,
362
+ body .el-select__wrapper.is-focused .el-select__placeholder:not(.is-transparent) {
363
+ color: var(--el-color-primary);
364
+ }
352
365
 
353
366
  /*
354
367
  * 全局 reset(随每套主题 CSS 一并注入;变量取 --zl-*,缺省回退为浅色值)
@@ -349,6 +349,19 @@ body[data-theme='red-light'] {
349
349
  --zl-font-family-code: Consolas, 'SFMono-Regular', Menlo, monospace;
350
350
  --zl-slogan-font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
351
351
  }
352
+ /* red-light 主题:表单控件边框态(由 scripts/themegen.mjs 生成,DO NOT EDIT) */
353
+ body[data-theme='red-light'] .el-input,
354
+ body[data-theme='red-light'] .el-textarea {
355
+ --el-input-border-color: #DCDFE6;
356
+ }
357
+ body[data-theme='red-light'] .el-select__wrapper {
358
+ box-shadow: 0 0 0 1px #DCDFE6 inset;
359
+ }
360
+ body[data-theme='red-light'] .el-select__wrapper.is-focused .el-select__caret,
361
+ body[data-theme='red-light'] .el-select__wrapper.is-focused .el-select__selected-item,
362
+ body[data-theme='red-light'] .el-select__wrapper.is-focused .el-select__placeholder:not(.is-transparent) {
363
+ color: var(--el-color-primary);
364
+ }
352
365
 
353
366
  /*
354
367
  * 全局 reset(随每套主题 CSS 一并注入;变量取 --zl-*,缺省回退为浅色值)
@@ -349,6 +349,19 @@ body[data-theme='blue'] {
349
349
  --zl-font-family-code: Consolas, 'SFMono-Regular', Menlo, monospace;
350
350
  --zl-slogan-font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
351
351
  }
352
+ /* blue 主题:表单控件边框态(由 scripts/themegen.mjs 生成,DO NOT EDIT) */
353
+ body[data-theme='blue'] .el-input,
354
+ body[data-theme='blue'] .el-textarea {
355
+ --el-input-border-color: #DCDFE6;
356
+ }
357
+ body[data-theme='blue'] .el-select__wrapper {
358
+ box-shadow: 0 0 0 1px #DCDFE6 inset;
359
+ }
360
+ body[data-theme='blue'] .el-select__wrapper.is-focused .el-select__caret,
361
+ body[data-theme='blue'] .el-select__wrapper.is-focused .el-select__selected-item,
362
+ body[data-theme='blue'] .el-select__wrapper.is-focused .el-select__placeholder:not(.is-transparent) {
363
+ color: var(--el-color-primary);
364
+ }
352
365
 
353
366
  /* dark 主题(由 scripts/themegen.mjs 生成,DO NOT EDIT) */
354
367
  body[data-theme='dark'] {
@@ -1053,6 +1066,19 @@ body {
1053
1066
  --zl-font-family-code: Consolas, 'SFMono-Regular', Menlo, monospace;
1054
1067
  --zl-slogan-font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
1055
1068
  }
1069
+ /* light 主题:表单控件边框态(由 scripts/themegen.mjs 生成,DO NOT EDIT) */
1070
+ body .el-input,
1071
+ body .el-textarea {
1072
+ --el-input-border-color: #DCDFE6;
1073
+ }
1074
+ body .el-select__wrapper {
1075
+ box-shadow: 0 0 0 1px #DCDFE6 inset;
1076
+ }
1077
+ body .el-select__wrapper.is-focused .el-select__caret,
1078
+ body .el-select__wrapper.is-focused .el-select__selected-item,
1079
+ body .el-select__wrapper.is-focused .el-select__placeholder:not(.is-transparent) {
1080
+ color: var(--el-color-primary);
1081
+ }
1056
1082
 
1057
1083
  /* red-dark 主题(由 scripts/themegen.mjs 生成,DO NOT EDIT) */
1058
1084
  body[data-theme='red-dark'] {
@@ -1757,3 +1783,16 @@ body[data-theme='red-light'] {
1757
1783
  --zl-font-family-code: Consolas, 'SFMono-Regular', Menlo, monospace;
1758
1784
  --zl-slogan-font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
1759
1785
  }
1786
+ /* red-light 主题:表单控件边框态(由 scripts/themegen.mjs 生成,DO NOT EDIT) */
1787
+ body[data-theme='red-light'] .el-input,
1788
+ body[data-theme='red-light'] .el-textarea {
1789
+ --el-input-border-color: #DCDFE6;
1790
+ }
1791
+ body[data-theme='red-light'] .el-select__wrapper {
1792
+ box-shadow: 0 0 0 1px #DCDFE6 inset;
1793
+ }
1794
+ body[data-theme='red-light'] .el-select__wrapper.is-focused .el-select__caret,
1795
+ body[data-theme='red-light'] .el-select__wrapper.is-focused .el-select__selected-item,
1796
+ body[data-theme='red-light'] .el-select__wrapper.is-focused .el-select__placeholder:not(.is-transparent) {
1797
+ color: var(--el-color-primary);
1798
+ }