@lingxiteam/theme-utils 0.2.6 → 0.2.9

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 (47) hide show
  1. package/dist/config/Button.d.ts +6 -0
  2. package/dist/config/Button.js +8 -2
  3. package/dist/config/Card.d.ts +0 -1
  4. package/dist/config/Card.js +0 -1
  5. package/dist/config/Checkbox.d.ts +5 -0
  6. package/dist/config/Checkbox.js +7 -2
  7. package/dist/config/CheckboxGroup.d.ts +5 -0
  8. package/dist/config/CheckboxGroup.js +7 -2
  9. package/dist/config/Collapse.d.ts +4 -0
  10. package/dist/config/Collapse.js +6 -2
  11. package/dist/config/DatePicker.d.ts +4 -0
  12. package/dist/config/DatePicker.js +5 -1
  13. package/dist/config/Form.d.ts +23 -372
  14. package/dist/config/Form.js +75 -63
  15. package/dist/config/Icon.d.ts +4 -0
  16. package/dist/config/Icon.js +5 -1
  17. package/dist/config/Link.d.ts +6 -0
  18. package/dist/config/Link.js +8 -2
  19. package/dist/config/MultipleSelect.js +3 -3
  20. package/dist/config/Radio.d.ts +4 -0
  21. package/dist/config/Radio.js +5 -1
  22. package/dist/config/RangePicker.d.ts +4 -0
  23. package/dist/config/RangePicker.js +5 -1
  24. package/dist/config/StdUpload.d.ts +5 -16
  25. package/dist/config/StdUpload.js +7 -18
  26. package/dist/config/Switch.d.ts +4 -0
  27. package/dist/config/Switch.js +5 -1
  28. package/dist/config/Table.d.ts +6 -0
  29. package/dist/config/Table.js +8 -2
  30. package/dist/config/Tabs.d.ts +4 -0
  31. package/dist/config/Tabs.js +5 -1
  32. package/dist/config/Text.d.ts +4 -0
  33. package/dist/config/Text.js +5 -1
  34. package/dist/config/TimePicker.d.ts +4 -0
  35. package/dist/config/TimePicker.js +5 -1
  36. package/dist/config/Tree.d.ts +7 -0
  37. package/dist/config/Tree.js +10 -3
  38. package/dist/h5config/Accordion.d.ts +4 -0
  39. package/dist/h5config/Accordion.js +5 -1
  40. package/dist/h5config/Card.d.ts +4 -0
  41. package/dist/h5config/Card.js +5 -1
  42. package/dist/h5config/DMultiplePicker.js +4 -4
  43. package/dist/h5config/FilterItems.d.ts +4 -0
  44. package/dist/h5config/FilterItems.js +5 -1
  45. package/dist/h5config/SearchView.d.ts +4 -0
  46. package/dist/h5config/SearchView.js +5 -1
  47. package/package.json +1 -1
@@ -14,7 +14,8 @@ export var Tabs = {
14
14
  activeFColor: {
15
15
  type: 'color',
16
16
  label: '分割线颜色',
17
- groupsName: '背景颜色'
17
+ groupsName: '背景颜色',
18
+ followTheme: '@primary-color'
18
19
  },
19
20
  activeRadius: {
20
21
  type: 'px',
@@ -140,6 +141,9 @@ export var Tabs = {
140
141
  fontWeight: '300',
141
142
  activeFontWeight: '300'
142
143
  }],
144
+ followThemes: {
145
+ '@primary-color': ['activeFColor']
146
+ },
143
147
  tpl: ".pcfactory-tabs .pcfactory-tabs > .pcfactory-tabs-nav .pcfactory-tabs-nav-wrap{\n background-color: headBgColor;\n }\n .pcfactory-tabs .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background-color: activeBgColor;\n border-top-left-radius: activeRadius;\n border-top-right-radius: activeRadius;\n }\n .pcfactory-tabs .pcfactory-tabs-ink-bar{\n background-color: activeFColor;\n }\n .pcfactory-tabs{\n background-color: bodyColor;\n border-radius: borderRadius;\n }\n .pcfactory-tabs .pcfactory-tabs-nav .pcfactory-tabs-tab{\n padding: paddingValue;\n margin: marginValue;\n }\n .pcfactory-tabs .pcfactory-tabs-nav .pcfactory-tabs-tab .pcfactory-tabs-tab-btn{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .pcfactory-tabs .pcfactory-tabs-nav .pcfactory-tabs-tab-active .pcfactory-tabs-tab-btn{\n color: activeTextColor;\n font-weight: activeFontWeight;\n }",
144
148
  components: [{
145
149
  id: 'Tabs_9165146',
@@ -15,6 +15,7 @@ export declare const Text: {
15
15
  type: string;
16
16
  label: string;
17
17
  groupsName: string;
18
+ followTheme: string;
18
19
  };
19
20
  };
20
21
  groupsName: string;
@@ -25,6 +26,9 @@ export declare const Text: {
25
26
  lineHeight: string;
26
27
  fontSize: string;
27
28
  }[];
29
+ followThemes: {
30
+ '@font-size-base': string[];
31
+ };
28
32
  tpl: string;
29
33
  components: never[];
30
34
  };
@@ -14,7 +14,8 @@ export var Text = {
14
14
  fontSize: {
15
15
  type: 'px',
16
16
  label: '文本尺寸',
17
- groupsName: '文字'
17
+ groupsName: '文字',
18
+ followTheme: '@font-size-base'
18
19
  }
19
20
  },
20
21
  groupsName: '通用',
@@ -25,6 +26,9 @@ export var Text = {
25
26
  lineHeight: '22px',
26
27
  fontSize: '14px'
27
28
  }],
29
+ followThemes: {
30
+ '@font-size-base': ['fontSize']
31
+ },
28
32
  tpl: '',
29
33
  components: []
30
34
  };
@@ -62,6 +62,7 @@ export declare const TimePicker: {
62
62
  type: string;
63
63
  label: string;
64
64
  groupsName: string;
65
+ followTheme: string;
65
66
  };
66
67
  iconColor: {
67
68
  type: string;
@@ -76,6 +77,9 @@ export declare const TimePicker: {
76
77
  iconFontSize: string;
77
78
  iconColor: string;
78
79
  }[];
80
+ followThemes: {
81
+ '@font-size-base': string[];
82
+ };
79
83
  tpl: string;
80
84
  components: {
81
85
  id: string;
@@ -61,7 +61,8 @@ export var TimePicker = {
61
61
  iconFontSize: {
62
62
  type: 'px',
63
63
  label: '日期图标尺寸',
64
- groupsName: '文字'
64
+ groupsName: '文字',
65
+ followTheme: '@font-size-base'
65
66
  },
66
67
  iconColor: {
67
68
  type: 'color',
@@ -76,6 +77,9 @@ export var TimePicker = {
76
77
  iconFontSize: '14px',
77
78
  iconColor: '#0085D0'
78
79
  }],
80
+ followThemes: {
81
+ '@font-size-base': ['iconFontSize']
82
+ },
79
83
  tpl: ".ued-datePicker-wrap {\n .pcfactory-picker-suffix{\n color: iconColor;\n width: iconFontSize;\n height: iconFontSize;\n .anticon>svg{\n width: iconFontSize;\n height: iconFontSize;\n }\n }\n .pcfactory-picker-clear{\n color: iconColor;\n width: iconFontSize;\n height: iconFontSize;\n .anticon>svg{\n width: iconFontSize;\n height: iconFontSize;\n }\n }\n }",
80
84
  components: [{
81
85
  id: 'Form_180373',
@@ -20,6 +20,7 @@ export declare const Tree: {
20
20
  type: string;
21
21
  label: string;
22
22
  groupsName: string;
23
+ followTheme: string;
23
24
  };
24
25
  btnWidth: {
25
26
  type: string;
@@ -35,11 +36,13 @@ export declare const Tree: {
35
36
  type: string;
36
37
  label: string;
37
38
  groupsName: string;
39
+ followTheme: string;
38
40
  };
39
41
  treeIconColor: {
40
42
  type: string;
41
43
  label: string;
42
44
  groupsName: string;
45
+ followTheme: string;
43
46
  };
44
47
  treeLineColor: {
45
48
  type: string;
@@ -67,6 +70,10 @@ export declare const Tree: {
67
70
  treeLineColor: string;
68
71
  treeIconColor: string;
69
72
  }[];
73
+ followThemes: {
74
+ '@primary-color': string[];
75
+ '@font-size-base': string[];
76
+ };
70
77
  tpl: string;
71
78
  components: {
72
79
  id: string;
@@ -19,7 +19,8 @@ export var Tree = {
19
19
  fontSize: {
20
20
  type: 'px',
21
21
  label: '文本尺寸',
22
- groupsName: '搜索框样式'
22
+ groupsName: '搜索框样式',
23
+ followTheme: '@font-size-base'
23
24
  },
24
25
  btnWidth: {
25
26
  type: 'px',
@@ -35,12 +36,14 @@ export var Tree = {
35
36
  treeFontSize: {
36
37
  type: 'px',
37
38
  label: '文本尺寸',
38
- groupsName: '树样式'
39
+ groupsName: '树样式',
40
+ followTheme: '@font-size-base'
39
41
  },
40
42
  treeIconColor: {
41
43
  type: 'color',
42
44
  label: '折叠图标颜色',
43
- groupsName: '树样式'
45
+ groupsName: '树样式',
46
+ followTheme: '@primary-color'
44
47
  },
45
48
  treeLineColor: {
46
49
  type: 'color',
@@ -69,6 +72,10 @@ export var Tree = {
69
72
  treeLineColor: '#e5e5e5',
70
73
  treeIconColor: '#47e'
71
74
  }],
75
+ followThemes: {
76
+ '@primary-color': ['treeIconColor'],
77
+ '@font-size-base': ['fontSize', 'treeFontSize']
78
+ },
72
79
  tpl: ".ued-tree-wrap .ued-tree-search .pcfactory-input{\n color: textColor;\n border-color: borderColor;\n font-size: fontSize;\n border-bottom-left-radius: borderRadius;\n border-top-left-radius: borderRadius;\n }\n .ued-tree-wrap .pcfactory-input-search>.pcfactory-input-group>.pcfactory-input-group-addon:last-child .pcfactory-input-search-button{\n height: calc(1.5715* fontSize + 10px);\n border-color: borderColor;\n border-bottom-right-radius: borderRadius;\n border-top-right-radius: borderRadius;\n }\n .ued-tree .ued-tree-tit{\n color: treeTextColor;\n font-size: treeFontSize;\n }\n .ued-tree.pcfactory-tree .pcfactory-tree-treenode .pcfactory-tree-node-content-wrapper.pcfactory-tree-node-selected{\n background-color: treeBgColor\n }\n .ued-tree.pcfactory-tree .pcfactory-tree-treenode span.pcfactory-tree-switcher{\n color: treeIconColor;\n }\n .ued-tree-wrap .pcfactory-tree-show-line .pcfactory-tree-indent-unit:before{\n border-color: treeLineColor;\n }\n .ued-tree-wrap .pcfactory-tree-switcher-leaf-line:before{\n border-color: treeLineColor;\n }\n .ued-tree-wrap .pcfactory-tree-switcher-leaf-line:after{\n border-color: treeLineColor;\n\n }\n .ued-tree.pcfactory-tree .pcfactory-tree-treenode .pcfactory-tree-node-content-wrapper .pcfactory-tree-iconEle .ued-icon.fill-primary{\n fill: treeIconColor;\n color: treeIconColor;\n }\n .ued-tree-wrap .pcfactory-input-search>.pcfactory-input-group>.pcfactory-input-group-addon:last-child .pcfactory-input-search-button{\n width: btnWidth;\n }\n .ued-tree-wrap .pcfactory-input-search>.pcfactory-input-group>.pcfactory-input-group-addon:last-child .pcfactory-input-search-button .anticon svg{\n width: fontSize;\n height: fontSize;\n }",
73
80
  components: [{
74
81
  id: 'Tree_371619',
@@ -34,6 +34,7 @@ export declare const Accordion: {
34
34
  type: string;
35
35
  label: string;
36
36
  groupsName: string;
37
+ followTheme: string;
37
38
  };
38
39
  lineColor: {
39
40
  type: string;
@@ -96,6 +97,9 @@ export declare const Accordion: {
96
97
  borderColor: string;
97
98
  borderRadius: string;
98
99
  }[];
100
+ followThemes: {
101
+ '@primary-color': string[];
102
+ };
99
103
  tpl: string;
100
104
  components: ({
101
105
  id: string;
@@ -51,7 +51,8 @@ export var Accordion = {
51
51
  titleColor: {
52
52
  type: 'color',
53
53
  label: '装饰条颜色',
54
- groupsName: '标题'
54
+ groupsName: '标题',
55
+ followTheme: '@primary-color'
55
56
  },
56
57
  lineColor: {
57
58
  type: 'color',
@@ -114,6 +115,9 @@ export var Accordion = {
114
115
  borderColor: '#DDD',
115
116
  borderRadius: '4px'
116
117
  }],
118
+ followThemes: {
119
+ '@primary-color': ['titleColor']
120
+ },
117
121
  tpl: ".lcdp-accordion {\n .lcdp-accordion-header{\n color: textColor;\n font-weight: fontWeight;\n font-size: fontSize;\n line-height: lineHeight;\n background: backgroundColor;\n }\n .lcdp-accordion-header-default-icon{\n height: tagSize;\n background: titleColor;\n margin-right: tagMargin;\n }\n .adm-list-item-content{\n border-color: lineColor;\n }\n \n .adm-collapse-arrow svg{\n color: arrowColor;\n width: arrowSize;\n height: arrowSize;\n }\n .adm-list-item-content-main{\n background: bodyBgColor;\n }\n .adm-collapse{\n border-radius: borderRadius;\n border-color: borderColor !important;\n }\n }\n ",
118
122
  components: [{
119
123
  id: 'Accordion_960849',
@@ -35,6 +35,7 @@ export declare const Card: {
35
35
  type: string;
36
36
  label: string;
37
37
  groupsName: string;
38
+ followTheme: string;
38
39
  };
39
40
  lineColor: {
40
41
  type: string;
@@ -108,6 +109,9 @@ export declare const Card: {
108
109
  borderColor: string;
109
110
  borderRadius: string;
110
111
  }[];
112
+ followThemes: {
113
+ '@primary-color': string[];
114
+ };
111
115
  tpl: string;
112
116
  components: ({
113
117
  id: string;
@@ -52,7 +52,8 @@ export var Card = {
52
52
  titleColor: {
53
53
  type: 'color',
54
54
  label: '装饰条颜色',
55
- groupsName: '标题'
55
+ groupsName: '标题',
56
+ followTheme: '@primary-color'
56
57
  },
57
58
  lineColor: {
58
59
  type: 'color',
@@ -126,6 +127,9 @@ export var Card = {
126
127
  borderColor: 'rgba(0,0,0,0)',
127
128
  borderRadius: '4px'
128
129
  }],
130
+ followThemes: {
131
+ '@primary-color': ['titleColor']
132
+ },
129
133
  tpl: ".lcdp-h5-card {\n border-radius: borderRadius;\n border: 1PX solid borderColor;\n\n .adm-card-header:not(:last-child){\n border-color: lineColor !important;\n }\n .adm-card-header{\n border-color: lineColor !important;\n background: backgroundColor !important;\n }\n .adm-card-body{\n background: bodyBgColor;\n }\n\n .adm-card-header-title .lcdp-h5-card-title{\n color: textColor;\n font-weight: fontWeight;\n font-size: fontSize;\n line-height: lineHeight;\n }\n\n .lcdp-h5-card-hStyle{\n background: titleColor;\n margin-right: tagMargin;\n position: static;\n width: tagSize;\n }\n .lcdp-h5-card-vStyle{\n height: tagSize;\n background: titleColor;\n margin-right: tagMargin;\n }\n .lcdp-h5-card-icon{\n width: tagSize;\n height: tagSize;\n }\n .lcdp-h5-card-icon svg{\n color: titleColor;\n width: tagSize;\n height: tagSize;\n }\n .lcdp-h5-card-icon{\n margin-right: tagMargin;\n }\n .lcdp-h5-card-extra-icon{\n width: arrowSize;\n height: arrowSize;\n }\n .lcdp-h5-card-extra-icon svg{\n color: arrowColor;\n width: arrowSize;\n height: arrowSize;\n }\n .lcdp-card-footer-draw-box-border{\n border-color: bodyLineColor;\n background: footBgColor;\n }\n }\n \n ",
130
134
  components: [{
131
135
  id: 'Card_4143673',
@@ -19,7 +19,7 @@ export var DMultiplePicker = {
19
19
  },
20
20
  labelTextColor: {
21
21
  type: 'color',
22
- label: '标签文本颜色',
22
+ label: '标题文本颜色',
23
23
  groupsName: '标签',
24
24
  desc: '继承自表单,此处不可编辑',
25
25
  canEdit: false,
@@ -27,7 +27,7 @@ export var DMultiplePicker = {
27
27
  },
28
28
  labelLineHeight: {
29
29
  type: 'px',
30
- label: '标签文本行高',
30
+ label: '标题文本行高',
31
31
  groupsName: '标签',
32
32
  desc: '继承自表单,此处不可编辑',
33
33
  canEdit: false,
@@ -35,7 +35,7 @@ export var DMultiplePicker = {
35
35
  },
36
36
  labelFontSize: {
37
37
  type: 'px',
38
- label: '标签文本尺寸',
38
+ label: '标题文本尺寸',
39
39
  groupsName: '标签',
40
40
  desc: '继承自表单,此处不可编辑',
41
41
  canEdit: false,
@@ -43,7 +43,7 @@ export var DMultiplePicker = {
43
43
  },
44
44
  labelFontWeight: {
45
45
  type: 'select',
46
- label: '标签文本字重',
46
+ label: '标题文本字重',
47
47
  groupsName: '标签',
48
48
  options: [{
49
49
  title: '100',
@@ -26,6 +26,7 @@ export declare const FilterItems: {
26
26
  type: string;
27
27
  label: string;
28
28
  groupsName: string;
29
+ followTheme: string;
29
30
  };
30
31
  lineHeight: {
31
32
  type: string;
@@ -72,6 +73,9 @@ export declare const FilterItems: {
72
73
  iconSize: string;
73
74
  iconCloseColor: string;
74
75
  }[];
76
+ followThemes: {
77
+ '@font-size-base': string[];
78
+ };
75
79
  tpl: string;
76
80
  components: {
77
81
  id: string;
@@ -25,7 +25,8 @@ export var FilterItems = {
25
25
  fontSize: {
26
26
  type: 'px',
27
27
  label: '文本尺寸',
28
- groupsName: '文字'
28
+ groupsName: '文字',
29
+ followTheme: '@font-size-base'
29
30
  },
30
31
  lineHeight: {
31
32
  type: 'px',
@@ -90,6 +91,9 @@ export var FilterItems = {
90
91
  iconSize: '16px',
91
92
  iconCloseColor: 'rgba(0,0,0,0.3)'
92
93
  }],
94
+ followThemes: {
95
+ '@font-size-base': ['fontSize']
96
+ },
93
97
  tpl: ".use-app-filteritems{\n .alita-filter-item-content{\n background: backgroundColor;\n font-size: fontSize;\n border-radius: borderRadius;\n border: 1px solid borderColor;\n }\n .alita-filter-item-active-text{\n color: textColor;\n line-height: lineHeight;\n font-weight: fontWeight;\n }\n .alita-filter-item-noraml-icon{\n width: iconSize;\n height: iconSize;\n overflow: hidden;\n }\n .alita-filter-item-icon-up{\n background-image: none;\n width: iconSize;\n height: iconSize;\n position: relative;\n }\n .alita-filter-item-icon-up::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: iconSize;\n height: iconSize;\n background-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2216px%22%20height%3D%2216px%22%20viewBox%3D%220%200%2016%2016%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Ctitle%3E%E7%BC%96%E7%BB%84%206%3C%2Ftitle%3E%3Cg%20id%3D%22%E9%A1%B5%E9%9D%A2-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20id%3D%22%E5%85%B6%E4%BD%99%E7%BB%84%E4%BB%B6%22%20transform%3D%22translate%28-171.000000%2C%20-3340.000000%29%22%3E%3Cg%20id%3D%22%E5%AF%BC%E8%88%AA%E6%A0%8F%EF%BC%9ANavigationBa%E5%A4%87%E4%BB%BD-2%22%20transform%3D%22translate%2836.000000%2C%201199.000000%29%22%3E%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-5%22%20transform%3D%22translate%2851.000000%2C%202131.000000%29%22%3E%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-6%22%20transform%3D%22translate%2884.000000%2C%2010.000000%29%22%3E%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2216%22%20height%3D%2216%22%3E%3C%2Frect%3E%3Cpath%20d%3D%22M13.4723603%2C5.99735754%20L8.67496913%2C11.2434071%20C8.53163306%2C11.4065089%208.32501122%2C11.5%208.10787665%2C11.5%20C7.89072486%2C11.5%207.68408225%2C11.4065218%207.54073483%2C11.2434071%20L2.74334363%2C5.99735754%20C2.50915215%2C5.75000397%202.43677915%2C5.38947121%202.55781612%2C5.07103987%20C2.67885308%2C4.75260854%202.97097257%2C4.53024691%203.31046078%2C4.5%20L12.9013205%2C4.5%20C13.2421162%2C4.52895167%2013.5355186%2C4.74998106%2013.6565803%2C5.06974464%20C13.7789495%2C5.38948354%2013.7065888%2C5.74867172%2013.4723603%2C5.99735754%20Z%22%20id%3D%22%E8%B7%AF%E5%BE%84%22%20fill%3D%22%23BFBFBF%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fg%3E%20%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E\");\n background-repeat: round;\n transform: translateX(-100%);\n background-size: 100%;\n filter: drop-shadow(iconSize 0 iconCloseColor);\n }\n .alita-filter-item-icon-down{\n background-image: none;\n width: iconSize;\n height: iconSize;\n position: relative;\n }\n .alita-filter-item-icon-down::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: iconSize;\n height: iconSize;\n background-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2216px%22%20height%3D%2216px%22%20viewBox%3D%220%200%2016%2016%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Ctitle%3E%E7%BC%96%E7%BB%84%206%3C%2Ftitle%3E%3Cg%20id%3D%22%E9%A1%B5%E9%9D%A2-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20id%3D%22%E5%85%B6%E4%BD%99%E7%BB%84%E4%BB%B6%22%20transform%3D%22translate%28-295.000000%2C%20-3340.000000%29%22%3E%3Cg%20id%3D%22%E5%AF%BC%E8%88%AA%E6%A0%8F%EF%BC%9ANavigationBa%E5%A4%87%E4%BB%BD-2%22%20transform%3D%22translate%2836.000000%2C%201199.000000%29%22%3E%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-5%22%20transform%3D%22translate%28175.000000%2C%202131.000000%29%22%3E%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-6%22%20transform%3D%22translate%2892.000000%2C%2018.000000%29%20scale%281%2C%20-1%29%20translate%28-92.000000%2C%20-18.000000%29%20translate%2884.000000%2C%2010.000000%29%22%3E%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20fill%3D%22%231677ff%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2216%22%20height%3D%2216%22%3E%3C%2Frect%3E%3Cpath%20d%3D%22M13.4723603%2C5.99735754%20L8.67496913%2C11.2434071%20C8.53163306%2C11.4065089%208.32501122%2C11.5%208.10787665%2C11.5%20C7.89072486%2C11.5%207.68408225%2C11.4065218%207.54073483%2C11.2434071%20L2.74334363%2C5.99735754%20C2.50915215%2C5.75000397%202.43677915%2C5.38947121%202.55781612%2C5.07103987%20C2.67885308%2C4.75260854%202.97097257%2C4.53024691%203.31046078%2C4.5%20L12.9013205%2C4.5%20C13.2421162%2C4.52895167%2013.5355186%2C4.74998106%2013.6565803%2C5.06974464%20C13.7789495%2C5.38948354%2013.7065888%2C5.74867172%2013.4723603%2C5.99735754%20Z%22%20id%3D%22%E8%B7%AF%E5%BE%84%22%20fill%3D%22%231677ff%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E\");\n background-repeat: round;\n background-size: 100%;\n transform: translateX(-100%);\n filter: drop-shadow(iconSize 0 iconColor);\n}\n }\n \n",
94
98
  components: [{
95
99
  id: 'FilterItems_7957386',
@@ -40,6 +40,7 @@ export declare const SearchView: {
40
40
  type: string;
41
41
  label: string;
42
42
  groupsName: string;
43
+ followTheme: string;
43
44
  };
44
45
  fontWeight: {
45
46
  type: string;
@@ -83,6 +84,9 @@ export declare const SearchView: {
83
84
  sBorderColor: string;
84
85
  sBorderRadius: string;
85
86
  }[];
87
+ followThemes: {
88
+ '@font-size-base': string[];
89
+ };
86
90
  tpl: string;
87
91
  components: {
88
92
  id: string;
@@ -40,7 +40,8 @@ export var SearchView = {
40
40
  fontSize: {
41
41
  type: 'px',
42
42
  label: '文本尺寸',
43
- groupsName: '搜索框'
43
+ groupsName: '搜索框',
44
+ followTheme: '@font-size-base'
44
45
  },
45
46
  fontWeight: {
46
47
  type: 'select',
@@ -103,6 +104,9 @@ export var SearchView = {
103
104
  sBorderColor: 'rgba(0,0,0,0)',
104
105
  sBorderRadius: '18px'
105
106
  }],
107
+ followThemes: {
108
+ '@font-size-base': ['fontSize']
109
+ },
106
110
  tpl: "\n .alita-search-view-wrap{\n --adm-color-background: backgroundColor;\n padding: paddingValue;\n border: 1PX solid borderColor;\n border-radius: borderRadius;\n }\n .alita-search-bar-input{\n background-color: sBackgroundColor;\ncolor: textColor;\nfont-size: fontSize;\nfont-weight: fontWeight;\npadding: sPaddingValue;\nborder-radius: sBorderRadius;\nborder: 1PX solid sBorderColor;\n }\n .alita-search-bar-search{\n width: iconSize;\n height: iconSize;\n }",
107
111
  components: [{
108
112
  id: 'SearchView_197467',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingxiteam/theme-utils",
3
- "version": "0.2.6",
3
+ "version": "0.2.9",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",