@opentiny/vue-theme 3.12.0 → 3.13.0
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/action-menu/index.css +1 -1
- package/action-menu/smb-theme.js +13 -0
- package/alert/index.css +1 -1
- package/aurora-theme/action-menu/index.css +1 -1
- package/aurora-theme/alert/index.css +1 -1
- package/aurora-theme/base/index.css +1 -1
- package/aurora-theme/button/index.css +1 -1
- package/aurora-theme/button-group/index.css +1 -1
- package/aurora-theme/calendar/index.css +1 -1
- package/aurora-theme/carousel/index.css +1 -1
- package/aurora-theme/color-picker/index.css +1 -1
- package/aurora-theme/divider/index.css +1 -1
- package/aurora-theme/dropdown/index.css +1 -1
- package/aurora-theme/dropdown-item/index.css +1 -1
- package/aurora-theme/form/index.css +1 -1
- package/aurora-theme/form-item/index.css +1 -1
- package/aurora-theme/index.css +1 -0
- package/aurora-theme/input/index.css +1 -1
- package/aurora-theme/link/index.css +1 -1
- package/aurora-theme/option/index.css +1 -1
- package/aurora-theme/option-group/index.css +1 -1
- package/aurora-theme/popconfirm/index.css +1 -1
- package/aurora-theme/progress/index.css +1 -1
- package/aurora-theme/select-dropdown/index.css +1 -1
- package/aurora-theme/steps/index.css +1 -1
- package/aurora-theme/tabs/index.css +1 -1
- package/aurora-theme/tall-storage/index.css +1 -1
- package/aurora-theme/tree-menu/index.css +1 -1
- package/aurora-theme/upload-list/index.css +1 -1
- package/aurora-theme/wizard/index.css +1 -1
- package/button/index.css +1 -1
- package/button/smb-theme.js +4 -2
- package/button-group/index.css +1 -1
- package/calendar/index.css +1 -1
- package/carousel/index.css +1 -1
- package/carousel/smb-theme.js +22 -0
- package/carousel-item/smb-theme.js +4 -0
- package/color-picker/index.css +1 -1
- package/divider/index.css +1 -1
- package/divider/smb-theme.js +7 -0
- package/dropdown/index.css +1 -1
- package/dropdown/smb-theme.js +7 -1
- package/dropdown-item/index.css +1 -1
- package/dropdown-item/smb-theme.js +8 -1
- package/form/index.css +1 -1
- package/form-item/index.css +1 -1
- package/index.css +1 -1
- package/input/index.css +1 -1
- package/link/index.css +1 -1
- package/lowcode.css +1 -1
- package/option/index.css +1 -1
- package/option/smb-theme.js +2 -1
- package/option-group/index.css +1 -1
- package/option-group/smb-theme.js +6 -1
- package/package.json +1 -1
- package/popconfirm/index.css +1 -1
- package/progress/index.css +1 -1
- package/select/smb-theme.js +3 -3
- package/select-dropdown/index.css +1 -1
- package/select-dropdown/smb-theme.js +8 -8
- package/smb-theme/action-menu/index.css +1 -1
- package/smb-theme/alert/index.css +1 -1
- package/smb-theme/base/index.css +1 -1
- package/smb-theme/button/index.css +1 -1
- package/smb-theme/button-group/index.css +1 -1
- package/smb-theme/calendar/index.css +1 -1
- package/smb-theme/carousel/index.css +1 -1
- package/smb-theme/carousel-item/index.css +1 -1
- package/smb-theme/color-picker/index.css +1 -1
- package/smb-theme/divider/index.css +1 -1
- package/smb-theme/dropdown/index.css +1 -1
- package/smb-theme/dropdown-item/index.css +1 -1
- package/smb-theme/form/index.css +1 -1
- package/smb-theme/form-item/index.css +1 -1
- package/smb-theme/index.css +1 -0
- package/smb-theme/input/index.css +1 -1
- package/smb-theme/link/index.css +1 -1
- package/smb-theme/option/index.css +1 -1
- package/smb-theme/option-group/index.css +1 -1
- package/smb-theme/popconfirm/index.css +1 -1
- package/smb-theme/progress/index.css +1 -1
- package/smb-theme/select/index.css +1 -1
- package/smb-theme/select-dropdown/index.css +1 -1
- package/smb-theme/steps/index.css +1 -1
- package/smb-theme/tabs/index.css +1 -1
- package/smb-theme/tall-storage/index.css +1 -1
- package/smb-theme/transfer/index.css +1 -1
- package/smb-theme/tree-menu/index.css +1 -1
- package/smb-theme/upload-list/index.css +1 -1
- package/smb-theme/wizard/index.css +1 -1
- package/steps/index.css +1 -1
- package/svgs/add-picture.svg +4 -0
- package/tabs/index.css +1 -1
- package/tabs/smb-theme.js +2 -2
- package/tall-storage/index.css +1 -1
- package/theme/aurora-theme/component.js +3 -3
- package/theme/aurora-theme/index.js +133 -2
- package/theme/index.js +2 -2
- package/theme/infinity-theme/component-vars.js +382 -0
- package/theme/infinity-theme/index.js +119 -362
- package/theme/smb-theme/component.js +87 -22
- package/theme/smb-theme/index.js +177 -71
- package/transfer/smb-theme.js +9 -0
- package/tree-menu/index.css +1 -1
- package/upload-list/index.css +1 -1
- package/upload-list/smb-theme.js +1 -1
- package/wizard/index.css +1 -1
|
@@ -10,7 +10,25 @@
|
|
|
10
10
|
*
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
// 基础变量
|
|
14
|
+
export const tinyBaseInfinityTheme = {
|
|
15
|
+
'ti-base-color-transparent': 'transparent', // 透明色
|
|
16
|
+
|
|
17
|
+
// 品牌主色
|
|
18
|
+
'ti-base-color-brand-6': '#5e7ce0', // 主色蓝
|
|
19
|
+
'ti-base-color-brand-2': '#e9edfa', // 品牌色-2
|
|
20
|
+
|
|
21
|
+
/* 1.4 功能色*/
|
|
22
|
+
'ti-base-color-error-3': '#f66f6a', // 错误-3
|
|
23
|
+
'ti-base-color-error-1': '#ffd5d4', // 错误-1
|
|
24
|
+
|
|
25
|
+
'ti-base-color-success-3': '#50d4ab', // 成功-3
|
|
26
|
+
'ti-base-color-success-1': '#cffcee', // 成功-1
|
|
27
|
+
|
|
28
|
+
// 告警色
|
|
29
|
+
'ti-base-color-warn-4': '#fa9841', // 告警-4
|
|
30
|
+
'ti-base-color-warn-1': '#ffe1c7', // 告警-1
|
|
31
|
+
|
|
14
32
|
'ti-common-border-radius-normal': 'var(--ti-common-border-radius-1)',
|
|
15
33
|
'ti-common-font-size-base': 'var(--ti-common-font-size-1)',
|
|
16
34
|
'ti-common-color-line-dividing': '#f2f2f3',
|
|
@@ -35,366 +53,105 @@ export const infinityTheme = {
|
|
|
35
53
|
'ti-common-dropdown-gap': '8px',
|
|
36
54
|
'ti-common-color-bg-disabled': '#f5f5f5',
|
|
37
55
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
'ti-
|
|
42
|
-
'ti-
|
|
43
|
-
'ti-
|
|
44
|
-
'ti-
|
|
45
|
-
'ti-
|
|
46
|
-
'ti-
|
|
47
|
-
'ti-
|
|
48
|
-
'ti-
|
|
49
|
-
'ti-
|
|
50
|
-
'ti-
|
|
51
|
-
'ti-
|
|
52
|
-
'ti-
|
|
53
|
-
'ti-
|
|
54
|
-
'ti-
|
|
55
|
-
'ti-
|
|
56
|
-
'ti-
|
|
57
|
-
'ti-
|
|
58
|
-
'ti-
|
|
59
|
-
'ti-
|
|
60
|
-
'ti-
|
|
61
|
-
'ti-
|
|
62
|
-
'ti-
|
|
63
|
-
'ti-
|
|
64
|
-
'ti-
|
|
65
|
-
'ti-
|
|
66
|
-
'ti-
|
|
67
|
-
'ti-
|
|
68
|
-
'ti-
|
|
69
|
-
'ti-
|
|
70
|
-
'ti-
|
|
71
|
-
'ti-
|
|
72
|
-
'ti-
|
|
73
|
-
'ti-
|
|
74
|
-
'ti-
|
|
75
|
-
'ti-
|
|
76
|
-
'ti-
|
|
77
|
-
'ti-
|
|
78
|
-
'ti-
|
|
79
|
-
'ti-
|
|
80
|
-
'ti-
|
|
81
|
-
'ti-
|
|
82
|
-
'ti-
|
|
83
|
-
'ti-
|
|
84
|
-
'ti-
|
|
85
|
-
'ti-
|
|
86
|
-
'ti-
|
|
87
|
-
'ti-
|
|
88
|
-
'ti-
|
|
89
|
-
'ti-
|
|
90
|
-
'ti-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
'ti-
|
|
94
|
-
'ti-
|
|
95
|
-
'ti-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
'ti-
|
|
101
|
-
'ti-
|
|
102
|
-
'ti-
|
|
103
|
-
'ti-
|
|
104
|
-
'ti-
|
|
105
|
-
'ti-
|
|
106
|
-
//
|
|
107
|
-
'ti-
|
|
108
|
-
'ti-tabs-header-text-color': 'var(--ti-base-color-common-7)',
|
|
109
|
-
'ti-tabs-header-font-normal-text-color': '#71757f',
|
|
110
|
-
'ti-tabs-item-margin-right': 'var(--ti-common-space-8x)',
|
|
111
|
-
'ti-tabs-item-padding-horizontal': 'var(--ti-common-space-4x)',
|
|
112
|
-
'ti-tabs-item-vertical-padding-horizontal': 'var(--ti-common-space-5x)',
|
|
113
|
-
'ti-tabs-item-active-border-weight': '2px',
|
|
114
|
-
'ti-tabs-item-active-border-style': 'solid',
|
|
115
|
-
'ti-tabs-item-active-border-color': 'var(--ti-tabs-header-font-active-border-color)',
|
|
116
|
-
'ti-tabs-item-bottom-border-weight': '1px',
|
|
117
|
-
'ti-tabs-item-bottom-border-style': 'solid',
|
|
118
|
-
'ti-tabs-item-bottom-border-color': '#f2f2f3',
|
|
119
|
-
'ti-tabs-item-card-active-bg-color': '#f7f7f9',
|
|
120
|
-
'ti-tabs-item-card-border-radius': 'var(--ti-common-border-radius-1) var(--ti-common-border-radius-1) 0 0',
|
|
121
|
-
'ti-tabs-icon-close-default-bg-color': '#d7d8da',
|
|
122
|
-
'ti-tabs-icon-close-hover-bg-color': 'var(--ti-base-color-common-7)',
|
|
123
|
-
'ti-tabs-icon-close-default-text-color': 'var(--ti-base-color-white)',
|
|
124
|
-
'ti-tabs-icon-close-hover-text-color': 'var(--ti-base-color-white)',
|
|
125
|
-
'ti-tabs-icon-size-close': '12px',
|
|
126
|
-
'ti-tabs-icon-close-margin-vertical': '0',
|
|
127
|
-
'ti-tabs-icon-close-margin-right': '0',
|
|
128
|
-
'ti-tabs-icon-close-margin-left': 'var(--ti-common-space-3x)',
|
|
129
|
-
// popover
|
|
130
|
-
'ti-popover-box-shadow': '0 8px 16px 0 rgba(37,43,58,.2)',
|
|
131
|
-
'ti-popover-text-color': '#dfe1e6',
|
|
132
|
-
'ti-popover-bg-color': '#464d6e',
|
|
133
|
-
'ti-popover-border-color': 'transparent',
|
|
134
|
-
'ti-popover-title-text-color': '#dfe1e6',
|
|
135
|
-
'ti-popover-arrow-border-color': 'var(--ti-popover-bg-color)',
|
|
136
|
-
'ti-popover-placement-arrow-after-border-color': 'var(--ti-popover-arrow-border-color)',
|
|
137
|
-
'ti-popover-padding-vertical': '8px',
|
|
138
|
-
'ti-popover-padding-horizontal': '14px',
|
|
139
|
-
// tooltip
|
|
140
|
-
'ti-tooltip-box-shadow': '0 8px 16px 0 rgba(37,43,58,.2)',
|
|
141
|
-
'ti-tooltip-popper-border-color': '#464d6e',
|
|
142
|
-
'ti-tooltip-popper-dark-bg-color': '#464d6e',
|
|
143
|
-
'ti-tooltip-popper-light-text-color': '#464d6e',
|
|
144
|
-
'ti-tooltip-popper-light-border-color': '#464d6e',
|
|
145
|
-
'ti-tooltip-padding-vertical': '8px',
|
|
146
|
-
'ti-tooltip-padding-horizontal': '14px',
|
|
147
|
-
'ti-tooltip-color': '#dfe1e6',
|
|
148
|
-
'ti-tooltip-popper-dark-text-color': '#dfe1e6',
|
|
56
|
+
/**
|
|
57
|
+
* 12.28 尺寸
|
|
58
|
+
**/
|
|
59
|
+
'ti-common-size-base': '4px', // 基础尺寸
|
|
60
|
+
'ti-common-size-2x': 'calc(var(--ti-common-size-base) * 2)', // 尺寸-2
|
|
61
|
+
'ti-common-size-3x': 'calc(var(--ti-common-size-base) * 3)', // 尺寸-3
|
|
62
|
+
'ti-common-size-4x': 'calc(var(--ti-common-size-base) * 4)', // 尺寸-4
|
|
63
|
+
'ti-common-size-5x': 'calc(var(--ti-common-size-base) * 5)', // 尺寸-5
|
|
64
|
+
'ti-common-size-6x': 'calc(var(--ti-common-size-base) * 6)', // 尺寸-6
|
|
65
|
+
'ti-common-size-7x': 'calc(var(--ti-common-size-base) * 7)', // 尺寸-7
|
|
66
|
+
'ti-common-size-8x': 'calc(var(--ti-common-size-base) * 8)', // 尺寸-8
|
|
67
|
+
'ti-common-size-9x': 'calc(var(--ti-common-size-base) * 9)', // 尺寸-9
|
|
68
|
+
'ti-common-size-10x': 'calc(var(--ti-common-size-base) * 10)', // 尺寸-10
|
|
69
|
+
'ti-common-size-11x': 'calc(var(--ti-common-size-base) * 11)', // 尺寸-11
|
|
70
|
+
'ti-common-size-12x': 'calc(var(--ti-common-size-base) * 12)', // 尺寸-12
|
|
71
|
+
'ti-common-size-13x': 'calc(var(--ti-common-size-base) * 13)', // 尺寸-13
|
|
72
|
+
'ti-common-size-14x': 'calc(var(--ti-common-size-base) * 14)', // 尺寸-14
|
|
73
|
+
'ti-common-size-15x': 'calc(var(--ti-common-size-base) * 15)', // 尺寸-15
|
|
74
|
+
'ti-common-size-16x': 'calc(var(--ti-common-size-base) * 16)', // 尺寸-16
|
|
75
|
+
'ti-common-size-17x': 'calc(var(--ti-common-size-base) * 17)', // 尺寸-17
|
|
76
|
+
'ti-common-size-18x': 'calc(var(--ti-common-size-base) * 18)', // 尺寸-18
|
|
77
|
+
'ti-common-size-19x': 'calc(var(--ti-common-size-base) * 19)', // 尺寸-19
|
|
78
|
+
'ti-common-size-20x': 'calc(var(--ti-common-size-base) * 20)', // 尺寸-20
|
|
79
|
+
'ti-common-size-21x': 'calc(var(--ti-common-size-base) * 21)', // 尺寸-21
|
|
80
|
+
'ti-common-size-22x': 'calc(var(--ti-common-size-base) * 22)', // 尺寸-22
|
|
81
|
+
'ti-common-size-23x': 'calc(var(--ti-common-size-base) * 23)', // 尺寸-23
|
|
82
|
+
'ti-common-size-24x': 'calc(var(--ti-common-size-base) * 24)', // 尺寸-24
|
|
83
|
+
'ti-common-size-25x': 'calc(var(--ti-common-size-base) * 25)', // 尺寸-25
|
|
84
|
+
'ti-common-size-26x': 'calc(var(--ti-common-size-base) * 26)', // 尺寸-26
|
|
85
|
+
'ti-common-size-27x': 'calc(var(--ti-common-size-base) * 27)', // 尺寸-27
|
|
86
|
+
'ti-common-size-28x': 'calc(var(--ti-common-size-base) * 28)', // 尺寸-28
|
|
87
|
+
'ti-common-size-29x': 'calc(var(--ti-common-size-base) * 29)', // 尺寸-29
|
|
88
|
+
'ti-common-size-30x': 'calc(var(--ti-common-size-base) * 30)', // 尺寸-30
|
|
89
|
+
'ti-common-size-31x': 'calc(var(--ti-common-size-base) * 31)', // 尺寸-31
|
|
90
|
+
'ti-common-size-32x': 'calc(var(--ti-common-size-base) * 32)', // 尺寸-32
|
|
91
|
+
'ti-common-size-33x': 'calc(var(--ti-common-size-base) * 33)', // 尺寸-33
|
|
92
|
+
'ti-common-size-34x': 'calc(var(--ti-common-size-base) * 34)', // 尺寸-34
|
|
93
|
+
'ti-common-size-35x': 'calc(var(--ti-common-size-base) * 35)', // 尺寸-35
|
|
94
|
+
'ti-common-size-36x': 'calc(var(--ti-common-size-base) * 36)', // 尺寸-36
|
|
95
|
+
'ti-common-size-37x': 'calc(var(--ti-common-size-base) * 37)', // 尺寸-37
|
|
96
|
+
'ti-common-size-38x': 'calc(var(--ti-common-size-base) * 38)', // 尺寸-38
|
|
97
|
+
'ti-common-size-39x': 'calc(var(--ti-common-size-base) * 39)', // 尺寸-39
|
|
98
|
+
'ti-common-size-40x': 'calc(var(--ti-common-size-base) * 40)', // 尺寸-40
|
|
99
|
+
'ti-common-size-41x': 'calc(var(--ti-common-size-base) * 41)', // 尺寸-41
|
|
100
|
+
'ti-common-size-42x': 'calc(var(--ti-common-size-base) * 42)', // 尺寸-42
|
|
101
|
+
'ti-common-size-43x': 'calc(var(--ti-common-size-base) * 43)', // 尺寸-43
|
|
102
|
+
'ti-common-size-44x': 'calc(var(--ti-common-size-base) * 44)', // 尺寸-44
|
|
103
|
+
'ti-common-size-45x': 'calc(var(--ti-common-size-base) * 45)', // 尺寸-45
|
|
104
|
+
'ti-common-size-46x': 'calc(var(--ti-common-size-base) * 46)', // 尺寸-46
|
|
105
|
+
'ti-common-size-47x': 'calc(var(--ti-common-size-base) * 47)', // 尺寸-47
|
|
106
|
+
'ti-common-size-48x': 'calc(var(--ti-common-size-base) * 48)', // 尺寸-48
|
|
107
|
+
'ti-common-size-49x': 'calc(var(--ti-common-size-base) * 49)', // 尺寸-49
|
|
108
|
+
'ti-common-size-50x': 'calc(var(--ti-common-size-base) * 50)', // 尺寸-50
|
|
109
|
+
|
|
110
|
+
/* 其他尺寸 */
|
|
111
|
+
'ti-common-size-0': '0px', // 其他尺寸-1
|
|
112
|
+
'ti-common-size-auto': 'auto', // 其他尺寸-2
|
|
113
|
+
'ti-common-size-3': '3px', // 基础尺寸
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* 2.12 字号
|
|
117
|
+
**/
|
|
118
|
+
'ti-common-font-size-base': '12px', // NewCssVar 正文-常规
|
|
119
|
+
'ti-common-font-size-1': '14px', // NewCssVar 标题-小
|
|
120
|
+
'ti-common-font-size-2': '16px', // NewCssVar 标题-中
|
|
121
|
+
'ti-common-font-size-3': '18px', // NewCssVar 标题-大
|
|
122
|
+
'ti-common-font-size-4': '20px', // NewCssVar 字号-4
|
|
123
|
+
'ti-common-font-size-5': '24px', // NewCssVar 字号-5
|
|
124
|
+
'ti-common-font-size-6': '32px', // NewCssVar 字号-6
|
|
125
|
+
'ti-common-font-size-7': '36px', // NewCssVar 字号-7
|
|
149
126
|
|
|
150
|
-
|
|
151
|
-
'ti-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
'ti-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
'ti-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
'ti-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
'ti-
|
|
171
|
-
'ti-
|
|
172
|
-
|
|
173
|
-
'ti-
|
|
174
|
-
'ti-
|
|
175
|
-
|
|
176
|
-
'ti-
|
|
177
|
-
'ti-
|
|
178
|
-
'ti-date-table-td-today-text-color': 'var(--ti-base-color-brand-6)',
|
|
179
|
-
'ti-date-picker-current-border-radius': 'var(--ti-common-border-radius-normal)',
|
|
180
|
-
'ti-date-picker-hover-bg-color': 'var(--ti-common-color-selected-background)',
|
|
181
|
-
'ti-date-table-td-width': '30px',
|
|
182
|
-
'ti-date-table-td-height': '22px',
|
|
183
|
-
'ti-date-table-td-padding-vertical': '0',
|
|
184
|
-
'ti-date-table-td-padding-horizontal': '4px',
|
|
185
|
-
'ti-date-table-td-span-width': '22px',
|
|
186
|
-
'ti-date-table-td-span-height': '22px',
|
|
187
|
-
'ti-date-editor-input-icon-color-fill': '#d7d8da',
|
|
188
|
-
// grid
|
|
189
|
-
'ti-grid-header-background-color': '#fff',
|
|
190
|
-
'ti-grid-header-column-height': '42px',
|
|
191
|
-
'ti-grid-icon-fill-hover-bg-color': '#252b3a',
|
|
192
|
-
// modal
|
|
193
|
-
'ti-modal-box-width': '346px',
|
|
194
|
-
'ti-modal-header-padding-top': '20px',
|
|
195
|
-
'ti-modal-header-padding-horizontal': '20px',
|
|
196
|
-
'ti-modal-header-padding-bottom': '0',
|
|
197
|
-
'ti-modal-close-btn-font-size': '32px',
|
|
198
|
-
'ti-modal-body-padding-top': '20px',
|
|
199
|
-
'ti-modal-body-padding-horizontal': '20px',
|
|
200
|
-
'ti-modal-body-padding-bottom': '0',
|
|
201
|
-
'ti-modal-footer-padding-top': '18px',
|
|
202
|
-
'ti-modal-footer-padding-horizontal': '32px',
|
|
203
|
-
'ti-modal-footer-padding-bottom': '20px',
|
|
204
|
-
'ti-modal-close-btn-top': '18px',
|
|
205
|
-
'ti-modal-close-btn-scale': 'scale(1)',
|
|
206
|
-
'ti-modal-btn-text-color': '#71757f',
|
|
207
|
-
'ti-modal-close-btn-background-color-hover': '#ebebeb',
|
|
208
|
-
'ti-modal-footer-default-display-button': 'none',
|
|
209
|
-
'ti-modal-box-shadow': '0 12px 24px 0 rgba(37,43,58,.2)',
|
|
210
|
-
'ti-modal-footer-btn-border-radius': '4px',
|
|
211
|
-
'ti-modal-box-border-radius': '8px',
|
|
212
|
-
'ti-modal-close-btn-padding-horizontal-vertical': '5px',
|
|
213
|
-
// pager
|
|
214
|
-
'ti-pager-input-height': '26px',
|
|
215
|
-
'ti-pager-normal-text-color': '#71757f',
|
|
216
|
-
'ti-pager-poplist-item-padding-vertical': '0',
|
|
217
|
-
'ti-pager-poplist-item-padding-horizontal': '10px',
|
|
218
|
-
'ti-pager-poplist-item-unchecked-box-shadow': ' 0 1px 3px 0 rgba(37, 43, 58, 0.1)',
|
|
219
|
-
'ti-pager-poplist-item-hover-bg-color': 'transparent',
|
|
220
|
-
'ti-pager-poplist-item-hover-border-color': 'var(--ti-common-color-line-dividing)',
|
|
221
|
-
'ti-pager-poplist-item-hover-text-color': 'var(--ti-common-color-info-normal)',
|
|
222
|
-
// alert
|
|
223
|
-
'ti-alert-success-bg-color': '#cffcee',
|
|
224
|
-
'ti-alert-description-font-size': '14px',
|
|
225
|
-
'ti-alert-success-border-color': 'transparent',
|
|
226
|
-
'ti-alert-warning-border-color': 'transparent',
|
|
227
|
-
'ti-alert-info-border-color': 'transparent',
|
|
228
|
-
'ti-alert-error-border-color': 'transparent',
|
|
229
|
-
'ti-alert-nomal-content-line-height': '18px',
|
|
230
|
-
'ti-alert-info-bg-color': 'var(--ti-base-color-brand-2)',
|
|
231
|
-
'ti-alert-warning-bg-color': '#ffe1c7',
|
|
232
|
-
'ti-alert-error-bg-color': '#ffd5d4',
|
|
233
|
-
'ti-alert-close-font-size': '15px',
|
|
234
|
-
// steps
|
|
235
|
-
'ti-steps-icon-size': '24px',
|
|
236
|
-
'ti-steps-done-icon-bg-color': 'var(--ti-common-color-success-normal)',
|
|
237
|
-
'ti-steps-done-active-border-color': 'var(--ti-common-color-success-normal)',
|
|
238
|
-
'ti-steps-done-icon-fill-color': '#fff',
|
|
239
|
-
'ti-steps-line-active-bg-color': 'var(--ti-common-color-border)',
|
|
240
|
-
'ti-steps-line-height': '1px',
|
|
241
|
-
'ti-steps-done-text-color': 'var(--ti-common-color-success-normal)',
|
|
242
|
-
// tag
|
|
243
|
-
'ti-tag-border-radius': 'var(--ti-common-border-radius-1)',
|
|
244
|
-
'ti-tag-height': 'var(--ti-common-size-5x)',
|
|
245
|
-
'ti-tag-close-font-size': 'var(--ti-common-font-size-base)',
|
|
246
|
-
// transfer
|
|
247
|
-
'ti-transfer-panel-width': '300px',
|
|
248
|
-
'ti-transfer-header-bg-color': '#fff',
|
|
249
|
-
'ti-transfer-header-border-color': 'var(--ti-common-color-line-dividing)',
|
|
250
|
-
'ti-transfer-panel-body-height': '320px',
|
|
251
|
-
'ti-transfer-panel-body-filter-height': '276px',
|
|
252
|
-
'ti-transfer-panel-item-height': '36px',
|
|
253
|
-
'ti-transfer-header-span-text-color': '#71757f',
|
|
254
|
-
'ti-transfer-button-border-radius': '100%',
|
|
255
|
-
'ti-transfer-button-disabled-bg-color': 'var(--ti-common-color-bg-disabled)',
|
|
256
|
-
// badge
|
|
257
|
-
'ti-badge-size': 'var(--ti-common-size-4x)',
|
|
258
|
-
'ti-badge-font-weight': 'var(--ti-common-font-weight-4)',
|
|
259
|
-
'ti-badge-border-radius': '100px',
|
|
260
|
-
// carousel
|
|
261
|
-
'ti-carousel-arrow-hover-bg-color': 'ti-common-color-selected-background',
|
|
262
|
-
'ti-carousel-arrow-bg-color': 'rgba(255,255,255,0.8)',
|
|
263
|
-
'ti-carousel-arrow-box-shadow': '0 8px 16px 0 rgba(37,43,58,.1)',
|
|
264
|
-
'ti-carousel-arrow-active-text-color': 'var(--ti-base-color-common-7)',
|
|
265
|
-
'ti-carousel-arrow-width': 'var(--ti-common-size-height-normal)',
|
|
266
|
-
'ti-carousel-arrow-height': 'var(--ti-common-size-height-normal)',
|
|
267
|
-
'ti-carousel-indicators-bg-color': 'none',
|
|
268
|
-
'ti-carousel-indicator-button-bg-color': '#71757f',
|
|
269
|
-
'ti-carousel-indicator-button-width': '6px',
|
|
270
|
-
'ti-carousel-indicator-button-height': '6px',
|
|
271
|
-
'ti-carousel-indicator-margin-right': 'var(--ti-common-size-2x)',
|
|
272
|
-
'ti-carousel-indicator-active-text-color': 'var(--ti-common-color-info-normal)',
|
|
273
|
-
'ti-carousel-indicator-active-border-radius': 'var(--ti-common-border-radius-1)',
|
|
274
|
-
'ti-carousel-indicator-active-width': 'var(--ti-common-size-6x)',
|
|
275
|
-
'ti-carousel-hover-opacity': '1',
|
|
276
|
-
'ti-carousel-indicator-active-transition': 'all 0.1s cubic-bezier(0.645,0.045,0.355,1)',
|
|
277
|
-
'ti-carousel-indicator-active-background-color': '#71757f',
|
|
278
|
-
'ti-carousel-indicator-active-button-width': 'var(--ti-common-size-6x)',
|
|
279
|
-
'ti-carousel-indicator-padding-vertical': '0',
|
|
280
|
-
'ti-carousel-indicator-padding-horizontal': '0',
|
|
281
|
-
'ti-carousel-indicator-active-transition-property': 'width',
|
|
282
|
-
// dialog-box
|
|
283
|
-
'ti-dialogbox-border-radius': 'var(--ti-common-border-radius-2)',
|
|
284
|
-
'ti-dialogbox-head-padding-top': '20px',
|
|
285
|
-
'ti-dialogbox-head-padding-horizontal': '20px',
|
|
286
|
-
'ti-dialogbox-head-padding-bottom': '0',
|
|
287
|
-
'ti-dialogbox-btn-background-color-hover': '#ebebeb',
|
|
288
|
-
'ti-dialogbox-head-font-icon-size': '20px',
|
|
289
|
-
'ti-dialogbox-close-icon-color': '#71757f',
|
|
290
|
-
'ti-dialogbox-close-icon-color-hover': '#71757f',
|
|
291
|
-
'ti-dialogbox-box-body-padding-vertical': '20px',
|
|
292
|
-
'ti-dialogbox-box-body-padding-horizontal': '20px',
|
|
293
|
-
'ti-dialogbox-box-body-margin-bottom': '0',
|
|
294
|
-
'ti-dialogbox-box-shadow': '0 12px 24px 0 rgba(37,43,58,.2)',
|
|
295
|
-
// notify
|
|
296
|
-
'ti-notify-max-width': '280px',
|
|
297
|
-
'ti-notify-bg-color': '#464d6e',
|
|
298
|
-
'ti-notify-text-color': 'var(--ti-base-color-common-1)',
|
|
299
|
-
'ti-notify-info-bg-color': 'var(--ti-notify-bg-color)',
|
|
300
|
-
'ti-notify-warning-bg-color': 'var(--ti-notify-bg-color)',
|
|
301
|
-
'ti-notify-error-bg-color': 'var(--ti-notify-bg-color)',
|
|
302
|
-
'ti-notify-success-bg-color': 'var(--ti-notify-bg-color)',
|
|
303
|
-
'ti-alert-info-icon-color': 'var(--ti-base-color-brand-6)',
|
|
304
|
-
'ti-alert-warning-icon-color': 'var(--ti-base-color-warn-4)',
|
|
305
|
-
'ti-alert-error-icon-color': 'var(--ti-base-color-error-3)',
|
|
306
|
-
'ti-alert-success-icon-color': 'var(--ti-base-color-success-3)',
|
|
307
|
-
'ti-notify-close-icon-color': 'var(--ti-base-color-common-1)',
|
|
308
|
-
'ti-notify-title-text-color': 'var(--ti-base-color-common-1)',
|
|
309
|
-
'ti-notify-title-margin-top': '0',
|
|
310
|
-
'ti-notify-title-margin-horizontal': '0',
|
|
311
|
-
'ti-notify-title-margin-bottom': '8px',
|
|
312
|
-
'ti-notify-title-height': '25px',
|
|
313
|
-
'ti-notify-title-line-height': '25px',
|
|
314
|
-
'ti-notify-title-font-size': 'var(--ti-common-font-size-1)',
|
|
315
|
-
'ti-notify-content-font-size': 'var(--ti-common-font-size-1)',
|
|
316
|
-
'ti-notify-icon-size': 'var(--ti-common-font-size-2)',
|
|
317
|
-
'ti-notify-message-margin-vertical': '6px',
|
|
318
|
-
'ti-notify-message-margin-right': 0,
|
|
319
|
-
'ti-notify-message-margin-left': 0,
|
|
320
|
-
'ti-notify-border-radius': 'var(--ti-common-border-radius-1)',
|
|
321
|
-
// image-preview
|
|
322
|
-
'ti-image-viewer-close-bg-color': 'rgba(255,255,255,0.8)',
|
|
323
|
-
'ti-image-viewer-text-color': '#71757f',
|
|
324
|
-
'ti-image-viewer-close-top': '55px',
|
|
325
|
-
'ti-image-viewer-close-right': '20px',
|
|
326
|
-
'ti-image-viewer-close-width': 'var(--ti-common-size-9x)',
|
|
327
|
-
'ti-image-viewer-close-height': 'var(--ti-common-size-9x)',
|
|
328
|
-
'ti-image-viewer-close-font-size': '18px',
|
|
329
|
-
'ti-image-viewer-actions-width': '100%',
|
|
330
|
-
'ti-image-viewer-actions-height': '50px',
|
|
331
|
-
'ti-image-viewer-actions-bottom': '0',
|
|
332
|
-
'ti-image-viewer-actions-border-radius': 'none',
|
|
333
|
-
'ti-image-viewer-actions-inner-justify-content': 'center',
|
|
334
|
-
'ti-image-viewer-actions-inner-font-size': '18px',
|
|
335
|
-
'ti-image-viewer-actions-inner-text-color': '#71757f',
|
|
336
|
-
'ti-image-viewer-next-width': '36px',
|
|
337
|
-
'ti-image-viewer-next-height': '36px',
|
|
338
|
-
'ti-image-viewer-mask-wrap-bg-color': 'rgba(37,43,58,.2)',
|
|
339
|
-
'ti-image-viewer-close-bg-color-hover': 'var(--ti-common-color-selected-background)',
|
|
340
|
-
'ti-image-viewer-btn-opacity': '1',
|
|
341
|
-
'ti-image-viewer-mask-bg-color': 'transparent',
|
|
342
|
-
// input
|
|
343
|
-
'ti-input-border-radius': 'var(--ti-common-border-radius-1)',
|
|
344
|
-
'ti-input-hover-border-color': 'var(--ti-common-color-border-hover)',
|
|
345
|
-
'ti-input-active-border-color': 'var(--ti-base-color-brand-7)',
|
|
346
|
-
'ti-input-height': '32px',
|
|
347
|
-
'ti-input-mini-height': '24px',
|
|
348
|
-
'ti-input-small-height': '32px',
|
|
349
|
-
'ti-input-medium-height': '40px',
|
|
350
|
-
// cascader
|
|
351
|
-
'ti-cascader-width': '300px',
|
|
352
|
-
'ti-cascader-medium-line-height': 'var(--ti-input-medium-height)',
|
|
353
|
-
'ti-cascader-small-line-height': 'var(--ti-input-small-height)',
|
|
354
|
-
'ti-cascader-mini-line-height': 'var(--ti-input-mini-height)',
|
|
355
|
-
'ti-cascader-menu-list-padding-vertical': 'var(--ti-common-space-3x)',
|
|
356
|
-
'ti-cascader-menu-list-padding-horizontal': 'var(--ti-common-space-3x)',
|
|
357
|
-
'ti-cascader-panel-node-height': '36px',
|
|
358
|
-
'ti-cascader-node-selectable-hover-bg-color': '#f2f2f3',
|
|
359
|
-
'ti-cascader-node-selectable-hover-text-color': 'var(--ti-base-color-brand-7)',
|
|
360
|
-
'ti-cascader-node-disabled-text-color': '#cfd0d3',
|
|
361
|
-
'ti-cascader-node-disabled-bg-color': '#f5f5f5',
|
|
362
|
-
'ti-cascader-node-icon-color': 'var(--ti-base-color-common-7)',
|
|
363
|
-
'ti-cascader-panel-node-label-padding-vertical': '0',
|
|
364
|
-
'ti-cascader-panel-node-label-padding-right': '30px',
|
|
365
|
-
'ti-cascader-panel-node-label-padding-left': '12px',
|
|
366
|
-
'ti-cascader-node-prefix-display': 'none',
|
|
367
|
-
'ti-cascader-node-label-padding-vertical': 0,
|
|
368
|
-
'ti-cascader-node-label-padding-horizontal': 0,
|
|
369
|
-
'ti-cascader-dropdown-box-shadow': '0 4px 8px 0 rgba(37, 43, 58, 0.2)',
|
|
370
|
-
'ti-cascader-dropdown-border-color': 'var(--ti-cascader-dropdown-bg-color)',
|
|
371
|
-
'ti-cascader-menu-border-color': 'var(--ti-common-color-hover-background)',
|
|
372
|
-
'ti-cascader-node-hover-bg-color': 'var(--ti-common-color-hover-background)',
|
|
373
|
-
'ti-cascader-menu-width': '200px',
|
|
374
|
-
'ti-cascader-panel-node-margin-top': 'var(--ti-common-space-base)',
|
|
375
|
-
'ti-cascader-tag-bg-color': 'var(--ti-base-color-brand-2)',
|
|
376
|
-
'ti-tag-info-text-color': '#71757f',
|
|
377
|
-
'ti-cascader-hover-border-color': '#71757f',
|
|
378
|
-
'ti-cascader-focus-border-color': 'var(--ti-base-color-brand-6)',
|
|
379
|
-
'ti-cascader-node-selectable-text-color': 'var(--ti-base-color-brand-7)',
|
|
380
|
-
'ti-cascader-node-hover-text-color': 'var(--ti-base-color-brand-7)',
|
|
381
|
-
// select
|
|
382
|
-
'ti-select-input-caret-icon-color': 'var(--ti-base-color-common-5)',
|
|
383
|
-
'ti-select-input-caret-hover-icon-color': 'var(--ti-base-color-common-7)',
|
|
384
|
-
// option
|
|
385
|
-
'ti-select-dropdown-list-padding-top': 'var(--ti-common-space-3x)',
|
|
386
|
-
'ti-select-dropdown-list-padding-horizontal': 'var(--ti-common-space-3x)',
|
|
387
|
-
'ti-select-dropdown-list-padding-bottom': 'var(--ti-common-space-3x)',
|
|
388
|
-
'ti-select-dropdown-border-color': 'var(--ti-base-color-white)',
|
|
389
|
-
'ti-option-padding-vertical': '0',
|
|
390
|
-
'ti-option-padding-horizontal': 'var(--ti-common-space-3x)',
|
|
391
|
-
'ti-option-margin-top': 'var(--ti-common-space-base)',
|
|
392
|
-
'ti-option-height': '36px',
|
|
393
|
-
'ti-option-selected-text-color': 'var(--ti-common-color-info-normal)',
|
|
394
|
-
'ti-option-selected-bg-color': 'var(--ti-base-color-brand-1)',
|
|
395
|
-
// form-item
|
|
396
|
-
'ti-form-item-error-text-color': 'var(--ti-base-color-error-3)',
|
|
397
|
-
'ti-form-item-error-bg-color': '#ffd5d4',
|
|
398
|
-
// search
|
|
399
|
-
'ti-search-input-btn-width': 'var(--ti-common-size-height-minor)'
|
|
127
|
+
// 行高
|
|
128
|
+
'ti-common-line-height-4': '22px', // NewCssVar
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* 2.1 基础色
|
|
132
|
+
**/
|
|
133
|
+
'ti-common-color-transparent': 'var(--ti-base-color-transparent)',
|
|
134
|
+
|
|
135
|
+
/* 浅底背景状态色*/
|
|
136
|
+
'ti-common-color-bg-light-normal': 'var(--ti-base-color-brand-2)',
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* 2.3 交互类型颜色
|
|
140
|
+
**/
|
|
141
|
+
'ti-common-color-primary-normal': 'var(--ti-base-color-brand-6)', // NewCssVar
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* 2.2 提示类型颜色
|
|
145
|
+
* 用于 alert组件、Modal(message)组件、Tag 标签组件、Notify 通知组件涉及功能提示的背景、文字、图标等的颜色使用
|
|
146
|
+
**/
|
|
147
|
+
'ti-common-color-error': 'var(--ti-base-color-error-3)', // 错误-图标色/状态图标-危险、错误、失败/深色Tip中的价格文本
|
|
148
|
+
'ti-common-color-error-bg': 'var(--ti-base-color-error-1)', // 错误-背景色/校验背景色
|
|
149
|
+
|
|
150
|
+
'ti-common-color-success': 'var(--ti-base-color-success-3)', // 成功-图标色/状态图标-成功
|
|
151
|
+
'ti-common-color-success-bg': 'var(--ti-base-color-success-1)', // 成功-背景色
|
|
152
|
+
|
|
153
|
+
'ti-common-color-warn': 'var(--ti-base-color-warn-4)', // 告警-图标色/状态图标-警告
|
|
154
|
+
'ti-common-color-warn-bg': 'var(--ti-base-color-warn-1)' // 告警-背景色
|
|
400
155
|
}
|
|
156
|
+
|
|
157
|
+
export * from './component-vars.js'
|