xt-element-ui 1.1.0 → 1.1.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/lib/css/2.3f7aa432.css +1 -0
- package/lib/css/3.ffcc175d.css +1 -0
- package/lib/css/4.9abd1f2b.css +1 -0
- package/lib/css/5.1a31ed8a.css +1 -0
- package/lib/css/6.c2d0d77e.css +1 -0
- package/lib/index.common.0.js +120208 -0
- package/lib/index.common.2.js +1053 -0
- package/lib/index.common.3.js +996 -0
- package/lib/index.common.4.js +1108 -0
- package/lib/index.common.5.js +1009 -0
- package/lib/index.common.6.js +973 -0
- package/lib/index.common.js +8003 -211
- package/lib/index.css +1 -1
- package/lib/index.umd.0.js +120208 -0
- package/lib/index.umd.2.js +1053 -0
- package/lib/index.umd.3.js +996 -0
- package/lib/index.umd.4.js +1108 -0
- package/lib/index.umd.5.js +1009 -0
- package/lib/index.umd.6.js +973 -0
- package/lib/index.umd.js +8003 -211
- package/lib/index.umd.min.0.js +34 -0
- package/lib/index.umd.min.2.js +1 -0
- package/lib/index.umd.min.3.js +1 -0
- package/lib/index.umd.min.4.js +1 -0
- package/lib/index.umd.min.5.js +1 -0
- package/lib/index.umd.min.6.js +1 -0
- package/lib/index.umd.min.js +1 -1
- package/package.json +7 -3
- package/src/components/button/index.vue +5 -5
- package/src/components/button/style/index.scss +743 -90
- package/src/components/chart/ExBar.vue +203 -0
- package/src/components/chart/ExLine.vue +146 -0
- package/src/components/chart/ExMulti.vue +257 -0
- package/src/components/chart/ExPie.vue +159 -0
- package/src/components/chart/ExTrend.vue +121 -0
- package/src/components/chart/index.js +2 -0
- package/src/components/chart/index.vue +51 -0
- package/src/components/chart/pieList.vue +110 -0
- package/src/components/chart/theme/blue.js +91 -0
- package/src/components/chart/theme/dark.js +91 -0
- package/src/components/chart/theme/orange.js +92 -0
- package/src/components/chart/theme/starry.js +106 -0
- package/src/components/chart/theme/white.js +110 -0
- package/src/components/chart/utils.js +273 -0
- package/src/components/config-provider/index.vue +150 -51
- package/src/components/config-provider/style/index.scss +2 -2
- package/src/components/date-picker/SearchDate.vue +45 -0
- package/src/components/date-picker/index.js +2 -0
- package/src/components/date-picker/index.vue +131 -0
- package/src/components/date-picker/quarter.vue +152 -0
- package/src/components/grid-box/index.js +2 -0
- package/src/components/grid-box/index.vue +42 -0
- package/src/components/layout/BaseCollapse.vue +48 -0
- package/src/components/layout/ExFieldset.vue +204 -0
- package/src/components/page/index.js +0 -0
- package/src/components/page/index.vue +109 -0
- package/src/components/select-tree/index.js +0 -0
- package/src/components/select-tree/index.vue +386 -0
- package/src/components/table/ExCell.vue +27 -0
- package/src/components/table/ExColumn.vue +36 -0
- package/src/components/table/index.js +2 -0
- package/src/components/table/index.vue +731 -0
- package/src/components/table/processor.js +380 -0
- package/src/components/text/index.vue +79 -2
- package/src/components/text/style/index.scss +28 -6
- package/src/components/upload/index.js +2 -0
- package/src/components/upload/index.vue +225 -0
- package/src/components/upload/preview.vue +333 -0
- package/src/index.js +11 -2
- package/src/styles/css-variables.scss +238 -148
- package/src/styles/theme/background.scss +1 -1
- package/src/styles/theme/colors.scss +90 -1
- package/src/styles/variables.scss +1 -1
- package/src/components/button/style/index copy.scss +0 -221
|
@@ -1,168 +1,258 @@
|
|
|
1
1
|
@import './theme/index.scss';
|
|
2
2
|
|
|
3
3
|
:root {
|
|
4
|
-
//
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
--xt-color-primary-
|
|
15
|
-
--xt-color-
|
|
16
|
-
--xt-color-
|
|
4
|
+
// ============================
|
|
5
|
+
// 基础变量(参考 Element Plus)
|
|
6
|
+
// ============================
|
|
7
|
+
color-scheme: light;
|
|
8
|
+
|
|
9
|
+
// 基础颜色
|
|
10
|
+
--xt-color-white: #ffffff;
|
|
11
|
+
--xt-color-black: #000000;
|
|
12
|
+
|
|
13
|
+
// RGB 值
|
|
14
|
+
--xt-color-primary-rgb: 24, 144, 255;
|
|
15
|
+
--xt-color-success-rgb: 103, 194, 58;
|
|
16
|
+
--xt-color-warning-rgb: 230, 162, 60;
|
|
17
|
+
--xt-color-danger-rgb: 245, 108, 108;
|
|
18
|
+
--xt-color-info-rgb: 144, 147, 153;
|
|
19
|
+
|
|
20
|
+
// 主色调系列 (#1890ff)
|
|
21
|
+
--xt-color-primary: #1890ff;
|
|
22
|
+
--xt-color-success: #67c23a;
|
|
23
|
+
--xt-color-warning: #e6a23c;
|
|
24
|
+
--xt-color-danger: #f56c6c;
|
|
25
|
+
--xt-color-error: #f56c6c;
|
|
26
|
+
--xt-color-info: #909399;
|
|
17
27
|
|
|
18
|
-
//
|
|
19
|
-
--xt-color-
|
|
20
|
-
--xt-color-
|
|
21
|
-
--xt-color-
|
|
22
|
-
--xt-color-
|
|
23
|
-
--xt-color-
|
|
28
|
+
// Primary 渐变色系 (#1890ff)
|
|
29
|
+
--xt-color-primary-light-3: rgb(93, 177, 255);
|
|
30
|
+
--xt-color-primary-light-5: rgb(140, 200, 255);
|
|
31
|
+
--xt-color-primary-light-7: rgb(186, 222, 255);
|
|
32
|
+
--xt-color-primary-light-8: rgb(209, 233, 255);
|
|
33
|
+
--xt-color-primary-light-9: rgb(232, 244, 255);
|
|
34
|
+
--xt-color-primary-dark-2: rgb(19, 115, 204);
|
|
35
|
+
|
|
36
|
+
// Success 渐变色系
|
|
37
|
+
--xt-color-success-light-3: rgb(149, 212, 117);
|
|
38
|
+
--xt-color-success-light-5: rgb(179, 225, 157);
|
|
39
|
+
--xt-color-success-light-7: rgb(209, 237, 196);
|
|
40
|
+
--xt-color-success-light-8: rgb(225, 243, 216);
|
|
41
|
+
--xt-color-success-light-9: rgb(240, 249, 235);
|
|
42
|
+
--xt-color-success-dark-2: rgb(82, 155, 46);
|
|
43
|
+
|
|
44
|
+
// Warning 渐变色系
|
|
45
|
+
--xt-color-warning-light-3: rgb(238, 190, 119);
|
|
46
|
+
--xt-color-warning-light-5: rgb(243, 209, 158);
|
|
47
|
+
--xt-color-warning-light-7: rgb(248, 227, 197);
|
|
48
|
+
--xt-color-warning-light-8: rgb(250, 236, 216);
|
|
49
|
+
--xt-color-warning-light-9: rgb(253, 246, 236);
|
|
50
|
+
--xt-color-warning-dark-2: rgb(184, 130, 48);
|
|
51
|
+
|
|
52
|
+
// Danger 渐变色系
|
|
53
|
+
--xt-color-danger-light-3: rgb(248, 152, 152);
|
|
54
|
+
--xt-color-danger-light-5: rgb(250, 182, 182);
|
|
55
|
+
--xt-color-danger-light-7: rgb(252, 211, 211);
|
|
56
|
+
--xt-color-danger-light-8: rgb(253, 226, 226);
|
|
57
|
+
--xt-color-danger-light-9: rgb(254, 240, 240);
|
|
58
|
+
--xt-color-danger-dark-2: rgb(196, 86, 86);
|
|
59
|
+
|
|
60
|
+
// Error 渐变色系
|
|
61
|
+
--xt-color-error-light-3: rgb(248, 152, 152);
|
|
62
|
+
--xt-color-error-light-5: rgb(250, 182, 182);
|
|
63
|
+
--xt-color-error-light-7: rgb(252, 211, 211);
|
|
64
|
+
--xt-color-error-light-8: rgb(253, 226, 226);
|
|
65
|
+
--xt-color-error-light-9: rgb(254, 240, 240);
|
|
66
|
+
--xt-color-error-dark-2: rgb(196, 86, 86);
|
|
67
|
+
|
|
68
|
+
// Info 渐变色系
|
|
69
|
+
--xt-color-info-light-3: rgb(177, 179, 184);
|
|
70
|
+
--xt-color-info-light-5: rgb(200, 201, 204);
|
|
71
|
+
--xt-color-info-light-7: rgb(222, 223, 224);
|
|
72
|
+
--xt-color-info-light-8: rgb(233, 233, 235);
|
|
73
|
+
--xt-color-info-light-9: rgb(244, 244, 245);
|
|
74
|
+
--xt-color-info-dark-2: rgb(115, 118, 122);
|
|
24
75
|
|
|
25
76
|
// 背景颜色
|
|
26
|
-
--xt-
|
|
27
|
-
--xt-color-
|
|
28
|
-
--xt-color-
|
|
29
|
-
|
|
30
|
-
|
|
77
|
+
--xt-bg-color: #ffffff;
|
|
78
|
+
--xt-bg-color-page: #f2f3f5;
|
|
79
|
+
--xt-bg-color-overlay: #ffffff;
|
|
80
|
+
|
|
81
|
+
// 文字颜色
|
|
82
|
+
--xt-text-color-primary: #303133;
|
|
83
|
+
--xt-text-color-regular: #606266;
|
|
84
|
+
--xt-text-color-secondary: #909399;
|
|
85
|
+
--xt-text-color-placeholder: #a8abb2;
|
|
86
|
+
--xt-text-color-disabled: #c0c4cc;
|
|
31
87
|
|
|
32
88
|
// 边框颜色
|
|
33
|
-
--xt-color
|
|
34
|
-
--xt-color-
|
|
35
|
-
--xt-color-
|
|
36
|
-
--xt-color-
|
|
89
|
+
--xt-border-color: #dcdfe6;
|
|
90
|
+
--xt-border-color-light: #e4e7ed;
|
|
91
|
+
--xt-border-color-lighter: #ebeef5;
|
|
92
|
+
--xt-border-color-extra-light: #f2f6fc;
|
|
93
|
+
--xt-border-color-dark: #d4d7de;
|
|
94
|
+
--xt-border-color-darker: #cdd0d6;
|
|
95
|
+
|
|
96
|
+
// 填充颜色
|
|
97
|
+
--xt-fill-color: #f0f2f5;
|
|
98
|
+
--xt-fill-color-light: #f5f7fa;
|
|
99
|
+
--xt-fill-color-lighter: #fafafa;
|
|
100
|
+
--xt-fill-color-extra-light: #fafcff;
|
|
101
|
+
--xt-fill-color-dark: #ebedf0;
|
|
102
|
+
--xt-fill-color-darker: #e6e8eb;
|
|
103
|
+
--xt-fill-color-blank: #ffffff;
|
|
104
|
+
|
|
105
|
+
// 阴影
|
|
106
|
+
--xt-box-shadow: 0px 12px 32px 4px rgba(0, 0, 0, .04), 0px 8px 20px rgba(0, 0, 0, .08);
|
|
107
|
+
--xt-box-shadow-light: 0px 0px 12px rgba(0, 0, 0, .12);
|
|
108
|
+
--xt-box-shadow-lighter: 0px 0px 6px rgba(0, 0, 0, .12);
|
|
109
|
+
--xt-box-shadow-dark: 0px 16px 48px 16px rgba(0, 0, 0, .08), 0px 12px 32px rgba(0, 0, 0, .12), 0px 8px 16px -8px rgba(0, 0, 0, .16);
|
|
110
|
+
|
|
111
|
+
// 禁用状态颜色
|
|
112
|
+
--xt-disabled-bg-color: var(--xt-fill-color-light);
|
|
113
|
+
--xt-disabled-text-color: var(--xt-text-color-placeholder);
|
|
114
|
+
--xt-disabled-border-color: var(--xt-border-color-light);
|
|
115
|
+
|
|
116
|
+
// 遮罩颜色
|
|
117
|
+
--xt-overlay-color: rgba(0, 0, 0, .8);
|
|
118
|
+
--xt-overlay-color-light: rgba(0, 0, 0, .7);
|
|
119
|
+
--xt-overlay-color-lighter: rgba(0, 0, 0, .5);
|
|
120
|
+
--xt-mask-color: rgba(255, 255, 255, .9);
|
|
121
|
+
--xt-mask-color-extra-light: rgba(255, 255, 255, .3);
|
|
122
|
+
|
|
123
|
+
// 边框
|
|
124
|
+
--xt-border-width: 1px;
|
|
125
|
+
--xt-border-style: solid;
|
|
126
|
+
--xt-border-color-hover: var(--xt-text-color-disabled);
|
|
127
|
+
--xt-border: var(--xt-border-width) var(--xt-border-style) var(--xt-border-color);
|
|
128
|
+
|
|
129
|
+
// SVG 灰度
|
|
130
|
+
--xt-svg-monochrome-grey: var(--xt-border-color);
|
|
37
131
|
|
|
38
132
|
// 字体大小
|
|
39
|
-
--xt-font-size-extra-large:
|
|
40
|
-
--xt-font-size-large:
|
|
41
|
-
--xt-font-size-medium:
|
|
42
|
-
--xt-font-size-base:
|
|
43
|
-
--xt-font-size-small:
|
|
44
|
-
--xt-font-size-extra-small:
|
|
133
|
+
--xt-font-size-extra-large: 20px;
|
|
134
|
+
--xt-font-size-large: 18px;
|
|
135
|
+
--xt-font-size-medium: 16px;
|
|
136
|
+
--xt-font-size-base: 14px;
|
|
137
|
+
--xt-font-size-small: 13px;
|
|
138
|
+
--xt-font-size-extra-small: 12px;
|
|
45
139
|
|
|
46
|
-
//
|
|
47
|
-
--xt-
|
|
48
|
-
--xt-
|
|
49
|
-
--xt-
|
|
50
|
-
--xt-spacing-lg: #{$xt-spacing-lg};
|
|
51
|
-
--xt-spacing-xl: #{$xt-spacing-xl};
|
|
140
|
+
// 字体
|
|
141
|
+
--xt-font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
|
|
142
|
+
--xt-font-weight-primary: 500;
|
|
143
|
+
--xt-font-line-height-primary: 24px;
|
|
52
144
|
|
|
53
|
-
//
|
|
54
|
-
--xt-
|
|
55
|
-
--xt-
|
|
56
|
-
--xt-
|
|
57
|
-
--xt-border-radius-circle: #{$xt-border-radius-circle};
|
|
145
|
+
// 层级
|
|
146
|
+
--xt-index-normal: 1;
|
|
147
|
+
--xt-index-top: 1000;
|
|
148
|
+
--xt-index-popper: 2000;
|
|
58
149
|
|
|
59
|
-
//
|
|
60
|
-
--xt-
|
|
61
|
-
--xt-
|
|
62
|
-
--xt-
|
|
150
|
+
// 圆角
|
|
151
|
+
--xt-border-radius-base: 4px;
|
|
152
|
+
--xt-border-radius-small: 2px;
|
|
153
|
+
--xt-border-radius-round: 20px;
|
|
154
|
+
--xt-border-radius-circle: 100%;
|
|
63
155
|
|
|
64
156
|
// 过渡动画
|
|
65
|
-
--xt-transition-duration:
|
|
66
|
-
--xt-transition-duration-fast:
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
--xt-
|
|
70
|
-
--xt-
|
|
71
|
-
--xt-
|
|
72
|
-
--xt-
|
|
73
|
-
--xt-
|
|
74
|
-
--xt-
|
|
75
|
-
|
|
76
|
-
// 卡片专用变量
|
|
77
|
-
--xt-card-bg-color: #{$xt-card-bg-color};
|
|
78
|
-
--xt-card-border-color: #{$xt-card-border-color};
|
|
79
|
-
--xt-card-border-radius: #{$xt-card-border-radius};
|
|
80
|
-
--xt-card-padding: #{$xt-card-padding};
|
|
81
|
-
--xt-card-header-padding: #{$xt-card-header-padding};
|
|
82
|
-
--xt-card-shadow: #{$xt-card-shadow};
|
|
83
|
-
|
|
84
|
-
// 卡片项专用变量
|
|
85
|
-
--xt-card-item-min-height: #{$xt-card-item-min-height};
|
|
86
|
-
--xt-card-item-gap: #{$xt-card-item-gap};
|
|
87
|
-
--xt-card-item-border-width: #{$xt-card-item-border-width};
|
|
88
|
-
|
|
89
|
-
// 输入框专用变量
|
|
90
|
-
--xt-input-height: #{$xt-input-height};
|
|
91
|
-
--xt-input-padding-x: #{$xt-input-padding-x};
|
|
92
|
-
--xt-input-bg-color: #{$xt-input-bg-color};
|
|
93
|
-
--xt-input-border-color: #{$xt-input-border-color};
|
|
94
|
-
--xt-input-text-color: #{$xt-input-text-color};
|
|
95
|
-
--xt-input-placeholder-color: #{$xt-input-placeholder-color};
|
|
96
|
-
|
|
97
|
-
// FlexBox 专用变量
|
|
98
|
-
--xt-flex-box-gap: #{$xt-flex-box-gap};
|
|
99
|
-
}
|
|
157
|
+
--xt-transition-duration: .3s;
|
|
158
|
+
--xt-transition-duration-fast: .2s;
|
|
159
|
+
--xt-transition-function-ease-in-out-bezier: cubic-bezier(.645, .045, .355, 1);
|
|
160
|
+
--xt-transition-function-fast-bezier: cubic-bezier(.23, 1, .32, 1);
|
|
161
|
+
--xt-transition-all: all var(--xt-transition-duration) var(--xt-transition-function-ease-in-out-bezier);
|
|
162
|
+
--xt-transition-fade: opacity var(--xt-transition-duration) var(--xt-transition-function-fast-bezier);
|
|
163
|
+
--xt-transition-md-fade: transform var(--xt-transition-duration) var(--xt-transition-function-fast-bezier), opacity var(--xt-transition-duration) var(--xt-transition-function-fast-bezier);
|
|
164
|
+
--xt-transition-fade-linear: opacity var(--xt-transition-duration-fast) linear;
|
|
165
|
+
--xt-transition-border: border-color var(--xt-transition-duration-fast) var(--xt-transition-function-ease-in-out-bezier);
|
|
166
|
+
--xt-transition-box-shadow: box-shadow var(--xt-transition-duration-fast) var(--xt-transition-function-ease-in-out-bezier);
|
|
167
|
+
--xt-transition-color: color var(--xt-transition-duration-fast) var(--xt-transition-function-ease-in-out-bezier);
|
|
100
168
|
|
|
101
|
-
//
|
|
102
|
-
|
|
103
|
-
--xt-
|
|
104
|
-
--xt-
|
|
105
|
-
--xt-color-warning: #{$xt-dark-color-warning};
|
|
106
|
-
--xt-color-danger: #{$xt-dark-color-danger};
|
|
107
|
-
--xt-color-info: #{$xt-dark-color-info};
|
|
108
|
-
|
|
109
|
-
--xt-color-text-primary: #{$xt-dark-color-text-primary};
|
|
110
|
-
--xt-color-text-regular: #{$xt-dark-color-text-regular};
|
|
111
|
-
--xt-color-text-secondary: #{$xt-dark-color-text-secondary};
|
|
112
|
-
--xt-color-text-placeholder: #{$xt-dark-color-text-placeholder};
|
|
113
|
-
--xt-color-text-disabled: #{$xt-dark-color-text-disabled};
|
|
114
|
-
|
|
115
|
-
--xt-color-bg-primary: #{$xt-dark-color-bg-primary};
|
|
116
|
-
--xt-color-bg-secondary: #{$xt-dark-color-bg-secondary};
|
|
117
|
-
--xt-color-bg-hover: #{$xt-dark-color-bg-hover};
|
|
118
|
-
--xt-color-bg-container: #{$xt-dark-color-bg-container};
|
|
119
|
-
--xt-color-bg-overlay: #{$xt-dark-color-bg-overlay};
|
|
120
|
-
|
|
121
|
-
--xt-color-border: #{$xt-dark-color-border};
|
|
122
|
-
--xt-color-border-light: #{$xt-dark-color-border-light};
|
|
123
|
-
--xt-color-border-lighter: #{$xt-dark-color-border-lighter};
|
|
124
|
-
--xt-color-border-extra-light: #{$xt-dark-color-border-extra-light};
|
|
125
|
-
|
|
126
|
-
// 暗色主题下的组件变量
|
|
127
|
-
--xt-card-bg-color: #{$xt-dark-color-bg-primary};
|
|
128
|
-
--xt-card-border-color: #{$xt-dark-color-border};
|
|
129
|
-
--xt-input-bg-color: #{$xt-dark-color-bg-secondary};
|
|
130
|
-
--xt-input-border-color: #{$xt-dark-color-border};
|
|
131
|
-
--xt-input-text-color: #{$xt-dark-color-text-primary};
|
|
132
|
-
--xt-input-placeholder-color: #{$xt-dark-color-text-placeholder};
|
|
133
|
-
|
|
134
|
-
// 暗色主题按钮颜色变量
|
|
135
|
-
--xt-dark-button-primary-bg: #{$xt-dark-button-primary-bg};
|
|
136
|
-
--xt-dark-button-success-bg: #{$xt-dark-button-success-bg};
|
|
137
|
-
--xt-dark-button-warning-bg: #{$xt-dark-button-warning-bg};
|
|
138
|
-
--xt-dark-button-danger-bg: #{$xt-dark-button-danger-bg};
|
|
139
|
-
--xt-dark-button-info-bg: #{$xt-dark-button-info-bg};
|
|
140
|
-
}
|
|
169
|
+
// 组件尺寸
|
|
170
|
+
--xt-component-size-large: 40px;
|
|
171
|
+
--xt-component-size: 32px;
|
|
172
|
+
--xt-component-size-small: 24px;
|
|
141
173
|
|
|
142
|
-
//
|
|
143
|
-
|
|
144
|
-
--xt-
|
|
145
|
-
--xt-
|
|
146
|
-
--xt-
|
|
147
|
-
--xt-
|
|
148
|
-
--xt-font-size-small: #{$xt-font-size-small + $xt-font-size-increment-small};
|
|
149
|
-
--xt-font-size-extra-small: #{$xt-font-size-extra-small + $xt-font-size-increment-small};
|
|
174
|
+
// 间距
|
|
175
|
+
--xt-spacing-xs: 8px;
|
|
176
|
+
--xt-spacing-sm: 12px;
|
|
177
|
+
--xt-spacing-md: 16px;
|
|
178
|
+
--xt-spacing-lg: 24px;
|
|
179
|
+
--xt-spacing-xl: 32px;
|
|
150
180
|
}
|
|
151
181
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
182
|
+
// ============================
|
|
183
|
+
// 暗色主题(参考 Element Plus)
|
|
184
|
+
// ============================
|
|
185
|
+
:root[data-theme="dark"],
|
|
186
|
+
html[data-theme="dark"],
|
|
187
|
+
[data-theme="dark"] {
|
|
188
|
+
color-scheme: dark;
|
|
189
|
+
--xt-color-primary: #409eff;
|
|
190
|
+
--xt-color-primary-light-3: rgb(51, 117, 185);
|
|
191
|
+
--xt-color-primary-light-5: rgb(42, 89, 138);
|
|
192
|
+
--xt-color-primary-light-7: rgb(33, 61, 91);
|
|
193
|
+
--xt-color-primary-light-8: rgb(29, 48, 67);
|
|
194
|
+
--xt-color-primary-light-9: rgb(24, 34, 43);
|
|
195
|
+
--xt-color-primary-dark-2: rgb(102, 177, 255);
|
|
196
|
+
--xt-color-success: #67c23a;
|
|
197
|
+
--xt-color-success-light-3: rgb(78, 142, 47);
|
|
198
|
+
--xt-color-success-light-5: rgb(62, 107, 39);
|
|
199
|
+
--xt-color-success-light-7: rgb(45, 72, 31);
|
|
200
|
+
--xt-color-success-light-8: rgb(37, 55, 28);
|
|
201
|
+
--xt-color-success-light-9: rgb(28, 37, 24);
|
|
202
|
+
--xt-color-success-dark-2: rgb(133, 206, 97);
|
|
203
|
+
--xt-color-warning: #e6a23c;
|
|
204
|
+
--xt-color-warning-light-3: rgb(167, 119, 48);
|
|
205
|
+
--xt-color-warning-light-5: rgb(125, 91, 40);
|
|
206
|
+
--xt-color-warning-light-7: rgb(83, 63, 32);
|
|
207
|
+
--xt-color-warning-light-8: rgb(62, 48, 28);
|
|
208
|
+
--xt-color-warning-light-9: rgb(41, 34, 24);
|
|
209
|
+
--xt-color-warning-dark-2: rgb(235, 181, 99);
|
|
210
|
+
--xt-color-danger: #f56c6c;
|
|
211
|
+
--xt-color-danger-light-3: rgb(178, 82, 82);
|
|
212
|
+
--xt-color-danger-light-5: rgb(133, 64, 64);
|
|
213
|
+
--xt-color-danger-light-7: rgb(88, 46, 46);
|
|
214
|
+
--xt-color-danger-light-8: rgb(65, 38, 38);
|
|
215
|
+
--xt-color-danger-light-9: rgb(42, 29, 29);
|
|
216
|
+
--xt-color-danger-dark-2: rgb(247, 137, 137);
|
|
217
|
+
--xt-color-error: #f56c6c;
|
|
218
|
+
--xt-color-error-light-3: rgb(178, 82, 82);
|
|
219
|
+
--xt-color-error-light-5: rgb(133, 64, 64);
|
|
220
|
+
--xt-color-error-light-7: rgb(88, 46, 46);
|
|
221
|
+
--xt-color-error-light-8: rgb(65, 38, 38);
|
|
222
|
+
--xt-color-error-light-9: rgb(42, 29, 29);
|
|
223
|
+
--xt-color-error-dark-2: rgb(247, 137, 137);
|
|
224
|
+
--xt-color-info: #909399;
|
|
225
|
+
--xt-color-info-light-3: rgb(107, 109, 113);
|
|
226
|
+
--xt-color-info-light-5: rgb(82, 84, 87);
|
|
227
|
+
--xt-color-info-light-7: rgb(57, 58, 60);
|
|
228
|
+
--xt-color-info-light-8: rgb(45, 45, 47);
|
|
229
|
+
--xt-color-info-light-9: rgb(32, 33, 33);
|
|
230
|
+
--xt-color-info-dark-2: rgb(166, 169, 173);
|
|
231
|
+
--xt-box-shadow: 0px 12px 32px 4px rgba(0, 0, 0, .36), 0px 8px 20px rgba(0, 0, 0, .72);
|
|
232
|
+
--xt-box-shadow-light: 0px 0px 12px rgba(0, 0, 0, .72);
|
|
233
|
+
--xt-box-shadow-lighter: 0px 0px 6px rgba(0, 0, 0, .72);
|
|
234
|
+
--xt-box-shadow-dark: 0px 16px 48px 16px rgba(0, 0, 0, .72), 0px 12px 32px #000000, 0px 8px 16px -8px #000000;
|
|
235
|
+
--xt-bg-color-page: #0a0a0a;
|
|
236
|
+
--xt-bg-color: #141414;
|
|
237
|
+
--xt-bg-color-overlay: #1d1e1f;
|
|
238
|
+
--xt-text-color-primary: #E5EAF3;
|
|
239
|
+
--xt-text-color-regular: #CFD3DC;
|
|
240
|
+
--xt-text-color-secondary: #A3A6AD;
|
|
241
|
+
--xt-text-color-placeholder: #8D9095;
|
|
242
|
+
--xt-text-color-disabled: #6C6E72;
|
|
243
|
+
--xt-border-color-darker: #636466;
|
|
244
|
+
--xt-border-color-dark: #58585B;
|
|
245
|
+
--xt-border-color: #4C4D4F;
|
|
246
|
+
--xt-border-color-light: #414243;
|
|
247
|
+
--xt-border-color-lighter: #363637;
|
|
248
|
+
--xt-border-color-extra-light: #2B2B2C;
|
|
249
|
+
--xt-fill-color-darker: #424243;
|
|
250
|
+
--xt-fill-color-dark: #39393A;
|
|
251
|
+
--xt-fill-color: #303030;
|
|
252
|
+
--xt-fill-color-light: #262727;
|
|
253
|
+
--xt-fill-color-lighter: #1D1D1D;
|
|
254
|
+
--xt-fill-color-extra-light: #191919;
|
|
255
|
+
--xt-fill-color-blank: #141414;
|
|
256
|
+
--xt-mask-color: rgba(0, 0, 0, .8);
|
|
257
|
+
--xt-mask-color-extra-light: rgba(0, 0, 0, .3)
|
|
159
258
|
}
|
|
160
|
-
|
|
161
|
-
[data-size="large"] {
|
|
162
|
-
--xt-font-size-extra-large: #{$xt-font-size-extra-large + $xt-font-size-increment-large};
|
|
163
|
-
--xt-font-size-large: #{$xt-font-size-large + $xt-font-size-increment-large};
|
|
164
|
-
--xt-font-size-medium: #{$xt-font-size-medium + $xt-font-size-increment-large};
|
|
165
|
-
--xt-font-size-base: #{$xt-font-size-base + $xt-font-size-increment-large};
|
|
166
|
-
--xt-font-size-small: #{$xt-font-size-small + $xt-font-size-increment-large};
|
|
167
|
-
--xt-font-size-extra-small: #{$xt-font-size-extra-small + $xt-font-size-increment-large};
|
|
168
|
-
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
$xt-color-bg-primary: #ffffff; // 主背景色 - 白色
|
|
2
2
|
$xt-color-bg-secondary: #f5f7fa; // 次要背景色 - 浅灰
|
|
3
3
|
$xt-color-bg-hover: #f5f5f5; // 悬停背景色
|
|
4
|
-
$xt-color-bg-container: #
|
|
4
|
+
$xt-color-bg-container: #f0f0f2; // 容器背景色
|
|
5
5
|
$xt-color-bg-main: #ffffff; // 主内容区域背景色
|
|
6
6
|
$xt-color-bg-overlay: #ffffff; // 浮层背景色
|
|
@@ -8,4 +8,93 @@ $xt-color-primary-light-3: #5DB1FF; // 主色浅色 30%
|
|
|
8
8
|
$xt-color-primary-light-5: #8CC8FF; // 主色浅色 50%
|
|
9
9
|
$xt-color-primary-light-7: #BADEFF; // 主色浅色 70%
|
|
10
10
|
$xt-color-primary-light-8: #D1E9FF; // 主色浅色 80%
|
|
11
|
-
$xt-color-primary-light-9: #E8F4FF; // 主色浅色 90%
|
|
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%
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import './theme/index.scss';
|
|
1
|
+
@import './theme/index.scss';
|