@citrusworx/juiceui 0.8.0 → 0.9.1
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/README.md +54 -5
- package/dist/index.css +2600 -75
- package/dist/index.d.ts +14 -0
- package/dist/index.js +1192 -196
- package/dist/js/juice.d.ts +14 -0
- package/dist/js/src/breadcrumb/breadcrumb-runtime.d.ts +64 -0
- package/dist/js/src/checkbox/checkbox-runtime.d.ts +51 -0
- package/dist/js/src/pagination/pagination-runtime.d.ts +79 -0
- package/dist/js/src/progress/progress-runtime.d.ts +51 -0
- package/dist/js/src/radio/radio-runtime.d.ts +52 -0
- package/dist/js/src/slider/slider-runtime.d.ts +55 -0
- package/dist/js/src/switch/switch-runtime.d.ts +50 -0
- package/dist/themes/aquaflux.css +391 -0
- package/dist/themes/citrusmint.css +347 -0
- package/dist/themes/kiwipress.css +406 -0
- package/dist/themes/retro-afterburn.css +1701 -0
- package/dist/themes/retro-arcade-glow.css +1701 -0
- package/dist/themes/retro-boardwalk.css +1553 -0
- package/dist/themes/retro-denim-dial.css +1553 -0
- package/dist/themes/retro-forest-radio.css +1553 -0
- package/dist/themes/retro-orchard-club.css +1553 -0
- package/dist/themes/retro-poolside-pop.css +1553 -0
- package/dist/themes/retro-signal-garden.css +1553 -0
- package/dist/themes/retro-sunset-motel.css +1553 -0
- package/dist/themes/retro-violet-parlor.css +1553 -0
- package/dist/themes/tide.css +393 -0
- package/package.json +92 -2
package/dist/themes/aquaflux.css
CHANGED
|
@@ -341,6 +341,117 @@
|
|
|
341
341
|
--juice-menu-focus-ring: var(--aqua-menu-focus-ring);
|
|
342
342
|
--juice-menu-opener: var(--aqua-menu-opener);
|
|
343
343
|
--juice-menu-opener-ink: var(--aqua-menu-opener-ink);
|
|
344
|
+
/* Switch chrome — APG switch from existing tokens. The host is a
|
|
345
|
+
surface track, not a CTA. Distinct from checkbox / menuitemcheckbox. */
|
|
346
|
+
--aqua-switch-track: var(--aqua-surface-muted);
|
|
347
|
+
--aqua-switch-track-checked: var(--aqua-accent);
|
|
348
|
+
--aqua-switch-thumb: var(--aqua-page);
|
|
349
|
+
--aqua-switch-thumb-checked: var(--aqua-page);
|
|
350
|
+
--aqua-switch-focus-ring: var(--aqua-accent);
|
|
351
|
+
--juice-switch-track: var(--aqua-switch-track);
|
|
352
|
+
--juice-switch-track-checked: var(--aqua-switch-track-checked);
|
|
353
|
+
--juice-switch-thumb: var(--aqua-switch-thumb);
|
|
354
|
+
--juice-switch-thumb-checked: var(--aqua-switch-thumb-checked);
|
|
355
|
+
--juice-switch-focus-ring: var(--aqua-switch-focus-ring);
|
|
356
|
+
/* Slider chrome — APG slider from existing tokens. Horizontal only.
|
|
357
|
+
The track is a surface groove, not a CTA. Distinct from range
|
|
358
|
+
input, progress, and scrollbar. */
|
|
359
|
+
--aqua-slider-track: var(--aqua-surface-muted);
|
|
360
|
+
--aqua-slider-track-border: var(--aqua-border);
|
|
361
|
+
--aqua-slider-fill: var(--aqua-accent);
|
|
362
|
+
--aqua-slider-thumb: var(--aqua-page);
|
|
363
|
+
--aqua-slider-thumb-border: var(--aqua-border-strong);
|
|
364
|
+
--aqua-slider-thumb-shadow: 0 1px 2px var(--aqua-shadow);
|
|
365
|
+
--aqua-slider-focus-ring: var(--aqua-accent);
|
|
366
|
+
--juice-slider-track: var(--aqua-slider-track);
|
|
367
|
+
--juice-slider-track-border: var(--aqua-slider-track-border);
|
|
368
|
+
--juice-slider-fill: var(--aqua-slider-fill);
|
|
369
|
+
--juice-slider-thumb: var(--aqua-slider-thumb);
|
|
370
|
+
--juice-slider-thumb-border: var(--aqua-slider-thumb-border);
|
|
371
|
+
--juice-slider-thumb-shadow: var(--aqua-slider-thumb-shadow);
|
|
372
|
+
--juice-slider-focus-ring: var(--aqua-slider-focus-ring);
|
|
373
|
+
/* Checkbox chrome — APG checkbox from existing tokens. The host is a
|
|
374
|
+
surface box, not a CTA. Binary only. Distinct from switch and
|
|
375
|
+
menuitemcheckbox. */
|
|
376
|
+
--aqua-checkbox-control: var(--aqua-page);
|
|
377
|
+
--aqua-checkbox-control-checked: var(--aqua-accent);
|
|
378
|
+
--aqua-checkbox-border: var(--aqua-border-strong);
|
|
379
|
+
--aqua-checkbox-border-checked: var(--aqua-accent);
|
|
380
|
+
--aqua-checkbox-mark: var(--aqua-page);
|
|
381
|
+
--aqua-checkbox-focus-ring: var(--aqua-accent);
|
|
382
|
+
--juice-checkbox-control: var(--aqua-checkbox-control);
|
|
383
|
+
--juice-checkbox-control-checked: var(--aqua-checkbox-control-checked);
|
|
384
|
+
--juice-checkbox-border: var(--aqua-checkbox-border);
|
|
385
|
+
--juice-checkbox-border-checked: var(--aqua-checkbox-border-checked);
|
|
386
|
+
--juice-checkbox-mark: var(--aqua-checkbox-mark);
|
|
387
|
+
--juice-checkbox-focus-ring: var(--aqua-checkbox-focus-ring);
|
|
388
|
+
/* Radio chrome — APG radio from existing tokens. The host is a surface
|
|
389
|
+
disc, not a CTA. The group is layout-only. Distinct from switch
|
|
390
|
+
and checkbox. */
|
|
391
|
+
--aqua-radio-control: var(--aqua-page);
|
|
392
|
+
--aqua-radio-control-checked: var(--aqua-page);
|
|
393
|
+
--aqua-radio-border: var(--aqua-border-strong);
|
|
394
|
+
--aqua-radio-border-checked: var(--aqua-accent);
|
|
395
|
+
--aqua-radio-mark: var(--aqua-accent);
|
|
396
|
+
--aqua-radio-focus-ring: var(--aqua-accent);
|
|
397
|
+
--juice-radio-control: var(--aqua-radio-control);
|
|
398
|
+
--juice-radio-control-checked: var(--aqua-radio-control-checked);
|
|
399
|
+
--juice-radio-border: var(--aqua-radio-border);
|
|
400
|
+
--juice-radio-border-checked: var(--aqua-radio-border-checked);
|
|
401
|
+
--juice-radio-mark: var(--aqua-radio-mark);
|
|
402
|
+
--juice-radio-focus-ring: var(--aqua-radio-focus-ring);
|
|
403
|
+
/* Breadcrumb chrome — APG trail from existing tokens. Inline, not a
|
|
404
|
+
site nav bar and not a CTA. Surface stays transparent unless a bar
|
|
405
|
+
is wanted. Distinct from tabs, wizard steps, and pagination. */
|
|
406
|
+
--aqua-breadcrumb-ink: var(--aqua-text-muted);
|
|
407
|
+
--aqua-breadcrumb-ink-current: var(--aqua-heading);
|
|
408
|
+
--aqua-breadcrumb-ink-hover: var(--aqua-accent);
|
|
409
|
+
--aqua-breadcrumb-separator: var(--aqua-border-strong);
|
|
410
|
+
--aqua-breadcrumb-focus-ring: var(--aqua-accent);
|
|
411
|
+
--aqua-breadcrumb-surface: transparent;
|
|
412
|
+
--juice-breadcrumb-ink: var(--aqua-breadcrumb-ink);
|
|
413
|
+
--juice-breadcrumb-ink-current: var(--aqua-breadcrumb-ink-current);
|
|
414
|
+
--juice-breadcrumb-ink-hover: var(--aqua-breadcrumb-ink-hover);
|
|
415
|
+
--juice-breadcrumb-separator: var(--aqua-breadcrumb-separator);
|
|
416
|
+
--juice-breadcrumb-focus-ring: var(--aqua-breadcrumb-focus-ring);
|
|
417
|
+
--juice-breadcrumb-surface: var(--aqua-breadcrumb-surface);
|
|
418
|
+
/* Progress chrome — APG progressbar from existing tokens. The track
|
|
419
|
+
is a surface groove, not a CTA. Distinct from slider, spinner, and
|
|
420
|
+
a native <progress> restyle. Inline status — no overlay. */
|
|
421
|
+
--aqua-progress-track: var(--aqua-surface-muted);
|
|
422
|
+
--aqua-progress-track-border: var(--aqua-border);
|
|
423
|
+
--aqua-progress-fill: var(--aqua-accent);
|
|
424
|
+
--aqua-progress-ink: var(--aqua-text);
|
|
425
|
+
--aqua-progress-focus-ring: var(--aqua-accent);
|
|
426
|
+
--juice-progress-track: var(--aqua-progress-track);
|
|
427
|
+
--juice-progress-track-border: var(--aqua-progress-track-border);
|
|
428
|
+
--juice-progress-fill: var(--aqua-progress-fill);
|
|
429
|
+
--juice-progress-ink: var(--aqua-progress-ink);
|
|
430
|
+
--juice-progress-focus-ring: var(--aqua-progress-focus-ring);
|
|
431
|
+
/* Pagination chrome — APG page set from existing tokens. Page controls
|
|
432
|
+
are surfaces, not a CTA. The trail stays transparent. Current fill
|
|
433
|
+
is accent; ink on that fill is page. Distinct from breadcrumb,
|
|
434
|
+
nav[type="pagination"], tabs, and wizard steps. */
|
|
435
|
+
--aqua-pagination-surface: var(--aqua-surface);
|
|
436
|
+
--aqua-pagination-surface-hover: var(--aqua-surface-muted);
|
|
437
|
+
--aqua-pagination-surface-current: var(--aqua-accent);
|
|
438
|
+
--aqua-pagination-ink: var(--aqua-text);
|
|
439
|
+
--aqua-pagination-ink-hover: var(--aqua-accent);
|
|
440
|
+
--aqua-pagination-ink-current: var(--aqua-page);
|
|
441
|
+
--aqua-pagination-ink-disabled: var(--aqua-text-muted);
|
|
442
|
+
--aqua-pagination-border: var(--aqua-border);
|
|
443
|
+
--aqua-pagination-focus-ring: var(--aqua-accent);
|
|
444
|
+
--aqua-pagination-ellipsis: var(--aqua-text-muted);
|
|
445
|
+
--juice-pagination-surface: var(--aqua-pagination-surface);
|
|
446
|
+
--juice-pagination-surface-hover: var(--aqua-pagination-surface-hover);
|
|
447
|
+
--juice-pagination-surface-current: var(--aqua-pagination-surface-current);
|
|
448
|
+
--juice-pagination-ink: var(--aqua-pagination-ink);
|
|
449
|
+
--juice-pagination-ink-hover: var(--aqua-pagination-ink-hover);
|
|
450
|
+
--juice-pagination-ink-current: var(--aqua-pagination-ink-current);
|
|
451
|
+
--juice-pagination-ink-disabled: var(--aqua-pagination-ink-disabled);
|
|
452
|
+
--juice-pagination-border: var(--aqua-pagination-border);
|
|
453
|
+
--juice-pagination-focus-ring: var(--aqua-pagination-focus-ring);
|
|
454
|
+
--juice-pagination-ellipsis: var(--aqua-pagination-ellipsis);
|
|
344
455
|
background-color: var(--aqua-page);
|
|
345
456
|
background-image: var(--aqua-page-background);
|
|
346
457
|
color: var(--aqua-text);
|
|
@@ -1074,4 +1185,284 @@
|
|
|
1074
1185
|
|
|
1075
1186
|
[theme=aquaflux] [menu-label] {
|
|
1076
1187
|
color: var(--juice-menu-ink);
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
/* Switch chrome. Beat [theme] :where(button) CTA defaults.
|
|
1191
|
+
The host is a surface track, not a CTA. Runtime is later. */
|
|
1192
|
+
[theme=aquaflux] button[switch],
|
|
1193
|
+
[theme=aquaflux] [switch] {
|
|
1194
|
+
background-image: none;
|
|
1195
|
+
background-color: var(--juice-switch-track);
|
|
1196
|
+
box-shadow: none;
|
|
1197
|
+
transform: none;
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
[theme=aquaflux] button[switch][aria-checked=true],
|
|
1201
|
+
[theme=aquaflux] [switch][aria-checked=true],
|
|
1202
|
+
[theme=aquaflux] [switch]:checked {
|
|
1203
|
+
background-image: none;
|
|
1204
|
+
background-color: var(--juice-switch-track-checked);
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
[theme=aquaflux] button[switch]:hover,
|
|
1208
|
+
[theme=aquaflux] [switch]:hover,
|
|
1209
|
+
[theme=aquaflux] button[switch]:focus-visible,
|
|
1210
|
+
[theme=aquaflux] [switch]:focus-visible {
|
|
1211
|
+
box-shadow: none;
|
|
1212
|
+
transform: none;
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
[theme=aquaflux] button[switch]:focus-visible,
|
|
1216
|
+
[theme=aquaflux] [switch]:focus-visible {
|
|
1217
|
+
outline: 2px solid var(--juice-switch-focus-ring);
|
|
1218
|
+
outline-offset: 2px;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
/* Slider chrome. Beat [theme] :where(button) CTA defaults.
|
|
1222
|
+
Horizontal only. The thumb is a surface control, not a CTA.
|
|
1223
|
+
Runtime is later. */
|
|
1224
|
+
[theme=aquaflux] button[slider]:not([slider=vertical]),
|
|
1225
|
+
[theme=aquaflux] [slider]:not([slider=vertical]) {
|
|
1226
|
+
background-image: none;
|
|
1227
|
+
background-color: transparent;
|
|
1228
|
+
box-shadow: none;
|
|
1229
|
+
transform: none;
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
[theme=aquaflux] button[slider-thumb],
|
|
1233
|
+
[theme=aquaflux] [slider-thumb] {
|
|
1234
|
+
background-image: none;
|
|
1235
|
+
background-color: var(--juice-slider-thumb);
|
|
1236
|
+
border-color: var(--juice-slider-thumb-border);
|
|
1237
|
+
box-shadow: var(--juice-slider-thumb-shadow);
|
|
1238
|
+
transform: translate(-50%, -50%);
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
[theme=aquaflux] button[slider-thumb]:hover,
|
|
1242
|
+
[theme=aquaflux] [slider-thumb]:hover,
|
|
1243
|
+
[theme=aquaflux] button[slider-thumb]:focus-visible,
|
|
1244
|
+
[theme=aquaflux] [slider-thumb]:focus-visible {
|
|
1245
|
+
background-image: none;
|
|
1246
|
+
background-color: var(--juice-slider-thumb);
|
|
1247
|
+
box-shadow: var(--juice-slider-thumb-shadow);
|
|
1248
|
+
transform: translate(-50%, -50%);
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
[theme=aquaflux] button[slider-thumb]:focus-visible,
|
|
1252
|
+
[theme=aquaflux] [slider-thumb]:focus-visible {
|
|
1253
|
+
outline: 2px solid var(--juice-slider-focus-ring);
|
|
1254
|
+
outline-offset: 2px;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
/* Checkbox chrome. Beat [theme] :where(button) CTA defaults.
|
|
1258
|
+
The host is a surface box, not a CTA. Binary only. Runtime is later. */
|
|
1259
|
+
[theme=aquaflux] button[checkbox],
|
|
1260
|
+
[theme=aquaflux] [checkbox] {
|
|
1261
|
+
background-image: none;
|
|
1262
|
+
background-color: var(--juice-checkbox-control);
|
|
1263
|
+
border-color: var(--juice-checkbox-border);
|
|
1264
|
+
box-shadow: none;
|
|
1265
|
+
transform: none;
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
[theme=aquaflux] button[checkbox][aria-checked=true],
|
|
1269
|
+
[theme=aquaflux] [checkbox][aria-checked=true],
|
|
1270
|
+
[theme=aquaflux] [checkbox]:checked {
|
|
1271
|
+
background-image: none;
|
|
1272
|
+
background-color: var(--juice-checkbox-control-checked);
|
|
1273
|
+
border-color: var(--juice-checkbox-border-checked);
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
[theme=aquaflux] button[checkbox]:hover,
|
|
1277
|
+
[theme=aquaflux] [checkbox]:hover,
|
|
1278
|
+
[theme=aquaflux] button[checkbox]:focus-visible,
|
|
1279
|
+
[theme=aquaflux] [checkbox]:focus-visible {
|
|
1280
|
+
box-shadow: none;
|
|
1281
|
+
transform: none;
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
[theme=aquaflux] button[checkbox]:focus-visible,
|
|
1285
|
+
[theme=aquaflux] [checkbox]:focus-visible {
|
|
1286
|
+
outline: 2px solid var(--juice-checkbox-focus-ring);
|
|
1287
|
+
outline-offset: 2px;
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
/* Radio chrome. Beat [theme] :where(button) CTA defaults.
|
|
1291
|
+
The host is a surface disc, not a CTA. Group layout is author-owned.
|
|
1292
|
+
Runtime is later. */
|
|
1293
|
+
[theme=aquaflux] button[radio],
|
|
1294
|
+
[theme=aquaflux] [radio] {
|
|
1295
|
+
background-image: none;
|
|
1296
|
+
background-color: var(--juice-radio-control);
|
|
1297
|
+
border-color: var(--juice-radio-border);
|
|
1298
|
+
box-shadow: none;
|
|
1299
|
+
transform: none;
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
[theme=aquaflux] button[radio][aria-checked=true],
|
|
1303
|
+
[theme=aquaflux] [radio][aria-checked=true],
|
|
1304
|
+
[theme=aquaflux] [radio]:checked {
|
|
1305
|
+
background-image: none;
|
|
1306
|
+
background-color: var(--juice-radio-control-checked);
|
|
1307
|
+
border-color: var(--juice-radio-border-checked);
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
[theme=aquaflux] button[radio]:hover,
|
|
1311
|
+
[theme=aquaflux] [radio]:hover,
|
|
1312
|
+
[theme=aquaflux] button[radio]:focus-visible,
|
|
1313
|
+
[theme=aquaflux] [radio]:focus-visible {
|
|
1314
|
+
box-shadow: none;
|
|
1315
|
+
transform: none;
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
[theme=aquaflux] button[radio]:focus-visible,
|
|
1319
|
+
[theme=aquaflux] [radio]:focus-visible {
|
|
1320
|
+
outline: 2px solid var(--juice-radio-focus-ring);
|
|
1321
|
+
outline-offset: 2px;
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
/* Breadcrumb chrome. Beat [theme] :where(nav) bars and :where(a) link color.
|
|
1325
|
+
Inline trail, not a site nav and not a CTA. Runtime is later. */
|
|
1326
|
+
[theme=aquaflux] [breadcrumb],
|
|
1327
|
+
[theme=aquaflux] nav[breadcrumb] {
|
|
1328
|
+
background-image: none;
|
|
1329
|
+
background-color: var(--juice-breadcrumb-surface);
|
|
1330
|
+
border: none;
|
|
1331
|
+
box-shadow: none;
|
|
1332
|
+
-webkit-backdrop-filter: none;
|
|
1333
|
+
backdrop-filter: none;
|
|
1334
|
+
color: var(--juice-breadcrumb-ink);
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
[theme=aquaflux] [breadcrumb] a,
|
|
1338
|
+
[theme=aquaflux] [breadcrumb-link],
|
|
1339
|
+
[theme=aquaflux] a[breadcrumb-link],
|
|
1340
|
+
[theme=aquaflux] button[breadcrumb-link] {
|
|
1341
|
+
background-image: none;
|
|
1342
|
+
background-color: transparent;
|
|
1343
|
+
color: var(--juice-breadcrumb-ink);
|
|
1344
|
+
box-shadow: none;
|
|
1345
|
+
transform: none;
|
|
1346
|
+
text-decoration: none;
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
[theme=aquaflux] [breadcrumb] a:hover,
|
|
1350
|
+
[theme=aquaflux] [breadcrumb-link]:hover,
|
|
1351
|
+
[theme=aquaflux] a[breadcrumb-link]:hover,
|
|
1352
|
+
[theme=aquaflux] button[breadcrumb-link]:hover {
|
|
1353
|
+
background-image: none;
|
|
1354
|
+
background-color: transparent;
|
|
1355
|
+
color: var(--juice-breadcrumb-ink-hover);
|
|
1356
|
+
box-shadow: none;
|
|
1357
|
+
transform: none;
|
|
1358
|
+
}
|
|
1359
|
+
|
|
1360
|
+
[theme=aquaflux] [breadcrumb] [aria-current=page],
|
|
1361
|
+
[theme=aquaflux] [breadcrumb] [aria-current=page] :is(a, [breadcrumb-link]),
|
|
1362
|
+
[theme=aquaflux] [breadcrumb-link][aria-current=page] {
|
|
1363
|
+
color: var(--juice-breadcrumb-ink-current);
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
[theme=aquaflux] [breadcrumb] a:focus-visible,
|
|
1367
|
+
[theme=aquaflux] [breadcrumb-link]:focus-visible,
|
|
1368
|
+
[theme=aquaflux] button[breadcrumb-link]:focus-visible {
|
|
1369
|
+
outline: 2px solid var(--juice-breadcrumb-focus-ring);
|
|
1370
|
+
outline-offset: 2px;
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
/* Progress chrome. Beat [theme] :where(div) fills.
|
|
1374
|
+
The track is a surface groove, not a CTA. Runtime is later. */
|
|
1375
|
+
[theme=aquaflux] [progress] {
|
|
1376
|
+
background-image: none;
|
|
1377
|
+
background-color: transparent;
|
|
1378
|
+
border: none;
|
|
1379
|
+
box-shadow: none;
|
|
1380
|
+
color: var(--juice-progress-ink);
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
[theme=aquaflux] [progress-fill] {
|
|
1384
|
+
background-image: none;
|
|
1385
|
+
background-color: var(--juice-progress-fill);
|
|
1386
|
+
box-shadow: none;
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
[theme=aquaflux] [progress-label] {
|
|
1390
|
+
background-image: none;
|
|
1391
|
+
background-color: transparent;
|
|
1392
|
+
color: var(--juice-progress-ink);
|
|
1393
|
+
box-shadow: none;
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
[theme=aquaflux] [progress]:focus-visible {
|
|
1397
|
+
outline: 2px solid var(--juice-progress-focus-ring);
|
|
1398
|
+
outline-offset: 2px;
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
/* Pagination chrome. Beat [theme] :where(nav) bars, link color, and button
|
|
1402
|
+
CTAs. Page controls are surfaces, not a CTA. The trail stays inline.
|
|
1403
|
+
Runtime is later. */
|
|
1404
|
+
[theme=aquaflux] [pagination],
|
|
1405
|
+
[theme=aquaflux] nav[pagination] {
|
|
1406
|
+
background-image: none;
|
|
1407
|
+
background-color: transparent;
|
|
1408
|
+
border: none;
|
|
1409
|
+
box-shadow: none;
|
|
1410
|
+
-webkit-backdrop-filter: none;
|
|
1411
|
+
backdrop-filter: none;
|
|
1412
|
+
color: var(--juice-pagination-ink);
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
[theme=aquaflux] [pagination] a,
|
|
1416
|
+
[theme=aquaflux] [pagination-link],
|
|
1417
|
+
[theme=aquaflux] a[pagination-link],
|
|
1418
|
+
[theme=aquaflux] button[pagination-link],
|
|
1419
|
+
[theme=aquaflux] button[pagination-prev],
|
|
1420
|
+
[theme=aquaflux] button[pagination-next] {
|
|
1421
|
+
background-image: none;
|
|
1422
|
+
background-color: var(--juice-pagination-surface);
|
|
1423
|
+
border-color: var(--juice-pagination-border);
|
|
1424
|
+
color: var(--juice-pagination-ink);
|
|
1425
|
+
box-shadow: none;
|
|
1426
|
+
transform: none;
|
|
1427
|
+
text-decoration: none;
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
[theme=aquaflux] [pagination] a:hover,
|
|
1431
|
+
[theme=aquaflux] [pagination-link]:hover,
|
|
1432
|
+
[theme=aquaflux] button[pagination-link]:hover,
|
|
1433
|
+
[theme=aquaflux] button[pagination-prev]:hover,
|
|
1434
|
+
[theme=aquaflux] button[pagination-next]:hover {
|
|
1435
|
+
background-image: none;
|
|
1436
|
+
background-color: var(--juice-pagination-surface-hover);
|
|
1437
|
+
color: var(--juice-pagination-ink-hover);
|
|
1438
|
+
box-shadow: none;
|
|
1439
|
+
transform: none;
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
[theme=aquaflux] [pagination] [aria-current=page],
|
|
1443
|
+
[theme=aquaflux] [pagination] [aria-current=page] :is(a, button, [pagination-link]),
|
|
1444
|
+
[theme=aquaflux] [pagination-link][aria-current=page] {
|
|
1445
|
+
background-image: none;
|
|
1446
|
+
background-color: var(--juice-pagination-surface-current);
|
|
1447
|
+
color: var(--juice-pagination-ink-current);
|
|
1448
|
+
box-shadow: none;
|
|
1449
|
+
transform: none;
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
[theme=aquaflux] [pagination] :is(a, button, [pagination-link]):is(:disabled, [disabled], [aria-disabled=true]),
|
|
1453
|
+
[theme=aquaflux] [pagination] [aria-disabled=true] :is(a, button, [pagination-link]) {
|
|
1454
|
+
background-image: none;
|
|
1455
|
+
background-color: var(--juice-pagination-surface);
|
|
1456
|
+
color: var(--juice-pagination-ink-disabled);
|
|
1457
|
+
box-shadow: none;
|
|
1458
|
+
transform: none;
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
[theme=aquaflux] [pagination] a:focus-visible,
|
|
1462
|
+
[theme=aquaflux] [pagination-link]:focus-visible,
|
|
1463
|
+
[theme=aquaflux] button[pagination-link]:focus-visible,
|
|
1464
|
+
[theme=aquaflux] button[pagination-prev]:focus-visible,
|
|
1465
|
+
[theme=aquaflux] button[pagination-next]:focus-visible {
|
|
1466
|
+
outline: 2px solid var(--juice-pagination-focus-ring);
|
|
1467
|
+
outline-offset: 2px;
|
|
1077
1468
|
}
|