@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
package/es/menu/style/token.scss
CHANGED
|
@@ -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';
|
|
@@ -143,3 +144,392 @@ $dropdown-dark-option-color-text_disabled: var(
|
|
|
143
144
|
$dropdown-dark-group-title-color-text: var(
|
|
144
145
|
string.unquote('#{global.$sd-cssvars-prefix}-color-text-3')
|
|
145
146
|
);
|
|
147
|
+
|
|
148
|
+
// @generated runtime tokens — pnpm theme:generate
|
|
149
|
+
$menu-font-size: theme-runtime.token('menu', 'menu-font-size', $menu-font-size);
|
|
150
|
+
$menu-line-height: theme-runtime.token('menu', 'menu-line-height', $line-height-base);
|
|
151
|
+
$menu-border-radius: theme-runtime.token('menu', 'menu-border-radius', $menu-border-radius);
|
|
152
|
+
$menu-font-weight-item-selected: theme-runtime.token(
|
|
153
|
+
'menu',
|
|
154
|
+
'menu-font-weight-item-selected',
|
|
155
|
+
$menu-font-weight-item-selected,
|
|
156
|
+
'font-weight-500'
|
|
157
|
+
);
|
|
158
|
+
$menu-color-label-item-selected: theme-runtime.token(
|
|
159
|
+
'menu',
|
|
160
|
+
'menu-color-label-item-selected',
|
|
161
|
+
$menu-color-label-item-selected,
|
|
162
|
+
'color-primary-6'
|
|
163
|
+
);
|
|
164
|
+
$menu-height-label-item-selected: theme-runtime.token(
|
|
165
|
+
'menu',
|
|
166
|
+
'menu-height-label-item-selected',
|
|
167
|
+
$menu-height-label-item-selected
|
|
168
|
+
);
|
|
169
|
+
$menu-margin-left-item-suffix-icon: theme-runtime.token(
|
|
170
|
+
'menu',
|
|
171
|
+
'menu-margin-left-item-suffix-icon',
|
|
172
|
+
$menu-margin-left-item-suffix-icon,
|
|
173
|
+
'spacing-3'
|
|
174
|
+
);
|
|
175
|
+
$menu-item-gap: theme-runtime.token('menu', 'menu-item-gap', $menu-item-gap, 'spacing-2');
|
|
176
|
+
$menu-item-indent-spacing: theme-runtime.token(
|
|
177
|
+
'menu',
|
|
178
|
+
'menu-item-indent-spacing',
|
|
179
|
+
$menu-item-indent-spacing,
|
|
180
|
+
'spacing-8'
|
|
181
|
+
);
|
|
182
|
+
$menu-width-collapse-button: theme-runtime.token(
|
|
183
|
+
'menu',
|
|
184
|
+
'menu-width-collapse-button',
|
|
185
|
+
$menu-width-collapse-button,
|
|
186
|
+
'size-6'
|
|
187
|
+
);
|
|
188
|
+
$menu-height-collapse-button: theme-runtime.token(
|
|
189
|
+
'menu',
|
|
190
|
+
'menu-height-collapse-button',
|
|
191
|
+
$menu-height-collapse-button,
|
|
192
|
+
'size-6'
|
|
193
|
+
);
|
|
194
|
+
$menu-border-radius-collapse-button: theme-runtime.token(
|
|
195
|
+
'menu',
|
|
196
|
+
'menu-border-radius-collapse-button',
|
|
197
|
+
$menu-border-radius-collapse-button
|
|
198
|
+
);
|
|
199
|
+
$menu-light-color-bg: theme-runtime.token('menu', 'menu-light-color-bg', $menu-light-color-bg);
|
|
200
|
+
$menu-light-color-bg-item_default: theme-runtime.token(
|
|
201
|
+
'menu',
|
|
202
|
+
'menu-light-color-bg-item-default',
|
|
203
|
+
$menu-light-color-bg
|
|
204
|
+
);
|
|
205
|
+
$menu-light-color-bg-item_hover: theme-runtime.token(
|
|
206
|
+
'menu',
|
|
207
|
+
'menu-light-color-bg-item-hover',
|
|
208
|
+
$menu-light-color-bg-item_hover
|
|
209
|
+
);
|
|
210
|
+
$menu-light-color-bg-item_selected: theme-runtime.token(
|
|
211
|
+
'menu',
|
|
212
|
+
'menu-light-color-bg-item-selected',
|
|
213
|
+
$menu-light-color-bg-item_selected
|
|
214
|
+
);
|
|
215
|
+
$menu-light-color-bg-item_disabled: theme-runtime.token(
|
|
216
|
+
'menu',
|
|
217
|
+
'menu-light-color-bg-item-disabled',
|
|
218
|
+
$menu-light-color-bg
|
|
219
|
+
);
|
|
220
|
+
$menu-light-color-item_default: theme-runtime.token(
|
|
221
|
+
'menu',
|
|
222
|
+
'menu-light-color-item-default',
|
|
223
|
+
$menu-light-color-item_default
|
|
224
|
+
);
|
|
225
|
+
$menu-light-color-item_hover: theme-runtime.token(
|
|
226
|
+
'menu',
|
|
227
|
+
'menu-light-color-item-hover',
|
|
228
|
+
$menu-light-color-item_hover
|
|
229
|
+
);
|
|
230
|
+
$menu-light-color-item_selected: theme-runtime.token(
|
|
231
|
+
'menu',
|
|
232
|
+
'menu-light-color-item-selected',
|
|
233
|
+
$menu-light-color-item_selected,
|
|
234
|
+
'color-primary-6'
|
|
235
|
+
);
|
|
236
|
+
$menu-light-color-submenu_selected: theme-runtime.token(
|
|
237
|
+
'menu',
|
|
238
|
+
'menu-light-color-submenu-selected',
|
|
239
|
+
$menu-light-color-submenu_selected,
|
|
240
|
+
'color-primary-6'
|
|
241
|
+
);
|
|
242
|
+
$menu-light-color-bg-submenu_selected_hover: theme-runtime.token(
|
|
243
|
+
'menu',
|
|
244
|
+
'menu-light-color-bg-submenu-selected-hover',
|
|
245
|
+
$menu-light-color-bg-submenu_selected_hover
|
|
246
|
+
);
|
|
247
|
+
$menu-light-color-item_disabled: theme-runtime.token(
|
|
248
|
+
'menu',
|
|
249
|
+
'menu-light-color-item-disabled',
|
|
250
|
+
$menu-light-color-item_disabled
|
|
251
|
+
);
|
|
252
|
+
$menu-light-color-icon_default: theme-runtime.token(
|
|
253
|
+
'menu',
|
|
254
|
+
'menu-light-color-icon-default',
|
|
255
|
+
$menu-light-color-icon_default
|
|
256
|
+
);
|
|
257
|
+
$menu-light-color-icon_hover: theme-runtime.token(
|
|
258
|
+
'menu',
|
|
259
|
+
'menu-light-color-icon-hover',
|
|
260
|
+
$menu-light-color-icon_hover
|
|
261
|
+
);
|
|
262
|
+
$menu-light-color-icon_selected: theme-runtime.token(
|
|
263
|
+
'menu',
|
|
264
|
+
'menu-light-color-icon-selected',
|
|
265
|
+
$menu-light-color-icon_selected,
|
|
266
|
+
'color-primary-6'
|
|
267
|
+
);
|
|
268
|
+
$menu-light-color-icon_disabled: theme-runtime.token(
|
|
269
|
+
'menu',
|
|
270
|
+
'menu-light-color-icon-disabled',
|
|
271
|
+
$menu-light-color-icon_disabled
|
|
272
|
+
);
|
|
273
|
+
$menu-light-color-group-title: theme-runtime.token(
|
|
274
|
+
'menu',
|
|
275
|
+
'menu-light-color-group-title',
|
|
276
|
+
$menu-light-color-group-title
|
|
277
|
+
);
|
|
278
|
+
$menu-dark-color-bg: theme-runtime.token('menu', 'menu-dark-color-bg', $menu-dark-color-bg);
|
|
279
|
+
$menu-dark-color-bg-item_default: theme-runtime.token(
|
|
280
|
+
'menu',
|
|
281
|
+
'menu-dark-color-bg-item-default',
|
|
282
|
+
$menu-dark-color-bg
|
|
283
|
+
);
|
|
284
|
+
$menu-dark-color-bg-item_hover: theme-runtime.token(
|
|
285
|
+
'menu',
|
|
286
|
+
'menu-dark-color-bg-item-hover',
|
|
287
|
+
$menu-dark-color-bg-item_hover
|
|
288
|
+
);
|
|
289
|
+
$menu-dark-color-bg-item_selected: theme-runtime.token(
|
|
290
|
+
'menu',
|
|
291
|
+
'menu-dark-color-bg-item-selected',
|
|
292
|
+
$menu-dark-color-bg-item_selected
|
|
293
|
+
);
|
|
294
|
+
$menu-dark-color-bg-item_disabled: theme-runtime.token(
|
|
295
|
+
'menu',
|
|
296
|
+
'menu-dark-color-bg-item-disabled',
|
|
297
|
+
$menu-dark-color-bg
|
|
298
|
+
);
|
|
299
|
+
$menu-dark-color-submenu_selected: theme-runtime.token(
|
|
300
|
+
'menu',
|
|
301
|
+
'menu-dark-color-submenu-selected',
|
|
302
|
+
$menu-dark-color-submenu_selected,
|
|
303
|
+
'color-primary-6'
|
|
304
|
+
);
|
|
305
|
+
$menu-dark-color-bg-submenu_selected_hover: theme-runtime.token(
|
|
306
|
+
'menu',
|
|
307
|
+
'menu-dark-color-bg-submenu-selected-hover',
|
|
308
|
+
$menu-dark-color-bg-submenu_selected_hover
|
|
309
|
+
);
|
|
310
|
+
$menu-dark-color-item_default: theme-runtime.token(
|
|
311
|
+
'menu',
|
|
312
|
+
'menu-dark-color-item-default',
|
|
313
|
+
$menu-dark-color-item_default
|
|
314
|
+
);
|
|
315
|
+
$menu-dark-color-item_hover: theme-runtime.token(
|
|
316
|
+
'menu',
|
|
317
|
+
'menu-dark-color-item-hover',
|
|
318
|
+
$menu-dark-color-item_hover
|
|
319
|
+
);
|
|
320
|
+
$menu-dark-color-item_selected: theme-runtime.token(
|
|
321
|
+
'menu',
|
|
322
|
+
'menu-dark-color-item-selected',
|
|
323
|
+
$menu-dark-color-item_selected
|
|
324
|
+
);
|
|
325
|
+
$menu-dark-color-item_disabled: theme-runtime.token(
|
|
326
|
+
'menu',
|
|
327
|
+
'menu-dark-color-item-disabled',
|
|
328
|
+
$menu-dark-color-item_disabled
|
|
329
|
+
);
|
|
330
|
+
$menu-dark-color-icon_default: theme-runtime.token(
|
|
331
|
+
'menu',
|
|
332
|
+
'menu-dark-color-icon-default',
|
|
333
|
+
$menu-dark-color-icon_default
|
|
334
|
+
);
|
|
335
|
+
$menu-dark-color-icon_hover: theme-runtime.token(
|
|
336
|
+
'menu',
|
|
337
|
+
'menu-dark-color-icon-hover',
|
|
338
|
+
$menu-dark-color-icon_hover
|
|
339
|
+
);
|
|
340
|
+
$menu-dark-color-icon_selected: theme-runtime.token(
|
|
341
|
+
'menu',
|
|
342
|
+
'menu-dark-color-icon-selected',
|
|
343
|
+
$menu-dark-color-icon_selected
|
|
344
|
+
);
|
|
345
|
+
$menu-dark-color-icon_disabled: theme-runtime.token(
|
|
346
|
+
'menu',
|
|
347
|
+
'menu-dark-color-icon-disabled',
|
|
348
|
+
$menu-dark-color-icon_disabled
|
|
349
|
+
);
|
|
350
|
+
$menu-dark-color-group-title: theme-runtime.token(
|
|
351
|
+
'menu',
|
|
352
|
+
'menu-dark-color-group-title',
|
|
353
|
+
$menu-dark-color-group-title
|
|
354
|
+
);
|
|
355
|
+
$menu-color-border-popup: theme-runtime.token(
|
|
356
|
+
'menu',
|
|
357
|
+
'menu-color-border-popup',
|
|
358
|
+
$menu-color-border-popup
|
|
359
|
+
);
|
|
360
|
+
$menu-light-color-bg-button: theme-runtime.token(
|
|
361
|
+
'menu',
|
|
362
|
+
'menu-light-color-bg-button',
|
|
363
|
+
$menu-light-color-bg-button
|
|
364
|
+
);
|
|
365
|
+
$menu-light-color-bg-button_hover: theme-runtime.token(
|
|
366
|
+
'menu',
|
|
367
|
+
'menu-light-color-bg-button-hover',
|
|
368
|
+
$menu-light-color-bg-button_hover
|
|
369
|
+
);
|
|
370
|
+
$menu-light-color-button: theme-runtime.token(
|
|
371
|
+
'menu',
|
|
372
|
+
'menu-light-color-button',
|
|
373
|
+
$menu-light-color-button
|
|
374
|
+
);
|
|
375
|
+
$menu-dark-color-bg-button: theme-runtime.token(
|
|
376
|
+
'menu',
|
|
377
|
+
'menu-dark-color-bg-button',
|
|
378
|
+
$menu-dark-color-bg-button,
|
|
379
|
+
'color-primary-6'
|
|
380
|
+
);
|
|
381
|
+
$menu-dark-color-bg-button_hover: theme-runtime.token(
|
|
382
|
+
'menu',
|
|
383
|
+
'menu-dark-color-bg-button-hover',
|
|
384
|
+
$menu-dark-color-bg-button_hover,
|
|
385
|
+
'color-primary-7'
|
|
386
|
+
);
|
|
387
|
+
$menu-dark-color-button: theme-runtime.token(
|
|
388
|
+
'menu',
|
|
389
|
+
'menu-dark-color-button',
|
|
390
|
+
$menu-dark-color-button
|
|
391
|
+
);
|
|
392
|
+
$menu-horizontal-padding-vertical: theme-runtime.token(
|
|
393
|
+
'menu',
|
|
394
|
+
'menu-horizontal-padding-vertical',
|
|
395
|
+
$menu-horizontal-padding-vertical
|
|
396
|
+
);
|
|
397
|
+
$menu-horizontal-padding-horizontal: theme-runtime.token(
|
|
398
|
+
'menu',
|
|
399
|
+
'menu-horizontal-padding-horizontal',
|
|
400
|
+
$menu-horizontal-padding-horizontal,
|
|
401
|
+
'spacing-8'
|
|
402
|
+
);
|
|
403
|
+
$menu-horizontal-item-gap: theme-runtime.token(
|
|
404
|
+
'menu',
|
|
405
|
+
'menu-horizontal-item-gap',
|
|
406
|
+
$menu-horizontal-item-gap,
|
|
407
|
+
'spacing-6'
|
|
408
|
+
);
|
|
409
|
+
$menu-horizontal-item-height: theme-runtime.token(
|
|
410
|
+
'menu',
|
|
411
|
+
'menu-horizontal-item-height',
|
|
412
|
+
$menu-horizontal-item-height
|
|
413
|
+
);
|
|
414
|
+
$menu-horizontal-item-padding-horizontal: theme-runtime.token(
|
|
415
|
+
'menu',
|
|
416
|
+
'menu-horizontal-item-padding-horizontal',
|
|
417
|
+
$menu-horizontal-item-padding-horizontal,
|
|
418
|
+
'spacing-6'
|
|
419
|
+
);
|
|
420
|
+
$menu-vertical-padding-vertical: theme-runtime.token(
|
|
421
|
+
'menu',
|
|
422
|
+
'menu-vertical-padding-vertical',
|
|
423
|
+
$menu-vertical-padding-vertical,
|
|
424
|
+
'spacing-2'
|
|
425
|
+
);
|
|
426
|
+
$menu-vertical-padding-horizontal: theme-runtime.token(
|
|
427
|
+
'menu',
|
|
428
|
+
'menu-vertical-padding-horizontal',
|
|
429
|
+
$menu-vertical-padding-horizontal,
|
|
430
|
+
'spacing-4'
|
|
431
|
+
);
|
|
432
|
+
$menu-vertical-item-height: theme-runtime.token(
|
|
433
|
+
'menu',
|
|
434
|
+
'menu-vertical-item-height',
|
|
435
|
+
$menu-vertical-item-height
|
|
436
|
+
);
|
|
437
|
+
$menu-collapse-width: theme-runtime.token(
|
|
438
|
+
'menu',
|
|
439
|
+
'menu-collapse-width',
|
|
440
|
+
$menu-collapse-width,
|
|
441
|
+
'size-12'
|
|
442
|
+
);
|
|
443
|
+
$menu-collapse-padding-vertical: theme-runtime.token(
|
|
444
|
+
'menu',
|
|
445
|
+
'menu-collapse-padding-vertical',
|
|
446
|
+
$menu-collapse-padding-vertical,
|
|
447
|
+
'spacing-2'
|
|
448
|
+
);
|
|
449
|
+
$menu-collapse-padding-horizontal: theme-runtime.token(
|
|
450
|
+
'menu',
|
|
451
|
+
'menu-collapse-padding-horizontal',
|
|
452
|
+
$menu-collapse-padding-horizontal,
|
|
453
|
+
'spacing-2'
|
|
454
|
+
);
|
|
455
|
+
$menu-pop-button-size: theme-runtime.token(
|
|
456
|
+
'menu',
|
|
457
|
+
'menu-pop-button-size',
|
|
458
|
+
$menu-pop-button-size,
|
|
459
|
+
'size-10'
|
|
460
|
+
);
|
|
461
|
+
$menu-pop-button-margin-bottom: theme-runtime.token(
|
|
462
|
+
'menu',
|
|
463
|
+
'menu-pop-button-margin-bottom',
|
|
464
|
+
$menu-pop-button-margin-bottom,
|
|
465
|
+
'spacing-7'
|
|
466
|
+
);
|
|
467
|
+
$menu-pop-button-box-shadow: theme-runtime.token(
|
|
468
|
+
'menu',
|
|
469
|
+
'menu-pop-button-box-shadow',
|
|
470
|
+
$menu-pop-button-box-shadow
|
|
471
|
+
);
|
|
472
|
+
$menu-pop-button-border-color: theme-runtime.token(
|
|
473
|
+
'menu',
|
|
474
|
+
'menu-pop-button-border-color',
|
|
475
|
+
$menu-pop-button-border-color,
|
|
476
|
+
'color-transparent'
|
|
477
|
+
);
|
|
478
|
+
$dropdown-dark-color-bg: theme-runtime.token(
|
|
479
|
+
'menu',
|
|
480
|
+
'dropdown-dark-color-bg',
|
|
481
|
+
$dropdown-dark-color-bg
|
|
482
|
+
);
|
|
483
|
+
$dropdown-dark-color-border: theme-runtime.token(
|
|
484
|
+
'menu',
|
|
485
|
+
'dropdown-dark-color-border',
|
|
486
|
+
$dropdown-dark-color-bg
|
|
487
|
+
);
|
|
488
|
+
$dropdown-dark-option-color-bg_default: theme-runtime.token(
|
|
489
|
+
'menu',
|
|
490
|
+
'dropdown-dark-option-color-bg-default',
|
|
491
|
+
$dropdown-dark-option-color-bg_default,
|
|
492
|
+
'color-transparent'
|
|
493
|
+
);
|
|
494
|
+
$dropdown-dark-option-color-bg_hover: theme-runtime.token(
|
|
495
|
+
'menu',
|
|
496
|
+
'dropdown-dark-option-color-bg-hover',
|
|
497
|
+
$dropdown-dark-option-color-bg_hover
|
|
498
|
+
);
|
|
499
|
+
$dropdown-dark-option-color-bg_selected: theme-runtime.token(
|
|
500
|
+
'menu',
|
|
501
|
+
'dropdown-dark-option-color-bg-selected',
|
|
502
|
+
$dropdown-dark-option-color-bg_selected,
|
|
503
|
+
'color-transparent'
|
|
504
|
+
);
|
|
505
|
+
$dropdown-dark-option-color-bg_disabled: theme-runtime.token(
|
|
506
|
+
'menu',
|
|
507
|
+
'dropdown-dark-option-color-bg-disabled',
|
|
508
|
+
$dropdown-dark-option-color-bg_disabled,
|
|
509
|
+
'color-transparent'
|
|
510
|
+
);
|
|
511
|
+
$dropdown-dark-option-color-text_default: theme-runtime.token(
|
|
512
|
+
'menu',
|
|
513
|
+
'dropdown-dark-option-color-text-default',
|
|
514
|
+
$dropdown-dark-option-color-text_default
|
|
515
|
+
);
|
|
516
|
+
$dropdown-dark-option-color-text_hover: theme-runtime.token(
|
|
517
|
+
'menu',
|
|
518
|
+
'dropdown-dark-option-color-text-hover',
|
|
519
|
+
$dropdown-dark-option-color-text_hover
|
|
520
|
+
);
|
|
521
|
+
$dropdown-dark-option-color-text_selected: theme-runtime.token(
|
|
522
|
+
'menu',
|
|
523
|
+
'dropdown-dark-option-color-text-selected',
|
|
524
|
+
$dropdown-dark-option-color-text_selected
|
|
525
|
+
);
|
|
526
|
+
$dropdown-dark-option-color-text_disabled: theme-runtime.token(
|
|
527
|
+
'menu',
|
|
528
|
+
'dropdown-dark-option-color-text-disabled',
|
|
529
|
+
$dropdown-dark-option-color-text_disabled
|
|
530
|
+
);
|
|
531
|
+
$dropdown-dark-group-title-color-text: theme-runtime.token(
|
|
532
|
+
'menu',
|
|
533
|
+
'dropdown-dark-group-title-color-text',
|
|
534
|
+
$dropdown-dark-group-title-color-text
|
|
535
|
+
);
|
|
@@ -30,95 +30,95 @@
|
|
|
30
30
|
pointer-events: none;
|
|
31
31
|
}
|
|
32
32
|
.sd-message-list-top {
|
|
33
|
-
top: 40px;
|
|
33
|
+
top: var(--component-message-message-wrapper-margin-top, var(--component-message-wrapper-margin-top, var(--spacing-12, 40px)));
|
|
34
34
|
}
|
|
35
35
|
.sd-message-list-bottom {
|
|
36
|
-
bottom: 40px;
|
|
36
|
+
bottom: var(--component-message-message-wrapper-margin-bottom, var(--component-message-wrapper-margin-bottom, var(--spacing-12, 40px)));
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.sd-message {
|
|
40
40
|
position: relative;
|
|
41
41
|
display: inline-flex;
|
|
42
42
|
align-items: center;
|
|
43
|
-
margin-bottom: 16px;
|
|
44
|
-
padding: 10px 16px 10px 16px;
|
|
43
|
+
margin-bottom: var(--component-message-message-margin-bottom, var(--component-message-margin-bottom, var(--spacing-7, 16px)));
|
|
44
|
+
padding: var(--component-message-message-padding-top, var(--component-message-padding-top, var(--spacing-5, 10px))) var(--component-message-message-padding-right, var(--component-message-padding-right, var(--spacing-7, 16px))) var(--component-message-message-padding-bottom, var(--component-message-padding-bottom, var(--spacing-5, 10px))) var(--component-message-message-padding-left, var(--component-message-padding-left, var(--spacing-7, 16px)));
|
|
45
45
|
overflow: hidden;
|
|
46
46
|
line-height: 1;
|
|
47
47
|
text-align: center;
|
|
48
48
|
list-style: none;
|
|
49
|
-
background-color: var(--sd-color-bg-popup);
|
|
50
|
-
border: 1px solid var(--sd-color-neutral-3);
|
|
51
|
-
border-radius: var(--sd-border-radius-small);
|
|
49
|
+
background-color: var(--component-message-message-normal-color-bg, var(--component-message-normal-color-bg, var(--sd-color-bg-popup)));
|
|
50
|
+
border: var(--component-message-message-border-width, var(--component-message-border-width, 1px)) var(--component-message-message-border-style, var(--component-message-border-style, solid)) var(--component-message-message-normal-color-border, var(--component-message-normal-color-border, var(--sd-color-neutral-3)));
|
|
51
|
+
border-radius: var(--component-message-message-border-radius, var(--component-message-border-radius, var(--sd-border-radius-small)));
|
|
52
52
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.08);
|
|
53
53
|
transition: background-color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1), border-color 0.1s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
54
54
|
pointer-events: auto;
|
|
55
55
|
}
|
|
56
56
|
.sd-message-icon {
|
|
57
57
|
display: inline-block;
|
|
58
|
-
margin-right: 8px;
|
|
59
|
-
color: var(--sd-color-text-1);
|
|
60
|
-
font-size: 20px;
|
|
58
|
+
margin-right: var(--component-message-message-icon-margin-right, var(--component-message-icon-margin-right, var(--spacing-4, 8px)));
|
|
59
|
+
color: var(--component-message-message-normal-color-icon, var(--component-message-normal-color-icon, var(--sd-color-text-1)));
|
|
60
|
+
font-size: var(--component-message-message-font-size-icon, var(--component-message-font-size-icon, 20px));
|
|
61
61
|
vertical-align: middle;
|
|
62
62
|
animation: sd-msg-fade 0.1s cubic-bezier(0.34, 0.69, 0.1, 1), sd-msg-fade 0.4s cubic-bezier(0.3, 1.3, 0.3, 1);
|
|
63
63
|
}
|
|
64
64
|
.sd-message-content {
|
|
65
|
-
color: var(--sd-color-text-1);
|
|
66
|
-
font-size: 14px;
|
|
65
|
+
color: var(--component-message-message-normal-color-content, var(--component-message-normal-color-content, var(--sd-color-text-1)));
|
|
66
|
+
font-size: var(--component-message-message-font-size-content, var(--component-message-font-size-content, var(--font-size-body-3, 14px)));
|
|
67
67
|
vertical-align: middle;
|
|
68
68
|
}
|
|
69
69
|
.sd-message-info {
|
|
70
|
-
background-color: var(--sd-color-bg-popup);
|
|
71
|
-
border-color: var(--sd-color-neutral-3);
|
|
70
|
+
background-color: var(--component-message-message-info-color-bg, var(--component-message-info-color-bg, var(--sd-color-bg-popup)));
|
|
71
|
+
border-color: var(--component-message-message-info-color-border, var(--component-message-info-color-border, var(--sd-color-neutral-3)));
|
|
72
72
|
}
|
|
73
73
|
.sd-message-info .sd-message-icon {
|
|
74
|
-
color: rgb(var(--sd-primary-6));
|
|
74
|
+
color: var(--component-message-message-info-color-icon, var(--component-message-info-color-icon, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
|
|
75
75
|
}
|
|
76
76
|
.sd-message-info .sd-message-content {
|
|
77
|
-
color: var(--sd-color-text-1);
|
|
77
|
+
color: var(--component-message-message-info-color-content, var(--component-message-info-color-content, var(--sd-color-text-1)));
|
|
78
78
|
}
|
|
79
79
|
.sd-message-success {
|
|
80
|
-
background-color: var(--sd-color-bg-popup);
|
|
81
|
-
border-color: var(--sd-color-neutral-3);
|
|
80
|
+
background-color: var(--component-message-message-success-color-bg, var(--component-message-success-color-bg, var(--sd-color-bg-popup)));
|
|
81
|
+
border-color: var(--component-message-message-success-color-border, var(--component-message-success-color-border, var(--sd-color-neutral-3)));
|
|
82
82
|
}
|
|
83
83
|
.sd-message-success .sd-message-icon {
|
|
84
|
-
color: rgb(var(--sd-success-6));
|
|
84
|
+
color: var(--component-message-message-success-color-icon, var(--component-message-success-color-icon, var(--color-success-6, var(--sd-color-success-6, rgb(var(--sd-success-6))))));
|
|
85
85
|
}
|
|
86
86
|
.sd-message-success .sd-message-content {
|
|
87
|
-
color: var(--sd-color-text-1);
|
|
87
|
+
color: var(--component-message-message-success-color-content, var(--component-message-success-color-content, var(--sd-color-text-1)));
|
|
88
88
|
}
|
|
89
89
|
.sd-message-warning {
|
|
90
|
-
background-color: var(--sd-color-bg-popup);
|
|
91
|
-
border-color: var(--sd-color-neutral-3);
|
|
90
|
+
background-color: var(--component-message-message-warning-color-bg, var(--component-message-warning-color-bg, var(--sd-color-bg-popup)));
|
|
91
|
+
border-color: var(--component-message-message-warning-color-border, var(--component-message-warning-color-border, var(--sd-color-neutral-3)));
|
|
92
92
|
}
|
|
93
93
|
.sd-message-warning .sd-message-icon {
|
|
94
|
-
color: rgb(var(--sd-warning-6));
|
|
94
|
+
color: var(--component-message-message-warning-color-icon, var(--component-message-warning-color-icon, var(--color-warning-6, var(--sd-color-warning-6, rgb(var(--sd-warning-6))))));
|
|
95
95
|
}
|
|
96
96
|
.sd-message-warning .sd-message-content {
|
|
97
|
-
color: var(--sd-color-text-1);
|
|
97
|
+
color: var(--component-message-message-warning-color-content, var(--component-message-warning-color-content, var(--sd-color-text-1)));
|
|
98
98
|
}
|
|
99
99
|
.sd-message-error {
|
|
100
|
-
background-color: var(--sd-color-bg-popup);
|
|
101
|
-
border-color: var(--sd-color-neutral-3);
|
|
100
|
+
background-color: var(--component-message-message-error-color-bg, var(--component-message-error-color-bg, var(--sd-color-bg-popup)));
|
|
101
|
+
border-color: var(--component-message-message-error-color-border, var(--component-message-error-color-border, var(--sd-color-neutral-3)));
|
|
102
102
|
}
|
|
103
103
|
.sd-message-error .sd-message-icon {
|
|
104
|
-
color: rgb(var(--sd-danger-6));
|
|
104
|
+
color: var(--component-message-message-error-color-icon, var(--component-message-error-color-icon, var(--color-danger-6, var(--sd-color-danger-6, rgb(var(--sd-danger-6))))));
|
|
105
105
|
}
|
|
106
106
|
.sd-message-error .sd-message-content {
|
|
107
|
-
color: var(--sd-color-text-1);
|
|
107
|
+
color: var(--component-message-message-error-color-content, var(--component-message-error-color-content, var(--sd-color-text-1)));
|
|
108
108
|
}
|
|
109
109
|
.sd-message-loading {
|
|
110
|
-
background-color: var(--sd-color-bg-popup);
|
|
111
|
-
border-color: var(--sd-color-neutral-3);
|
|
110
|
+
background-color: var(--component-message-message-loading-color-bg, var(--component-message-loading-color-bg, var(--sd-color-bg-popup)));
|
|
111
|
+
border-color: var(--component-message-message-loading-color-border, var(--component-message-loading-color-border, var(--sd-color-neutral-3)));
|
|
112
112
|
}
|
|
113
113
|
.sd-message-loading .sd-message-icon {
|
|
114
|
-
color: rgb(var(--sd-primary-6));
|
|
114
|
+
color: var(--component-message-message-loading-color-icon, var(--component-message-loading-color-icon, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
|
|
115
115
|
}
|
|
116
116
|
.sd-message-loading .sd-message-content {
|
|
117
|
-
color: var(--sd-color-text-1);
|
|
117
|
+
color: var(--component-message-message-loading-color-content, var(--component-message-loading-color-content, var(--sd-color-text-1)));
|
|
118
118
|
}
|
|
119
119
|
.sd-message-close-btn {
|
|
120
120
|
margin-left: 8px;
|
|
121
|
-
color: var(--sd-color-text-1);
|
|
121
|
+
color: var(--component-message-message-color-close-icon, var(--component-message-color-close-icon, var(--sd-color-text-1)));
|
|
122
122
|
font-size: 12px;
|
|
123
123
|
}
|
|
124
124
|
.sd-message .sd-icon-hover.sd-message-icon-hover::before {
|