vanilla-jui 1.7.34 → 1.7.36

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 (37) 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 +2 -2
  6. package/src/components/toc.ts +1 -1
  7. package/src/css/animation.css +2 -8
  8. package/src/css/card.css +4 -4
  9. package/src/css/font.css +6 -3
  10. package/src/css/gradient.css +128 -63
  11. package/src/css/icon.css +1 -5
  12. package/src/css/layout.css +15 -12
  13. package/src/css/status.css +5 -8
  14. package/src/css/themes/default/accordion.css +8 -7
  15. package/src/css/themes/default/avatar.css +3 -4
  16. package/src/css/themes/default/badge.css +2 -2
  17. package/src/css/themes/default/breadcrumb.css +11 -12
  18. package/src/css/themes/default/button.css +7 -15
  19. package/src/css/themes/default/captcha.css +69 -71
  20. package/src/css/themes/default/drop.css +1 -1
  21. package/src/css/themes/default/editor.css +16 -16
  22. package/src/css/themes/default/flow.css +6 -13
  23. package/src/css/themes/default/form.css +49 -52
  24. package/src/css/themes/default/index.css +1 -1
  25. package/src/css/themes/default/loading.css +62 -47
  26. package/src/css/themes/default/menu.css +133 -79
  27. package/src/css/themes/default/modal.css +7 -11
  28. package/src/css/themes/default/offcanvas.css +12 -13
  29. package/src/css/themes/default/swiper.css +25 -23
  30. package/src/css/themes/default/tabs.css +3 -3
  31. package/src/css/themes/default/theme-palette.css +2 -2
  32. package/src/css/themes/default/tip.css +8 -10
  33. package/src/css/themes/default/toast.css +2 -2
  34. package/src/css/themes/default/toolbar.css +4 -6
  35. package/src/css/themes/default/tooltip.css +4 -8
  36. package/src/css/tokens.css +18 -57
  37. package/src/css/tokens_/345/211/257/346/234/254.css +1 -1
@@ -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;
@@ -55,7 +55,7 @@
55
55
 
56
56
  .j-menu .menu .menu-item:not(:has(a)):hover {
57
57
  background: var(--state-error-subtle);
58
- border-radius: 4px;
58
+ border-radius: var(--menu-radius);
59
59
  }
60
60
 
61
61
  .j-menu .menu .menu-item:not(:has(a)):hover::after {
@@ -73,11 +73,11 @@
73
73
  .j-menu .menu .menu-item a {
74
74
  gap: 8px;
75
75
  color: currentColor;
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);
76
+ padding: 8px 12px;
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,19 +91,16 @@
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 {
103
- /* width: 0; */
104
- /* height: 0; */
105
- /* vertical-align: middle; */
106
- transition: transform 0.2s ease-in-out;
102
+ .j-menu .menu .menu-item.menu-item-has-children > a::after {
103
+ transition: transform 0.2s ease;
107
104
 
108
105
  content: '';
109
106
  border-left: 3px solid transparent;
@@ -111,33 +108,29 @@
111
108
  border-top: 4px solid currentColor;
112
109
  }
113
110
 
114
- .j-menu .menu .menu-item.menu-item-has-children:hover>a::after {
111
+ .j-menu .menu .menu-item.menu-item-has-children:hover > a::after {
115
112
  transform: rotate(180deg);
116
113
  }
117
114
 
118
115
  .j-menu .menu .menu-item .sub-menu {
119
116
  padding: 4px;
120
- border-radius: var(--menu-border-radius);
117
+ border-radius: var(--menu-radius);
121
118
  min-width: 120px;
122
119
  max-width: 240px;
120
+ backdrop-filter: blur(4px);
121
+ display: none;
122
+ position: absolute;
123
123
 
124
- background-color: var(--ui-bg-subtle);
124
+ background-color: var(--ui-bg);
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(in srgb, var(--ui-bg) 70%, transparent);
130
128
  }
131
-
132
- backdrop-filter: blur(4px);
133
-
134
- display: none;
135
- position: absolute;
136
129
  }
137
130
 
138
131
  .j-menu:not([data-menu-type='mobile']) .menu .menu-item .sub-menu {
139
132
  box-shadow: var(--shadow-sm);
140
- border: 1px solid var(--ui-border-subtle);
133
+ border: var(--border-soft);
141
134
  }
142
135
 
143
136
  .j-menu .menu .menu-item .sub-menu .menu-item a {
@@ -148,24 +141,37 @@
148
141
  white-space: normal;
149
142
  }
150
143
 
151
- .j-menu .menu>.menu-item.current-menu-item>a,
152
- .j-menu .menu>.menu-item.current-menu-ancestor>a {
144
+ .j-menu .menu > .menu-item.current-menu-item > a,
145
+ .j-menu .menu > .menu-item.current-menu-ancestor > a {
153
146
  color: var(--tone-solid);
154
147
  }
155
148
 
156
- .j-menu .menu .menu-item.current-menu-item>.sub-menu>.menu-item:not(.current-menu-item) a {
149
+ .j-menu
150
+ .menu
151
+ .menu-item.current-menu-item
152
+ > .sub-menu
153
+ > .menu-item:not(.current-menu-item)
154
+ a {
157
155
  color: inherit;
158
156
  }
159
157
 
160
- .j-menu .menu-item.current-menu-item>.sub-menu>.menu-item:not(.current-menu-item):hover a {
158
+ .j-menu
159
+ .menu-item.current-menu-item
160
+ > .sub-menu
161
+ > .menu-item:not(.current-menu-item):hover
162
+ a {
161
163
  color: var(--tone-fg);
162
164
  }
163
165
 
164
166
  .j-menu .menu .menu-item .sub-menu .menu-item:hover a,
165
167
  .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 {
168
- background: var(--tone-soft);
168
+ .j-menu .menu .menu-item.menu-item-has-children:hover > a,
169
+ .j-menu
170
+ .menu-item.menu-item-has-children:hover
171
+ > .sub-menu
172
+ > .menu-item.current-menu-item
173
+ a {
174
+ background: var(--tone-subtle);
169
175
  color: var(--tone-text);
170
176
  }
171
177
 
@@ -174,18 +180,21 @@
174
180
  z-index: var(--z-submenu);
175
181
  }
176
182
 
177
- .j-menu:not([data-menu-type='mobile']):not([data-menu-type='bottom']) .menu .menu-item.menu-item-has-children>a {
183
+ .j-menu:not([data-menu-type='mobile']):not([data-menu-type='bottom'])
184
+ .menu
185
+ .menu-item.menu-item-has-children
186
+ > a {
178
187
  pointer-events: none;
179
188
  }
180
189
 
181
190
  /* list card menu */
182
- .j-menu .menu-item.menu-item-has-children.list-menu:hover>.sub-menu {
191
+ .j-menu .menu-item.menu-item-has-children.list-menu:hover > .sub-menu {
183
192
  width: auto;
184
193
  display: grid;
185
194
  grid-template-columns: repeat(2, 1fr);
186
195
  }
187
196
 
188
- .j-menu .menu-item.list-menu>.sub-menu>.menu-item>a {
197
+ .j-menu .menu-item.list-menu > .sub-menu > .menu-item > a {
189
198
  overflow: hidden;
190
199
  display: -webkit-box;
191
200
  -webkit-box-orient: vertical;
@@ -193,13 +202,13 @@
193
202
  line-clamp: 1;
194
203
  }
195
204
 
196
- .j-menu .menu-item.menu-item-has-children.list-menu:hover>.sub-menu {
205
+ .j-menu .menu-item.menu-item-has-children.list-menu:hover > .sub-menu {
197
206
  min-width: 240px;
198
207
  max-width: 360px;
199
208
  transform: translateX(-20%) translateY(1px);
200
209
  }
201
210
 
202
- .j-menu .menu-item.list-menu>.sub-menu>.menu-item>a {
211
+ .j-menu .menu-item.list-menu > .sub-menu > .menu-item > a {
203
212
  padding: 5px 10px;
204
213
  line-height: 1.75;
205
214
  }
@@ -208,9 +217,9 @@
208
217
  * 侧边栏菜单
209
218
  */
210
219
  .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;
220
+ --menu-line-height: var(--line-height-paragraph);
221
+ --menu-height: var(--el-height-xl);
222
+ --menu-radius: none;
214
223
  --menu-item-active-bg: var(--ui-bg-subtle);
215
224
 
216
225
  overflow-x: hidden;
@@ -247,7 +256,10 @@
247
256
  line-height: var(--line-height-paragraph);
248
257
  }
249
258
 
250
- .j-menu[data-menu-type='mobile'] .menu .menu-item.menu-item-has-children>a::after {
259
+ .j-menu[data-menu-type='mobile']
260
+ .menu
261
+ .menu-item.menu-item-has-children
262
+ > a::after {
251
263
  vertical-align: middle;
252
264
  position: absolute;
253
265
  right: 1rem;
@@ -257,7 +269,10 @@
257
269
  border-top: 4px solid transparent;
258
270
  }
259
271
 
260
- .j-menu[data-menu-type='mobile'] .menu .menu-item.menu-item-has-children:hover>a::after {
272
+ .j-menu[data-menu-type='mobile']
273
+ .menu
274
+ .menu-item.menu-item-has-children:hover
275
+ > a::after {
261
276
  transform: none;
262
277
  }
263
278
 
@@ -268,14 +283,17 @@
268
283
  width: 100%;
269
284
  visibility: hidden;
270
285
  opacity: 0;
271
- transition: opacity 0.3s ease-in-out;
286
+ transition: opacity 0.2s ease;
272
287
  max-width: 100%;
273
288
  background: var(--ui-bg);
274
289
  padding: 0;
275
290
  }
276
291
 
277
292
  .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,
293
+ .j-menu[data-menu-type='mobile']
294
+ .menu
295
+ .menu-item.menu-item-has-children:hover
296
+ > a,
279
297
  .j-menu[data-menu-type='mobile'] .menu .sub-menu .menu-item:hover a {
280
298
  background: inherit;
281
299
  color: inherit;
@@ -285,7 +303,10 @@
285
303
  background: var(--menu-item-active-bg);
286
304
  }
287
305
 
288
- .j-menu[data-menu-type='mobile'] .menu .menu-item.menu-item-has-children.is-active>.sub-menu {
306
+ .j-menu[data-menu-type='mobile']
307
+ .menu
308
+ .menu-item.menu-item-has-children.is-active
309
+ > .sub-menu {
289
310
  visibility: visible;
290
311
  opacity: 1;
291
312
  z-index: var(--z-submenu);
@@ -296,20 +317,32 @@
296
317
  * 底部菜单
297
318
  */
298
319
  .j-menu[data-menu-type='bottom'] {
299
- position: fixed;
300
- bottom: 0;
301
- left: 0;
320
+ --menu-radius: 99px;
302
321
  overflow: visible;
303
- background-color: var(--ui-bg);
304
322
  z-index: var(--z-submenu);
323
+ position: fixed;
324
+ bottom: 8px;
325
+ left: 50%;
326
+ transform: translateX(-50%);
327
+ min-width: 288px;
328
+ max-width: 93.75%;
305
329
  }
306
330
 
307
331
  .j-menu[data-menu-type='bottom'] .menu {
308
332
  position: relative;
309
333
  justify-content: space-between;
310
334
  gap: 1px;
311
- border-top: 1px solid var(--ui-border-subtle);
312
335
  padding: 4px;
336
+ border: var(--border-soft);
337
+ border-radius: var(--menu-radius);
338
+ box-shadow: var(--shadow-sm);
339
+ backdrop-filter: blur(4px);
340
+
341
+ background-color: var(--ui-bg);
342
+
343
+ @supports (color: color-mix(in srgb, red 50%, blue)) {
344
+ background-color: color-mix(in srgb, var(--ui-bg) 70%, transparent);
345
+ }
313
346
  }
314
347
 
315
348
  .j-menu[data-menu-type='bottom'] .menu .menu-item {
@@ -326,27 +359,34 @@
326
359
  color: var(--ui-fg);
327
360
  }
328
361
 
329
- .j-menu[data-menu-type='bottom']>.menu>.menu-item.menu-item-has-children>a::after {
330
- content: '☰';
331
- font-size: var(--font-size-sm);
332
- border: none;
333
- /* margin-left: unset; */
334
- /* width: unset; */
335
- /* height: unset; */
336
- /* transition: unset; */
362
+ .j-menu[data-menu-type='bottom']
363
+ > .menu
364
+ > .menu-item.menu-item-has-children
365
+ > a::after {
366
+ content: none;
337
367
  }
338
368
 
339
- .j-menu[data-menu-type='bottom']>.menu .menu-item.menu-item-has-children:hover>a::after {
369
+ .j-menu[data-menu-type='bottom']
370
+ > .menu
371
+ .menu-item.menu-item-has-children:hover
372
+ > a::after {
340
373
  transform: none;
341
374
  }
342
375
 
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 {
376
+ .j-menu[data-menu-type='bottom'] .menu .menu-item.current-menu-parent > a,
377
+ .j-menu[data-menu-type='bottom'] .menu .menu-item.current-menu-item > a,
378
+ .j-menu[data-menu-type='bottom']
379
+ .menu
380
+ .menu-item.menu-item-has-children.is-active
381
+ > a {
346
382
  color: var(--tone-solid);
383
+ background-color: var(--tone-subtle);
347
384
  }
348
385
 
349
- .j-menu[data-menu-type='bottom'] .menu .menu-item.menu-item-has-children>.sub-menu {
386
+ .j-menu[data-menu-type='bottom']
387
+ .menu
388
+ .menu-item.menu-item-has-children
389
+ > .sub-menu {
350
390
  opacity: 0;
351
391
  visibility: hidden;
352
392
  display: flex;
@@ -355,27 +395,41 @@
355
395
  justify-content: center;
356
396
  min-width: 10rem;
357
397
  max-width: 18rem;
398
+ border-radius: 16px;
399
+ background-color: var(--ui-bg);
358
400
  left: 50%;
359
401
  transform: translateX(-50%) translateY(100%);
360
- bottom: calc(100% + 4px);
402
+ bottom: calc(100% + 8px);
361
403
  transition:
362
- transform 0.3s ease-in-out,
363
- visibility 0.3s ease-in-out,
364
- opacity 0.3s ease-in-out;
404
+ transform 0.2s ease,
405
+ visibility 0.2s ease,
406
+ opacity 0.2s ease;
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,15 +1,11 @@
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
- min-width: 300px;
8
+ min-width: 304px;
13
9
  max-width: 500px;
14
10
  max-height: 90lvh;
15
11
  max-height: 90dvh;
@@ -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
 
@@ -40,15 +39,18 @@
40
39
 
41
40
  .j-swiper .swiper-slide::before {
42
41
  color: var(--ui-fg-soft);
43
- font-size: var(--font-size-md);
42
+ font-size: var(--font-size-xl);
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;
51
- content: 'loading';
52
+ content: 'LOADING';
53
+ font-family: Courier, monospace;
52
54
  top: 0;
53
55
  left: 0;
54
56
  width: 100%;
@@ -74,15 +76,15 @@
74
76
  }
75
77
 
76
78
  .j-swiper .swiper-slide-title {
77
- right: var(--swiper-title-inset);
78
- bottom: var(--swiper-title-inset);
79
- left: var(--swiper-title-inset);
79
+ right: var(--swiper-inset);
80
+ bottom: var(--swiper-inset);
81
+ left: var(--swiper-inset);
80
82
  padding: 6px 8px;
81
83
  color: #fff;
82
- font-size: var(--swiper-title-font-size);
83
- font-weight: var(--font-bold);
84
+ font-size: var(--swiper-font-size);
85
+ font-weight: 700;
84
86
  background: rgba(0, 0, 0, 0.35);
85
- border-radius: var(--radius-sm);
87
+ border-radius: inherit;
86
88
  line-height: var(--line-height-heading);
87
89
 
88
90
  display: block;
@@ -120,7 +122,7 @@
120
122
  cursor: pointer;
121
123
  border-radius: 999px;
122
124
  outline: none;
123
- transition: width 0.5s var(--bezier);
125
+ transition: width 0.2s ease;
124
126
  }
125
127
 
126
128
  .j-swiper .swiper-pagination-indicator:hover,
@@ -135,8 +137,8 @@
135
137
  }
136
138
 
137
139
  .j-swiper .swiper-navigation {
138
- width: var(--swiper-navigation-size);
139
- height: var(--swiper-navigation-size);
140
+ width: var(--swiper-icon-size);
141
+ height: var(--swiper-icon-size);
140
142
  padding: 0;
141
143
  color: #fff;
142
144
  background: rgba(0, 0, 0, 0.35);
@@ -152,7 +154,7 @@
152
154
  justify-content: center;
153
155
  cursor: pointer;
154
156
  border-radius: 999px;
155
- transition: opacity 0.3s ease-in-out;
157
+ transition: opacity 0.2s ease;
156
158
  }
157
159
 
158
160
  .j-swiper:hover .swiper-navigation {
@@ -188,8 +190,8 @@
188
190
 
189
191
  @media (max-width: 640px) {
190
192
  .j-swiper {
191
- --swiper-title-font-size: var(--font-size-md);
192
- --swiper-title-inset: 8px;
193
+ --swiper-font-size: var(--font-size-md);
194
+ --swiper-inset: 8px;
193
195
  }
194
196
  }
195
- }
197
+ }
@@ -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
+ }