@tidbcloud/uikit 2.0.0-beta.28 → 2.0.0-beta.29
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/CHANGELOG.md +6 -0
- package/dist/theme/theme.cjs +7 -2
- package/dist/theme/theme.js +7 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/theme/theme.cjs
CHANGED
|
@@ -115,8 +115,13 @@ const getButtonStyles = (theme2, params) => {
|
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
117
|
const finalStyles = {
|
|
118
|
+
label: {
|
|
119
|
+
fontWeight: 500,
|
|
120
|
+
fontSize: params.size === "xs" ? 12 : 14
|
|
121
|
+
},
|
|
118
122
|
root: {
|
|
119
|
-
|
|
123
|
+
paddingLeft: 12,
|
|
124
|
+
paddingRight: 12,
|
|
120
125
|
...variantStyles[params.variant],
|
|
121
126
|
...sizeStyles[params.size]
|
|
122
127
|
}
|
|
@@ -155,7 +160,7 @@ const getInputStyles = (theme2, params) => {
|
|
|
155
160
|
color: theme2.colors.carbon[8]
|
|
156
161
|
},
|
|
157
162
|
description: {
|
|
158
|
-
color: theme2.colors.carbon[
|
|
163
|
+
color: theme2.colors.carbon[7]
|
|
159
164
|
},
|
|
160
165
|
input: {
|
|
161
166
|
...matches.input,
|
package/dist/theme/theme.js
CHANGED
|
@@ -113,8 +113,13 @@ const getButtonStyles = (theme2, params) => {
|
|
|
113
113
|
}
|
|
114
114
|
};
|
|
115
115
|
const finalStyles = {
|
|
116
|
+
label: {
|
|
117
|
+
fontWeight: 500,
|
|
118
|
+
fontSize: params.size === "xs" ? 12 : 14
|
|
119
|
+
},
|
|
116
120
|
root: {
|
|
117
|
-
|
|
121
|
+
paddingLeft: 12,
|
|
122
|
+
paddingRight: 12,
|
|
118
123
|
...variantStyles[params.variant],
|
|
119
124
|
...sizeStyles[params.size]
|
|
120
125
|
}
|
|
@@ -153,7 +158,7 @@ const getInputStyles = (theme2, params) => {
|
|
|
153
158
|
color: theme2.colors.carbon[8]
|
|
154
159
|
},
|
|
155
160
|
description: {
|
|
156
|
-
color: theme2.colors.carbon[
|
|
161
|
+
color: theme2.colors.carbon[7]
|
|
157
162
|
},
|
|
158
163
|
input: {
|
|
159
164
|
...matches.input,
|