@lingxiteam/theme-utils 0.2.9 → 0.2.10
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/README.md +6 -0
- package/dist/config/Form.js +2 -2
- package/dist/h5config/Button.d.ts +4 -0
- package/dist/h5config/Button.js +5 -1
- package/dist/h5config/DCheckbox.d.ts +5 -0
- package/dist/h5config/DCheckbox.js +7 -2
- package/dist/h5config/DformFile.d.ts +4 -0
- package/dist/h5config/DformFile.js +5 -1
- package/dist/h5config/DformRadio.d.ts +5 -0
- package/dist/h5config/DformRadio.js +7 -2
- package/dist/h5config/DformSwitch.d.ts +4 -0
- package/dist/h5config/DformSwitch.js +5 -1
- package/dist/h5config/Link.d.ts +4 -0
- package/dist/h5config/Link.js +6 -2
- package/dist/h5config/StaticTabs.d.ts +5 -0
- package/dist/h5config/StaticTabs.js +7 -2
- package/dist/lx-mobile.d.ts +12 -0
- package/dist/lx-mobile.js +12 -0
- package/dist/lx.d.ts +16 -0
- package/dist/lx.js +16 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -103,6 +103,8 @@ insertLink('12312', 'http://xxx.css', true);
|
|
|
103
103
|
canEdit: false,
|
|
104
104
|
// 编辑从什么地方支撑这个属性
|
|
105
105
|
extendsKey: 'Form',
|
|
106
|
+
// 表示这个字段跟随全局主题变量
|
|
107
|
+
followTheme: '@font-size-base',
|
|
106
108
|
},
|
|
107
109
|
},
|
|
108
110
|
groupsName: '分组名称',
|
|
@@ -114,6 +116,10 @@ insertLink('12312', 'http://xxx.css', true);
|
|
|
114
116
|
fontSize: '14px',
|
|
115
117
|
},
|
|
116
118
|
],
|
|
119
|
+
// 是否跟随主题的开关,存在表示当前为跟随
|
|
120
|
+
followThemes: {
|
|
121
|
+
'@font-size-base': ['fontSize'],
|
|
122
|
+
},
|
|
117
123
|
// 根据上面的配置项和下面的模版解析得到最终挂在的 css
|
|
118
124
|
tpl: '.hh { font-size: fontSize}',
|
|
119
125
|
// 如果它被别人继承,并且自己需要自定义样式,如父级自定义样式为 .aa.list{ .item { } } 子级的自定义样式为 .aa.item { }
|
package/dist/config/Form.js
CHANGED
|
@@ -20,6 +20,7 @@ export declare const Button: {
|
|
|
20
20
|
type: string;
|
|
21
21
|
label: string;
|
|
22
22
|
groupsName: string;
|
|
23
|
+
followTheme: string;
|
|
23
24
|
};
|
|
24
25
|
borderColor: {
|
|
25
26
|
type: string;
|
|
@@ -55,6 +56,9 @@ export declare const Button: {
|
|
|
55
56
|
paddingValue: string;
|
|
56
57
|
marginValue: string;
|
|
57
58
|
}[];
|
|
59
|
+
followThemes: {
|
|
60
|
+
'@primary-color': string[];
|
|
61
|
+
};
|
|
58
62
|
tpl: string;
|
|
59
63
|
components: ({
|
|
60
64
|
id: string;
|
package/dist/h5config/Button.js
CHANGED
|
@@ -19,7 +19,8 @@ export var Button = {
|
|
|
19
19
|
backgroundColor: {
|
|
20
20
|
type: 'color',
|
|
21
21
|
label: '主题颜色',
|
|
22
|
-
groupsName: '颜色'
|
|
22
|
+
groupsName: '颜色',
|
|
23
|
+
followTheme: '@primary-color'
|
|
23
24
|
},
|
|
24
25
|
borderColor: {
|
|
25
26
|
type: 'color',
|
|
@@ -55,6 +56,9 @@ export var Button = {
|
|
|
55
56
|
paddingValue: '7px 12px 7px 12px',
|
|
56
57
|
marginValue: '0px'
|
|
57
58
|
}],
|
|
59
|
+
followThemes: {
|
|
60
|
+
'@primary-color': ['backgroundColor']
|
|
61
|
+
},
|
|
58
62
|
tpl: "\n .adm-button{\n --border-color: borderColor;\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n border-radius: borderRadius;\n padding: paddingValue;\n margin: marginValue;\n }\n .adm-button.adm-button-large{\n font-size: fontSize;\n padding: paddingValue;\n margin: marginValue;\n }\n .adm-button:not(.adm-button-default){\n color: #fff;\n }\n .adm-button-primary{\n --color: backgroundColor;\n }\n .lcdp-button-type-link{\n color: backgroundColor;\n }\n ",
|
|
59
63
|
components: [{
|
|
60
64
|
id: 'Button_5647878',
|
|
@@ -5,11 +5,13 @@ export declare const DCheckbox: {
|
|
|
5
5
|
type: string;
|
|
6
6
|
label: string;
|
|
7
7
|
groupsName: string;
|
|
8
|
+
followTheme: string;
|
|
8
9
|
};
|
|
9
10
|
selectBorderRadius: {
|
|
10
11
|
type: string;
|
|
11
12
|
label: string;
|
|
12
13
|
groupsName: string;
|
|
14
|
+
followTheme: string;
|
|
13
15
|
};
|
|
14
16
|
itemBgColor: {
|
|
15
17
|
type: string;
|
|
@@ -123,6 +125,9 @@ export declare const DCheckbox: {
|
|
|
123
125
|
itemBorderRadius: string;
|
|
124
126
|
itemBgColor: string;
|
|
125
127
|
}[];
|
|
128
|
+
followThemes: {
|
|
129
|
+
'@primary-color': string[];
|
|
130
|
+
};
|
|
126
131
|
tpl: string;
|
|
127
132
|
components: {
|
|
128
133
|
id: string;
|
|
@@ -4,12 +4,14 @@ export var DCheckbox = {
|
|
|
4
4
|
selectBgColor: {
|
|
5
5
|
type: 'color',
|
|
6
6
|
label: '选中背景颜色',
|
|
7
|
-
groupsName: '背景颜色'
|
|
7
|
+
groupsName: '背景颜色',
|
|
8
|
+
followTheme: '@primary-color'
|
|
8
9
|
},
|
|
9
10
|
selectBorderRadius: {
|
|
10
11
|
type: 'color',
|
|
11
12
|
label: '选中边框颜色',
|
|
12
|
-
groupsName: '边框'
|
|
13
|
+
groupsName: '边框',
|
|
14
|
+
followTheme: '@primary-color'
|
|
13
15
|
},
|
|
14
16
|
itemBgColor: {
|
|
15
17
|
type: 'color',
|
|
@@ -165,6 +167,9 @@ export var DCheckbox = {
|
|
|
165
167
|
itemBorderRadius: '#e5e5e5',
|
|
166
168
|
itemBgColor: 'rgba(0,0,0,0)'
|
|
167
169
|
}],
|
|
170
|
+
followThemes: {
|
|
171
|
+
'@primary-color': ['selectBorderRadius', 'selectBgColor']
|
|
172
|
+
},
|
|
168
173
|
tpl: "\n .lingxiteam-dform-check-box .lingxiteam-dform-box-content .lingxiteam-dform-box-wrapper .lingxiteam-dform-box-botton{\n background-color: itemBgColor;\n border-color: itemBorderRadius;\n }\n .lingxiteam-dform-check-box .lingxiteam-dform-box-content .lingxiteam-dform-box-wrapper .lingxiteam-dform-box-botton-selectAll-circular{\n background-color: itemBgColor;\n border-color: itemBorderRadius;\n }\n .lingxiteam-dform-check-box .lingxiteam-dform-box-content .lingxiteam-dform-box-wrapper .lingxiteam-dform-box-botton-selectAll-square{\n background-color: itemBgColor;\n border-color: itemBorderRadius;\n }\n .lingxiteam-dform-check-box .lingxiteam-dform-box-content .lingxiteam-dform-box-wrapper .lingxiteam-dform-box-botton-checked{\n background-color: selectBgColor;\n border-color: selectBorderRadius;\n }\n .lingxiteam-dform-check-box .lingxiteam-dform-box-content .lingxiteam-dform-box-wrapper .lingxiteam-dform-box-botton-selectAll-checked{\n background-color: selectBgColor;\n border-color: selectBorderRadius;\n }\n .lingxiteam-dform-check-box .lingxiteam-dform-box-content .lingxiteam-dform-box-wrapper .lingxiteam-dform-box-botton-selectAll-half-checked{\n background-color: selectBgColor;\n border-color: selectBorderRadius;\n }",
|
|
169
174
|
components: [{
|
|
170
175
|
id: 'DForm_333712',
|
|
@@ -11,6 +11,7 @@ export declare const DformFile: {
|
|
|
11
11
|
type: string;
|
|
12
12
|
label: string;
|
|
13
13
|
groupsName: string;
|
|
14
|
+
followTheme: string;
|
|
14
15
|
};
|
|
15
16
|
btnBorderRadius: {
|
|
16
17
|
type: string;
|
|
@@ -62,6 +63,9 @@ export declare const DformFile: {
|
|
|
62
63
|
btnIconColor: string;
|
|
63
64
|
btnBorderRadius: string;
|
|
64
65
|
}[];
|
|
66
|
+
followThemes: {
|
|
67
|
+
'@primary-color': string[];
|
|
68
|
+
};
|
|
65
69
|
tpl: string;
|
|
66
70
|
components: {
|
|
67
71
|
id: string;
|
|
@@ -10,7 +10,8 @@ export var DformFile = {
|
|
|
10
10
|
btnIconColor: {
|
|
11
11
|
type: 'color',
|
|
12
12
|
label: '上传按钮标题颜色',
|
|
13
|
-
groupsName: '背景颜色'
|
|
13
|
+
groupsName: '背景颜色',
|
|
14
|
+
followTheme: '@primary-color'
|
|
14
15
|
},
|
|
15
16
|
btnBorderRadius: {
|
|
16
17
|
type: 'px',
|
|
@@ -80,6 +81,9 @@ export var DformFile = {
|
|
|
80
81
|
btnIconColor: '#108ee9',
|
|
81
82
|
btnBorderRadius: '100px'
|
|
82
83
|
}],
|
|
84
|
+
followThemes: {
|
|
85
|
+
'@primary-color': ['btnIconColor']
|
|
86
|
+
},
|
|
83
87
|
tpl: ".lcdp-form-item {\n .lingxiteam-dform-file-extra-btn{\n border-radius: btnBorderRadius;\n background: btnBgColor;\n > span {\n color: btnIconColor;\n }\n }\n }",
|
|
84
88
|
components: [{
|
|
85
89
|
id: 'DForm_333712',
|
|
@@ -5,11 +5,13 @@ export declare const DformRadio: {
|
|
|
5
5
|
type: string;
|
|
6
6
|
label: string;
|
|
7
7
|
groupsName: string;
|
|
8
|
+
followTheme: string;
|
|
8
9
|
};
|
|
9
10
|
selectBorderRadius: {
|
|
10
11
|
type: string;
|
|
11
12
|
label: string;
|
|
12
13
|
groupsName: string;
|
|
14
|
+
followTheme: string;
|
|
13
15
|
};
|
|
14
16
|
itemBgColor: {
|
|
15
17
|
type: string;
|
|
@@ -123,6 +125,9 @@ export declare const DformRadio: {
|
|
|
123
125
|
itemBorderRadius: string;
|
|
124
126
|
itemBgColor: string;
|
|
125
127
|
}[];
|
|
128
|
+
followThemes: {
|
|
129
|
+
'@primary-color': string[];
|
|
130
|
+
};
|
|
126
131
|
tpl: string;
|
|
127
132
|
components: {
|
|
128
133
|
id: string;
|
|
@@ -4,12 +4,14 @@ export var DformRadio = {
|
|
|
4
4
|
selectBgColor: {
|
|
5
5
|
type: 'color',
|
|
6
6
|
label: '选中背景颜色',
|
|
7
|
-
groupsName: '背景颜色'
|
|
7
|
+
groupsName: '背景颜色',
|
|
8
|
+
followTheme: '@primary-color'
|
|
8
9
|
},
|
|
9
10
|
selectBorderRadius: {
|
|
10
11
|
type: 'color',
|
|
11
12
|
label: '选中边框颜色',
|
|
12
|
-
groupsName: '边框'
|
|
13
|
+
groupsName: '边框',
|
|
14
|
+
followTheme: '@primary-color'
|
|
13
15
|
},
|
|
14
16
|
itemBgColor: {
|
|
15
17
|
type: 'color',
|
|
@@ -165,6 +167,9 @@ export var DformRadio = {
|
|
|
165
167
|
itemBorderRadius: '#e5e5e5',
|
|
166
168
|
itemBgColor: 'rgba(0,0,0,0)'
|
|
167
169
|
}],
|
|
170
|
+
followThemes: {
|
|
171
|
+
'@primary-color': ['selectBorderRadius', 'selectBgColor']
|
|
172
|
+
},
|
|
168
173
|
tpl: "\n .lingxiteam-dform-radio-button{\n background-color: itemBgColor;\n border-color: itemBorderRadius;\n }\n .lingxiteam-dform-radio-checked{\n border-color: selectBorderRadius;\n }\n .lingxiteam-dform-radio-inner-button{\n background-color: selectBgColor;\n }\n ",
|
|
169
174
|
components: [{
|
|
170
175
|
id: 'DForm_333712',
|
|
@@ -6,6 +6,7 @@ export declare const DformSwitch: {
|
|
|
6
6
|
type: string;
|
|
7
7
|
label: string;
|
|
8
8
|
groupsName: string;
|
|
9
|
+
followTheme: string;
|
|
9
10
|
};
|
|
10
11
|
closeColor: {
|
|
11
12
|
type: string;
|
|
@@ -64,6 +65,9 @@ export declare const DformSwitch: {
|
|
|
64
65
|
openColor: string;
|
|
65
66
|
closeColor: string;
|
|
66
67
|
}[];
|
|
68
|
+
followThemes: {
|
|
69
|
+
'@primary-color': string[];
|
|
70
|
+
};
|
|
67
71
|
tpl: string;
|
|
68
72
|
components: {
|
|
69
73
|
id: string;
|
|
@@ -5,7 +5,8 @@ export var DformSwitch = {
|
|
|
5
5
|
openColor: {
|
|
6
6
|
type: 'color',
|
|
7
7
|
label: '开启颜色',
|
|
8
|
-
groupsName: '文字'
|
|
8
|
+
groupsName: '文字',
|
|
9
|
+
followTheme: '@primary-color'
|
|
9
10
|
},
|
|
10
11
|
closeColor: {
|
|
11
12
|
type: 'color',
|
|
@@ -82,6 +83,9 @@ export var DformSwitch = {
|
|
|
82
83
|
openColor: '#108ee9',
|
|
83
84
|
closeColor: '#ddd'
|
|
84
85
|
}],
|
|
86
|
+
followThemes: {
|
|
87
|
+
'@primary-color': ['openColor']
|
|
88
|
+
},
|
|
85
89
|
tpl: ".lcdp-form-item {\n .adm-switch.adm-switch-checked .adm-switch-checkbox{\n background: openColor;\n }\n .lingxiteam-dform-switch .adm-switch-checkbox{\n background: closeColor;\n }\n .lingxiteam-dform-switch .adm-switch-checkbox::before{\n background: closeColor;\n }\n }\n ",
|
|
86
90
|
components: [{
|
|
87
91
|
id: 'DForm_333712',
|
package/dist/h5config/Link.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare const ALink: {
|
|
|
5
5
|
type: string;
|
|
6
6
|
label: string;
|
|
7
7
|
groupsName: string;
|
|
8
|
+
followTheme: string;
|
|
8
9
|
};
|
|
9
10
|
};
|
|
10
11
|
groupsName: string;
|
|
@@ -13,6 +14,9 @@ export declare const ALink: {
|
|
|
13
14
|
defaultValue: {
|
|
14
15
|
textColor: string;
|
|
15
16
|
}[];
|
|
17
|
+
followThemes: {
|
|
18
|
+
'@color-link': string[];
|
|
19
|
+
};
|
|
16
20
|
tpl: string;
|
|
17
21
|
components: {
|
|
18
22
|
id: string;
|
package/dist/h5config/Link.js
CHANGED
|
@@ -4,7 +4,8 @@ export var ALink = {
|
|
|
4
4
|
textColor: {
|
|
5
5
|
type: 'color',
|
|
6
6
|
label: '文本颜色',
|
|
7
|
-
groupsName: '文字'
|
|
7
|
+
groupsName: '文字',
|
|
8
|
+
followTheme: '@color-link'
|
|
8
9
|
}
|
|
9
10
|
},
|
|
10
11
|
groupsName: '基础',
|
|
@@ -13,7 +14,10 @@ export var ALink = {
|
|
|
13
14
|
defaultValue: [{
|
|
14
15
|
textColor: '#108ee9'
|
|
15
16
|
}],
|
|
16
|
-
|
|
17
|
+
followThemes: {
|
|
18
|
+
'@color-link': ['textColor']
|
|
19
|
+
},
|
|
20
|
+
tpl: "\n a {\n color: textColor;\n }\n a:hover {\n color: textColor;\n opacity: 0.6;\n }",
|
|
17
21
|
components: [{
|
|
18
22
|
id: 'ALink_414643',
|
|
19
23
|
label: '超链接',
|
|
@@ -11,6 +11,7 @@ export declare const StaticTabs: {
|
|
|
11
11
|
type: string;
|
|
12
12
|
label: string;
|
|
13
13
|
groupsName: string;
|
|
14
|
+
followTheme: string;
|
|
14
15
|
};
|
|
15
16
|
selectBorderRadius: {
|
|
16
17
|
type: string;
|
|
@@ -21,6 +22,7 @@ export declare const StaticTabs: {
|
|
|
21
22
|
type: string;
|
|
22
23
|
label: string;
|
|
23
24
|
groupsName: string;
|
|
25
|
+
followTheme: string;
|
|
24
26
|
};
|
|
25
27
|
selectFontWeight: {
|
|
26
28
|
type: string;
|
|
@@ -70,6 +72,9 @@ export declare const StaticTabs: {
|
|
|
70
72
|
selectBorderRadius: string;
|
|
71
73
|
bodyBgColor: string;
|
|
72
74
|
}[];
|
|
75
|
+
followThemes: {
|
|
76
|
+
'@primary-color': string[];
|
|
77
|
+
};
|
|
73
78
|
tpl: string;
|
|
74
79
|
components: {
|
|
75
80
|
id: string;
|
|
@@ -16,7 +16,8 @@ export var StaticTabs = {
|
|
|
16
16
|
backgroundColor: {
|
|
17
17
|
type: 'color',
|
|
18
18
|
label: '选项背景颜色',
|
|
19
|
-
groupsName: '选项'
|
|
19
|
+
groupsName: '选项',
|
|
20
|
+
followTheme: '@primary-color'
|
|
20
21
|
},
|
|
21
22
|
selectBorderRadius: {
|
|
22
23
|
type: 'px',
|
|
@@ -26,7 +27,8 @@ export var StaticTabs = {
|
|
|
26
27
|
selectTextColor: {
|
|
27
28
|
type: 'color',
|
|
28
29
|
label: '选中项文本颜色',
|
|
29
|
-
groupsName: '选中项'
|
|
30
|
+
groupsName: '选中项',
|
|
31
|
+
followTheme: '@primary-color'
|
|
30
32
|
},
|
|
31
33
|
selectFontWeight: {
|
|
32
34
|
type: 'select',
|
|
@@ -124,6 +126,9 @@ export var StaticTabs = {
|
|
|
124
126
|
// lineColor: '#108ee9',
|
|
125
127
|
}],
|
|
126
128
|
|
|
129
|
+
followThemes: {
|
|
130
|
+
'@primary-color': ['backgroundColor', 'selectTextColor']
|
|
131
|
+
},
|
|
127
132
|
tpl: ".use-app-statictabs {\n .am-tabs-default-bar-content .am-tabs-default-bar-tab-active{\n background: selectBgColor;\n color: selectTextColor;\n position: relative;\n border-top-left-radius: selectBorderRadius;\n border-top-right-radius: selectBorderRadius;\n transform: perspective(200px) rotateX(25deg);\n transform-origin: top center;\n font-weight: selectFontWeight;\n }\n .am-tabs-default-bar-bottom .am-tabs-default-bar-content, .am-tabs-default-bar-top .am-tabs-default-bar-content{\n background: backgroundColor;\n }\n .am-tabs-bottom, .am-tabs-top{\n border-radius: selectBorderRadius;\n }\n .am-tabs-default-bar-content .am-tabs-default-bar-tab-active::before, .am-tabs-default-bar-content .am-tabs-default-bar-tab-active::after{\n background: radial-gradient(0.24rem at 0.3rem 0, transparent 0.3rem, selectBgColor 0.23rem);\n }\n .am-tabs-default-bar-tab{\n color: textColor;\n font-weight: fontWeight;\n font-size: fontSize;\n }\n .am-tabs-pane-wrap {\n background-color: bodyBgColor;\n }\n }\n",
|
|
128
133
|
components: [{
|
|
129
134
|
id: 'StaticTabs_828878',
|
package/dist/lx-mobile.d.ts
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
export declare const THEME_KEYS_MOBILE_TITLE: {
|
|
2
|
+
'@primary-color': string;
|
|
3
|
+
'@border-color-base': string;
|
|
4
|
+
'@font-size-base': string;
|
|
5
|
+
'@color-text-base': string;
|
|
6
|
+
'@color-text-placeholder': string;
|
|
7
|
+
'@font-size-heading': string;
|
|
8
|
+
'@button-font-size': string;
|
|
9
|
+
'@fill-base': string;
|
|
10
|
+
'@brand-primary-tap': string;
|
|
11
|
+
'@color-link': string;
|
|
12
|
+
};
|
|
1
13
|
export declare const MOBILE_ASSETS_CSS_TPL: any;
|
|
2
14
|
export declare const mobileExtend: any;
|
|
3
15
|
export declare const MOBILE_ASSETS_COMPONENT_LIST: unknown[];
|
package/dist/lx-mobile.js
CHANGED
|
@@ -32,6 +32,18 @@ import { Icon } from "./h5config/Icon";
|
|
|
32
32
|
import { ALink } from "./h5config/Link";
|
|
33
33
|
import { Card } from "./h5config/Card";
|
|
34
34
|
import { Accordion } from "./h5config/Accordion";
|
|
35
|
+
export var THEME_KEYS_MOBILE_TITLE = {
|
|
36
|
+
'@primary-color': '主题颜色',
|
|
37
|
+
'@border-color-base': '边框颜色',
|
|
38
|
+
'@font-size-base': '主字号',
|
|
39
|
+
'@color-text-base': '文字基本色',
|
|
40
|
+
'@color-text-placeholder': '文本框提示色',
|
|
41
|
+
'@font-size-heading': '标题字号',
|
|
42
|
+
'@button-font-size': '按钮字体',
|
|
43
|
+
'@fill-base': '组件背景色',
|
|
44
|
+
'@brand-primary-tap': '点击背景色',
|
|
45
|
+
'@color-link': '链接色'
|
|
46
|
+
};
|
|
35
47
|
export var MOBILE_ASSETS_CSS_TPL = {
|
|
36
48
|
Icon: Icon,
|
|
37
49
|
ALink: ALink,
|
package/dist/lx.d.ts
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
export declare const THEME_KEYS_TITLE: {
|
|
2
|
+
'@primary-color': string;
|
|
3
|
+
'@font-size-base': string;
|
|
4
|
+
'@heading-color': string;
|
|
5
|
+
'@text-color': string;
|
|
6
|
+
'@text-color-secondary': string;
|
|
7
|
+
'@disabled-color': string;
|
|
8
|
+
'@border-radius-base': string;
|
|
9
|
+
'@padding': string;
|
|
10
|
+
'@border-color-base': string;
|
|
11
|
+
'@box-shadow-base': string;
|
|
12
|
+
'@link-color': string;
|
|
13
|
+
'@success-color': string;
|
|
14
|
+
'@warning-color': string;
|
|
15
|
+
'@error-color': string;
|
|
16
|
+
};
|
|
1
17
|
export declare const ASSETS_CSS_TPL: any;
|
|
2
18
|
export declare const pcExtend: any;
|
|
3
19
|
export declare const ASSETS_COMPONENT_LIST: unknown[];
|
package/dist/lx.js
CHANGED
|
@@ -35,6 +35,22 @@ import { Table } from "./config/Table";
|
|
|
35
35
|
import { Tag } from "./config/Tag";
|
|
36
36
|
import { Tree } from "./config/Tree";
|
|
37
37
|
import { Description } from "./config/Description";
|
|
38
|
+
export var THEME_KEYS_TITLE = {
|
|
39
|
+
'@primary-color': '主题颜色',
|
|
40
|
+
'@font-size-base': '主字号',
|
|
41
|
+
'@heading-color': '标题色',
|
|
42
|
+
'@text-color': '主文本色',
|
|
43
|
+
'@text-color-secondary': '次文本色',
|
|
44
|
+
'@disabled-color': '失效色',
|
|
45
|
+
'@border-radius-base': '圆角',
|
|
46
|
+
'@padding': '边距',
|
|
47
|
+
'@border-color-base': '边框颜色',
|
|
48
|
+
'@box-shadow-base': '浮层阴影',
|
|
49
|
+
'@link-color': '链接色',
|
|
50
|
+
'@success-color': '成功色',
|
|
51
|
+
'@warning-color': '警告色',
|
|
52
|
+
'@error-color': '错误色'
|
|
53
|
+
};
|
|
38
54
|
export var ASSETS_CSS_TPL = {
|
|
39
55
|
Button: Button,
|
|
40
56
|
Container: Container,
|