@sdata/web-vue 4.7.1 → 5.0.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/dist/sd.css +4004 -3955
- package/dist/sd.min.css +13 -13
- package/es/_components/input-label/style/index.css +47 -47
- package/es/_components/select-view/style/index.css +256 -256
- package/es/alert/style/index.css +48 -48
- package/es/alert/style/token.scss +257 -0
- package/es/anchor/style/index.css +18 -18
- package/es/anchor/style/token.scss +74 -0
- package/es/auto-complete/style/index.css +18 -18
- package/es/auto-complete/style/token.scss +94 -0
- package/es/avatar/style/index.css +31 -31
- package/es/avatar/style/token.scss +118 -0
- package/es/back-top/style/index.css +11 -11
- package/es/back-top/style/token.scss +60 -0
- package/es/badge/style/index.css +35 -35
- package/es/badge/style/token.scss +148 -0
- package/es/basic-crud-table/style/index.css +4 -4
- package/es/basic-crud-table/style/token.scss +20 -0
- package/es/bloom-menu/style/index.css +33 -34
- package/es/bloom-menu/style/index.scss +5 -5
- package/es/bloom-menu/style/token.scss +99 -0
- package/es/border-beam/style/token.scss +28 -0
- package/es/breadcrumb/style/index.css +17 -17
- package/es/breadcrumb/style/token.scss +97 -0
- package/es/button/style/index.css +379 -379
- package/es/button/style/index.scss +3 -3
- package/es/button/style/token.scss +1604 -0
- package/es/card/style/index.css +36 -36
- package/es/card/style/token.scss +162 -0
- package/es/carousel/style/index.css +41 -41
- package/es/carousel/style/token.scss +101 -0
- package/es/cascader/style/index.css +58 -58
- package/es/cascader/style/token.scss +89 -0
- package/es/checkbox/style/index.css +28 -28
- package/es/checkbox/style/token.scss +134 -0
- package/es/collapse/style/index.css +24 -24
- package/es/collapse/style/token.scss +136 -0
- package/es/color-picker/style/index.css +50 -50
- package/es/color-picker/style/token.scss +200 -0
- package/es/comment/style/index.css +15 -15
- package/es/comment/style/token.scss +83 -0
- package/es/config-provider/algorithms.d.ts +11 -0
- package/es/config-provider/algorithms.js +53 -0
- package/es/config-provider/global-theme.js +7 -4
- package/es/config-provider/theme-config.d.ts +11 -0
- package/es/config-provider/theme-config.js +114 -0
- package/es/config-provider/theme-provider.vue_vue_type_script_setup_true_lang.js +46 -11
- package/es/config-provider/theme.d.ts +4 -1
- package/es/config-provider/theme.js +6 -5
- package/es/config-provider/token-key.d.ts +1 -0
- package/es/config-provider/token-key.js +6 -0
- package/es/copy/style/index.css +1 -1
- package/es/copy/style/token.scss +9 -0
- package/es/cropper/style/index.css +7 -7
- package/es/cropper/style/token.scss +24 -0
- package/es/date-picker/style/index.css +73 -73
- package/es/date-picker/style/token.scss +229 -0
- package/es/descriptions/style/index.css +45 -45
- package/es/descriptions/style/token.scss +191 -0
- package/es/divider/style/index.css +11 -11
- package/es/divider/style/token.scss +60 -0
- package/es/drawer/style/index.css +13 -13
- package/es/drawer/style/token.scss +68 -0
- package/es/dropdown/style/index.css +24 -23
- package/es/dropdown/style/index.scss +4 -2
- package/es/dropdown/style/token.scss +123 -0
- package/es/ellipsis/ellipsis.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/ellipsis/interface.d.ts +1 -0
- package/es/ellipsis/style/index.css +2 -2
- package/es/ellipsis/style/token.scss +5 -0
- package/es/empty/style/index.css +7 -7
- package/es/empty/style/token.scss +35 -0
- package/es/file-previewer/style/index.css +44 -44
- package/es/file-previewer/style/token.scss +198 -0
- package/es/form/style/index.css +113 -113
- package/es/form/style/token.scss +340 -0
- package/es/image/style/index.css +83 -83
- package/es/image/style/token.scss +451 -0
- package/es/index.css +4004 -3955
- package/es/index.d.ts +3 -0
- package/es/index.js +4 -1
- package/es/input/style/index.css +104 -104
- package/es/input/style/input.scss +2 -8
- package/es/input/style/size.scss +4 -4
- package/es/input/style/token.scss +327 -0
- package/es/input-mask/style/index.css +1 -1
- package/es/input-mask/style/token.scss +8 -0
- package/es/input-number/style/index.css +19 -19
- package/es/input-number/style/token.scss +82 -0
- package/es/input-tag/style/index.css +209 -209
- package/es/input-tag/style/token.scss +226 -0
- package/es/json-form/style/index.css +2 -2
- package/es/json-form/style/token.scss +21 -0
- package/es/kv-list/style/index.css +13 -13
- package/es/kv-list/style/token.scss +29 -0
- package/es/layout/style/index.css +38 -38
- package/es/layout/style/token.scss +100 -0
- package/es/link/style/index.css +28 -28
- package/es/link/style/token.scss +117 -0
- package/es/list/style/index.css +27 -27
- package/es/list/style/token.scss +178 -0
- package/es/mention/style/token.scss +22 -0
- package/es/menu/style/index.css +153 -120
- package/es/menu/style/index.scss +12 -4
- package/es/menu/style/token.scss +390 -0
- package/es/message/style/index.css +33 -33
- package/es/message/style/token.scss +218 -0
- package/es/modal/style/index.css +21 -21
- package/es/modal/style/token.scss +115 -0
- package/es/model-selector/style/index.css +1 -1
- package/es/notification/style/index.css +44 -44
- package/es/notification/style/token.scss +241 -0
- package/es/number-flow/style/index.css +5 -5
- package/es/number-flow/style/token.scss +19 -0
- package/es/page-header/style/index.css +25 -25
- package/es/page-header/style/token.scss +139 -0
- package/es/pagination/style/index.css +85 -85
- package/es/pagination/style/token.scss +303 -0
- package/es/panel-group/style/index.css +7 -7
- package/es/panel-group/style/token.scss +28 -0
- package/es/popconfirm/style/index.css +18 -18
- package/es/popconfirm/style/token.scss +83 -0
- package/es/popover/style/index.css +12 -12
- package/es/popover/style/token.scss +58 -0
- package/es/progress/style/index.css +55 -55
- package/es/progress/style/token.scss +253 -0
- package/es/qr-code/style/index.css +18 -21
- package/es/qr-code/style/index.scss +4 -6
- package/es/qr-code/style/token.scss +59 -0
- package/es/radio/style/index.css +45 -44
- package/es/radio/style/index.scss +1 -0
- package/es/radio/style/token.scss +185 -0
- package/es/rate/style/index.css +8 -8
- package/es/rate/style/token.scss +19 -0
- package/es/regex-vis/style/index.css +51 -51
- package/es/regex-vis/style/token.scss +170 -0
- package/es/result/style/index.css +26 -26
- package/es/result/style/token.scss +139 -0
- package/es/rich-text-editor/style/index.css +31 -31
- package/es/rich-text-editor/style/token.scss +120 -0
- package/es/scrollbar/style/index.css +14 -14
- package/es/scrollbar/style/token.scss +33 -0
- package/es/secret/style/index.css +6 -6
- package/es/secret/style/token.scss +30 -0
- package/es/select/style/index.css +27 -27
- package/es/select/style/token.scss +151 -0
- package/es/selectable-card/style/index.css +53 -51
- package/es/selectable-card/style/index.scss +6 -2
- package/es/selectable-card/style/token.scss +60 -0
- package/es/sender/style/index.css +54 -54
- package/es/sender/style/token.scss +155 -0
- package/es/skeleton/style/index.css +12 -12
- package/es/skeleton/style/token.scss +60 -0
- package/es/slider/style/index.css +34 -34
- package/es/slider/style/token.scss +144 -0
- package/es/spin/style/index.css +11 -11
- package/es/spin/style/token.scss +60 -0
- package/es/split/style/index.css +2 -2
- package/es/split/style/token.scss +18 -0
- package/es/statistic/style/index.css +13 -13
- package/es/statistic/style/token.scss +73 -0
- package/es/steps/style/index.css +98 -98
- package/es/steps/style/token.scss +464 -0
- package/es/style/color/css-variables.scss +382 -381
- package/es/style/theme/css-variables.scss +329 -135
- package/es/style/theme/global.scss +5 -5
- package/es/style/theme/index.scss +1 -1
- package/es/style/theme/runtime.scss +29 -0
- package/es/switch/style/index.css +37 -37
- package/es/switch/style/token.scss +135 -0
- package/es/table/style/index.css +127 -127
- package/es/table/style/token.scss +425 -0
- package/es/tabs/style/index.css +196 -190
- package/es/tabs/style/index.scss +27 -17
- package/es/tabs/style/token.scss +534 -0
- package/es/tag/index.d.ts +13 -0
- package/es/tag/interface.d.ts +1 -0
- package/es/tag/style/index.css +159 -159
- package/es/tag/style/token.scss +513 -0
- package/es/tag/tag.vue.d.ts +13 -3
- package/es/tag/tag.vue_vue_type_script_setup_true_lang.js +35 -8
- package/es/tag-group/style/index.css +3 -3
- package/es/tag-group/style/token.scss +9 -0
- package/es/textarea/style/index.css +40 -40
- package/es/time-picker/style/index.css +12 -12
- package/es/time-picker/style/token.scss +50 -0
- package/es/timeline/style/index.css +22 -22
- package/es/timeline/style/token.scss +75 -0
- package/es/toolbar/style/index.css +6 -6
- package/es/toolbar/style/token.scss +45 -0
- package/es/tooltip/style/index.css +8 -8
- package/es/tooltip/style/token.scss +46 -0
- package/es/tour/style/index.css +28 -28
- package/es/tour/style/token.scss +65 -0
- package/es/transfer/style/index.css +46 -45
- package/es/transfer/style/index.scss +4 -1
- package/es/transfer/style/token.scss +199 -0
- package/es/tree/style/index.css +43 -36
- package/es/tree/style/index.scss +10 -0
- package/es/tree/style/token.scss +163 -0
- package/es/tree-select/style/index.css +9 -9
- package/es/tree-select/style/token.scss +21 -0
- package/es/trigger/style/index.css +7 -7
- package/es/trigger/style/token.scss +19 -0
- package/es/typography/style/index.css +40 -40
- package/es/typography/style/token.scss +220 -0
- package/es/upload/index.d.ts +3 -0
- package/es/upload/style/index.css +95 -95
- package/es/upload/style/token.scss +470 -0
- package/es/upload/upload.vue.d.ts +2 -0
- package/es/upload/upload.vue_vue_type_script_setup_true_lang.js +109 -16
- package/json/vetur-attributes.json +7 -0
- package/json/vetur-tags.json +4 -1
- package/json/web-types.json +18 -2
- package/package.json +7 -2
- package/es/style/color/palette-dark.d.ts +0 -4
- package/es/style/color/palette-dark.js +0 -10
- package/es/style/color/palette.d.ts +0 -4
- package/es/style/color/palette.js +0 -10
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use '@style/theme/runtime.scss' as theme-runtime;
|
|
1
2
|
@use '@style/theme/index.scss' as global;
|
|
2
3
|
|
|
3
4
|
@forward '@style/theme/index.scss';
|
|
@@ -117,3 +118,255 @@ $progress-circle-color-path-stroke_warning: $color-warning-6;
|
|
|
117
118
|
$progress-circle-color-icon_warning: $color-warning-6;
|
|
118
119
|
|
|
119
120
|
$progress-steps-color-item-bg_warning: $color-warning-6;
|
|
121
|
+
|
|
122
|
+
// @generated runtime tokens — pnpm theme:generate
|
|
123
|
+
$progress-line-color-line-bg: theme-runtime.token(
|
|
124
|
+
'progress',
|
|
125
|
+
'progress-line-color-line-bg',
|
|
126
|
+
$progress-line-color-line-bg
|
|
127
|
+
);
|
|
128
|
+
$progress-line-color-inner-bg: theme-runtime.token(
|
|
129
|
+
'progress',
|
|
130
|
+
'progress-line-color-inner-bg',
|
|
131
|
+
$color-primary-6
|
|
132
|
+
);
|
|
133
|
+
$progress-line-color-inner-bg_success: theme-runtime.token(
|
|
134
|
+
'progress',
|
|
135
|
+
'progress-line-color-inner-bg-success',
|
|
136
|
+
$color-success-6
|
|
137
|
+
);
|
|
138
|
+
$progress-line-color-inner-bg_error: theme-runtime.token(
|
|
139
|
+
'progress',
|
|
140
|
+
'progress-line-color-inner-bg-error',
|
|
141
|
+
$color-danger-6
|
|
142
|
+
);
|
|
143
|
+
$progress-line-color-buffer-bg: theme-runtime.token(
|
|
144
|
+
'progress',
|
|
145
|
+
'progress-line-color-buffer-bg',
|
|
146
|
+
$progress-line-color-buffer-bg
|
|
147
|
+
);
|
|
148
|
+
$progress-line-size-large-font-size: theme-runtime.token(
|
|
149
|
+
'progress',
|
|
150
|
+
'progress-line-size-large-font-size',
|
|
151
|
+
$progress-line-size-large-font-size
|
|
152
|
+
);
|
|
153
|
+
$progress-line-size-small-font-size: theme-runtime.token(
|
|
154
|
+
'progress',
|
|
155
|
+
'progress-line-size-small-font-size',
|
|
156
|
+
$font-size-body-1
|
|
157
|
+
);
|
|
158
|
+
$progress-line-size-default-font-size: theme-runtime.token(
|
|
159
|
+
'progress',
|
|
160
|
+
'progress-line-size-default-font-size',
|
|
161
|
+
$font-size-body-1
|
|
162
|
+
);
|
|
163
|
+
$progress-line-size-large-margin-text-left: theme-runtime.token(
|
|
164
|
+
'progress',
|
|
165
|
+
'progress-line-size-large-margin-text-left',
|
|
166
|
+
$spacing-7
|
|
167
|
+
);
|
|
168
|
+
$progress-line-size-small-margin-text-left: theme-runtime.token(
|
|
169
|
+
'progress',
|
|
170
|
+
'progress-line-size-small-margin-text-left',
|
|
171
|
+
$spacing-7
|
|
172
|
+
);
|
|
173
|
+
$progress-line-color-icon_success: theme-runtime.token(
|
|
174
|
+
'progress',
|
|
175
|
+
'progress-line-color-icon-success',
|
|
176
|
+
$color-success-6
|
|
177
|
+
);
|
|
178
|
+
$progress-line-color-icon_error: theme-runtime.token(
|
|
179
|
+
'progress',
|
|
180
|
+
'progress-line-color-icon-error',
|
|
181
|
+
$color-danger-6
|
|
182
|
+
);
|
|
183
|
+
$progress-line-margin-text-left: theme-runtime.token(
|
|
184
|
+
'progress',
|
|
185
|
+
'progress-line-margin-text-left',
|
|
186
|
+
$spacing-7
|
|
187
|
+
);
|
|
188
|
+
$progress-line-margin-icon-left: theme-runtime.token(
|
|
189
|
+
'progress',
|
|
190
|
+
'progress-line-margin-icon-left',
|
|
191
|
+
$spacing-2
|
|
192
|
+
);
|
|
193
|
+
$progress-line-color-text: theme-runtime.token(
|
|
194
|
+
'progress',
|
|
195
|
+
'progress-line-color-text',
|
|
196
|
+
$progress-line-color-text
|
|
197
|
+
);
|
|
198
|
+
$progress-line-color-icon_normal: theme-runtime.token(
|
|
199
|
+
'progress',
|
|
200
|
+
'progress-line-color-icon-normal',
|
|
201
|
+
$progress-line-color-icon_normal
|
|
202
|
+
);
|
|
203
|
+
$progress-line-size-text-width: theme-runtime.token(
|
|
204
|
+
'progress',
|
|
205
|
+
'progress-line-size-text-width',
|
|
206
|
+
$size-8
|
|
207
|
+
);
|
|
208
|
+
$progress-line-size-default-icon-size: theme-runtime.token(
|
|
209
|
+
'progress',
|
|
210
|
+
'progress-line-size-default-icon-size',
|
|
211
|
+
$progress-line-size-default-icon-size
|
|
212
|
+
);
|
|
213
|
+
$progress-line-size-small-icon-size: theme-runtime.token(
|
|
214
|
+
'progress',
|
|
215
|
+
'progress-line-size-small-icon-size',
|
|
216
|
+
$progress-line-size-small-icon-size
|
|
217
|
+
);
|
|
218
|
+
$progress-line-size-large-icon-size: theme-runtime.token(
|
|
219
|
+
'progress',
|
|
220
|
+
'progress-line-size-large-icon-size',
|
|
221
|
+
$progress-line-size-large-icon-size
|
|
222
|
+
);
|
|
223
|
+
$progress-circle-size-small-font-size: theme-runtime.token(
|
|
224
|
+
'progress',
|
|
225
|
+
'progress-circle-size-small-font-size',
|
|
226
|
+
$font-size-body-2
|
|
227
|
+
);
|
|
228
|
+
$progress-circle-size-default-font-size: theme-runtime.token(
|
|
229
|
+
'progress',
|
|
230
|
+
'progress-circle-size-default-font-size',
|
|
231
|
+
$font-size-body-3
|
|
232
|
+
);
|
|
233
|
+
$progress-circle-size-large-font-size: theme-runtime.token(
|
|
234
|
+
'progress',
|
|
235
|
+
'progress-circle-size-large-font-size',
|
|
236
|
+
$progress-circle-size-large-font-size
|
|
237
|
+
);
|
|
238
|
+
$progress-circle-size-small-icon-size: theme-runtime.token(
|
|
239
|
+
'progress',
|
|
240
|
+
'progress-circle-size-small-icon-size',
|
|
241
|
+
$progress-circle-size-small-icon-size
|
|
242
|
+
);
|
|
243
|
+
$progress-circle-size-default-icon-size: theme-runtime.token(
|
|
244
|
+
'progress',
|
|
245
|
+
'progress-circle-size-default-icon-size',
|
|
246
|
+
$size-4
|
|
247
|
+
);
|
|
248
|
+
$progress-circle-size-large-icon-size: theme-runtime.token(
|
|
249
|
+
'progress',
|
|
250
|
+
'progress-circle-size-large-icon-size',
|
|
251
|
+
$size-4
|
|
252
|
+
);
|
|
253
|
+
$progress-circle-color-text: theme-runtime.token(
|
|
254
|
+
'progress',
|
|
255
|
+
'progress-circle-color-text',
|
|
256
|
+
$progress-circle-color-text
|
|
257
|
+
);
|
|
258
|
+
$progress-circle-color-mask-stroke: theme-runtime.token(
|
|
259
|
+
'progress',
|
|
260
|
+
'progress-circle-color-mask-stroke',
|
|
261
|
+
$progress-circle-color-mask-stroke
|
|
262
|
+
);
|
|
263
|
+
$progress-circle-size-mini-color-mask-stroke: theme-runtime.token(
|
|
264
|
+
'progress',
|
|
265
|
+
'progress-circle-size-mini-color-mask-stroke',
|
|
266
|
+
$progress-circle-size-mini-color-mask-stroke
|
|
267
|
+
);
|
|
268
|
+
$progress-circle-size-mini-color-mask-stroke_success: theme-runtime.token(
|
|
269
|
+
'progress',
|
|
270
|
+
'progress-circle-size-mini-color-mask-stroke-success',
|
|
271
|
+
$progress-circle-size-mini-color-mask-stroke_success
|
|
272
|
+
);
|
|
273
|
+
$progress-circle-size-mini-color-mask-stroke_error: theme-runtime.token(
|
|
274
|
+
'progress',
|
|
275
|
+
'progress-circle-size-mini-color-mask-stroke-error',
|
|
276
|
+
$progress-circle-size-mini-color-mask-stroke_error
|
|
277
|
+
);
|
|
278
|
+
$progress-circle-color-path-stroke: theme-runtime.token(
|
|
279
|
+
'progress',
|
|
280
|
+
'progress-circle-color-path-stroke',
|
|
281
|
+
$color-primary-6
|
|
282
|
+
);
|
|
283
|
+
$progress-circle-color-path-stroke_success: theme-runtime.token(
|
|
284
|
+
'progress',
|
|
285
|
+
'progress-circle-color-path-stroke-success',
|
|
286
|
+
$color-success-6
|
|
287
|
+
);
|
|
288
|
+
$progress-circle-color-path-stroke_error: theme-runtime.token(
|
|
289
|
+
'progress',
|
|
290
|
+
'progress-circle-color-path-stroke-error',
|
|
291
|
+
$color-danger-6
|
|
292
|
+
);
|
|
293
|
+
$progress-circle-color-icon_success: theme-runtime.token(
|
|
294
|
+
'progress',
|
|
295
|
+
'progress-circle-color-icon-success',
|
|
296
|
+
$color-success-6
|
|
297
|
+
);
|
|
298
|
+
$progress-circle-color-icon_error: theme-runtime.token(
|
|
299
|
+
'progress',
|
|
300
|
+
'progress-circle-color-icon-error',
|
|
301
|
+
$color-danger-6
|
|
302
|
+
);
|
|
303
|
+
$progress-steps-size-small-steps-item-width: theme-runtime.token(
|
|
304
|
+
'progress',
|
|
305
|
+
'progress-steps-size-small-steps-item-width',
|
|
306
|
+
$progress-steps-size-small-steps-item-width
|
|
307
|
+
);
|
|
308
|
+
$progress-steps-margin-steps-item-right: theme-runtime.token(
|
|
309
|
+
'progress',
|
|
310
|
+
'progress-steps-margin-steps-item-right',
|
|
311
|
+
$progress-steps-margin-steps-item-right
|
|
312
|
+
);
|
|
313
|
+
$progress-steps-margin-steps-item-right_small: theme-runtime.token(
|
|
314
|
+
'progress',
|
|
315
|
+
'progress-steps-margin-steps-item-right-small',
|
|
316
|
+
$progress-steps-margin-steps-item-right_small
|
|
317
|
+
);
|
|
318
|
+
$progress-steps-color-item-bg: theme-runtime.token(
|
|
319
|
+
'progress',
|
|
320
|
+
'progress-steps-color-item-bg',
|
|
321
|
+
$progress-steps-color-item-bg
|
|
322
|
+
);
|
|
323
|
+
$progress-steps-color-item-bg_normal: theme-runtime.token(
|
|
324
|
+
'progress',
|
|
325
|
+
'progress-steps-color-item-bg-normal',
|
|
326
|
+
$color-primary-6
|
|
327
|
+
);
|
|
328
|
+
$progress-steps-color-item-bg_success: theme-runtime.token(
|
|
329
|
+
'progress',
|
|
330
|
+
'progress-steps-color-item-bg-success',
|
|
331
|
+
$color-success-6
|
|
332
|
+
);
|
|
333
|
+
$progress-steps-color-item-bg_error: theme-runtime.token(
|
|
334
|
+
'progress',
|
|
335
|
+
'progress-steps-color-item-bg-error',
|
|
336
|
+
$color-danger-6
|
|
337
|
+
);
|
|
338
|
+
$progress-steps-margin-text-left: theme-runtime.token(
|
|
339
|
+
'progress',
|
|
340
|
+
'progress-steps-margin-text-left',
|
|
341
|
+
$spacing-4
|
|
342
|
+
);
|
|
343
|
+
$progress-line-color-inner-bg_warning: theme-runtime.token(
|
|
344
|
+
'progress',
|
|
345
|
+
'progress-line-color-inner-bg-warning',
|
|
346
|
+
$color-warning-6
|
|
347
|
+
);
|
|
348
|
+
$progress-line-color-icon_warning: theme-runtime.token(
|
|
349
|
+
'progress',
|
|
350
|
+
'progress-line-color-icon-warning',
|
|
351
|
+
$color-warning-6
|
|
352
|
+
);
|
|
353
|
+
$progress-circle-size-mini-color-mask-stroke_warning: theme-runtime.token(
|
|
354
|
+
'progress',
|
|
355
|
+
'progress-circle-size-mini-color-mask-stroke-warning',
|
|
356
|
+
$progress-circle-size-mini-color-mask-stroke_warning
|
|
357
|
+
);
|
|
358
|
+
$progress-circle-color-path-stroke_warning: theme-runtime.token(
|
|
359
|
+
'progress',
|
|
360
|
+
'progress-circle-color-path-stroke-warning',
|
|
361
|
+
$color-warning-6
|
|
362
|
+
);
|
|
363
|
+
$progress-circle-color-icon_warning: theme-runtime.token(
|
|
364
|
+
'progress',
|
|
365
|
+
'progress-circle-color-icon-warning',
|
|
366
|
+
$color-warning-6
|
|
367
|
+
);
|
|
368
|
+
$progress-steps-color-item-bg_warning: theme-runtime.token(
|
|
369
|
+
'progress',
|
|
370
|
+
'progress-steps-color-item-bg-warning',
|
|
371
|
+
$color-warning-6
|
|
372
|
+
);
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
align-items: center;
|
|
22
22
|
justify-content: center;
|
|
23
23
|
box-sizing: border-box;
|
|
24
|
-
padding: 10px;
|
|
24
|
+
padding: var(--component-qr-code-qr-code-padding, var(--component-qr-code-padding, var(--spacing-5, 10px)));
|
|
25
25
|
overflow: hidden;
|
|
26
|
-
background-color: var(--sd-color-bg-2);
|
|
27
|
-
border: 1px solid var(--sd-color-border-2);
|
|
28
|
-
border-radius: var(--sd-border-radius-medium);
|
|
26
|
+
background-color: var(--component-qr-code-qr-code-color-bg, var(--component-qr-code-color-bg, var(--sd-color-bg-2)));
|
|
27
|
+
border: 1px solid var(--component-qr-code-qr-code-color-border, var(--component-qr-code-color-border, var(--sd-color-border-2)));
|
|
28
|
+
border-radius: var(--component-qr-code-qr-code-border-radius, var(--component-qr-code-border-radius, var(--sd-border-radius-medium)));
|
|
29
29
|
}
|
|
30
30
|
.sd-qr-code-borderless {
|
|
31
31
|
padding: 0;
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
display: inline-flex;
|
|
52
52
|
align-items: center;
|
|
53
53
|
justify-content: center;
|
|
54
|
-
padding: 6px;
|
|
55
|
-
background-color: var(--sd-color-bg-2);
|
|
56
|
-
border-radius: var(--sd-border-radius-medium);
|
|
54
|
+
padding: var(--component-qr-code-qr-code-icon-padding, var(--component-qr-code-icon-padding, var(--spacing-3, 6px)));
|
|
55
|
+
background-color: var(--component-qr-code-qr-code-color-bg, var(--component-qr-code-color-bg, var(--sd-color-bg-2)));
|
|
56
|
+
border-radius: var(--component-qr-code-qr-code-border-radius, var(--component-qr-code-border-radius, var(--sd-border-radius-medium)));
|
|
57
57
|
transform: translate(-50%, -50%);
|
|
58
58
|
}
|
|
59
59
|
.sd-qr-code-icon img {
|
|
@@ -67,40 +67,37 @@
|
|
|
67
67
|
align-items: center;
|
|
68
68
|
justify-content: center;
|
|
69
69
|
text-align: center;
|
|
70
|
-
background: color-mix(in srgb, var(--sd-color-bg-2) 88%, transparent);
|
|
70
|
+
background: var(--component-qr-code-qr-code-color-mask-bg, var(--component-qr-code-color-mask-bg, color-mix(in srgb, var(--sd-color-bg-2) 88%, transparent)));
|
|
71
71
|
}
|
|
72
72
|
.sd-qr-code-status {
|
|
73
73
|
display: inline-flex;
|
|
74
74
|
flex-direction: column;
|
|
75
|
-
gap: 8px;
|
|
75
|
+
gap: var(--component-qr-code-qr-code-status-gap, var(--component-qr-code-status-gap, var(--spacing-4, 8px)));
|
|
76
76
|
align-items: center;
|
|
77
|
-
color: var(--sd-color-text-1);
|
|
78
|
-
font-size: 14px;
|
|
77
|
+
color: var(--component-qr-code-qr-code-color-text, var(--component-qr-code-color-text, var(--sd-color-text-1)));
|
|
78
|
+
font-size: var(--component-qr-code-qr-code-font-size, var(--component-qr-code-font-size, var(--font-size-body-3, 14px)));
|
|
79
79
|
line-height: 1.5715;
|
|
80
80
|
}
|
|
81
81
|
.sd-qr-code-expired, .sd-qr-code-scanned {
|
|
82
82
|
margin: 0;
|
|
83
|
-
font-weight: 500;
|
|
83
|
+
font-weight: var(--component-qr-code-qr-code-font-weight, var(--component-qr-code-font-weight, var(--font-weight-500, 500)));
|
|
84
84
|
}
|
|
85
85
|
.sd-qr-code-expired {
|
|
86
|
-
color: rgb(var(--sd-danger-6));
|
|
86
|
+
color: var(--component-qr-code-qr-code-color-expired, var(--component-qr-code-color-expired, rgb(var(--sd-danger-6))));
|
|
87
87
|
}
|
|
88
88
|
.sd-qr-code-scanned {
|
|
89
|
-
color: rgb(var(--sd-success-6));
|
|
89
|
+
color: var(--component-qr-code-qr-code-color-scanned, var(--component-qr-code-color-scanned, rgb(var(--sd-success-6))));
|
|
90
90
|
}
|
|
91
91
|
.sd-qr-code-refresh-btn {
|
|
92
92
|
padding: 0;
|
|
93
|
-
color: rgb(var(--sd-primary-6));
|
|
94
|
-
font-size: 13px;
|
|
93
|
+
color: var(--component-qr-code-qr-code-color-refresh, var(--component-qr-code-color-refresh, rgb(var(--sd-primary-6))));
|
|
94
|
+
font-size: var(--component-qr-code-qr-code-font-size-secondary, var(--component-qr-code-font-size-secondary, var(--font-size-body-2, 13px)));
|
|
95
95
|
line-height: 1.5715;
|
|
96
96
|
background: transparent;
|
|
97
97
|
border: none;
|
|
98
98
|
cursor: pointer;
|
|
99
99
|
}
|
|
100
|
-
.sd-qr-code-refresh-btn:hover {
|
|
100
|
+
.sd-qr-code-refresh-btn:hover, .sd-qr-code-refresh-btn:focus-visible {
|
|
101
101
|
color: rgb(var(--sd-primary-7));
|
|
102
|
-
|
|
103
|
-
.sd-qr-code-refresh-btn:focus-visible {
|
|
104
|
-
outline: 1px solid rgb(var(--sd-primary-6));
|
|
105
|
-
outline-offset: 4px;
|
|
102
|
+
outline: none;
|
|
106
103
|
}
|
|
@@ -100,12 +100,10 @@ $qr-code-prefix-cls: string.unquote('#{theme.$prefix}-qr-code');
|
|
|
100
100
|
cursor: pointer;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}
|
|
106
|
-
|
|
103
|
+
// 键盘焦点与 hover 保持同一视觉
|
|
104
|
+
&-refresh-btn:hover,
|
|
107
105
|
&-refresh-btn:focus-visible {
|
|
108
|
-
|
|
109
|
-
outline
|
|
106
|
+
color: theme.$color-primary-7;
|
|
107
|
+
outline: none;
|
|
110
108
|
}
|
|
111
109
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use '@style/theme/runtime.scss' as theme-runtime;
|
|
1
2
|
@use '@style/theme/index.scss' as global;
|
|
2
3
|
|
|
3
4
|
@forward '@style/theme/index.scss';
|
|
@@ -34,3 +35,61 @@ $qr-code-font-size: global.$font-size-body-3;
|
|
|
34
35
|
$qr-code-font-size-secondary: global.$font-size-body-2;
|
|
35
36
|
|
|
36
37
|
$qr-code-font-weight: global.$font-weight-500;
|
|
38
|
+
|
|
39
|
+
// @generated runtime tokens — pnpm theme:generate
|
|
40
|
+
$qr-code-color-border: theme-runtime.token(
|
|
41
|
+
'qr-code',
|
|
42
|
+
'qr-code-color-border',
|
|
43
|
+
$qr-code-color-border
|
|
44
|
+
);
|
|
45
|
+
$qr-code-color-bg: theme-runtime.token('qr-code', 'qr-code-color-bg', $qr-code-color-bg);
|
|
46
|
+
$qr-code-color-mask-bg: theme-runtime.token(
|
|
47
|
+
'qr-code',
|
|
48
|
+
'qr-code-color-mask-bg',
|
|
49
|
+
$qr-code-color-mask-bg
|
|
50
|
+
);
|
|
51
|
+
$qr-code-color-text: theme-runtime.token('qr-code', 'qr-code-color-text', $qr-code-color-text);
|
|
52
|
+
$qr-code-color-text-secondary: theme-runtime.token(
|
|
53
|
+
'qr-code',
|
|
54
|
+
'qr-code-color-text-secondary',
|
|
55
|
+
$qr-code-color-text-secondary
|
|
56
|
+
);
|
|
57
|
+
$qr-code-color-refresh: theme-runtime.token('qr-code', 'qr-code-color-refresh', $color-primary-6);
|
|
58
|
+
$qr-code-color-scanned: theme-runtime.token('qr-code', 'qr-code-color-scanned', $color-success-6);
|
|
59
|
+
$qr-code-color-expired: theme-runtime.token('qr-code', 'qr-code-color-expired', $color-danger-6);
|
|
60
|
+
$qr-code-border-radius: theme-runtime.token(
|
|
61
|
+
'qr-code',
|
|
62
|
+
'qr-code-border-radius',
|
|
63
|
+
$qr-code-border-radius
|
|
64
|
+
);
|
|
65
|
+
$qr-code-padding: theme-runtime.token('qr-code', 'qr-code-padding', $qr-code-padding, 'spacing-5');
|
|
66
|
+
$qr-code-icon-padding: theme-runtime.token(
|
|
67
|
+
'qr-code',
|
|
68
|
+
'qr-code-icon-padding',
|
|
69
|
+
$qr-code-icon-padding,
|
|
70
|
+
'spacing-3'
|
|
71
|
+
);
|
|
72
|
+
$qr-code-status-gap: theme-runtime.token(
|
|
73
|
+
'qr-code',
|
|
74
|
+
'qr-code-status-gap',
|
|
75
|
+
$qr-code-status-gap,
|
|
76
|
+
'spacing-4'
|
|
77
|
+
);
|
|
78
|
+
$qr-code-font-size: theme-runtime.token(
|
|
79
|
+
'qr-code',
|
|
80
|
+
'qr-code-font-size',
|
|
81
|
+
$qr-code-font-size,
|
|
82
|
+
'font-size-body-3'
|
|
83
|
+
);
|
|
84
|
+
$qr-code-font-size-secondary: theme-runtime.token(
|
|
85
|
+
'qr-code',
|
|
86
|
+
'qr-code-font-size-secondary',
|
|
87
|
+
$qr-code-font-size-secondary,
|
|
88
|
+
'font-size-body-2'
|
|
89
|
+
);
|
|
90
|
+
$qr-code-font-weight: theme-runtime.token(
|
|
91
|
+
'qr-code',
|
|
92
|
+
'qr-code-font-weight',
|
|
93
|
+
$qr-code-font-weight,
|
|
94
|
+
'font-weight-500'
|
|
95
|
+
);
|
package/es/radio/style/index.css
CHANGED
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
display: inline-flex;
|
|
40
40
|
align-items: center;
|
|
41
41
|
padding-left: 5px;
|
|
42
|
-
font-size: 14px;
|
|
42
|
+
font-size: var(--component-radio-radio-font-text-size, var(--component-radio-font-text-size, var(--font-size-body-3, 14px)));
|
|
43
43
|
line-height: unset;
|
|
44
44
|
cursor: pointer;
|
|
45
45
|
}
|
|
46
46
|
.sd-radio-label {
|
|
47
|
-
margin-left: 8px;
|
|
48
|
-
color: var(--sd-color-text-1);
|
|
47
|
+
margin-left: var(--component-radio-radio-margin-text-left, var(--component-radio-margin-text-left, var(--spacing-4, 8px)));
|
|
48
|
+
color: var(--component-radio-radio-color-text, var(--component-radio-color-text, var(--sd-color-text-1)));
|
|
49
49
|
}
|
|
50
50
|
.sd-radio-icon {
|
|
51
51
|
position: relative;
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
width: 14px;
|
|
55
55
|
height: 14px;
|
|
56
56
|
line-height: 14px;
|
|
57
|
-
border: 2px solid var(--sd-color-neutral-3);
|
|
58
|
-
border-radius: var(--sd-border-radius-circle);
|
|
57
|
+
border: 2px solid var(--component-radio-radio-color-border, var(--component-radio-color-border, var(--sd-color-neutral-3)));
|
|
58
|
+
border-radius: var(--component-radio-radio-border-radius, var(--component-radio-border-radius, var(--sd-border-radius-circle)));
|
|
59
59
|
}
|
|
60
60
|
.sd-radio-icon::after {
|
|
61
61
|
position: absolute;
|
|
@@ -65,25 +65,25 @@
|
|
|
65
65
|
box-sizing: border-box;
|
|
66
66
|
width: 10px;
|
|
67
67
|
height: 10px;
|
|
68
|
-
background-color: var(--sd-color-bg-2);
|
|
69
|
-
border-radius: var(--sd-border-radius-circle);
|
|
68
|
+
background-color: var(--component-radio-radio-color-bg, var(--component-radio-color-bg, var(--sd-color-bg-2)));
|
|
69
|
+
border-radius: var(--component-radio-radio-border-radius, var(--component-radio-border-radius, var(--sd-border-radius-circle)));
|
|
70
70
|
transform: scale(1);
|
|
71
71
|
transition: transform 0.3s cubic-bezier(0.3, 1.3, 0.3, 1);
|
|
72
72
|
content: "";
|
|
73
73
|
}
|
|
74
74
|
.sd-radio:hover .sd-radio-icon {
|
|
75
|
-
border-color: var(--sd-color-neutral-3);
|
|
75
|
+
border-color: var(--component-radio-radio-color-border-hover, var(--component-radio-color-border-hover, var(--sd-color-neutral-3)));
|
|
76
76
|
}
|
|
77
77
|
.sd-radio-checked .sd-radio-icon {
|
|
78
|
-
background-color: rgb(var(--sd-primary-6));
|
|
79
|
-
border-color: rgb(var(--sd-primary-6));
|
|
78
|
+
background-color: var(--component-radio-radio-color-bg-checked, var(--component-radio-color-bg-checked, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
|
|
79
|
+
border-color: var(--component-radio-radio-color-bg-checked, var(--component-radio-color-bg-checked, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
|
|
80
80
|
}
|
|
81
81
|
.sd-radio-checked .sd-radio-icon::after {
|
|
82
82
|
background-color: var(--sd-color-white);
|
|
83
83
|
transform: scale(0.4);
|
|
84
84
|
}
|
|
85
85
|
.sd-radio-checked:hover .sd-radio-icon {
|
|
86
|
-
border-color: rgb(var(--sd-primary-6));
|
|
86
|
+
border-color: var(--component-radio-radio-color-bg-checked, var(--component-radio-color-bg-checked, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
|
|
87
87
|
}
|
|
88
88
|
.sd-radio-disabled {
|
|
89
89
|
cursor: not-allowed;
|
|
@@ -92,29 +92,29 @@
|
|
|
92
92
|
cursor: not-allowed;
|
|
93
93
|
}
|
|
94
94
|
.sd-radio-disabled .sd-radio-label {
|
|
95
|
-
color: var(--sd-color-text-4);
|
|
95
|
+
color: var(--component-radio-radio-color-text-disabled, var(--component-radio-color-text-disabled, var(--sd-color-text-4)));
|
|
96
96
|
}
|
|
97
97
|
.sd-radio-disabled .sd-radio-icon {
|
|
98
|
-
border-color: var(--sd-color-neutral-3);
|
|
98
|
+
border-color: var(--component-radio-radio-color-border-disabled, var(--component-radio-color-border-disabled, var(--sd-color-neutral-3)));
|
|
99
99
|
}
|
|
100
100
|
.sd-radio-disabled .sd-radio-icon::after {
|
|
101
|
-
background-color: var(--sd-color-fill-2);
|
|
101
|
+
background-color: var(--component-radio-radio-color-bg-disabled, var(--component-radio-color-bg-disabled, var(--sd-color-fill-2)));
|
|
102
102
|
}
|
|
103
103
|
.sd-radio-disabled:hover .sd-radio-icon {
|
|
104
|
-
border-color: var(--sd-color-neutral-3);
|
|
104
|
+
border-color: var(--component-radio-radio-color-border-disabled, var(--component-radio-color-border-disabled, var(--sd-color-neutral-3)));
|
|
105
105
|
}
|
|
106
106
|
.sd-radio-checked.sd-radio-disabled .sd-radio-icon, .sd-radio-checked.sd-radio-disabled:hover .sd-radio-icon {
|
|
107
|
-
background-color: var(--sd-color-primary-light-3);
|
|
107
|
+
background-color: var(--component-radio-radio-color-bg-checked-disabled, var(--component-radio-color-bg-checked-disabled, var(--sd-color-primary-light-3)));
|
|
108
108
|
border-color: transparent;
|
|
109
109
|
}
|
|
110
110
|
.sd-radio-checked.sd-radio-disabled .sd-radio-icon::after {
|
|
111
|
-
background-color: var(--sd-color-fill-2);
|
|
111
|
+
background-color: var(--component-radio-radio-color-dot-bg-checked-disabled, var(--component-radio-color-dot-bg-checked-disabled, var(--component-radio-radio-color-bg-disabled, var(--component-radio-color-bg-disabled, var(--sd-color-fill-2)))));
|
|
112
112
|
}
|
|
113
113
|
.sd-radio-checked.sd-radio-disabled .sd-radio-label {
|
|
114
|
-
color: var(--sd-color-text-4);
|
|
114
|
+
color: var(--component-radio-radio-color-text-checked-disabled, var(--component-radio-color-text-checked-disabled, var(--sd-color-text-4)));
|
|
115
115
|
}
|
|
116
116
|
.sd-radio:hover .sd-radio-icon-hover::before {
|
|
117
|
-
background-color: var(--sd-color-neutral-2);
|
|
117
|
+
background-color: var(--component-radio-radio-mask-bg-color-bg, var(--component-radio-mask-bg-color-bg, var(--sd-color-neutral-2)));
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
.sd-radio-group {
|
|
@@ -122,32 +122,33 @@
|
|
|
122
122
|
box-sizing: border-box;
|
|
123
123
|
}
|
|
124
124
|
.sd-radio-group .sd-radio {
|
|
125
|
-
margin-right: 20px;
|
|
125
|
+
margin-right: var(--component-radio-radio-group-margin-right, var(--component-radio-group-margin-right, var(--spacing-8, 20px)));
|
|
126
126
|
}
|
|
127
127
|
.sd-radio-group-button {
|
|
128
128
|
display: inline-flex;
|
|
129
|
+
width: fit-content;
|
|
129
130
|
padding: 1.5px;
|
|
130
131
|
line-height: 26px;
|
|
131
|
-
background-color: var(--sd-color-fill-2);
|
|
132
|
-
border-radius: var(--sd-border-radius-small);
|
|
132
|
+
background-color: var(--component-radio-radio-group-button-color-bg, var(--component-radio-group-button-color-bg, var(--sd-color-fill-2)));
|
|
133
|
+
border-radius: var(--component-radio-radio-button-bg-border-radius, var(--component-radio-button-bg-border-radius, var(--component-radio-radio-button-border-radius, var(--component-radio-button-border-radius, var(--sd-border-radius-small)))));
|
|
133
134
|
}
|
|
134
135
|
|
|
135
136
|
.sd-radio-button {
|
|
136
137
|
position: relative;
|
|
137
138
|
display: inline-block;
|
|
138
139
|
margin: 1.5px;
|
|
139
|
-
color: var(--sd-color-text-2);
|
|
140
|
-
font-size: 14px;
|
|
140
|
+
color: var(--component-radio-radio-button-color-text, var(--component-radio-button-color-text, var(--sd-color-text-2)));
|
|
141
|
+
font-size: var(--component-radio-radio-font-text-size, var(--component-radio-font-text-size, var(--font-size-body-3, 14px)));
|
|
141
142
|
line-height: 26px;
|
|
142
|
-
background-color: transparent;
|
|
143
|
-
border-radius: var(--sd-border-radius-small);
|
|
143
|
+
background-color: var(--component-radio-radio-button-color-bg, var(--component-radio-button-color-bg, var(--color-transparent, var(--sd-color-transparent, transparent))));
|
|
144
|
+
border-radius: var(--component-radio-radio-button-border-radius, var(--component-radio-button-border-radius, var(--sd-border-radius-small)));
|
|
144
145
|
cursor: pointer;
|
|
145
146
|
transition: color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1), background-color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
146
147
|
}
|
|
147
148
|
.sd-radio-button-content {
|
|
148
149
|
position: relative;
|
|
149
150
|
display: block;
|
|
150
|
-
padding: 0 12px;
|
|
151
|
+
padding: 0 var(--component-radio-radio-button-padding-horizontal, var(--component-radio-button-padding-horizontal, var(--spacing-6, 12px)));
|
|
151
152
|
}
|
|
152
153
|
.sd-radio-button:not(:first-of-type)::before {
|
|
153
154
|
position: absolute;
|
|
@@ -155,8 +156,8 @@
|
|
|
155
156
|
left: -2px;
|
|
156
157
|
display: block;
|
|
157
158
|
width: 1px;
|
|
158
|
-
height: 14px;
|
|
159
|
-
background-color: var(--sd-color-neutral-3);
|
|
159
|
+
height: var(--component-radio-radio-button-size-separator-height, var(--component-radio-button-size-separator-height, 14px));
|
|
160
|
+
background-color: var(--component-radio-radio-button-color-separator-bg, var(--component-radio-button-color-separator-bg, var(--sd-color-neutral-3)));
|
|
160
161
|
transform: translateY(-50%);
|
|
161
162
|
transition: opacity 0.1s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
162
163
|
content: "";
|
|
@@ -165,21 +166,21 @@
|
|
|
165
166
|
opacity: 0;
|
|
166
167
|
}
|
|
167
168
|
.sd-radio-button:hover {
|
|
168
|
-
color: var(--sd-color-text-1);
|
|
169
|
-
background-color: var(--sd-color-bg-5);
|
|
169
|
+
color: var(--component-radio-radio-button-color-text-hover, var(--component-radio-button-color-text-hover, var(--component-radio-radio-color-text, var(--component-radio-color-text, var(--sd-color-text-1)))));
|
|
170
|
+
background-color: var(--component-radio-radio-button-color-bg-hover, var(--component-radio-button-color-bg-hover, var(--component-radio-radio-button-color-bg-active, var(--component-radio-button-color-bg-active, var(--sd-color-bg-5)))));
|
|
170
171
|
}
|
|
171
172
|
.sd-radio-button.sd-radio-checked {
|
|
172
|
-
color: rgb(var(--sd-primary-6));
|
|
173
|
-
background-color: var(--sd-color-bg-5);
|
|
173
|
+
color: var(--component-radio-radio-button-color-text-active, var(--component-radio-button-color-text-active, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
|
|
174
|
+
background-color: var(--component-radio-radio-button-color-bg-active, var(--component-radio-button-color-bg-active, var(--sd-color-bg-5)));
|
|
174
175
|
}
|
|
175
176
|
.sd-radio-button.sd-radio-disabled {
|
|
176
|
-
color: var(--sd-color-text-4);
|
|
177
|
-
background-color: transparent;
|
|
177
|
+
color: var(--component-radio-radio-button-color-text-disabled, var(--component-radio-button-color-text-disabled, var(--sd-color-text-4)));
|
|
178
|
+
background-color: var(--component-radio-radio-button-color-bg-disabled, var(--component-radio-button-color-bg-disabled, var(--color-transparent, var(--sd-color-transparent, transparent))));
|
|
178
179
|
cursor: not-allowed;
|
|
179
180
|
}
|
|
180
181
|
.sd-radio-button.sd-radio-disabled.sd-radio-checked {
|
|
181
|
-
color: var(--sd-color-primary-light-3);
|
|
182
|
-
background-color: var(--sd-color-bg-5);
|
|
182
|
+
color: var(--component-radio-radio-button-color-text-checked-disabled, var(--component-radio-button-color-text-checked-disabled, var(--sd-color-primary-light-3)));
|
|
183
|
+
background-color: var(--component-radio-radio-button-color-bg-checked-disabled, var(--component-radio-button-color-bg-checked-disabled, var(--component-radio-radio-button-color-bg-active, var(--component-radio-button-color-bg-active, var(--sd-color-bg-5)))));
|
|
183
184
|
}
|
|
184
185
|
|
|
185
186
|
.sd-radio-group-size-small {
|
|
@@ -187,7 +188,7 @@
|
|
|
187
188
|
}
|
|
188
189
|
.sd-radio-group-size-small.sd-radio-group-button,
|
|
189
190
|
.sd-radio-group-size-small .sd-radio-button {
|
|
190
|
-
font-size: 14px;
|
|
191
|
+
font-size: var(--component-radio-radio-font-text-size-small, var(--component-radio-font-text-size-small, var(--font-size-body-3, 14px)));
|
|
191
192
|
line-height: 22px;
|
|
192
193
|
}
|
|
193
194
|
.sd-radio-group-size-large {
|
|
@@ -195,7 +196,7 @@
|
|
|
195
196
|
}
|
|
196
197
|
.sd-radio-group-size-large.sd-radio-group-button,
|
|
197
198
|
.sd-radio-group-size-large .sd-radio-button {
|
|
198
|
-
font-size: 14px;
|
|
199
|
+
font-size: var(--component-radio-radio-font-text-size-large, var(--component-radio-font-text-size-large, var(--font-size-body-3, 14px)));
|
|
199
200
|
line-height: 30px;
|
|
200
201
|
}
|
|
201
202
|
.sd-radio-group-size-mini {
|
|
@@ -203,20 +204,20 @@
|
|
|
203
204
|
}
|
|
204
205
|
.sd-radio-group-size-mini.sd-radio-group-button,
|
|
205
206
|
.sd-radio-group-size-mini .sd-radio-button {
|
|
206
|
-
font-size: 12px;
|
|
207
|
+
font-size: var(--component-radio-radio-font-text-size-mini, var(--component-radio-font-text-size-mini, var(--font-size-body-1, 12px)));
|
|
207
208
|
line-height: 18px;
|
|
208
209
|
}
|
|
209
210
|
|
|
210
211
|
.sd-radio-group-direction-vertical .sd-radio {
|
|
211
212
|
display: flex;
|
|
212
213
|
margin-right: 0;
|
|
213
|
-
line-height: 32px;
|
|
214
|
+
line-height: var(--component-radio-radio-group-size-line-height-vertical, var(--component-radio-group-size-line-height-vertical, var(--size-8, 32px)));
|
|
214
215
|
}
|
|
215
216
|
|
|
216
|
-
:where(body, [sd-theme])[sd-theme=dark] .sd-radio-button.sd-radio-checked,
|
|
217
|
-
:where(body, [sd-theme])[sd-theme=dark] .sd-radio-button:not(.sd-radio-disabled):hover {
|
|
217
|
+
:where(body, [sd-theme], [data-sd-theme])[sd-theme=dark] .sd-radio-button.sd-radio-checked,
|
|
218
|
+
:where(body, [sd-theme], [data-sd-theme])[sd-theme=dark] .sd-radio-button:not(.sd-radio-disabled):hover {
|
|
218
219
|
background-color: var(--sd-color-fill-3);
|
|
219
220
|
}
|
|
220
|
-
:where(body, [sd-theme])[sd-theme=dark] .sd-radio-button::after {
|
|
221
|
+
:where(body, [sd-theme], [data-sd-theme])[sd-theme=dark] .sd-radio-button::after {
|
|
221
222
|
background-color: var(--sd-color-bg-3);
|
|
222
223
|
}
|
|
@@ -144,6 +144,7 @@ $radio-prefix-cls: string.unquote('#{theme.$prefix}-radio');
|
|
|
144
144
|
// button type
|
|
145
145
|
&-button {
|
|
146
146
|
display: inline-flex;
|
|
147
|
+
width: fit-content;
|
|
147
148
|
padding: ($radio-button-spacing * 0.5);
|
|
148
149
|
line-height: $radio-size-default-height - $radio-button-spacing * 2;
|
|
149
150
|
background-color: $radio-group-button-color-bg;
|