xt-element-ui 1.3.3 → 1.3.4

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 (111) hide show
  1. package/CHANGELOG.md +72 -72
  2. package/LICENSE +21 -21
  3. package/README.md +240 -240
  4. package/docs/README.md +100 -100
  5. package/docs/components/base/xt-button.md +114 -114
  6. package/docs/components/base/xt-card-item.md +104 -104
  7. package/docs/components/base/xt-card.md +108 -108
  8. package/docs/components/base/xt-config-provider.md +199 -199
  9. package/docs/components/base/xt-flex-box.md +115 -115
  10. package/docs/components/base/xt-grid-box.md +302 -302
  11. package/docs/components/base/xt-input.md +150 -150
  12. package/docs/components/base/xt-map-provider.md +23 -23
  13. package/docs/components/base/xt-map.md +331 -331
  14. package/docs/components/base/xt-step-price.md +165 -165
  15. package/docs/components/base/xt-text.md +212 -212
  16. package/docs/components/base/xt-time.md +165 -165
  17. package/docs/components/extend/ex-bar.md +67 -67
  18. package/docs/components/extend/ex-button.md +62 -62
  19. package/docs/components/extend/ex-card.md +86 -86
  20. package/docs/components/extend/ex-chart.md +463 -463
  21. package/docs/components/extend/ex-icon.md +189 -189
  22. package/docs/components/extend/ex-line.md +70 -70
  23. package/docs/components/extend/ex-multi.md +155 -155
  24. package/docs/components/extend/ex-pie.md +69 -69
  25. package/docs/components/extend/ex-select-tree.md +210 -210
  26. package/docs/components/extend/ex-table.md +590 -590
  27. package/docs/components/extend/ex-upload.md +134 -134
  28. package/docs/components/utils/size.md +147 -147
  29. package/docs/components/utils/theme.md +182 -182
  30. package/lib/index.common.js +4112 -4122
  31. package/lib/index.umd.js +4072 -4081
  32. package/lib/index.umd.min.js +3 -3
  33. package/package.json +80 -81
  34. package/src/components/ex-button/index.js +7 -7
  35. package/src/components/ex-button/index.vue +66 -66
  36. package/src/components/ex-button/style/index.scss +67 -67
  37. package/src/components/ex-card/index.js +7 -7
  38. package/src/components/ex-card/index.vue +68 -68
  39. package/src/components/ex-card/style/index.scss +73 -73
  40. package/src/components/ex-chart/index.js +7 -7
  41. package/src/components/ex-chart/index.vue +136 -136
  42. package/src/components/ex-date-picker/index.js +7 -7
  43. package/src/components/ex-icon/index.js +7 -7
  44. package/src/components/ex-icon/index.vue +168 -168
  45. package/src/components/ex-icon/style/index.scss +7 -7
  46. package/src/components/ex-page/index.js +7 -7
  47. package/src/components/ex-select-tree/index.js +7 -7
  48. package/src/components/ex-table/ExTableCell.vue +22 -22
  49. package/src/components/ex-table/index.js +7 -7
  50. package/src/components/ex-table/virtualScrollData.js +35 -35
  51. package/src/components/ex-upload/index.js +7 -7
  52. package/src/components/index.scss +39 -39
  53. package/src/components/xt-button/index.js +7 -7
  54. package/src/components/xt-button/index.vue +97 -97
  55. package/src/components/xt-card/index.js +7 -7
  56. package/src/components/xt-card/style/index.scss +48 -48
  57. package/src/components/xt-card-item/index.js +7 -7
  58. package/src/components/xt-card-item/style/index copy.scss +71 -71
  59. package/src/components/xt-card-item/style/index.scss +82 -82
  60. package/src/components/xt-config-provider/index.js +7 -7
  61. package/src/components/xt-config-provider/index.vue +362 -362
  62. package/src/components/xt-config-provider/style/index.scss +11 -11
  63. package/src/components/xt-flex-box/index.js +7 -7
  64. package/src/components/xt-flex-box/style/index.scss +81 -81
  65. package/src/components/xt-grid-box/index.js +7 -7
  66. package/src/components/xt-grid-box/style/index.scss +92 -92
  67. package/src/components/xt-grid-item/index.js +7 -7
  68. package/src/components/xt-grid-item/index.vue +106 -106
  69. package/src/components/xt-input/index.js +7 -7
  70. package/src/components/xt-input/index.vue +66 -66
  71. package/src/components/xt-input/style/index.scss +84 -84
  72. package/src/components/xt-map/adapters/amap.js +235 -235
  73. package/src/components/xt-map/adapters/baidu.js +254 -254
  74. package/src/components/xt-map/adapters/base.js +267 -267
  75. package/src/components/xt-map/adapters/index.js +29 -29
  76. package/src/components/xt-map/adapters/tianditu.js +242 -242
  77. package/src/components/xt-map/config/xt-map-config.js +197 -197
  78. package/src/components/xt-map/index.js +8 -8
  79. package/src/components/xt-map/index.vue +351 -351
  80. package/src/components/xt-map/loaders/script-loader.js +114 -114
  81. package/src/components/xt-map/provider.vue +200 -200
  82. package/src/components/xt-map/style/index.scss +77 -77
  83. package/src/components/xt-map-provider/index.js +8 -8
  84. package/src/components/xt-step-price/index.js +10 -10
  85. package/src/components/xt-step-price/index.vue +272 -272
  86. package/src/components/xt-step-price/style/index.scss +123 -123
  87. package/src/components/xt-step-price-item/index.js +7 -7
  88. package/src/components/xt-step-price-item/index.vue +187 -187
  89. package/src/components/xt-text/index.js +7 -7
  90. package/src/components/xt-text/index.vue +1 -1
  91. package/src/components/xt-text/style/index.scss +92 -92
  92. package/src/components/xt-time/index.js +7 -7
  93. package/src/components/xt-time/index.vue +313 -313
  94. package/src/components/xt-time/style/index.scss +23 -23
  95. package/src/config/element-registry.js +135 -135
  96. package/src/index.js +162 -178
  97. package/src/styles/css-variables.scss +257 -257
  98. package/src/styles/theme/background.scss +5 -5
  99. package/src/styles/theme/border-radius.scss +3 -3
  100. package/src/styles/theme/borders.scss +3 -3
  101. package/src/styles/theme/colors.scss +101 -101
  102. package/src/styles/theme/component-variables.scss +69 -69
  103. package/src/styles/theme/dark-variables.scss +28 -28
  104. package/src/styles/theme/font.scss +12 -12
  105. package/src/styles/theme/index.scss +11 -11
  106. package/src/styles/theme/shadows.scss +2 -2
  107. package/src/styles/theme/spacing.scss +4 -4
  108. package/src/styles/theme/transitions.scss +2 -2
  109. package/src/styles/theme/typography.scss +4 -4
  110. package/src/styles/variables-export.scss +85 -85
  111. package/src/utils/index.js +191 -202
@@ -1,101 +1,101 @@
1
- $xt-color-primary: #1890ff; // 主颜色 - XT UI 标准蓝色
2
- $xt-color-success: #37c3a4; // 成功色 - XT UI 标准绿色
3
- $xt-color-warning: #FFB74D; // 警告色 - XT UI 标准橙色
4
- $xt-color-danger: #EA1D34; // 危险色 - XT UI 标准红色
5
- $xt-color-info: #999999; // 信息色 - XT UI 标准灰色
6
-
7
- $xt-color-primary-light-3: #5DB1FF; // 主色浅色 30%
8
- $xt-color-primary-light-5: #8CC8FF; // 主色浅色 50%
9
- $xt-color-primary-light-7: #BADEFF; // 主色浅色 70%
10
- $xt-color-primary-light-8: #D1E9FF; // 主色浅色 80%
11
- $xt-color-primary-light-9: #E8F4FF; // 主色浅色 90%
12
-
13
- // 主色调深色系列(与 config-provider darkenColor 算法保持一致)
14
- $xt-color-primary-dark-2: #1373cc; // 主色深色 20%
15
- $xt-color-primary-dark-3: #1165b3; // 主色深色 30%
16
- $xt-color-primary-dark-4: #0e5699; // 主色深色 40%
17
-
18
- // ============================
19
- // Success 成功色渐变色系
20
- // ============================
21
- $xt-color-success-light-3: #5dd3b0; // 成功色浅色 30%
22
- $xt-color-success-light-5: #8be9d0; // 成功色浅色 50%
23
- $xt-color-success-light-7: #b8f0e0; // 成功色浅色 70%
24
- $xt-color-success-light-8: #d1f5ec; // 成功色浅色 80%
25
- $xt-color-success-light-9: #e8faf5; // 成功色浅色 90%
26
- $xt-color-success-dark-2: #2da88a; // 成功色深色 20%
27
-
28
- // ============================
29
- // Warning 警告色渐变色系
30
- // ============================
31
- $xt-color-warning-light-3: #f5c976; // 警告色浅色 30%
32
- $xt-color-warning-light-5: #f9d8a3; // 警告色浅色 50%
33
- $xt-color-warning-light-7: #fce7cf; // 警告色浅色 70%
34
- $xt-color-warning-light-8: #fdf2e7; // 警告色浅色 80%
35
- $xt-color-warning-light-9: #fff8f0; // 警告色浅色 90%
36
- $xt-color-warning-dark-2: #e5a033; // 警告色深色 20%
37
-
38
- // ============================
39
- // Danger 危险色渐变色系
40
- // ============================
41
- $xt-color-danger-light-3: #f04a5e; // 危险色浅色 30%
42
- $xt-color-danger-light-5: #f57786; // 危险色浅色 50%
43
- $xt-color-danger-light-7: #f9a4ad; // 危险色浅色 70%
44
- $xt-color-danger-light-8: #fbc8cd; // 危险色浅色 80%
45
- $xt-color-danger-light-9: #fee8ea; // 危险色浅色 90%
46
- $xt-color-danger-dark-2: #d4162c; // 危险色深色 20%
47
-
48
- // ============================
49
- // Info 信息色渐变色系
50
- // ============================
51
- $xt-color-info-light-3: #a4a6aa; // 信息色浅色 30%
52
- $xt-color-info-light-5: #babbbc; // 信息色浅色 50%
53
- $xt-color-info-light-7: #d0d1d3; // 信息色浅色 70%
54
- $xt-color-info-light-8: #e0e1e2; // 信息色浅色 80%
55
- $xt-color-info-light-9: #f0f0f0; // 信息色浅色 90%
56
- $xt-color-info-dark-2: #7a7c80; // 信息色深色 20%
57
-
58
- // ============================
59
- // 暗色主题渐变色系(参考 Element Plus)
60
- // ============================
61
-
62
- // Primary 暗色主题渐变色系
63
- $xt-dark-color-primary-light-3: #336eb9; // 主色暗色 30%
64
- $xt-dark-color-primary-light-5: #2a598a; // 主色暗色 50%
65
- $xt-dark-color-primary-light-7: #213d5b; // 主色暗色 70%
66
- $xt-dark-color-primary-light-8: #1d3043; // 主色暗色 80%
67
- $xt-dark-color-primary-light-9: #18222b; // 主色暗色 90%
68
- $xt-dark-color-primary-dark-2: #66b1ff; // 主色亮色 20%
69
-
70
- // Success 暗色主题渐变色系
71
- $xt-dark-color-success-light-3: #4e8e2f; // 成功色暗色 30%
72
- $xt-dark-color-success-light-5: #3e6b27; // 成功色暗色 50%
73
- $xt-dark-color-success-light-7: #2d481f; // 成功色暗色 70%
74
- $xt-dark-color-success-light-8: #25371c; // 成功色暗色 80%
75
- $xt-dark-color-success-light-9: #1c2518; // 成功色暗色 90%
76
- $xt-dark-color-success-dark-2: #85ce61; // 成功色亮色 20%
77
-
78
- // Warning 暗色主题渐变色系
79
- $xt-dark-color-warning-light-3: #a77730; // 警告色暗色 30%
80
- $xt-dark-color-warning-light-5: #7d5b28; // 警告色暗色 50%
81
- $xt-dark-color-warning-light-7: #533f20; // 警告色暗色 70%
82
- $xt-dark-color-warning-light-8: #3e301c; // 警告色暗色 80%
83
- $xt-dark-color-warning-light-9: #292218; // 警告色暗色 90%
84
- $xt-dark-color-warning-dark-2: #ebb563; // 警告色亮色 20%
85
-
86
- // Danger 暗色主题渐变色系
87
- $xt-dark-color-danger-light-3: #b25252; // 危险色暗色 30%
88
- $xt-dark-color-danger-light-5: #854040; // 危险色暗色 50%
89
- $xt-dark-color-danger-light-7: #582e2e; // 危险色暗色 70%
90
- $xt-dark-color-danger-light-8: #412626; // 危险色暗色 80%
91
- $xt-dark-color-danger-light-9: #2a1d1d; // 危险色暗色 90%
92
- $xt-dark-color-danger-dark-2: #f78989; // 危险色亮色 20%
93
-
94
- // Info 暗色主题渐变色系
95
- $xt-dark-color-info-light-3: #6b6d71; // 信息色暗色 30%
96
- $xt-dark-color-info-light-5: #525457; // 信息色暗色 50%
97
- $xt-dark-color-info-light-7: #393a3c; // 信息色暗色 70%
98
- $xt-dark-color-info-light-8: #2d2d2f; // 信息色暗色 80%
99
- $xt-dark-color-info-light-9: #202121; // 信息色暗色 90%
100
- $xt-dark-color-info-dark-2: #a6a9ad; // 信息色亮色 20%
101
-
1
+ $xt-color-primary: #1890ff; // 主颜色 - XT UI 标准蓝色
2
+ $xt-color-success: #37c3a4; // 成功色 - XT UI 标准绿色
3
+ $xt-color-warning: #FFB74D; // 警告色 - XT UI 标准橙色
4
+ $xt-color-danger: #EA1D34; // 危险色 - XT UI 标准红色
5
+ $xt-color-info: #999999; // 信息色 - XT UI 标准灰色
6
+
7
+ $xt-color-primary-light-3: #5DB1FF; // 主色浅色 30%
8
+ $xt-color-primary-light-5: #8CC8FF; // 主色浅色 50%
9
+ $xt-color-primary-light-7: #BADEFF; // 主色浅色 70%
10
+ $xt-color-primary-light-8: #D1E9FF; // 主色浅色 80%
11
+ $xt-color-primary-light-9: #E8F4FF; // 主色浅色 90%
12
+
13
+ // 主色调深色系列(与 config-provider darkenColor 算法保持一致)
14
+ $xt-color-primary-dark-2: #1373cc; // 主色深色 20%
15
+ $xt-color-primary-dark-3: #1165b3; // 主色深色 30%
16
+ $xt-color-primary-dark-4: #0e5699; // 主色深色 40%
17
+
18
+ // ============================
19
+ // Success 成功色渐变色系
20
+ // ============================
21
+ $xt-color-success-light-3: #5dd3b0; // 成功色浅色 30%
22
+ $xt-color-success-light-5: #8be9d0; // 成功色浅色 50%
23
+ $xt-color-success-light-7: #b8f0e0; // 成功色浅色 70%
24
+ $xt-color-success-light-8: #d1f5ec; // 成功色浅色 80%
25
+ $xt-color-success-light-9: #e8faf5; // 成功色浅色 90%
26
+ $xt-color-success-dark-2: #2da88a; // 成功色深色 20%
27
+
28
+ // ============================
29
+ // Warning 警告色渐变色系
30
+ // ============================
31
+ $xt-color-warning-light-3: #f5c976; // 警告色浅色 30%
32
+ $xt-color-warning-light-5: #f9d8a3; // 警告色浅色 50%
33
+ $xt-color-warning-light-7: #fce7cf; // 警告色浅色 70%
34
+ $xt-color-warning-light-8: #fdf2e7; // 警告色浅色 80%
35
+ $xt-color-warning-light-9: #fff8f0; // 警告色浅色 90%
36
+ $xt-color-warning-dark-2: #e5a033; // 警告色深色 20%
37
+
38
+ // ============================
39
+ // Danger 危险色渐变色系
40
+ // ============================
41
+ $xt-color-danger-light-3: #f04a5e; // 危险色浅色 30%
42
+ $xt-color-danger-light-5: #f57786; // 危险色浅色 50%
43
+ $xt-color-danger-light-7: #f9a4ad; // 危险色浅色 70%
44
+ $xt-color-danger-light-8: #fbc8cd; // 危险色浅色 80%
45
+ $xt-color-danger-light-9: #fee8ea; // 危险色浅色 90%
46
+ $xt-color-danger-dark-2: #d4162c; // 危险色深色 20%
47
+
48
+ // ============================
49
+ // Info 信息色渐变色系
50
+ // ============================
51
+ $xt-color-info-light-3: #a4a6aa; // 信息色浅色 30%
52
+ $xt-color-info-light-5: #babbbc; // 信息色浅色 50%
53
+ $xt-color-info-light-7: #d0d1d3; // 信息色浅色 70%
54
+ $xt-color-info-light-8: #e0e1e2; // 信息色浅色 80%
55
+ $xt-color-info-light-9: #f0f0f0; // 信息色浅色 90%
56
+ $xt-color-info-dark-2: #7a7c80; // 信息色深色 20%
57
+
58
+ // ============================
59
+ // 暗色主题渐变色系(参考 Element Plus)
60
+ // ============================
61
+
62
+ // Primary 暗色主题渐变色系
63
+ $xt-dark-color-primary-light-3: #336eb9; // 主色暗色 30%
64
+ $xt-dark-color-primary-light-5: #2a598a; // 主色暗色 50%
65
+ $xt-dark-color-primary-light-7: #213d5b; // 主色暗色 70%
66
+ $xt-dark-color-primary-light-8: #1d3043; // 主色暗色 80%
67
+ $xt-dark-color-primary-light-9: #18222b; // 主色暗色 90%
68
+ $xt-dark-color-primary-dark-2: #66b1ff; // 主色亮色 20%
69
+
70
+ // Success 暗色主题渐变色系
71
+ $xt-dark-color-success-light-3: #4e8e2f; // 成功色暗色 30%
72
+ $xt-dark-color-success-light-5: #3e6b27; // 成功色暗色 50%
73
+ $xt-dark-color-success-light-7: #2d481f; // 成功色暗色 70%
74
+ $xt-dark-color-success-light-8: #25371c; // 成功色暗色 80%
75
+ $xt-dark-color-success-light-9: #1c2518; // 成功色暗色 90%
76
+ $xt-dark-color-success-dark-2: #85ce61; // 成功色亮色 20%
77
+
78
+ // Warning 暗色主题渐变色系
79
+ $xt-dark-color-warning-light-3: #a77730; // 警告色暗色 30%
80
+ $xt-dark-color-warning-light-5: #7d5b28; // 警告色暗色 50%
81
+ $xt-dark-color-warning-light-7: #533f20; // 警告色暗色 70%
82
+ $xt-dark-color-warning-light-8: #3e301c; // 警告色暗色 80%
83
+ $xt-dark-color-warning-light-9: #292218; // 警告色暗色 90%
84
+ $xt-dark-color-warning-dark-2: #ebb563; // 警告色亮色 20%
85
+
86
+ // Danger 暗色主题渐变色系
87
+ $xt-dark-color-danger-light-3: #b25252; // 危险色暗色 30%
88
+ $xt-dark-color-danger-light-5: #854040; // 危险色暗色 50%
89
+ $xt-dark-color-danger-light-7: #582e2e; // 危险色暗色 70%
90
+ $xt-dark-color-danger-light-8: #412626; // 危险色暗色 80%
91
+ $xt-dark-color-danger-light-9: #2a1d1d; // 危险色暗色 90%
92
+ $xt-dark-color-danger-dark-2: #f78989; // 危险色亮色 20%
93
+
94
+ // Info 暗色主题渐变色系
95
+ $xt-dark-color-info-light-3: #6b6d71; // 信息色暗色 30%
96
+ $xt-dark-color-info-light-5: #525457; // 信息色暗色 50%
97
+ $xt-dark-color-info-light-7: #393a3c; // 信息色暗色 70%
98
+ $xt-dark-color-info-light-8: #2d2d2f; // 信息色暗色 80%
99
+ $xt-dark-color-info-light-9: #202121; // 信息色暗色 90%
100
+ $xt-dark-color-info-dark-2: #a6a9ad; // 信息色亮色 20%
101
+
@@ -1,70 +1,70 @@
1
- // ===========================
2
- // 按钮专用变量
3
- // ===========================
4
- $xt-button-height: 32px; // 按钮高度
5
- $xt-button-padding-x: 15px; // 按钮水平内边距
6
- $xt-button-padding-y: 8px; // 按钮垂直内边距
7
- $xt-button-font-weight: 500; // 按钮字体粗细
8
- $xt-button-border-width: 1px; // 按钮边框宽度
9
- $xt-button-transition: 0.1s; // 按钮过渡时长
10
-
11
- // ===========================
12
- // 卡片专用变量
13
- // ===========================
14
- $xt-card-bg-color: #ffffff; // 卡片背景色
15
- $xt-card-border-color: #EBEEF5; // 卡片边框颜色
16
- $xt-card-border-radius: 4px; // 卡片圆角
17
- $xt-card-padding: 20px; // 卡片内边距
18
- $xt-card-header-padding: 18px 20px; // 卡片头部内边距
19
- $xt-card-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); // 卡片阴影
20
-
21
- // ===========================
22
- // 卡片项专用变量
23
- // ===========================
24
- $xt-card-item-min-height: 40px; // 卡片项最小高度
25
- $xt-card-item-gap: 10px; // 卡片项间距
26
- $xt-card-item-border-width: 3px; // 卡片项边框宽度
27
-
28
- // ===========================
29
- // 输入框专用变量
30
- // ===========================
31
- $xt-input-height: 32px; // 输入框高度
32
- $xt-input-padding-x: 15px; // 输入框水平内边距
33
- $xt-input-bg-color: #ffffff; // 输入框背景色
34
- $xt-input-border-color: #DCDFE6; // 输入框边框颜色
35
- $xt-input-text-color: #303133; // 输入框文字颜色
36
- $xt-input-placeholder-color: #C0C4CC; // 输入框占位符颜色
37
-
38
- // ===========================
39
- // FlexBox 专用变量
40
- // ===========================
41
- $xt-flex-box-gap: 8px; // FlexBox 默认间距
42
-
43
- // ===========================
44
- // 布局 / 头部 / 导航 专用变量
45
- // ===========================
46
- $xt-header-bg: #ffffff; // 头部背景色
47
- $xt-header-text-color: #303133; // 头部文字颜色
48
- $xt-header-active-text: #1890ff; // 头部激活状态文字颜色
49
- $xt-header-hover-text: #1890ff; // 头部悬停状态文字颜色
50
-
51
- $xt-hamburger-bg: #1890ff; // 汉堡按钮背景色
52
-
53
- $xt-menu-bg: #304156; // 菜单背景色
54
- $xt-menu-hover: #263445; // 菜单悬停背景色
55
- $xt-menu-text: #bfcbd9; // 菜单文字颜色
56
- $xt-menu-active-text: #ffffff; // 菜单激活状态文字颜色
57
-
58
- $xt-sub-menu-bg: #1f2d3d; // 子菜单背景色
59
- $xt-sub-menu-hover: #001528; // 子菜单悬停背景色
60
-
61
- // ===========================
62
- // 弹窗专用变量
63
- // ===========================
64
- $xt-dialog-bg: #ffffff; // 弹窗背景色
65
- $xt-dialog-title: #303133; // 弹窗标题文字颜色
66
-
67
- // ===========================
68
- // TAG 标签专用变量
69
- // ===========================
1
+ // ===========================
2
+ // 按钮专用变量
3
+ // ===========================
4
+ $xt-button-height: 32px; // 按钮高度
5
+ $xt-button-padding-x: 15px; // 按钮水平内边距
6
+ $xt-button-padding-y: 8px; // 按钮垂直内边距
7
+ $xt-button-font-weight: 500; // 按钮字体粗细
8
+ $xt-button-border-width: 1px; // 按钮边框宽度
9
+ $xt-button-transition: 0.1s; // 按钮过渡时长
10
+
11
+ // ===========================
12
+ // 卡片专用变量
13
+ // ===========================
14
+ $xt-card-bg-color: #ffffff; // 卡片背景色
15
+ $xt-card-border-color: #EBEEF5; // 卡片边框颜色
16
+ $xt-card-border-radius: 4px; // 卡片圆角
17
+ $xt-card-padding: 20px; // 卡片内边距
18
+ $xt-card-header-padding: 18px 20px; // 卡片头部内边距
19
+ $xt-card-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); // 卡片阴影
20
+
21
+ // ===========================
22
+ // 卡片项专用变量
23
+ // ===========================
24
+ $xt-card-item-min-height: 40px; // 卡片项最小高度
25
+ $xt-card-item-gap: 10px; // 卡片项间距
26
+ $xt-card-item-border-width: 3px; // 卡片项边框宽度
27
+
28
+ // ===========================
29
+ // 输入框专用变量
30
+ // ===========================
31
+ $xt-input-height: 32px; // 输入框高度
32
+ $xt-input-padding-x: 15px; // 输入框水平内边距
33
+ $xt-input-bg-color: #ffffff; // 输入框背景色
34
+ $xt-input-border-color: #DCDFE6; // 输入框边框颜色
35
+ $xt-input-text-color: #303133; // 输入框文字颜色
36
+ $xt-input-placeholder-color: #C0C4CC; // 输入框占位符颜色
37
+
38
+ // ===========================
39
+ // FlexBox 专用变量
40
+ // ===========================
41
+ $xt-flex-box-gap: 8px; // FlexBox 默认间距
42
+
43
+ // ===========================
44
+ // 布局 / 头部 / 导航 专用变量
45
+ // ===========================
46
+ $xt-header-bg: #ffffff; // 头部背景色
47
+ $xt-header-text-color: #303133; // 头部文字颜色
48
+ $xt-header-active-text: #1890ff; // 头部激活状态文字颜色
49
+ $xt-header-hover-text: #1890ff; // 头部悬停状态文字颜色
50
+
51
+ $xt-hamburger-bg: #1890ff; // 汉堡按钮背景色
52
+
53
+ $xt-menu-bg: #304156; // 菜单背景色
54
+ $xt-menu-hover: #263445; // 菜单悬停背景色
55
+ $xt-menu-text: #bfcbd9; // 菜单文字颜色
56
+ $xt-menu-active-text: #ffffff; // 菜单激活状态文字颜色
57
+
58
+ $xt-sub-menu-bg: #1f2d3d; // 子菜单背景色
59
+ $xt-sub-menu-hover: #001528; // 子菜单悬停背景色
60
+
61
+ // ===========================
62
+ // 弹窗专用变量
63
+ // ===========================
64
+ $xt-dialog-bg: #ffffff; // 弹窗背景色
65
+ $xt-dialog-title: #303133; // 弹窗标题文字颜色
66
+
67
+ // ===========================
68
+ // TAG 标签专用变量
69
+ // ===========================
70
70
  $xt-tag-bg: #ffffff; // 标签背景色
@@ -1,29 +1,29 @@
1
- $xt-dark-color-primary: #0a7be0; // 暗色主题主色调
2
- $xt-dark-color-success: #4BC376; // 暗色主题成功颜色
3
- $xt-dark-color-warning: #E6B61e; // 暗色主题警告颜色
4
- $xt-dark-color-danger: #c13737; // 暗色主题危险颜色
5
- $xt-dark-color-info: #3f4249; // 暗色主题信息文字颜色
6
-
7
- $xt-dark-color-text-primary: rgba(255, 255, 255, 0.95); // 暗色主题主要文字颜色
8
- $xt-dark-color-text-regular: rgba(255, 255, 255, 0.8); // 暗色主题常规文字颜色
9
- $xt-dark-color-text-secondary: rgba(255, 255, 255, 0.6); // 暗色主题次要文字颜色
10
- $xt-dark-color-text-placeholder: rgba(255, 255, 255, 0.4); // 暗色主题占位符文字颜色
11
- $xt-dark-color-text-disabled: rgba(255, 255, 255, 0.3); // 暗色主题禁用状态文字颜色
12
-
13
- $xt-dark-color-bg-primary: #1f1f1f; // 暗色主题主背景色
14
- $xt-dark-color-bg-secondary: #2d2d2d; // 暗色主题次要背景色
15
- $xt-dark-color-bg-hover: #3d3d3d; // 暗色主题悬停背景色
16
- $xt-dark-color-bg-container: #1f1f1f; // 暗色主题容器背景色
17
- $xt-dark-color-bg-overlay: #2d2d2d; // 暗色主题浮层背景色
18
-
19
- $xt-dark-color-border: #434343; // 暗色主题边框颜色
20
- $xt-dark-color-border-light: #3d3d3d; // 暗色主题边框浅色
21
- $xt-dark-color-border-lighter: #3d3d3d; // 暗色主题边框更浅色
22
- $xt-dark-color-border-extra-light: #434343; // 暗色主题边框极浅色
23
-
24
- // 暗色主题按钮颜色
25
- $xt-dark-button-primary-bg: #1e40af; // 暗色主题主按钮背景色
26
- $xt-dark-button-success-bg: #166534; // 暗色主题成功按钮背景色
27
- $xt-dark-button-warning-bg: #78350f; // 暗色主题警告按钮背景色
28
- $xt-dark-button-danger-bg: #991b1b; // 暗色主题危险按钮背景色
1
+ $xt-dark-color-primary: #0a7be0; // 暗色主题主色调
2
+ $xt-dark-color-success: #4BC376; // 暗色主题成功颜色
3
+ $xt-dark-color-warning: #E6B61e; // 暗色主题警告颜色
4
+ $xt-dark-color-danger: #c13737; // 暗色主题危险颜色
5
+ $xt-dark-color-info: #3f4249; // 暗色主题信息文字颜色
6
+
7
+ $xt-dark-color-text-primary: rgba(255, 255, 255, 0.95); // 暗色主题主要文字颜色
8
+ $xt-dark-color-text-regular: rgba(255, 255, 255, 0.8); // 暗色主题常规文字颜色
9
+ $xt-dark-color-text-secondary: rgba(255, 255, 255, 0.6); // 暗色主题次要文字颜色
10
+ $xt-dark-color-text-placeholder: rgba(255, 255, 255, 0.4); // 暗色主题占位符文字颜色
11
+ $xt-dark-color-text-disabled: rgba(255, 255, 255, 0.3); // 暗色主题禁用状态文字颜色
12
+
13
+ $xt-dark-color-bg-primary: #1f1f1f; // 暗色主题主背景色
14
+ $xt-dark-color-bg-secondary: #2d2d2d; // 暗色主题次要背景色
15
+ $xt-dark-color-bg-hover: #3d3d3d; // 暗色主题悬停背景色
16
+ $xt-dark-color-bg-container: #1f1f1f; // 暗色主题容器背景色
17
+ $xt-dark-color-bg-overlay: #2d2d2d; // 暗色主题浮层背景色
18
+
19
+ $xt-dark-color-border: #434343; // 暗色主题边框颜色
20
+ $xt-dark-color-border-light: #3d3d3d; // 暗色主题边框浅色
21
+ $xt-dark-color-border-lighter: #3d3d3d; // 暗色主题边框更浅色
22
+ $xt-dark-color-border-extra-light: #434343; // 暗色主题边框极浅色
23
+
24
+ // 暗色主题按钮颜色
25
+ $xt-dark-button-primary-bg: #1e40af; // 暗色主题主按钮背景色
26
+ $xt-dark-button-success-bg: #166534; // 暗色主题成功按钮背景色
27
+ $xt-dark-button-warning-bg: #78350f; // 暗色主题警告按钮背景色
28
+ $xt-dark-button-danger-bg: #991b1b; // 暗色主题危险按钮背景色
29
29
  $xt-dark-button-info-bg: #374151; // 暗色主题信息按钮背景色
@@ -1,13 +1,13 @@
1
- $xt-font-size-extra-large: 20px; // 特大字体基础值
2
- $xt-font-size-large: 18px; // 大字体基础值
3
- $xt-font-size-medium: 16px; // 中等字体基础值
4
- $xt-font-size-base: 14px; // 基准字体 - Element UI 默认
5
- $xt-font-size-small: 13px; // 小字体基础值
6
- $xt-font-size-extra-small: 12px; // 特小字体基础值
7
-
8
- $xt-font-size-increment-extra-small: -2px; // 特小尺寸增量
9
- $xt-font-size-increment-small: -1px; // 小尺寸增量
10
- $xt-font-size-increment-base: 0px; // 基准尺寸增量
11
- $xt-font-size-increment-medium: 2px; // 中尺寸增量
12
- $xt-font-size-increment-large: 4px; // 大尺寸增量
1
+ $xt-font-size-extra-large: 20px; // 特大字体基础值
2
+ $xt-font-size-large: 18px; // 大字体基础值
3
+ $xt-font-size-medium: 16px; // 中等字体基础值
4
+ $xt-font-size-base: 14px; // 基准字体 - Element UI 默认
5
+ $xt-font-size-small: 13px; // 小字体基础值
6
+ $xt-font-size-extra-small: 12px; // 特小字体基础值
7
+
8
+ $xt-font-size-increment-extra-small: -2px; // 特小尺寸增量
9
+ $xt-font-size-increment-small: -1px; // 小尺寸增量
10
+ $xt-font-size-increment-base: 0px; // 基准尺寸增量
11
+ $xt-font-size-increment-medium: 2px; // 中尺寸增量
12
+ $xt-font-size-increment-large: 4px; // 大尺寸增量
13
13
  $xt-font-size-increment-extra-large: 6px; // 特大尺寸增量
@@ -1,11 +1,11 @@
1
- @import './colors.scss';
2
- @import './typography.scss';
3
- @import './background.scss';
4
- @import './borders.scss';
5
- @import './font.scss';
6
- @import './spacing.scss';
7
- @import './border-radius.scss';
8
- @import './shadows.scss';
9
- @import './transitions.scss';
10
- @import './dark-variables.scss';
11
- @import './component-variables.scss';
1
+ @import './colors.scss';
2
+ @import './typography.scss';
3
+ @import './background.scss';
4
+ @import './borders.scss';
5
+ @import './font.scss';
6
+ @import './spacing.scss';
7
+ @import './border-radius.scss';
8
+ @import './shadows.scss';
9
+ @import './transitions.scss';
10
+ @import './dark-variables.scss';
11
+ @import './component-variables.scss';
@@ -1,3 +1,3 @@
1
- $xt-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04); // 小阴影
2
- $xt-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08); // 中等阴影
1
+ $xt-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04); // 小阴影
2
+ $xt-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08); // 中等阴影
3
3
  $xt-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12); // 大阴影
@@ -1,5 +1,5 @@
1
- $xt-spacing-xs: 4px; // 最小间距
2
- $xt-spacing-sm: 8px; // 小间距
3
- $xt-spacing-md: 12px; // 中间距
4
- $xt-spacing-lg: 16px; // 大间距
1
+ $xt-spacing-xs: 4px; // 最小间距
2
+ $xt-spacing-sm: 8px; // 小间距
3
+ $xt-spacing-md: 12px; // 中间距
4
+ $xt-spacing-lg: 16px; // 大间距
5
5
  $xt-spacing-xl: 20px; // 特大间距
@@ -1,3 +1,3 @@
1
- $xt-transition-duration: 0.3s; // 默认过渡时长
2
- $xt-transition-duration-fast: 0.2s; // 快速过渡时长
1
+ $xt-transition-duration: 0.3s; // 默认过渡时长
2
+ $xt-transition-duration-fast: 0.2s; // 快速过渡时长
3
3
  $xt-transition-ease: ease; // 缓动函数
@@ -1,5 +1,5 @@
1
- $xt-color-text-primary: #303133; // 主要文字颜色 - 最深
2
- $xt-color-text-regular: #606266; // 常规文字颜色 - 中等
3
- $xt-color-text-secondary: #909399; // 次要文字颜色 - 较浅
4
- $xt-color-text-placeholder: #C0C4CC; // 占位符文字颜色
1
+ $xt-color-text-primary: #303133; // 主要文字颜色 - 最深
2
+ $xt-color-text-regular: #606266; // 常规文字颜色 - 中等
3
+ $xt-color-text-secondary: #909399; // 次要文字颜色 - 较浅
4
+ $xt-color-text-placeholder: #C0C4CC; // 占位符文字颜色
5
5
  $xt-color-text-disabled: #C0C4CC; // 禁用状态文字颜色