@citrusworx/juiceui 0.9.0 → 0.9.2
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 +42 -7
- package/dist/index.css +1383 -114
- package/dist/index.d.ts +16 -0
- package/dist/index.js +2174 -913
- package/dist/js/juice.d.ts +16 -0
- package/dist/js/src/disclosure/disclosure-runtime.d.ts +51 -0
- package/dist/js/src/drawer/drawer-runtime.d.ts +6 -0
- package/dist/js/src/field/field-runtime.d.ts +53 -0
- package/dist/js/src/input/input-runtime.d.ts +55 -0
- package/dist/js/src/modal/modal-runtime.d.ts +6 -0
- package/dist/js/src/pagination/pagination-runtime.d.ts +79 -0
- package/dist/js/src/popover/popover-runtime.d.ts +5 -0
- package/dist/js/src/select/select-runtime.d.ts +52 -0
- package/dist/js/src/shared/motion.d.ts +48 -0
- package/dist/js/src/spinner/spinner-runtime.d.ts +51 -0
- package/dist/js/src/textarea/textarea-runtime.d.ts +51 -0
- package/dist/js/src/toast/toast-runtime.d.ts +5 -0
- package/dist/themes/aquaflux.css +411 -0
- package/dist/themes/citrusmint.css +404 -0
- package/dist/themes/kiwipress.css +410 -0
- package/dist/themes/retro-afterburn.css +2019 -0
- package/dist/themes/retro-arcade-glow.css +2019 -0
- package/dist/themes/retro-boardwalk.css +2082 -0
- package/dist/themes/retro-denim-dial.css +1871 -0
- package/dist/themes/retro-forest-radio.css +1871 -0
- package/dist/themes/retro-orchard-club.css +1871 -0
- package/dist/themes/retro-poolside-pop.css +1871 -0
- package/dist/themes/retro-signal-garden.css +1871 -0
- package/dist/themes/retro-sunset-motel.css +1871 -0
- package/dist/themes/retro-violet-parlor.css +1871 -0
- package/dist/themes/tide.css +403 -0
- package/package.json +92 -2
package/dist/themes/aquaflux.css
CHANGED
|
@@ -428,6 +428,120 @@
|
|
|
428
428
|
--juice-progress-fill: var(--aqua-progress-fill);
|
|
429
429
|
--juice-progress-ink: var(--aqua-progress-ink);
|
|
430
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);
|
|
455
|
+
/* Disclosure chrome — standalone APG disclosure from existing tokens.
|
|
456
|
+
One trigger and one panel, not an accordion and not a CTA.
|
|
457
|
+
Open fill is highlight. Distinct from [accordion]. */
|
|
458
|
+
--aqua-disclosure-surface: var(--aqua-surface);
|
|
459
|
+
--aqua-disclosure-border: var(--aqua-border);
|
|
460
|
+
--aqua-disclosure-trigger: var(--aqua-surface-strong);
|
|
461
|
+
--aqua-disclosure-trigger-hover: var(--aqua-surface-muted);
|
|
462
|
+
--aqua-disclosure-trigger-open: var(--aqua-highlight);
|
|
463
|
+
--aqua-disclosure-ink: var(--aqua-text);
|
|
464
|
+
--aqua-disclosure-chevron: var(--aqua-accent);
|
|
465
|
+
--aqua-disclosure-focus-ring: var(--aqua-accent);
|
|
466
|
+
--juice-disclosure-surface: var(--aqua-disclosure-surface);
|
|
467
|
+
--juice-disclosure-border: var(--aqua-disclosure-border);
|
|
468
|
+
--juice-disclosure-trigger: var(--aqua-disclosure-trigger);
|
|
469
|
+
--juice-disclosure-trigger-hover: var(--aqua-disclosure-trigger-hover);
|
|
470
|
+
--juice-disclosure-trigger-open: var(--aqua-disclosure-trigger-open);
|
|
471
|
+
--juice-disclosure-ink: var(--aqua-disclosure-ink);
|
|
472
|
+
--juice-disclosure-chevron: var(--aqua-disclosure-chevron);
|
|
473
|
+
--juice-disclosure-focus-ring: var(--aqua-disclosure-focus-ring);
|
|
474
|
+
/* Spinner chrome — standalone indeterminate busy indicator from existing
|
|
475
|
+
tokens. The ring is a border stroke, not a CTA and not a progress
|
|
476
|
+
bar. Indicator is accent. Ink is text. Inline status — no overlay.
|
|
477
|
+
CSS owns the spin. Runtime is later. */
|
|
478
|
+
--aqua-spinner-track: var(--aqua-border);
|
|
479
|
+
--aqua-spinner-indicator: var(--aqua-accent);
|
|
480
|
+
--aqua-spinner-ink: var(--aqua-text);
|
|
481
|
+
--aqua-spinner-focus-ring: var(--aqua-accent);
|
|
482
|
+
--juice-spinner-track: var(--aqua-spinner-track);
|
|
483
|
+
--juice-spinner-indicator: var(--aqua-spinner-indicator);
|
|
484
|
+
--juice-spinner-ink: var(--aqua-spinner-ink);
|
|
485
|
+
--juice-spinner-focus-ring: var(--aqua-spinner-focus-ring);
|
|
486
|
+
/* Select chrome — styled native <select> from existing tokens.
|
|
487
|
+
Field fill matches the combobox input surface. Not a combobox,
|
|
488
|
+
not a custom listbox, and not a CTA. Chevron is accent.
|
|
489
|
+
The platform popup stays native. Runtime is later. */
|
|
490
|
+
--aqua-select-surface: var(--aqua-surface-strong);
|
|
491
|
+
--aqua-select-border: var(--aqua-border-strong);
|
|
492
|
+
--aqua-select-ink: var(--aqua-text);
|
|
493
|
+
--aqua-select-chevron: var(--aqua-accent);
|
|
494
|
+
--aqua-select-focus-ring: var(--aqua-accent);
|
|
495
|
+
--juice-select-surface: var(--aqua-select-surface);
|
|
496
|
+
--juice-select-border: var(--aqua-select-border);
|
|
497
|
+
--juice-select-ink: var(--aqua-select-ink);
|
|
498
|
+
--juice-select-chevron: var(--aqua-select-chevron);
|
|
499
|
+
--juice-select-focus-ring: var(--aqua-select-focus-ring);
|
|
500
|
+
/* Input chrome — styled native text field from existing tokens.
|
|
501
|
+
Field fill matches the combobox input surface. Not a combobox,
|
|
502
|
+
not a select, and not a CTA. Placeholder follows this theme's
|
|
503
|
+
existing placeholder ink. Text-like types only. Runtime is later. */
|
|
504
|
+
--aqua-input-surface: var(--aqua-surface-strong);
|
|
505
|
+
--aqua-input-border: var(--aqua-border-strong);
|
|
506
|
+
--aqua-input-ink: var(--aqua-text);
|
|
507
|
+
--aqua-input-placeholder: var(--aqua-text-muted);
|
|
508
|
+
--aqua-input-focus-ring: var(--aqua-accent);
|
|
509
|
+
--juice-input-surface: var(--aqua-input-surface);
|
|
510
|
+
--juice-input-border: var(--aqua-input-border);
|
|
511
|
+
--juice-input-ink: var(--aqua-input-ink);
|
|
512
|
+
--juice-input-placeholder: var(--aqua-input-placeholder);
|
|
513
|
+
--juice-input-focus-ring: var(--aqua-input-focus-ring);
|
|
514
|
+
/* Textarea chrome — styled native multi-line field from existing tokens.
|
|
515
|
+
Field fill matches the input surface. Not an input, not a select,
|
|
516
|
+
and not a combobox. Placeholder follows this theme's existing
|
|
517
|
+
placeholder ink. Runtime is later. */
|
|
518
|
+
--aqua-textarea-surface: var(--aqua-surface-strong);
|
|
519
|
+
--aqua-textarea-border: var(--aqua-border-strong);
|
|
520
|
+
--aqua-textarea-ink: var(--aqua-text);
|
|
521
|
+
--aqua-textarea-placeholder: var(--aqua-text-muted);
|
|
522
|
+
--aqua-textarea-focus-ring: var(--aqua-accent);
|
|
523
|
+
--juice-textarea-surface: var(--aqua-textarea-surface);
|
|
524
|
+
--juice-textarea-border: var(--aqua-textarea-border);
|
|
525
|
+
--juice-textarea-ink: var(--aqua-textarea-ink);
|
|
526
|
+
--juice-textarea-placeholder: var(--aqua-textarea-placeholder);
|
|
527
|
+
--juice-textarea-focus-ring: var(--aqua-textarea-focus-ring);
|
|
528
|
+
/* Field chrome — wrapper around a control from existing tokens.
|
|
529
|
+
Surface matches the input field. Label is text. Help is muted.
|
|
530
|
+
Error ink and the invalid border reuse banner error — no new hue.
|
|
531
|
+
Not an input, not a textarea, not a select, and not a CTA.
|
|
532
|
+
Runtime is later. */
|
|
533
|
+
--aqua-field-surface: var(--aqua-surface-strong);
|
|
534
|
+
--aqua-field-gap: 0.5rem;
|
|
535
|
+
--aqua-field-label-ink: var(--aqua-text);
|
|
536
|
+
--aqua-field-help-ink: var(--aqua-text-muted);
|
|
537
|
+
--aqua-field-error-ink: var(--aqua-banner-error);
|
|
538
|
+
--aqua-field-invalid-border: var(--aqua-banner-error);
|
|
539
|
+
--juice-field-surface: var(--aqua-field-surface);
|
|
540
|
+
--juice-field-gap: var(--aqua-field-gap);
|
|
541
|
+
--juice-field-label-ink: var(--aqua-field-label-ink);
|
|
542
|
+
--juice-field-help-ink: var(--aqua-field-help-ink);
|
|
543
|
+
--juice-field-error-ink: var(--aqua-field-error-ink);
|
|
544
|
+
--juice-field-invalid-border: var(--aqua-field-invalid-border);
|
|
431
545
|
background-color: var(--aqua-page);
|
|
432
546
|
background-image: var(--aqua-page-background);
|
|
433
547
|
color: var(--aqua-text);
|
|
@@ -1372,4 +1486,301 @@
|
|
|
1372
1486
|
[theme=aquaflux] [progress]:focus-visible {
|
|
1373
1487
|
outline: 2px solid var(--juice-progress-focus-ring);
|
|
1374
1488
|
outline-offset: 2px;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
/* Pagination chrome. Beat [theme] :where(nav) bars, link color, and button
|
|
1492
|
+
CTAs. Page controls are surfaces, not a CTA. The trail stays inline.
|
|
1493
|
+
Runtime is later. */
|
|
1494
|
+
[theme=aquaflux] [pagination],
|
|
1495
|
+
[theme=aquaflux] nav[pagination] {
|
|
1496
|
+
background-image: none;
|
|
1497
|
+
background-color: transparent;
|
|
1498
|
+
border: none;
|
|
1499
|
+
box-shadow: none;
|
|
1500
|
+
-webkit-backdrop-filter: none;
|
|
1501
|
+
backdrop-filter: none;
|
|
1502
|
+
color: var(--juice-pagination-ink);
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
[theme=aquaflux] [pagination] a,
|
|
1506
|
+
[theme=aquaflux] [pagination-link],
|
|
1507
|
+
[theme=aquaflux] a[pagination-link],
|
|
1508
|
+
[theme=aquaflux] button[pagination-link],
|
|
1509
|
+
[theme=aquaflux] button[pagination-prev],
|
|
1510
|
+
[theme=aquaflux] button[pagination-next] {
|
|
1511
|
+
background-image: none;
|
|
1512
|
+
background-color: var(--juice-pagination-surface);
|
|
1513
|
+
border-color: var(--juice-pagination-border);
|
|
1514
|
+
color: var(--juice-pagination-ink);
|
|
1515
|
+
box-shadow: none;
|
|
1516
|
+
transform: none;
|
|
1517
|
+
text-decoration: none;
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
[theme=aquaflux] [pagination] a:hover,
|
|
1521
|
+
[theme=aquaflux] [pagination-link]:hover,
|
|
1522
|
+
[theme=aquaflux] button[pagination-link]:hover,
|
|
1523
|
+
[theme=aquaflux] button[pagination-prev]:hover,
|
|
1524
|
+
[theme=aquaflux] button[pagination-next]:hover {
|
|
1525
|
+
background-image: none;
|
|
1526
|
+
background-color: var(--juice-pagination-surface-hover);
|
|
1527
|
+
color: var(--juice-pagination-ink-hover);
|
|
1528
|
+
box-shadow: none;
|
|
1529
|
+
transform: none;
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
[theme=aquaflux] [pagination] [aria-current=page],
|
|
1533
|
+
[theme=aquaflux] [pagination] [aria-current=page] :is(a, button, [pagination-link]),
|
|
1534
|
+
[theme=aquaflux] [pagination-link][aria-current=page] {
|
|
1535
|
+
background-image: none;
|
|
1536
|
+
background-color: var(--juice-pagination-surface-current);
|
|
1537
|
+
color: var(--juice-pagination-ink-current);
|
|
1538
|
+
box-shadow: none;
|
|
1539
|
+
transform: none;
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
[theme=aquaflux] [pagination] :is(a, button, [pagination-link]):is(:disabled, [disabled], [aria-disabled=true]),
|
|
1543
|
+
[theme=aquaflux] [pagination] [aria-disabled=true] :is(a, button, [pagination-link]) {
|
|
1544
|
+
background-image: none;
|
|
1545
|
+
background-color: var(--juice-pagination-surface);
|
|
1546
|
+
color: var(--juice-pagination-ink-disabled);
|
|
1547
|
+
box-shadow: none;
|
|
1548
|
+
transform: none;
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
[theme=aquaflux] [pagination] a:focus-visible,
|
|
1552
|
+
[theme=aquaflux] [pagination-link]:focus-visible,
|
|
1553
|
+
[theme=aquaflux] button[pagination-link]:focus-visible,
|
|
1554
|
+
[theme=aquaflux] button[pagination-prev]:focus-visible,
|
|
1555
|
+
[theme=aquaflux] button[pagination-next]:focus-visible {
|
|
1556
|
+
outline: 2px solid var(--juice-pagination-focus-ring);
|
|
1557
|
+
outline-offset: 2px;
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
/* Disclosure chrome. Beat [theme] :where(button) CTA defaults.
|
|
1561
|
+
Standalone one-trigger disclosure, not an accordion and not a CTA.
|
|
1562
|
+
Runtime is later. */
|
|
1563
|
+
[theme=aquaflux] [disclosure] {
|
|
1564
|
+
background-image: none;
|
|
1565
|
+
background-color: transparent;
|
|
1566
|
+
border-color: var(--juice-disclosure-border);
|
|
1567
|
+
box-shadow: none;
|
|
1568
|
+
color: var(--juice-disclosure-ink);
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1571
|
+
[theme=aquaflux] button[disclosure-trigger],
|
|
1572
|
+
[theme=aquaflux] a[disclosure-trigger],
|
|
1573
|
+
[theme=aquaflux] [disclosure-trigger] {
|
|
1574
|
+
background-image: none;
|
|
1575
|
+
background-color: var(--juice-disclosure-trigger);
|
|
1576
|
+
color: var(--juice-disclosure-ink);
|
|
1577
|
+
box-shadow: none;
|
|
1578
|
+
transform: none;
|
|
1579
|
+
text-decoration: none;
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1582
|
+
[theme=aquaflux] button[disclosure-trigger]:hover,
|
|
1583
|
+
[theme=aquaflux] a[disclosure-trigger]:hover,
|
|
1584
|
+
[theme=aquaflux] [disclosure-trigger]:hover {
|
|
1585
|
+
background-image: none;
|
|
1586
|
+
background-color: var(--juice-disclosure-trigger-hover);
|
|
1587
|
+
color: var(--juice-disclosure-ink);
|
|
1588
|
+
box-shadow: none;
|
|
1589
|
+
transform: none;
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
[theme=aquaflux] button[disclosure-trigger][aria-expanded=true],
|
|
1593
|
+
[theme=aquaflux] a[disclosure-trigger][aria-expanded=true],
|
|
1594
|
+
[theme=aquaflux] [disclosure-trigger][aria-expanded=true] {
|
|
1595
|
+
background-image: none;
|
|
1596
|
+
background-color: var(--juice-disclosure-trigger-open);
|
|
1597
|
+
color: var(--juice-disclosure-ink);
|
|
1598
|
+
box-shadow: none;
|
|
1599
|
+
transform: none;
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
[theme=aquaflux] [disclosure-trigger]::after {
|
|
1603
|
+
border-color: var(--juice-disclosure-chevron);
|
|
1604
|
+
}
|
|
1605
|
+
|
|
1606
|
+
[theme=aquaflux] button[disclosure-trigger]:focus-visible,
|
|
1607
|
+
[theme=aquaflux] a[disclosure-trigger]:focus-visible,
|
|
1608
|
+
[theme=aquaflux] [disclosure-trigger]:focus-visible {
|
|
1609
|
+
outline: 2px solid var(--juice-disclosure-focus-ring);
|
|
1610
|
+
outline-offset: 2px;
|
|
1611
|
+
box-shadow: none;
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
|
+
[theme=aquaflux] [disclosure-panel],
|
|
1615
|
+
[theme=aquaflux] [disclosure] > [disclosure-trigger] + :not([disclosure-trigger]) {
|
|
1616
|
+
background-image: none;
|
|
1617
|
+
background-color: var(--juice-disclosure-surface);
|
|
1618
|
+
border-color: var(--juice-disclosure-border);
|
|
1619
|
+
color: var(--juice-disclosure-ink);
|
|
1620
|
+
box-shadow: none;
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
/* Spinner chrome. Beat generic div fills.
|
|
1624
|
+
Standalone indeterminate busy indicator, not a progress bar and not a CTA.
|
|
1625
|
+
CSS owns the spin. Runtime is later. */
|
|
1626
|
+
[theme=aquaflux] [spinner] {
|
|
1627
|
+
background-image: none;
|
|
1628
|
+
background-color: transparent;
|
|
1629
|
+
border: none;
|
|
1630
|
+
box-shadow: none;
|
|
1631
|
+
color: var(--juice-spinner-ink);
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
[theme=aquaflux] [spinner]::before {
|
|
1635
|
+
background-image: none;
|
|
1636
|
+
background-color: transparent;
|
|
1637
|
+
border-color: var(--juice-spinner-track);
|
|
1638
|
+
border-top-color: var(--juice-spinner-indicator);
|
|
1639
|
+
box-shadow: none;
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
[theme=aquaflux] [spinner-label] {
|
|
1643
|
+
background-image: none;
|
|
1644
|
+
background-color: transparent;
|
|
1645
|
+
color: var(--juice-spinner-ink);
|
|
1646
|
+
box-shadow: none;
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
[theme=aquaflux] [spinner]:focus-visible {
|
|
1650
|
+
outline: 2px solid var(--juice-spinner-focus-ring);
|
|
1651
|
+
outline-offset: 2px;
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
/* Select chrome. Beat [theme] :where(select) defaults.
|
|
1655
|
+
Styled native dropdown, not a combobox and not a CTA.
|
|
1656
|
+
Chevron stays a background so the control still opens.
|
|
1657
|
+
Runtime is later. */
|
|
1658
|
+
[theme=aquaflux] select[select] {
|
|
1659
|
+
background-color: var(--juice-select-surface);
|
|
1660
|
+
border-color: var(--juice-select-border);
|
|
1661
|
+
color: var(--juice-select-ink);
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1664
|
+
[theme=aquaflux] select[select]:focus-visible {
|
|
1665
|
+
outline: 2px solid var(--juice-select-focus-ring);
|
|
1666
|
+
outline-offset: 2px;
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1669
|
+
[theme=aquaflux] [select-label] {
|
|
1670
|
+
background-image: none;
|
|
1671
|
+
background-color: transparent;
|
|
1672
|
+
color: var(--juice-select-ink);
|
|
1673
|
+
box-shadow: none;
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
/* Input chrome. Beat [theme] :where(input) defaults.
|
|
1677
|
+
Styled native text field, not a combobox, not a select, and not a CTA.
|
|
1678
|
+
Text-like types only. Border color only, so KiwiPress keeps its 2px
|
|
1679
|
+
control border. Runtime is later. */
|
|
1680
|
+
[theme=aquaflux] input[input]:is(:not([type]),
|
|
1681
|
+
[type=""],
|
|
1682
|
+
[type=text i],
|
|
1683
|
+
[type=email i],
|
|
1684
|
+
[type=password i],
|
|
1685
|
+
[type=search i],
|
|
1686
|
+
[type=tel i],
|
|
1687
|
+
[type=url i],
|
|
1688
|
+
[type=number i]):not([combobox-input]) {
|
|
1689
|
+
background-color: var(--juice-input-surface);
|
|
1690
|
+
border-color: var(--juice-input-border);
|
|
1691
|
+
color: var(--juice-input-ink);
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
[theme=aquaflux] input[input]:is(:not([type]),
|
|
1695
|
+
[type=""],
|
|
1696
|
+
[type=text i],
|
|
1697
|
+
[type=email i],
|
|
1698
|
+
[type=password i],
|
|
1699
|
+
[type=search i],
|
|
1700
|
+
[type=tel i],
|
|
1701
|
+
[type=url i],
|
|
1702
|
+
[type=number i]):not([combobox-input])::placeholder {
|
|
1703
|
+
color: var(--juice-input-placeholder);
|
|
1704
|
+
opacity: 1;
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1707
|
+
[theme=aquaflux] input[input]:is(:not([type]),
|
|
1708
|
+
[type=""],
|
|
1709
|
+
[type=text i],
|
|
1710
|
+
[type=email i],
|
|
1711
|
+
[type=password i],
|
|
1712
|
+
[type=search i],
|
|
1713
|
+
[type=tel i],
|
|
1714
|
+
[type=url i],
|
|
1715
|
+
[type=number i]):not([combobox-input]):focus-visible {
|
|
1716
|
+
outline: 2px solid var(--juice-input-focus-ring);
|
|
1717
|
+
outline-offset: 2px;
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
[theme=aquaflux] [input-label] {
|
|
1721
|
+
background-image: none;
|
|
1722
|
+
background-color: transparent;
|
|
1723
|
+
color: var(--juice-input-ink);
|
|
1724
|
+
box-shadow: none;
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
/* Textarea chrome. Beat [theme] :where(textarea) defaults.
|
|
1728
|
+
Styled native multi-line field, not an input, not a select, and not a
|
|
1729
|
+
combobox. Border color only, so KiwiPress keeps its 2px control border.
|
|
1730
|
+
Runtime is later. */
|
|
1731
|
+
[theme=aquaflux] textarea[textarea] {
|
|
1732
|
+
background-color: var(--juice-textarea-surface);
|
|
1733
|
+
border-color: var(--juice-textarea-border);
|
|
1734
|
+
color: var(--juice-textarea-ink);
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
[theme=aquaflux] textarea[textarea]::placeholder {
|
|
1738
|
+
color: var(--juice-textarea-placeholder);
|
|
1739
|
+
opacity: 1;
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
[theme=aquaflux] textarea[textarea]:focus-visible {
|
|
1743
|
+
outline: 2px solid var(--juice-textarea-focus-ring);
|
|
1744
|
+
outline-offset: 2px;
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
[theme=aquaflux] [textarea-label] {
|
|
1748
|
+
background-image: none;
|
|
1749
|
+
background-color: transparent;
|
|
1750
|
+
color: var(--juice-textarea-ink);
|
|
1751
|
+
box-shadow: none;
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1754
|
+
/* Field chrome. Wrapper around a control — label, help, error, invalid.
|
|
1755
|
+
Not an input, not a textarea, not a select, and not the legacy form
|
|
1756
|
+
layout. Paint is surface, gap, ink, and the invalid border, so nested
|
|
1757
|
+
controls keep their own chrome. Runtime is later. */
|
|
1758
|
+
[theme=aquaflux] [field] {
|
|
1759
|
+
background-color: var(--juice-field-surface);
|
|
1760
|
+
gap: var(--juice-field-gap);
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
[theme=aquaflux] [field][invalid] {
|
|
1764
|
+
border-color: var(--juice-field-invalid-border);
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
[theme=aquaflux] [field-label] {
|
|
1768
|
+
background-image: none;
|
|
1769
|
+
background-color: transparent;
|
|
1770
|
+
color: var(--juice-field-label-ink);
|
|
1771
|
+
box-shadow: none;
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
[theme=aquaflux] [field-help] {
|
|
1775
|
+
background-image: none;
|
|
1776
|
+
background-color: transparent;
|
|
1777
|
+
color: var(--juice-field-help-ink);
|
|
1778
|
+
box-shadow: none;
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1781
|
+
[theme=aquaflux] [field-error] {
|
|
1782
|
+
background-image: none;
|
|
1783
|
+
background-color: transparent;
|
|
1784
|
+
color: var(--juice-field-error-ink);
|
|
1785
|
+
box-shadow: none;
|
|
1375
1786
|
}
|