vanilla-jui 1.7.33 → 1.7.35

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.
Files changed (36) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/index.umd.js +1 -1
  3. package/dist/style.css +1 -1
  4. package/package.json +5 -10
  5. package/src/components/accordion.ts +1 -1
  6. package/src/css/animation.css +1 -7
  7. package/src/css/card.css +4 -4
  8. package/src/css/font.css +6 -3
  9. package/src/css/gradient.css +128 -63
  10. package/src/css/icon.css +1 -5
  11. package/src/css/layout.css +15 -12
  12. package/src/css/status.css +5 -8
  13. package/src/css/themes/default/accordion.css +9 -6
  14. package/src/css/themes/default/avatar.css +3 -4
  15. package/src/css/themes/default/badge.css +2 -2
  16. package/src/css/themes/default/breadcrumb.css +11 -12
  17. package/src/css/themes/default/button.css +6 -14
  18. package/src/css/themes/default/captcha.css +69 -71
  19. package/src/css/themes/default/drop.css +1 -1
  20. package/src/css/themes/default/editor.css +15 -15
  21. package/src/css/themes/default/flow.css +6 -11
  22. package/src/css/themes/default/form.css +46 -44
  23. package/src/css/themes/default/index.css +1 -1
  24. package/src/css/themes/default/loading.css +62 -47
  25. package/src/css/themes/default/menu.css +102 -48
  26. package/src/css/themes/default/modal.css +6 -10
  27. package/src/css/themes/default/offcanvas.css +12 -13
  28. package/src/css/themes/default/swiper.css +19 -18
  29. package/src/css/themes/default/tabs.css +3 -3
  30. package/src/css/themes/default/theme-palette.css +2 -2
  31. package/src/css/themes/default/tip.css +7 -8
  32. package/src/css/themes/default/toast.css +2 -2
  33. package/src/css/themes/default/toolbar.css +4 -6
  34. package/src/css/themes/default/tooltip.css +4 -8
  35. package/src/css/tokens.css +18 -57
  36. package/src/css/tokens_/345/211/257/346/234/254.css +1 -1
@@ -53,11 +53,14 @@
53
53
  .j-loader .flow-loader {
54
54
  --loader-width: 2px;
55
55
  --loader-bg:
56
- radial-gradient(farthest-side, var(--tone-solid) 94%, #0000) top/var(--loader-width) var(--loader-width) no-repeat,
56
+ radial-gradient(farthest-side, var(--tone-solid) 94%, #0000)
57
+ top/var(--loader-width) var(--loader-width) no-repeat,
57
58
  conic-gradient(#0000 30%, var(--tone-solid));
58
- --loader-mask: radial-gradient(farthest-side,
59
- #0000 calc(100% - var(--loader-width)),
60
- #000 0);
59
+ --loader-mask: radial-gradient(
60
+ farthest-side,
61
+ #0000 calc(100% - var(--loader-width)),
62
+ #000 0
63
+ );
61
64
 
62
65
  width: var(--loader-size);
63
66
  height: var(--loader-size);
@@ -75,63 +78,75 @@
75
78
  }
76
79
 
77
80
  12.5% {
78
- clip-path: polygon(50% 50%,
79
- 0 0,
80
- 50% 0%,
81
- 100% 0%,
82
- 100% 0%,
83
- 100% 0%,
84
- 100% 0%);
81
+ clip-path: polygon(
82
+ 50% 50%,
83
+ 0 0,
84
+ 50% 0%,
85
+ 100% 0%,
86
+ 100% 0%,
87
+ 100% 0%,
88
+ 100% 0%
89
+ );
85
90
  }
86
91
 
87
92
  25% {
88
- clip-path: polygon(50% 50%,
89
- 0 0,
90
- 50% 0%,
91
- 100% 0%,
92
- 100% 100%,
93
- 100% 100%,
94
- 100% 100%);
93
+ clip-path: polygon(
94
+ 50% 50%,
95
+ 0 0,
96
+ 50% 0%,
97
+ 100% 0%,
98
+ 100% 100%,
99
+ 100% 100%,
100
+ 100% 100%
101
+ );
95
102
  }
96
103
 
97
104
  50% {
98
- clip-path: polygon(50% 50%,
99
- 0 0,
100
- 50% 0%,
101
- 100% 0%,
102
- 100% 100%,
103
- 50% 100%,
104
- 0% 100%);
105
+ clip-path: polygon(
106
+ 50% 50%,
107
+ 0 0,
108
+ 50% 0%,
109
+ 100% 0%,
110
+ 100% 100%,
111
+ 50% 100%,
112
+ 0% 100%
113
+ );
105
114
  }
106
115
 
107
116
  62.5% {
108
- clip-path: polygon(50% 50%,
109
- 100% 0,
110
- 100% 0%,
111
- 100% 0%,
112
- 100% 100%,
113
- 50% 100%,
114
- 0% 100%);
117
+ clip-path: polygon(
118
+ 50% 50%,
119
+ 100% 0,
120
+ 100% 0%,
121
+ 100% 0%,
122
+ 100% 100%,
123
+ 50% 100%,
124
+ 0% 100%
125
+ );
115
126
  }
116
127
 
117
128
  75% {
118
- clip-path: polygon(50% 50%,
119
- 100% 100%,
120
- 100% 100%,
121
- 100% 100%,
122
- 100% 100%,
123
- 50% 100%,
124
- 0% 100%);
129
+ clip-path: polygon(
130
+ 50% 50%,
131
+ 100% 100%,
132
+ 100% 100%,
133
+ 100% 100%,
134
+ 100% 100%,
135
+ 50% 100%,
136
+ 0% 100%
137
+ );
125
138
  }
126
139
 
127
140
  100% {
128
- clip-path: polygon(50% 50%,
129
- 50% 100%,
130
- 50% 100%,
131
- 50% 100%,
132
- 50% 100%,
133
- 50% 100%,
134
- 0% 100%);
141
+ clip-path: polygon(
142
+ 50% 50%,
143
+ 50% 100%,
144
+ 50% 100%,
145
+ 50% 100%,
146
+ 50% 100%,
147
+ 50% 100%,
148
+ 0% 100%
149
+ );
135
150
  }
136
151
  }
137
152
 
@@ -152,4 +167,4 @@
152
167
  transform: scaleY(-1) rotate(-135deg);
153
168
  }
154
169
  }
155
- }
170
+ }
@@ -1,11 +1,11 @@
1
1
  @layer components {
2
2
  .j-menu {
3
- --menu-border-radius: var(--radius-md);
4
- --menu-item-icon-size: var(--font-size-lg);
5
- --menu-item-height: var(--el-height-md);
6
- --menu-item-line-height: var(--line-height);
3
+ --menu-radius: var(--radius-md);
4
+ --menu-icon-size: var(--font-size-lg);
5
+ --menu-height: var(--el-height-md);
6
+ --menu-line-height: var(--line-height);
7
7
 
8
- font-weight: var(--font-medium);
8
+ font-weight: 500;
9
9
  width: 100%;
10
10
  white-space: nowrap;
11
11
  overflow-x: auto;
@@ -40,8 +40,8 @@
40
40
  }
41
41
 
42
42
  .j-menu .menu .menu-item:not(:has(a)) {
43
- height: var(--menu-item-height);
44
- line-height: var(--menu-item-line-height);
43
+ height: var(--menu-height);
44
+ line-height: var(--menu-line-height);
45
45
 
46
46
  text-decoration: underline;
47
47
  text-decoration-style: wavy;
@@ -74,10 +74,10 @@
74
74
  gap: 8px;
75
75
  color: currentColor;
76
76
  padding: 0.5rem 0.75rem;
77
- height: var(--menu-item-height);
78
- line-height: var(--menu-item-line-height);
79
- border-radius: var(--menu-border-radius);
80
- font-weight: var(--font-medium);
77
+ height: var(--menu-height);
78
+ line-height: var(--menu-line-height);
79
+ border-radius: var(--menu-radius);
80
+ font-weight: 500;
81
81
 
82
82
  display: flex;
83
83
  justify-content: center;
@@ -91,15 +91,15 @@
91
91
 
92
92
  .j-menu .menu .menu-item a .el-icon,
93
93
  .j-menu .menu .menu-item a svg {
94
- width: var(--menu-item-icon-size);
95
- height: var(--menu-item-icon-size);
94
+ width: var(--menu-icon-size);
95
+ height: var(--menu-icon-size);
96
96
  }
97
97
 
98
- .j-menu .menu .menu-item.menu-item-has-children>a {
98
+ .j-menu .menu .menu-item.menu-item-has-children > a {
99
99
  position: relative;
100
100
  }
101
101
 
102
- .j-menu .menu .menu-item.menu-item-has-children>a::after {
102
+ .j-menu .menu .menu-item.menu-item-has-children > a::after {
103
103
  /* width: 0; */
104
104
  /* height: 0; */
105
105
  /* vertical-align: middle; */
@@ -111,22 +111,24 @@
111
111
  border-top: 4px solid currentColor;
112
112
  }
113
113
 
114
- .j-menu .menu .menu-item.menu-item-has-children:hover>a::after {
114
+ .j-menu .menu .menu-item.menu-item-has-children:hover > a::after {
115
115
  transform: rotate(180deg);
116
116
  }
117
117
 
118
118
  .j-menu .menu .menu-item .sub-menu {
119
119
  padding: 4px;
120
- border-radius: var(--menu-border-radius);
120
+ border-radius: var(--menu-radius);
121
121
  min-width: 120px;
122
122
  max-width: 240px;
123
123
 
124
124
  background-color: var(--ui-bg-subtle);
125
125
 
126
126
  @supports (color: color-mix(in srgb, red 50%, blue)) {
127
- background-color: color-mix(in srgb,
128
- var(--ui-bg-subtle) 75%,
129
- transparent);
127
+ background-color: color-mix(
128
+ in srgb,
129
+ var(--ui-bg-subtle) 75%,
130
+ transparent
131
+ );
130
132
  }
131
133
 
132
134
  backdrop-filter: blur(4px);
@@ -148,23 +150,36 @@
148
150
  white-space: normal;
149
151
  }
150
152
 
151
- .j-menu .menu>.menu-item.current-menu-item>a,
152
- .j-menu .menu>.menu-item.current-menu-ancestor>a {
153
+ .j-menu .menu > .menu-item.current-menu-item > a,
154
+ .j-menu .menu > .menu-item.current-menu-ancestor > a {
153
155
  color: var(--tone-solid);
154
156
  }
155
157
 
156
- .j-menu .menu .menu-item.current-menu-item>.sub-menu>.menu-item:not(.current-menu-item) a {
158
+ .j-menu
159
+ .menu
160
+ .menu-item.current-menu-item
161
+ > .sub-menu
162
+ > .menu-item:not(.current-menu-item)
163
+ a {
157
164
  color: inherit;
158
165
  }
159
166
 
160
- .j-menu .menu-item.current-menu-item>.sub-menu>.menu-item:not(.current-menu-item):hover a {
167
+ .j-menu
168
+ .menu-item.current-menu-item
169
+ > .sub-menu
170
+ > .menu-item:not(.current-menu-item):hover
171
+ a {
161
172
  color: var(--tone-fg);
162
173
  }
163
174
 
164
175
  .j-menu .menu .menu-item .sub-menu .menu-item:hover a,
165
176
  .j-menu .menu .menu-item a:hover,
166
- .j-menu .menu .menu-item.menu-item-has-children:hover>a,
167
- .j-menu .menu-item.menu-item-has-children:hover>.sub-menu>.menu-item.current-menu-item a {
177
+ .j-menu .menu .menu-item.menu-item-has-children:hover > a,
178
+ .j-menu
179
+ .menu-item.menu-item-has-children:hover
180
+ > .sub-menu
181
+ > .menu-item.current-menu-item
182
+ a {
168
183
  background: var(--tone-soft);
169
184
  color: var(--tone-text);
170
185
  }
@@ -174,18 +189,21 @@
174
189
  z-index: var(--z-submenu);
175
190
  }
176
191
 
177
- .j-menu:not([data-menu-type='mobile']):not([data-menu-type='bottom']) .menu .menu-item.menu-item-has-children>a {
192
+ .j-menu:not([data-menu-type='mobile']):not([data-menu-type='bottom'])
193
+ .menu
194
+ .menu-item.menu-item-has-children
195
+ > a {
178
196
  pointer-events: none;
179
197
  }
180
198
 
181
199
  /* list card menu */
182
- .j-menu .menu-item.menu-item-has-children.list-menu:hover>.sub-menu {
200
+ .j-menu .menu-item.menu-item-has-children.list-menu:hover > .sub-menu {
183
201
  width: auto;
184
202
  display: grid;
185
203
  grid-template-columns: repeat(2, 1fr);
186
204
  }
187
205
 
188
- .j-menu .menu-item.list-menu>.sub-menu>.menu-item>a {
206
+ .j-menu .menu-item.list-menu > .sub-menu > .menu-item > a {
189
207
  overflow: hidden;
190
208
  display: -webkit-box;
191
209
  -webkit-box-orient: vertical;
@@ -193,13 +211,13 @@
193
211
  line-clamp: 1;
194
212
  }
195
213
 
196
- .j-menu .menu-item.menu-item-has-children.list-menu:hover>.sub-menu {
214
+ .j-menu .menu-item.menu-item-has-children.list-menu:hover > .sub-menu {
197
215
  min-width: 240px;
198
216
  max-width: 360px;
199
217
  transform: translateX(-20%) translateY(1px);
200
218
  }
201
219
 
202
- .j-menu .menu-item.list-menu>.sub-menu>.menu-item>a {
220
+ .j-menu .menu-item.list-menu > .sub-menu > .menu-item > a {
203
221
  padding: 5px 10px;
204
222
  line-height: 1.75;
205
223
  }
@@ -208,9 +226,9 @@
208
226
  * 侧边栏菜单
209
227
  */
210
228
  .j-menu[data-menu-type='mobile'] {
211
- --menu-item-line-height: var(--line-height-paragraph);
212
- --menu-item-height: var(--el-height-xl);
213
- --menu-border-radius: none;
229
+ --menu-line-height: var(--line-height-paragraph);
230
+ --menu-height: var(--el-height-xl);
231
+ --menu-radius: none;
214
232
  --menu-item-active-bg: var(--ui-bg-subtle);
215
233
 
216
234
  overflow-x: hidden;
@@ -247,7 +265,10 @@
247
265
  line-height: var(--line-height-paragraph);
248
266
  }
249
267
 
250
- .j-menu[data-menu-type='mobile'] .menu .menu-item.menu-item-has-children>a::after {
268
+ .j-menu[data-menu-type='mobile']
269
+ .menu
270
+ .menu-item.menu-item-has-children
271
+ > a::after {
251
272
  vertical-align: middle;
252
273
  position: absolute;
253
274
  right: 1rem;
@@ -257,7 +278,10 @@
257
278
  border-top: 4px solid transparent;
258
279
  }
259
280
 
260
- .j-menu[data-menu-type='mobile'] .menu .menu-item.menu-item-has-children:hover>a::after {
281
+ .j-menu[data-menu-type='mobile']
282
+ .menu
283
+ .menu-item.menu-item-has-children:hover
284
+ > a::after {
261
285
  transform: none;
262
286
  }
263
287
 
@@ -275,7 +299,10 @@
275
299
  }
276
300
 
277
301
  .j-menu[data-menu-type='mobile'] .menu .menu-item a:hover,
278
- .j-menu[data-menu-type='mobile'] .menu .menu-item.menu-item-has-children:hover>a,
302
+ .j-menu[data-menu-type='mobile']
303
+ .menu
304
+ .menu-item.menu-item-has-children:hover
305
+ > a,
279
306
  .j-menu[data-menu-type='mobile'] .menu .sub-menu .menu-item:hover a {
280
307
  background: inherit;
281
308
  color: inherit;
@@ -285,7 +312,10 @@
285
312
  background: var(--menu-item-active-bg);
286
313
  }
287
314
 
288
- .j-menu[data-menu-type='mobile'] .menu .menu-item.menu-item-has-children.is-active>.sub-menu {
315
+ .j-menu[data-menu-type='mobile']
316
+ .menu
317
+ .menu-item.menu-item-has-children.is-active
318
+ > .sub-menu {
289
319
  visibility: visible;
290
320
  opacity: 1;
291
321
  z-index: var(--z-submenu);
@@ -326,7 +356,10 @@
326
356
  color: var(--ui-fg);
327
357
  }
328
358
 
329
- .j-menu[data-menu-type='bottom']>.menu>.menu-item.menu-item-has-children>a::after {
359
+ .j-menu[data-menu-type='bottom']
360
+ > .menu
361
+ > .menu-item.menu-item-has-children
362
+ > a::after {
330
363
  content: '☰';
331
364
  font-size: var(--font-size-sm);
332
365
  border: none;
@@ -336,17 +369,26 @@
336
369
  /* transition: unset; */
337
370
  }
338
371
 
339
- .j-menu[data-menu-type='bottom']>.menu .menu-item.menu-item-has-children:hover>a::after {
372
+ .j-menu[data-menu-type='bottom']
373
+ > .menu
374
+ .menu-item.menu-item-has-children:hover
375
+ > a::after {
340
376
  transform: none;
341
377
  }
342
378
 
343
- .j-menu[data-menu-type='bottom'] .menu .menu-item.current-menu-parent>a,
344
- .j-menu[data-menu-type='bottom'] .menu .menu-item.current-menu-item>a,
345
- .j-menu[data-menu-type='bottom'] .menu .menu-item.menu-item-has-children.is-active>a {
379
+ .j-menu[data-menu-type='bottom'] .menu .menu-item.current-menu-parent > a,
380
+ .j-menu[data-menu-type='bottom'] .menu .menu-item.current-menu-item > a,
381
+ .j-menu[data-menu-type='bottom']
382
+ .menu
383
+ .menu-item.menu-item-has-children.is-active
384
+ > a {
346
385
  color: var(--tone-solid);
347
386
  }
348
387
 
349
- .j-menu[data-menu-type='bottom'] .menu .menu-item.menu-item-has-children>.sub-menu {
388
+ .j-menu[data-menu-type='bottom']
389
+ .menu
390
+ .menu-item.menu-item-has-children
391
+ > .sub-menu {
350
392
  opacity: 0;
351
393
  visibility: hidden;
352
394
  display: flex;
@@ -365,17 +407,29 @@
365
407
  z-index: -1;
366
408
  }
367
409
 
368
- .j-menu[data-menu-type='bottom'] .menu .menu-item.menu-item-has-children.is-active>.sub-menu {
410
+ .j-menu[data-menu-type='bottom']
411
+ .menu
412
+ .menu-item.menu-item-has-children.is-active
413
+ > .sub-menu {
369
414
  opacity: 1;
370
415
  visibility: visible;
371
416
  transform: translateX(-50%) translateY(0%);
372
417
  }
373
418
 
374
- .j-menu[data-menu-type='bottom'] .menu .menu-item.menu-item-has-children>.sub-menu>.menu-item {
419
+ .j-menu[data-menu-type='bottom']
420
+ .menu
421
+ .menu-item.menu-item-has-children
422
+ > .sub-menu
423
+ > .menu-item {
375
424
  white-space: normal;
376
425
  }
377
426
 
378
- .j-menu[data-menu-type='bottom'] .menu .menu-item.menu-item-has-children>.sub-menu>.menu-item>a {
427
+ .j-menu[data-menu-type='bottom']
428
+ .menu
429
+ .menu-item.menu-item-has-children
430
+ > .sub-menu
431
+ > .menu-item
432
+ > a {
379
433
  min-height: var(--el-height-2xl);
380
434
  justify-content: center;
381
435
  }
@@ -439,4 +493,4 @@
439
493
  color: var(--ui-fg-soft);
440
494
  font-size: var(--font-size-sm);
441
495
  }
442
- }
496
+ }
@@ -1,12 +1,8 @@
1
1
  @layer components {
2
2
  .j-modal {
3
- --modal-header-padding: 12px 16px 0;
4
- --modal-body-padding: 16px;
5
- --modal-footer-padding: 0 16px 16px;
6
-
7
3
  color: var(--ui-fg);
8
4
  background: var(--ui-bg);
9
- border: 1px solid var(--ui-border);
5
+ border: var(--border);
10
6
  border-radius: var(--radius-md);
11
7
  box-shadow: var(--shadow-md);
12
8
  min-width: 300px;
@@ -22,7 +18,7 @@
22
18
 
23
19
  .j-modal .modal-header {
24
20
  gap: 4px;
25
- padding: var(--modal-header-padding);
21
+ padding: var(--modal-header-padding, 12px 16px 0);
26
22
  border-bottom: transparent;
27
23
 
28
24
  display: flex;
@@ -33,7 +29,7 @@
33
29
  .j-modal .modal-header .modal-title {
34
30
  margin: 0;
35
31
  font-size: var(--font-size-md);
36
- font-weight: var(--font-medium);
32
+ font-weight: 500;
37
33
  }
38
34
 
39
35
  .j-modal .modal-header .is-icon svg {
@@ -41,7 +37,7 @@
41
37
  }
42
38
 
43
39
  .j-modal .modal-body {
44
- padding: var(--modal-body-padding);
40
+ padding: var(--modal-body-padding, 16px);
45
41
  min-height: 32px;
46
42
 
47
43
  flex: 1;
@@ -59,7 +55,7 @@
59
55
 
60
56
  .j-modal .modal-footer {
61
57
  gap: 8px;
62
- padding: var(--modal-footer-padding);
58
+ padding: var(--modal-footer-padding, 0 16px 16px);
63
59
  border-top: 1px solid transparent;
64
60
 
65
61
  display: flex;
@@ -88,4 +84,4 @@
88
84
  .j-popup-layout:has(.is-fullscreen) {
89
85
  padding: 0;
90
86
  }
91
- }
87
+ }
@@ -12,9 +12,8 @@
12
12
  }
13
13
 
14
14
  .j-offcanvas {
15
- --offcanvas-border: 1px solid var(--ui-border-subtle);
16
- --offcanvas-block-width: 300px;
17
- --offcanvas-inline-height: 200px;
15
+ --offcanvas-width: 300px;
16
+ --offcanvas-height: 200px;
18
17
 
19
18
  background: var(--ui-bg);
20
19
  box-shadow: var(--shadow-md);
@@ -26,37 +25,37 @@
26
25
  .j-offcanvas[data-direction='left'] {
27
26
  top: 0;
28
27
  left: 0;
29
- width: var(--offcanvas-block-width);
28
+ width: var(--offcanvas-width);
30
29
  height: 100vh;
31
- border-right: var(--offcanvas-border);
30
+ border-right: var(--border);
32
31
  }
33
32
 
34
33
  .j-offcanvas[data-direction='right'] {
35
34
  top: 0;
36
35
  right: 0;
37
- width: var(--offcanvas-block-width);
36
+ width: var(--offcanvas-width);
38
37
  height: 100vh;
39
- border-left: var(--offcanvas-border);
38
+ border-left: var(--border);
40
39
  }
41
40
 
42
41
  .j-offcanvas[data-direction='top'] {
43
42
  top: 0;
44
43
  left: 0;
45
44
  width: 100%;
46
- height: var(--offcanvas-inline-height);
47
- border-bottom: var(--offcanvas-border);
45
+ height: var(--offcanvas-height);
46
+ border-bottom: var(--border);
48
47
  }
49
48
 
50
49
  .j-offcanvas[data-direction='bottom'] {
51
50
  bottom: 0;
52
51
  left: 0;
53
52
  width: 100%;
54
- height: var(--offcanvas-inline-height);
55
- border-top: var(--offcanvas-border);
53
+ height: var(--offcanvas-height);
54
+ border-top: var(--border);
56
55
  }
57
56
 
58
57
  .j-font-md .j-offcanvas {
59
- --offcanvas-block-width: 316px;
58
+ --offcanvas-width: 316px;
60
59
  }
61
60
 
62
61
  .j-offcanvas .offcanvas-panel {
@@ -65,4 +64,4 @@
65
64
  overflow-y: auto;
66
65
  scrollbar-width: none;
67
66
  }
68
- }
67
+ }
@@ -1,9 +1,8 @@
1
1
  @layer components {
2
2
  .j-swiper {
3
- --swiper-min-height: 120px;
4
- --swiper-title-inset: 12px;
5
- --swiper-title-font-size: var(--font-size-lg);
6
- --swiper-navigation-size: 32px;
3
+ --swiper-inset: 12px;
4
+ --swiper-font-size: var(--font-size-lg);
5
+ --swiper-icon-size: 32px;
7
6
 
8
7
  position: relative;
9
8
  display: block;
@@ -11,7 +10,7 @@
11
10
  touch-action: pan-y;
12
11
  user-select: none;
13
12
  width: 100%;
14
- min-height: var(--swiper-min-height);
13
+ min-height: var(--swiper-min-height, 120px);
15
14
  border-radius: var(--radius-md);
16
15
  }
17
16
 
@@ -42,9 +41,11 @@
42
41
  color: var(--ui-fg-soft);
43
42
  font-size: var(--font-size-md);
44
43
  background-color: var(--tone-wash);
45
- background-image: radial-gradient(circle,
46
- var(--ui-border) 1px,
47
- transparent 1px);
44
+ background-image: radial-gradient(
45
+ circle,
46
+ var(--ui-border) 1px,
47
+ transparent 1px
48
+ );
48
49
  background-size: 20px 20px;
49
50
 
50
51
  position: absolute;
@@ -74,13 +75,13 @@
74
75
  }
75
76
 
76
77
  .j-swiper .swiper-slide-title {
77
- right: var(--swiper-title-inset);
78
- bottom: var(--swiper-title-inset);
79
- left: var(--swiper-title-inset);
78
+ right: var(--swiper-inset);
79
+ bottom: var(--swiper-inset);
80
+ left: var(--swiper-inset);
80
81
  padding: 6px 8px;
81
82
  color: #fff;
82
- font-size: var(--swiper-title-font-size);
83
- font-weight: var(--font-bold);
83
+ font-size: var(--swiper-font-size);
84
+ font-weight: 700;
84
85
  background: rgba(0, 0, 0, 0.35);
85
86
  border-radius: var(--radius-sm);
86
87
  line-height: var(--line-height-heading);
@@ -135,8 +136,8 @@
135
136
  }
136
137
 
137
138
  .j-swiper .swiper-navigation {
138
- width: var(--swiper-navigation-size);
139
- height: var(--swiper-navigation-size);
139
+ width: var(--swiper-icon-size);
140
+ height: var(--swiper-icon-size);
140
141
  padding: 0;
141
142
  color: #fff;
142
143
  background: rgba(0, 0, 0, 0.35);
@@ -188,8 +189,8 @@
188
189
 
189
190
  @media (max-width: 640px) {
190
191
  .j-swiper {
191
- --swiper-title-font-size: var(--font-size-md);
192
- --swiper-title-inset: 8px;
192
+ --swiper-font-size: var(--font-size-md);
193
+ --swiper-inset: 8px;
193
194
  }
194
195
  }
195
- }
196
+ }
@@ -69,7 +69,7 @@
69
69
  padding: var(--tab-item-padding, 6px 12px);
70
70
  margin: 0;
71
71
  color: var(--tab-fg, var(--tone-body));
72
- font-weight: var(--font-medium);
72
+ font-weight: 500;
73
73
 
74
74
  flex-shrink: 0;
75
75
  cursor: pointer;
@@ -85,7 +85,7 @@
85
85
  }
86
86
 
87
87
  .j-tabs .tab-nav .tab-item[aria-disabled='true'] {
88
- --tab-fg: var(--tone-disabled);
88
+ --tab-fg: var(--ui-fg-disabled);
89
89
  }
90
90
 
91
91
  .j-tabs .tab-panel {
@@ -105,4 +105,4 @@
105
105
  .j-tabs .tab-panel .panel-item[aria-hidden='false'] {
106
106
  display: block;
107
107
  }
108
- }
108
+ }
@@ -23,7 +23,7 @@
23
23
 
24
24
  .j-themes .item-title {
25
25
  font-size: var(--font-size-md);
26
- font-weight: var(--font-bold);
26
+ font-weight: 700;
27
27
  }
28
28
 
29
29
  .j-themes .items {
@@ -64,4 +64,4 @@
64
64
  overflow: hidden;
65
65
  text-overflow: ellipsis;
66
66
  }
67
- }
67
+ }