@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/component.scss' as component;
|
|
2
3
|
@use '@style/theme/index.scss' as global;
|
|
3
4
|
|
|
@@ -106,3 +107,187 @@ $radio-size-mini-height: global.$size-mini;
|
|
|
106
107
|
$radio-size-large-height: global.$size-large;
|
|
107
108
|
|
|
108
109
|
$radio-group-size-line-height_vertical: global.$size-8;
|
|
110
|
+
|
|
111
|
+
// @generated runtime tokens — pnpm theme:generate
|
|
112
|
+
$radio-color-border: theme-runtime.token('radio', 'radio-color-border', $radio-color-border);
|
|
113
|
+
$radio-color-border_hover: theme-runtime.token(
|
|
114
|
+
'radio',
|
|
115
|
+
'radio-color-border-hover',
|
|
116
|
+
$radio-color-border_hover
|
|
117
|
+
);
|
|
118
|
+
$radio-color-border_disabled: theme-runtime.token(
|
|
119
|
+
'radio',
|
|
120
|
+
'radio-color-border-disabled',
|
|
121
|
+
$radio-color-border_disabled
|
|
122
|
+
);
|
|
123
|
+
$radio-color-bg: theme-runtime.token('radio', 'radio-color-bg', $radio-color-bg);
|
|
124
|
+
$radio-color-bg_checked: theme-runtime.token(
|
|
125
|
+
'radio',
|
|
126
|
+
'radio-color-bg-checked',
|
|
127
|
+
$radio-color-bg_checked,
|
|
128
|
+
'color-primary-6'
|
|
129
|
+
);
|
|
130
|
+
$radio-border-radius: theme-runtime.token('radio', 'radio-border-radius', $radio-border-radius);
|
|
131
|
+
$radio-color-bg_disabled: theme-runtime.token(
|
|
132
|
+
'radio',
|
|
133
|
+
'radio-color-bg-disabled',
|
|
134
|
+
$radio-color-bg_disabled
|
|
135
|
+
);
|
|
136
|
+
$radio-color-bg_checked_disabled: theme-runtime.token(
|
|
137
|
+
'radio',
|
|
138
|
+
'radio-color-bg-checked-disabled',
|
|
139
|
+
$radio-color-bg_checked_disabled
|
|
140
|
+
);
|
|
141
|
+
$radio-color-dot-bg_checked_disabled: theme-runtime.token(
|
|
142
|
+
'radio',
|
|
143
|
+
'radio-color-dot-bg-checked-disabled',
|
|
144
|
+
$radio-color-bg_disabled
|
|
145
|
+
);
|
|
146
|
+
$radio-color-text: theme-runtime.token('radio', 'radio-color-text', $radio-color-text);
|
|
147
|
+
$radio-color-text_disabled: theme-runtime.token(
|
|
148
|
+
'radio',
|
|
149
|
+
'radio-color-text-disabled',
|
|
150
|
+
$radio-color-text_disabled
|
|
151
|
+
);
|
|
152
|
+
$radio-color-text_checked_disabled: theme-runtime.token(
|
|
153
|
+
'radio',
|
|
154
|
+
'radio-color-text-checked-disabled',
|
|
155
|
+
$radio-color-text_checked_disabled
|
|
156
|
+
);
|
|
157
|
+
$radio-font-text-size: theme-runtime.token(
|
|
158
|
+
'radio',
|
|
159
|
+
'radio-font-text-size',
|
|
160
|
+
$radio-font-text-size,
|
|
161
|
+
'font-size-body-3'
|
|
162
|
+
);
|
|
163
|
+
$radio-font-text-size_large: theme-runtime.token(
|
|
164
|
+
'radio',
|
|
165
|
+
'radio-font-text-size-large',
|
|
166
|
+
$radio-font-text-size_large,
|
|
167
|
+
'font-size-body-3'
|
|
168
|
+
);
|
|
169
|
+
$radio-font-text-size_mini: theme-runtime.token(
|
|
170
|
+
'radio',
|
|
171
|
+
'radio-font-text-size-mini',
|
|
172
|
+
$radio-font-text-size_mini,
|
|
173
|
+
'font-size-body-1'
|
|
174
|
+
);
|
|
175
|
+
$radio-font-text-size_small: theme-runtime.token(
|
|
176
|
+
'radio',
|
|
177
|
+
'radio-font-text-size-small',
|
|
178
|
+
$radio-font-text-size_small,
|
|
179
|
+
'font-size-body-3'
|
|
180
|
+
);
|
|
181
|
+
$radio-margin-text-left: theme-runtime.token(
|
|
182
|
+
'radio',
|
|
183
|
+
'radio-margin-text-left',
|
|
184
|
+
$radio-margin-text-left,
|
|
185
|
+
'spacing-4'
|
|
186
|
+
);
|
|
187
|
+
$radio-mask-bg-color-bg: theme-runtime.token(
|
|
188
|
+
'radio',
|
|
189
|
+
'radio-mask-bg-color-bg',
|
|
190
|
+
$radio-mask-bg-color-bg
|
|
191
|
+
);
|
|
192
|
+
$radio-group-margin-right: theme-runtime.token(
|
|
193
|
+
'radio',
|
|
194
|
+
'radio-group-margin-right',
|
|
195
|
+
$radio-group-margin-right,
|
|
196
|
+
'spacing-8'
|
|
197
|
+
);
|
|
198
|
+
$radio-group-button-color-bg: theme-runtime.token(
|
|
199
|
+
'radio',
|
|
200
|
+
'radio-group-button-color-bg',
|
|
201
|
+
$radio-group-button-color-bg
|
|
202
|
+
);
|
|
203
|
+
$radio-button-padding-horizontal: theme-runtime.token(
|
|
204
|
+
'radio',
|
|
205
|
+
'radio-button-padding-horizontal',
|
|
206
|
+
$radio-button-padding-horizontal,
|
|
207
|
+
'spacing-6'
|
|
208
|
+
);
|
|
209
|
+
$radio-button-color-bg_active: theme-runtime.token(
|
|
210
|
+
'radio',
|
|
211
|
+
'radio-button-color-bg-active',
|
|
212
|
+
$radio-button-color-bg_active
|
|
213
|
+
);
|
|
214
|
+
$radio-button-color-bg_hover: theme-runtime.token(
|
|
215
|
+
'radio',
|
|
216
|
+
'radio-button-color-bg-hover',
|
|
217
|
+
$radio-button-color-bg_active
|
|
218
|
+
);
|
|
219
|
+
$radio-button-color-text_active: theme-runtime.token(
|
|
220
|
+
'radio',
|
|
221
|
+
'radio-button-color-text-active',
|
|
222
|
+
$radio-button-color-text_active,
|
|
223
|
+
'color-primary-6'
|
|
224
|
+
);
|
|
225
|
+
$radio-button-font-text-weight_active: theme-runtime.token(
|
|
226
|
+
'radio',
|
|
227
|
+
'radio-button-font-text-weight-active',
|
|
228
|
+
$radio-button-font-text-weight_active,
|
|
229
|
+
'font-weight-500'
|
|
230
|
+
);
|
|
231
|
+
$radio-button-color-text_hover: theme-runtime.token(
|
|
232
|
+
'radio',
|
|
233
|
+
'radio-button-color-text-hover',
|
|
234
|
+
$radio-color-text
|
|
235
|
+
);
|
|
236
|
+
$radio-button-border-radius: theme-runtime.token(
|
|
237
|
+
'radio',
|
|
238
|
+
'radio-button-border-radius',
|
|
239
|
+
$radio-button-border-radius
|
|
240
|
+
);
|
|
241
|
+
$radio-button-bg-border-radius: theme-runtime.token(
|
|
242
|
+
'radio',
|
|
243
|
+
'radio-button-bg-border-radius',
|
|
244
|
+
$radio-button-border-radius
|
|
245
|
+
);
|
|
246
|
+
$radio-button-color-bg: theme-runtime.token(
|
|
247
|
+
'radio',
|
|
248
|
+
'radio-button-color-bg',
|
|
249
|
+
$radio-button-color-bg,
|
|
250
|
+
'color-transparent'
|
|
251
|
+
);
|
|
252
|
+
$radio-button-color-text: theme-runtime.token(
|
|
253
|
+
'radio',
|
|
254
|
+
'radio-button-color-text',
|
|
255
|
+
$radio-button-color-text
|
|
256
|
+
);
|
|
257
|
+
$radio-button-color-bg_disabled: theme-runtime.token(
|
|
258
|
+
'radio',
|
|
259
|
+
'radio-button-color-bg-disabled',
|
|
260
|
+
$radio-button-color-bg_disabled,
|
|
261
|
+
'color-transparent'
|
|
262
|
+
);
|
|
263
|
+
$radio-button-color-text_disabled: theme-runtime.token(
|
|
264
|
+
'radio',
|
|
265
|
+
'radio-button-color-text-disabled',
|
|
266
|
+
$radio-button-color-text_disabled
|
|
267
|
+
);
|
|
268
|
+
$radio-button-color-bg_checked_disabled: theme-runtime.token(
|
|
269
|
+
'radio',
|
|
270
|
+
'radio-button-color-bg-checked-disabled',
|
|
271
|
+
$radio-button-color-bg_active
|
|
272
|
+
);
|
|
273
|
+
$radio-button-color-text_checked_disabled: theme-runtime.token(
|
|
274
|
+
'radio',
|
|
275
|
+
'radio-button-color-text-checked-disabled',
|
|
276
|
+
$radio-button-color-text_checked_disabled
|
|
277
|
+
);
|
|
278
|
+
$radio-button-color-separator-bg: theme-runtime.token(
|
|
279
|
+
'radio',
|
|
280
|
+
'radio-button-color-separator-bg',
|
|
281
|
+
$radio-button-color-separator-bg
|
|
282
|
+
);
|
|
283
|
+
$radio-button-size-separator-height: theme-runtime.token(
|
|
284
|
+
'radio',
|
|
285
|
+
'radio-button-size-separator-height',
|
|
286
|
+
$radio-button-size-separator-height
|
|
287
|
+
);
|
|
288
|
+
$radio-group-size-line-height_vertical: theme-runtime.token(
|
|
289
|
+
'radio',
|
|
290
|
+
'radio-group-size-line-height-vertical',
|
|
291
|
+
$radio-group-size-line-height_vertical,
|
|
292
|
+
'size-8'
|
|
293
|
+
);
|
package/es/rate/style/index.css
CHANGED
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
.sd-rate {
|
|
22
22
|
display: inline-flex;
|
|
23
23
|
align-items: center;
|
|
24
|
-
min-height: 32px;
|
|
25
|
-
font-size: 24px;
|
|
24
|
+
min-height: var(--component-rate-rate-min-height, var(--component-rate-min-height, var(--size-default, 32px)));
|
|
25
|
+
font-size: var(--component-rate-rate-font-size, var(--component-rate-font-size, var(--font-size-title-3, 24px)));
|
|
26
26
|
line-height: 1;
|
|
27
27
|
user-select: none;
|
|
28
28
|
}
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
}
|
|
32
32
|
.sd-rate-character {
|
|
33
33
|
position: relative;
|
|
34
|
-
color: var(--sd-color-fill-3);
|
|
34
|
+
color: var(--component-rate-rate-color-bg-default, var(--component-rate-color-bg-default, var(--sd-color-fill-3)));
|
|
35
35
|
transition: transform 0.2s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
36
36
|
}
|
|
37
37
|
.sd-rate-character:not(:last-child) {
|
|
38
|
-
margin-right: 8px;
|
|
38
|
+
margin-right: var(--component-rate-rate-gap-size, var(--component-rate-gap-size, var(--spacing-4, 8px)));
|
|
39
39
|
}
|
|
40
40
|
.sd-rate-character-left, .sd-rate-character-right {
|
|
41
41
|
transition: inherit;
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
animation: sd-rate-scale 0.4s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
57
57
|
}
|
|
58
58
|
.sd-rate-character-full .sd-rate-character-right {
|
|
59
|
-
color: rgb(var(--sd-gold-6));
|
|
59
|
+
color: var(--component-rate-rate-color-bg-active, var(--component-rate-color-bg-active, rgb(var(--sd-gold-6))));
|
|
60
60
|
}
|
|
61
61
|
.sd-rate-character-half .sd-rate-character-left {
|
|
62
|
-
color: rgb(var(--sd-gold-6));
|
|
62
|
+
color: var(--component-rate-rate-color-bg-active, var(--component-rate-color-bg-active, rgb(var(--sd-gold-6))));
|
|
63
63
|
opacity: 1;
|
|
64
64
|
}
|
|
65
65
|
.sd-rate-character-disabled {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
cursor: pointer;
|
|
70
70
|
}
|
|
71
71
|
.sd-rate:not(.sd-rate-readonly, .sd-rate-disabled) .sd-rate-character:hover, .sd-rate:not(.sd-rate-readonly, .sd-rate-disabled) .sd-rate-character:focus {
|
|
72
|
-
transform: scale(1.2);
|
|
72
|
+
transform: scale(var(--component-rate-rate-scale-active, var(--component-rate-scale-active, 1.2)));
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
@keyframes sd-rate-scale {
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
transform: scale(1);
|
|
78
78
|
}
|
|
79
79
|
50% {
|
|
80
|
-
transform: scale(1.2);
|
|
80
|
+
transform: scale(var(--component-rate-rate-scale-active, var(--component-rate-scale-active, 1.2)));
|
|
81
81
|
}
|
|
82
82
|
100% {
|
|
83
83
|
transform: scale(1);
|
package/es/rate/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';
|
|
@@ -22,3 +23,21 @@ $rate-color-bg_active: rgb(var(string.unquote('#{global.$sd-cssvars-prefix}-gold
|
|
|
22
23
|
$rate-color-bg_default: var(string.unquote('#{global.$sd-cssvars-prefix}-color-fill-3'));
|
|
23
24
|
|
|
24
25
|
$rate-color-bg_hover: rgb(var(string.unquote('#{global.$sd-cssvars-prefix}-gold-5')));
|
|
26
|
+
|
|
27
|
+
// @generated runtime tokens — pnpm theme:generate
|
|
28
|
+
$rate-min-height: theme-runtime.token('rate', 'rate-min-height', $rate-min-height, 'size-default');
|
|
29
|
+
$rate-gap-size: theme-runtime.token('rate', 'rate-gap-size', $rate-gap-size, 'spacing-4');
|
|
30
|
+
$rate-font-size: theme-runtime.token(
|
|
31
|
+
'rate',
|
|
32
|
+
'rate-font-size',
|
|
33
|
+
$rate-font-size,
|
|
34
|
+
'font-size-title-3'
|
|
35
|
+
);
|
|
36
|
+
$rate-scale_active: theme-runtime.token('rate', 'rate-scale-active', $rate-scale_active);
|
|
37
|
+
$rate-color-bg_active: theme-runtime.token('rate', 'rate-color-bg-active', $rate-color-bg_active);
|
|
38
|
+
$rate-color-bg_default: theme-runtime.token(
|
|
39
|
+
'rate',
|
|
40
|
+
'rate-color-bg-default',
|
|
41
|
+
$rate-color-bg_default
|
|
42
|
+
);
|
|
43
|
+
$rate-color-bg_hover: theme-runtime.token('rate', 'rate-color-bg-hover', $rate-color-bg_hover);
|
|
@@ -18,18 +18,18 @@
|
|
|
18
18
|
.sd-regex-vis {
|
|
19
19
|
box-sizing: border-box;
|
|
20
20
|
overflow: hidden;
|
|
21
|
-
color: var(--sd-color-text-1);
|
|
22
|
-
font-size: 14px;
|
|
23
|
-
background: var(--sd-color-bg-2);
|
|
24
|
-
border: 1px solid var(--sd-color-border-2);
|
|
25
|
-
border-radius: var(--sd-border-radius-large);
|
|
21
|
+
color: var(--component-regex-vis-regex-vis-color-text, var(--component-regex-vis-color-text, var(--sd-color-text-1)));
|
|
22
|
+
font-size: var(--component-regex-vis-regex-vis-font-size, var(--component-regex-vis-font-size, var(--font-size-body-3, 14px)));
|
|
23
|
+
background: var(--component-regex-vis-regex-vis-color-bg, var(--component-regex-vis-color-bg, var(--sd-color-bg-2)));
|
|
24
|
+
border: var(--component-regex-vis-regex-vis-border-width, var(--component-regex-vis-border-width, var(--border-1, 1px))) solid var(--component-regex-vis-regex-vis-color-border, var(--component-regex-vis-color-border, var(--sd-color-border-2)));
|
|
25
|
+
border-radius: var(--component-regex-vis-regex-vis-border-radius, var(--component-regex-vis-border-radius, var(--sd-border-radius-large)));
|
|
26
26
|
}
|
|
27
27
|
.sd-regex-vis-controls {
|
|
28
28
|
display: flex;
|
|
29
|
-
gap: 12px;
|
|
29
|
+
gap: var(--component-regex-vis-regex-vis-control-gap, var(--component-regex-vis-control-gap, var(--spacing-6, 12px)));
|
|
30
30
|
align-items: center;
|
|
31
|
-
padding: 12px 16px;
|
|
32
|
-
border-bottom: 1px solid var(--sd-color-border-2);
|
|
31
|
+
padding: var(--component-regex-vis-regex-vis-padding-compact, var(--component-regex-vis-padding-compact, var(--spacing-6, 12px))) var(--component-regex-vis-regex-vis-padding, var(--component-regex-vis-padding, var(--spacing-7, 16px)));
|
|
32
|
+
border-bottom: var(--component-regex-vis-regex-vis-border-width, var(--component-regex-vis-border-width, var(--border-1, 1px))) solid var(--component-regex-vis-regex-vis-color-border, var(--component-regex-vis-color-border, var(--sd-color-border-2)));
|
|
33
33
|
}
|
|
34
34
|
.sd-regex-vis-input {
|
|
35
35
|
flex: 1;
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
.sd-regex-vis-viewport {
|
|
44
44
|
display: flex;
|
|
45
45
|
align-items: center;
|
|
46
|
-
min-height: 160px;
|
|
47
|
-
padding: 16px;
|
|
46
|
+
min-height: var(--component-regex-vis-regex-vis-min-height, var(--component-regex-vis-min-height, var(--size-40, 160px)));
|
|
47
|
+
padding: var(--component-regex-vis-regex-vis-padding, var(--component-regex-vis-padding, var(--spacing-7, 16px)));
|
|
48
48
|
overflow: auto;
|
|
49
|
-
background: var(--sd-color-bg-1);
|
|
49
|
+
background: var(--component-regex-vis-regex-vis-color-viewport-bg, var(--component-regex-vis-color-viewport-bg, var(--sd-color-bg-1)));
|
|
50
50
|
}
|
|
51
51
|
.sd-regex-vis-graph {
|
|
52
52
|
display: block;
|
|
@@ -56,72 +56,72 @@
|
|
|
56
56
|
font-family: consolas, menlo;
|
|
57
57
|
}
|
|
58
58
|
.sd-regex-vis-rail {
|
|
59
|
-
fill: var(--sd-color-bg-1);
|
|
60
|
-
stroke: var(--sd-color-text-3);
|
|
59
|
+
fill: var(--component-regex-vis-regex-vis-color-viewport-bg, var(--component-regex-vis-color-viewport-bg, var(--sd-color-bg-1)));
|
|
60
|
+
stroke: var(--component-regex-vis-regex-vis-color-rail, var(--component-regex-vis-color-rail, var(--sd-color-text-3)));
|
|
61
61
|
stroke-linecap: round;
|
|
62
62
|
stroke-linejoin: round;
|
|
63
|
-
stroke-width: 1px;
|
|
63
|
+
stroke-width: var(--component-regex-vis-regex-vis-border-width, var(--component-regex-vis-border-width, var(--border-1, 1px)));
|
|
64
64
|
}
|
|
65
65
|
.sd-regex-vis-empty-label {
|
|
66
|
-
font-size: 12px;
|
|
67
|
-
fill: var(--sd-color-text-3);
|
|
66
|
+
font-size: var(--component-regex-vis-regex-vis-font-size-secondary, var(--component-regex-vis-font-size-secondary, var(--font-size-body-1, 12px)));
|
|
67
|
+
fill: var(--component-regex-vis-regex-vis-color-text-secondary, var(--component-regex-vis-color-text-secondary, var(--sd-color-text-3)));
|
|
68
68
|
}
|
|
69
69
|
.sd-regex-vis-name-label {
|
|
70
|
-
font-weight: 500;
|
|
71
|
-
font-size: 14px;
|
|
70
|
+
font-weight: var(--component-regex-vis-regex-vis-font-weight, var(--component-regex-vis-font-weight, var(--font-weight-500, 500)));
|
|
71
|
+
font-size: var(--component-regex-vis-regex-vis-font-size-quantifier, var(--component-regex-vis-font-size-quantifier, var(--font-size-body-3, 14px)));
|
|
72
72
|
user-select: none;
|
|
73
|
-
fill: var(--sd-color-text-1);
|
|
73
|
+
fill: var(--component-regex-vis-regex-vis-color-text, var(--component-regex-vis-color-text, var(--sd-color-text-1)));
|
|
74
74
|
}
|
|
75
75
|
.sd-regex-vis-quantifier {
|
|
76
|
-
color: var(--sd-color-text-1);
|
|
76
|
+
color: var(--component-regex-vis-regex-vis-color-text, var(--component-regex-vis-color-text, var(--sd-color-text-1)));
|
|
77
77
|
}
|
|
78
78
|
.sd-regex-vis-quantifier svg {
|
|
79
79
|
overflow: visible;
|
|
80
80
|
color: currentcolor;
|
|
81
81
|
}
|
|
82
82
|
.sd-regex-vis-quantifier text {
|
|
83
|
-
font-weight: 500;
|
|
84
|
-
font-size: 14px;
|
|
83
|
+
font-weight: var(--component-regex-vis-regex-vis-font-weight, var(--component-regex-vis-font-weight, var(--font-weight-500, 500)));
|
|
84
|
+
font-size: var(--component-regex-vis-regex-vis-font-size-quantifier, var(--component-regex-vis-font-size-quantifier, var(--font-size-body-3, 14px)));
|
|
85
85
|
user-select: none;
|
|
86
86
|
fill: currentcolor;
|
|
87
87
|
}
|
|
88
88
|
.sd-regex-vis-node {
|
|
89
|
-
color: var(--sd-color-text-1);
|
|
89
|
+
color: var(--component-regex-vis-regex-vis-color-text, var(--component-regex-vis-color-text, var(--sd-color-text-1)));
|
|
90
90
|
outline: none;
|
|
91
91
|
cursor: default;
|
|
92
92
|
}
|
|
93
93
|
.sd-regex-vis-node rect {
|
|
94
|
-
transition: fill 0.1s cubic-bezier(0.34, 0.69, 0.1, 1), stroke 0.1s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
95
|
-
fill: var(--sd-color-primary-light-1);
|
|
96
|
-
stroke: rgb(var(--sd-primary-6));
|
|
97
|
-
stroke-width: 1px;
|
|
94
|
+
transition: fill var(--component-regex-vis-regex-vis-transition-duration, var(--component-regex-vis-transition-duration, 0.1s)) cubic-bezier(0.34, 0.69, 0.1, 1), stroke var(--component-regex-vis-regex-vis-transition-duration, var(--component-regex-vis-transition-duration, 0.1s)) cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
95
|
+
fill: var(--component-regex-vis-regex-vis-color-node-bg, var(--component-regex-vis-color-node-bg, var(--sd-color-primary-light-1)));
|
|
96
|
+
stroke: var(--component-regex-vis-regex-vis-color-node-border, var(--component-regex-vis-color-node-border, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
|
|
97
|
+
stroke-width: var(--component-regex-vis-regex-vis-border-width, var(--component-regex-vis-border-width, var(--border-1, 1px)));
|
|
98
98
|
}
|
|
99
99
|
.sd-regex-vis-node text {
|
|
100
|
-
font-weight: 500;
|
|
101
|
-
font-size: 14px;
|
|
100
|
+
font-weight: var(--component-regex-vis-regex-vis-font-weight, var(--component-regex-vis-font-weight, var(--font-weight-500, 500)));
|
|
101
|
+
font-size: var(--component-regex-vis-regex-vis-font-size-node, var(--component-regex-vis-font-size-node, var(--font-size-body-3, 14px)));
|
|
102
102
|
user-select: none;
|
|
103
103
|
pointer-events: none;
|
|
104
104
|
fill: currentcolor;
|
|
105
105
|
}
|
|
106
106
|
.sd-regex-vis-node-assertion rect {
|
|
107
|
-
fill: var(--sd-color-success-light-1);
|
|
108
|
-
stroke: rgb(var(--sd-success-6));
|
|
107
|
+
fill: var(--component-regex-vis-regex-vis-color-assertion-bg, var(--component-regex-vis-color-assertion-bg, var(--sd-color-success-light-1)));
|
|
108
|
+
stroke: var(--component-regex-vis-regex-vis-color-assertion-border, var(--component-regex-vis-color-assertion-border, var(--color-success-6, var(--sd-color-success-6, rgb(var(--sd-success-6))))));
|
|
109
109
|
}
|
|
110
110
|
.sd-regex-vis-node-group rect, .sd-regex-vis-node-choice rect {
|
|
111
111
|
fill: none;
|
|
112
|
-
stroke: var(--sd-color-border-3);
|
|
112
|
+
stroke: var(--component-regex-vis-regex-vis-color-group-border, var(--component-regex-vis-color-group-border, var(--sd-color-border-3)));
|
|
113
113
|
}
|
|
114
114
|
.sd-regex-vis-node-choice rect {
|
|
115
115
|
stroke-dasharray: 6px 4px;
|
|
116
116
|
}
|
|
117
117
|
.sd-regex-vis-node:focus-visible rect {
|
|
118
|
-
stroke: rgb(var(--sd-primary-5));
|
|
119
|
-
stroke-width: 2px;
|
|
118
|
+
stroke: var(--component-regex-vis-regex-vis-color-focus, var(--component-regex-vis-color-focus, var(--color-primary-5, var(--sd-color-primary-5, rgb(var(--sd-primary-5))))));
|
|
119
|
+
stroke-width: var(--component-regex-vis-regex-vis-border-width-active, var(--component-regex-vis-border-width-active, var(--border-2, 2px)));
|
|
120
120
|
}
|
|
121
121
|
.sd-regex-vis-node-selected rect {
|
|
122
|
-
fill: var(--sd-color-primary-light-3);
|
|
123
|
-
stroke: rgb(var(--sd-primary-6));
|
|
124
|
-
stroke-width: 2px;
|
|
122
|
+
fill: var(--component-regex-vis-regex-vis-color-selected-bg, var(--component-regex-vis-color-selected-bg, var(--sd-color-primary-light-3)));
|
|
123
|
+
stroke: var(--component-regex-vis-regex-vis-color-node-border, var(--component-regex-vis-color-node-border, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
|
|
124
|
+
stroke-width: var(--component-regex-vis-regex-vis-border-width-active, var(--component-regex-vis-border-width-active, var(--border-2, 2px)));
|
|
125
125
|
}
|
|
126
126
|
.sd-regex-vis-node-group.sd-regex-vis-node-selected rect, .sd-regex-vis-node-choice.sd-regex-vis-node-selected rect {
|
|
127
127
|
fill: none;
|
|
@@ -133,42 +133,42 @@
|
|
|
133
133
|
display: flex;
|
|
134
134
|
flex: 1;
|
|
135
135
|
flex-direction: column;
|
|
136
|
-
gap: 4px;
|
|
136
|
+
gap: var(--component-regex-vis-regex-vis-state-gap, var(--component-regex-vis-state-gap, var(--spacing-2, 4px)));
|
|
137
137
|
align-items: center;
|
|
138
138
|
justify-content: center;
|
|
139
139
|
min-width: 0;
|
|
140
|
-
min-height: 160px;
|
|
141
|
-
color: var(--sd-color-text-3);
|
|
140
|
+
min-height: var(--component-regex-vis-regex-vis-min-height, var(--component-regex-vis-min-height, var(--size-40, 160px)));
|
|
141
|
+
color: var(--component-regex-vis-regex-vis-color-text-secondary, var(--component-regex-vis-color-text-secondary, var(--sd-color-text-3)));
|
|
142
142
|
text-align: center;
|
|
143
143
|
}
|
|
144
144
|
.sd-regex-vis-error {
|
|
145
145
|
box-sizing: border-box;
|
|
146
|
-
padding: 16px;
|
|
147
|
-
color: rgb(var(--sd-danger-6));
|
|
148
|
-
background: var(--sd-color-danger-light-1);
|
|
149
|
-
border-radius: var(--sd-border-radius-medium);
|
|
146
|
+
padding: var(--component-regex-vis-regex-vis-padding, var(--component-regex-vis-padding, var(--spacing-7, 16px)));
|
|
147
|
+
color: var(--component-regex-vis-regex-vis-color-error, var(--component-regex-vis-color-error, var(--color-danger-6, var(--sd-color-danger-6, rgb(var(--sd-danger-6))))));
|
|
148
|
+
background: var(--component-regex-vis-regex-vis-color-error-bg, var(--component-regex-vis-color-error-bg, var(--sd-color-danger-light-1)));
|
|
149
|
+
border-radius: var(--component-regex-vis-regex-vis-node-border-radius, var(--component-regex-vis-node-border-radius, var(--sd-border-radius-medium)));
|
|
150
150
|
}
|
|
151
151
|
.sd-regex-vis-error-title {
|
|
152
|
-
font-weight: 500;
|
|
152
|
+
font-weight: var(--component-regex-vis-regex-vis-font-weight, var(--component-regex-vis-font-weight, var(--font-weight-500, 500)));
|
|
153
153
|
}
|
|
154
154
|
.sd-regex-vis-error-message {
|
|
155
155
|
max-width: 100%;
|
|
156
|
-
font-size: 12px;
|
|
156
|
+
font-size: var(--component-regex-vis-regex-vis-font-size-secondary, var(--component-regex-vis-font-size-secondary, var(--font-size-body-1, 12px)));
|
|
157
157
|
font-family: consolas, menlo;
|
|
158
158
|
overflow-wrap: anywhere;
|
|
159
159
|
}
|
|
160
160
|
.sd-regex-vis-footer {
|
|
161
|
-
padding: 12px 16px;
|
|
162
|
-
color: var(--sd-color-text-3);
|
|
163
|
-
border-top: 1px solid var(--sd-color-border-2);
|
|
161
|
+
padding: var(--component-regex-vis-regex-vis-padding-compact, var(--component-regex-vis-padding-compact, var(--spacing-6, 12px))) var(--component-regex-vis-regex-vis-padding, var(--component-regex-vis-padding, var(--spacing-7, 16px)));
|
|
162
|
+
color: var(--component-regex-vis-regex-vis-color-text-secondary, var(--component-regex-vis-color-text-secondary, var(--sd-color-text-3)));
|
|
163
|
+
border-top: var(--component-regex-vis-regex-vis-border-width, var(--component-regex-vis-border-width, var(--border-1, 1px))) solid var(--component-regex-vis-regex-vis-color-border, var(--component-regex-vis-color-border, var(--sd-color-border-2)));
|
|
164
164
|
}
|
|
165
165
|
@media (hover: hover) {
|
|
166
166
|
.sd-regex-vis-selectable .sd-regex-vis-node:hover rect {
|
|
167
|
-
fill: var(--sd-color-primary-light-2);
|
|
167
|
+
fill: var(--component-regex-vis-regex-vis-color-hover-bg, var(--component-regex-vis-color-hover-bg, var(--sd-color-primary-light-2)));
|
|
168
168
|
}
|
|
169
169
|
.sd-regex-vis-selectable .sd-regex-vis-node-group:hover rect, .sd-regex-vis-selectable .sd-regex-vis-node-choice:hover rect {
|
|
170
170
|
fill: none;
|
|
171
|
-
stroke: rgb(var(--sd-primary-6));
|
|
171
|
+
stroke: var(--component-regex-vis-regex-vis-color-node-border, var(--component-regex-vis-color-node-border, var(--color-primary-6, var(--sd-color-primary-6, rgb(var(--sd-primary-6))))));
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
@media (width <= 640px) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use '@style/theme/runtime.scss' as theme-runtime;
|
|
1
2
|
@use '@style/theme/index.scss' as global;
|
|
2
3
|
@use 'sass:string';
|
|
3
4
|
|
|
@@ -40,3 +41,172 @@ $regex-vis-font-size-node: global.$font-size-body-3;
|
|
|
40
41
|
$regex-vis-font-size-quantifier: global.$font-size-body-3;
|
|
41
42
|
$regex-vis-font-weight: global.$font-weight-500;
|
|
42
43
|
$regex-vis-transition-duration: global.$transition-duration-1;
|
|
44
|
+
|
|
45
|
+
// @generated runtime tokens — pnpm theme:generate
|
|
46
|
+
$regex-vis-color-bg: theme-runtime.token('regex-vis', 'regex-vis-color-bg', $regex-vis-color-bg);
|
|
47
|
+
$regex-vis-color-viewport-bg: theme-runtime.token(
|
|
48
|
+
'regex-vis',
|
|
49
|
+
'regex-vis-color-viewport-bg',
|
|
50
|
+
$regex-vis-color-viewport-bg
|
|
51
|
+
);
|
|
52
|
+
$regex-vis-color-border: theme-runtime.token(
|
|
53
|
+
'regex-vis',
|
|
54
|
+
'regex-vis-color-border',
|
|
55
|
+
$regex-vis-color-border
|
|
56
|
+
);
|
|
57
|
+
$regex-vis-color-rail: theme-runtime.token(
|
|
58
|
+
'regex-vis',
|
|
59
|
+
'regex-vis-color-rail',
|
|
60
|
+
$regex-vis-color-rail
|
|
61
|
+
);
|
|
62
|
+
$regex-vis-color-text: theme-runtime.token(
|
|
63
|
+
'regex-vis',
|
|
64
|
+
'regex-vis-color-text',
|
|
65
|
+
$regex-vis-color-text
|
|
66
|
+
);
|
|
67
|
+
$regex-vis-color-text-secondary: theme-runtime.token(
|
|
68
|
+
'regex-vis',
|
|
69
|
+
'regex-vis-color-text-secondary',
|
|
70
|
+
$regex-vis-color-text-secondary
|
|
71
|
+
);
|
|
72
|
+
$regex-vis-color-node-bg: theme-runtime.token(
|
|
73
|
+
'regex-vis',
|
|
74
|
+
'regex-vis-color-node-bg',
|
|
75
|
+
$regex-vis-color-node-bg
|
|
76
|
+
);
|
|
77
|
+
$regex-vis-color-node-border: theme-runtime.token(
|
|
78
|
+
'regex-vis',
|
|
79
|
+
'regex-vis-color-node-border',
|
|
80
|
+
$regex-vis-color-node-border,
|
|
81
|
+
'color-primary-6'
|
|
82
|
+
);
|
|
83
|
+
$regex-vis-color-assertion-bg: theme-runtime.token(
|
|
84
|
+
'regex-vis',
|
|
85
|
+
'regex-vis-color-assertion-bg',
|
|
86
|
+
$regex-vis-color-assertion-bg
|
|
87
|
+
);
|
|
88
|
+
$regex-vis-color-assertion-border: theme-runtime.token(
|
|
89
|
+
'regex-vis',
|
|
90
|
+
'regex-vis-color-assertion-border',
|
|
91
|
+
$regex-vis-color-assertion-border,
|
|
92
|
+
'color-success-6'
|
|
93
|
+
);
|
|
94
|
+
$regex-vis-color-group-border: theme-runtime.token(
|
|
95
|
+
'regex-vis',
|
|
96
|
+
'regex-vis-color-group-border',
|
|
97
|
+
$regex-vis-color-group-border
|
|
98
|
+
);
|
|
99
|
+
$regex-vis-color-hover-bg: theme-runtime.token(
|
|
100
|
+
'regex-vis',
|
|
101
|
+
'regex-vis-color-hover-bg',
|
|
102
|
+
$regex-vis-color-hover-bg
|
|
103
|
+
);
|
|
104
|
+
$regex-vis-color-selected-bg: theme-runtime.token(
|
|
105
|
+
'regex-vis',
|
|
106
|
+
'regex-vis-color-selected-bg',
|
|
107
|
+
$regex-vis-color-selected-bg
|
|
108
|
+
);
|
|
109
|
+
$regex-vis-color-focus: theme-runtime.token(
|
|
110
|
+
'regex-vis',
|
|
111
|
+
'regex-vis-color-focus',
|
|
112
|
+
$regex-vis-color-focus,
|
|
113
|
+
'color-primary-5'
|
|
114
|
+
);
|
|
115
|
+
$regex-vis-color-error: theme-runtime.token(
|
|
116
|
+
'regex-vis',
|
|
117
|
+
'regex-vis-color-error',
|
|
118
|
+
$regex-vis-color-error,
|
|
119
|
+
'color-danger-6'
|
|
120
|
+
);
|
|
121
|
+
$regex-vis-color-error-bg: theme-runtime.token(
|
|
122
|
+
'regex-vis',
|
|
123
|
+
'regex-vis-color-error-bg',
|
|
124
|
+
$regex-vis-color-error-bg
|
|
125
|
+
);
|
|
126
|
+
$regex-vis-border-width: theme-runtime.token(
|
|
127
|
+
'regex-vis',
|
|
128
|
+
'regex-vis-border-width',
|
|
129
|
+
$regex-vis-border-width,
|
|
130
|
+
'border-1'
|
|
131
|
+
);
|
|
132
|
+
$regex-vis-border-width-active: theme-runtime.token(
|
|
133
|
+
'regex-vis',
|
|
134
|
+
'regex-vis-border-width-active',
|
|
135
|
+
$regex-vis-border-width-active,
|
|
136
|
+
'border-2'
|
|
137
|
+
);
|
|
138
|
+
$regex-vis-border-radius: theme-runtime.token(
|
|
139
|
+
'regex-vis',
|
|
140
|
+
'regex-vis-border-radius',
|
|
141
|
+
$regex-vis-border-radius
|
|
142
|
+
);
|
|
143
|
+
$regex-vis-node-border-radius: theme-runtime.token(
|
|
144
|
+
'regex-vis',
|
|
145
|
+
'regex-vis-node-border-radius',
|
|
146
|
+
$regex-vis-node-border-radius
|
|
147
|
+
);
|
|
148
|
+
$regex-vis-padding: theme-runtime.token(
|
|
149
|
+
'regex-vis',
|
|
150
|
+
'regex-vis-padding',
|
|
151
|
+
$regex-vis-padding,
|
|
152
|
+
'spacing-7'
|
|
153
|
+
);
|
|
154
|
+
$regex-vis-padding-compact: theme-runtime.token(
|
|
155
|
+
'regex-vis',
|
|
156
|
+
'regex-vis-padding-compact',
|
|
157
|
+
$regex-vis-padding-compact,
|
|
158
|
+
'spacing-6'
|
|
159
|
+
);
|
|
160
|
+
$regex-vis-control-gap: theme-runtime.token(
|
|
161
|
+
'regex-vis',
|
|
162
|
+
'regex-vis-control-gap',
|
|
163
|
+
$regex-vis-control-gap,
|
|
164
|
+
'spacing-6'
|
|
165
|
+
);
|
|
166
|
+
$regex-vis-state-gap: theme-runtime.token(
|
|
167
|
+
'regex-vis',
|
|
168
|
+
'regex-vis-state-gap',
|
|
169
|
+
$regex-vis-state-gap,
|
|
170
|
+
'spacing-2'
|
|
171
|
+
);
|
|
172
|
+
$regex-vis-min-height: theme-runtime.token(
|
|
173
|
+
'regex-vis',
|
|
174
|
+
'regex-vis-min-height',
|
|
175
|
+
$regex-vis-min-height,
|
|
176
|
+
'size-40'
|
|
177
|
+
);
|
|
178
|
+
$regex-vis-font-size: theme-runtime.token(
|
|
179
|
+
'regex-vis',
|
|
180
|
+
'regex-vis-font-size',
|
|
181
|
+
$regex-vis-font-size,
|
|
182
|
+
'font-size-body-3'
|
|
183
|
+
);
|
|
184
|
+
$regex-vis-font-size-secondary: theme-runtime.token(
|
|
185
|
+
'regex-vis',
|
|
186
|
+
'regex-vis-font-size-secondary',
|
|
187
|
+
$regex-vis-font-size-secondary,
|
|
188
|
+
'font-size-body-1'
|
|
189
|
+
);
|
|
190
|
+
$regex-vis-font-size-node: theme-runtime.token(
|
|
191
|
+
'regex-vis',
|
|
192
|
+
'regex-vis-font-size-node',
|
|
193
|
+
$regex-vis-font-size-node,
|
|
194
|
+
'font-size-body-3'
|
|
195
|
+
);
|
|
196
|
+
$regex-vis-font-size-quantifier: theme-runtime.token(
|
|
197
|
+
'regex-vis',
|
|
198
|
+
'regex-vis-font-size-quantifier',
|
|
199
|
+
$regex-vis-font-size-quantifier,
|
|
200
|
+
'font-size-body-3'
|
|
201
|
+
);
|
|
202
|
+
$regex-vis-font-weight: theme-runtime.token(
|
|
203
|
+
'regex-vis',
|
|
204
|
+
'regex-vis-font-weight',
|
|
205
|
+
$regex-vis-font-weight,
|
|
206
|
+
'font-weight-500'
|
|
207
|
+
);
|
|
208
|
+
$regex-vis-transition-duration: theme-runtime.token(
|
|
209
|
+
'regex-vis',
|
|
210
|
+
'regex-vis-transition-duration',
|
|
211
|
+
$regex-vis-transition-duration
|
|
212
|
+
);
|