@lingxiteam/theme-utils 0.2.13 → 0.2.14

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.
@@ -46,6 +46,7 @@ export declare const Card: {
46
46
  type: string;
47
47
  label: string;
48
48
  groupsName: string;
49
+ followTheme: string;
49
50
  };
50
51
  tagSize: {
51
52
  type: string;
@@ -91,6 +92,9 @@ export declare const Card: {
91
92
  bodyColor: string;
92
93
  lineColor: string;
93
94
  }[];
95
+ followThemes: {
96
+ '@primary-color': string[];
97
+ };
94
98
  tpl: string;
95
99
  components: {
96
100
  id: string;
@@ -63,7 +63,8 @@ export var Card = {
63
63
  titleColor: {
64
64
  type: 'color',
65
65
  label: '装饰条颜色',
66
- groupsName: '背景颜色'
66
+ groupsName: '背景颜色',
67
+ followTheme: '@primary-color'
67
68
  },
68
69
  tagSize: {
69
70
  type: 'px',
@@ -101,7 +102,7 @@ export var Card = {
101
102
  title: '卡片',
102
103
  defaultValue: [{
103
104
  backgroundColor: '#fff',
104
- titleColor: '#0085D0',
105
+ titleColor: '#47',
105
106
  tagSize: '16px',
106
107
  tagMargin: '8px',
107
108
  borderColor: '#f0f0f0',
@@ -109,6 +110,9 @@ export var Card = {
109
110
  bodyColor: '#fff',
110
111
  lineColor: '#f0f0f0'
111
112
  }],
113
+ followThemes: {
114
+ '@primary-color': ['titleColor']
115
+ },
112
116
  tpl: "\n .pcfactory-card{\n border-radius: borderRadius;\n }\n .ued-card.pcfactory-card-bordered .pcfactory-card-head {\n background-color: backgroundColor;\n border-color: lineColor;\n border-top-left-radius: borderRadius;\n border-top-right-radius: borderRadius;\n }\n .ued-card.pcfactory-card-bordered {\n border-color: borderColor;\n }\n .ued-card.pcfactory-card-bordered {\n border-color: borderColor;\n }\n .ued-card .ued-card-title-icon-auto>i {\n color: titleColor;\n margin-right: tagMargin;\n }\n .ued-card .ued-card-title-icon-auto span{\n color: titleColor;\n margin-right: tagMargin;\n }\n .ued-card .ued-card-title::before {\n color: titleColor;\n background: titleColor;\n margin-right: tagMargin;\n }\n .ued-card .ued-card-title-icon-auto>i svg{\n width: tagSize;\n height: tagSize;\n }\n .ued-card .ued-card-title-icon-auto span svg{\n width: tagSize;\n height: tagSize;\n }\n .ued-card .pcfactory-card-body{\n background-color: bodyColor;\n border-bottom-right-radius: borderRadius;\n border-bottom-left-radius: borderRadius;\n }",
113
117
  components: [{
114
118
  id: 'Card_813627',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingxiteam/theme-utils",
3
- "version": "0.2.13",
3
+ "version": "0.2.14",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",