@citrusworx/juiceui 0.9.1 → 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.
@@ -452,6 +452,96 @@
452
452
  --juice-pagination-border: var(--aqua-pagination-border);
453
453
  --juice-pagination-focus-ring: var(--aqua-pagination-focus-ring);
454
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);
455
545
  background-color: var(--aqua-page);
456
546
  background-image: var(--aqua-page-background);
457
547
  color: var(--aqua-text);
@@ -1465,4 +1555,232 @@
1465
1555
  [theme=aquaflux] button[pagination-next]:focus-visible {
1466
1556
  outline: 2px solid var(--juice-pagination-focus-ring);
1467
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;
1468
1786
  }
@@ -403,6 +403,96 @@
403
403
  --juice-pagination-border: var(--cm-pagination-border);
404
404
  --juice-pagination-focus-ring: var(--cm-pagination-focus-ring);
405
405
  --juice-pagination-ellipsis: var(--cm-pagination-ellipsis);
406
+ /* Disclosure chrome — standalone APG disclosure from the thinner --cm-* set.
407
+ No accent token: heading stands in for the chevron and focus ring.
408
+ Not an accordion and not a heading-fill CTA. */
409
+ --cm-disclosure-surface: var(--cm-surface);
410
+ --cm-disclosure-border: var(--cm-border);
411
+ --cm-disclosure-trigger: var(--cm-surface);
412
+ --cm-disclosure-trigger-hover: var(--cm-surface-muted);
413
+ --cm-disclosure-trigger-open: var(--cm-surface-muted);
414
+ --cm-disclosure-ink: var(--cm-text);
415
+ --cm-disclosure-chevron: var(--cm-heading);
416
+ --cm-disclosure-focus-ring: var(--cm-heading);
417
+ --juice-disclosure-surface: var(--cm-disclosure-surface);
418
+ --juice-disclosure-border: var(--cm-disclosure-border);
419
+ --juice-disclosure-trigger: var(--cm-disclosure-trigger);
420
+ --juice-disclosure-trigger-hover: var(--cm-disclosure-trigger-hover);
421
+ --juice-disclosure-trigger-open: var(--cm-disclosure-trigger-open);
422
+ --juice-disclosure-ink: var(--cm-disclosure-ink);
423
+ --juice-disclosure-chevron: var(--cm-disclosure-chevron);
424
+ --juice-disclosure-focus-ring: var(--cm-disclosure-focus-ring);
425
+ /* Spinner chrome — standalone indeterminate busy indicator. No accent
426
+ token: heading stands in for the indicator and focus ring. The ring
427
+ is a border stroke, not heading-fill and not a progress bar.
428
+ Inline status — no overlay. CSS owns the spin. Runtime is later. */
429
+ --cm-spinner-track: var(--cm-border);
430
+ --cm-spinner-indicator: var(--cm-heading);
431
+ --cm-spinner-ink: var(--cm-text);
432
+ --cm-spinner-focus-ring: var(--cm-heading);
433
+ --juice-spinner-track: var(--cm-spinner-track);
434
+ --juice-spinner-indicator: var(--cm-spinner-indicator);
435
+ --juice-spinner-ink: var(--cm-spinner-ink);
436
+ --juice-spinner-focus-ring: var(--cm-spinner-focus-ring);
437
+ /* Select chrome — styled native <select>. No accent token: heading
438
+ stands in for the chevron and focus ring. Field is a surface, not
439
+ a heading-fill CTA and not a combobox. The platform popup stays
440
+ native. Runtime is later. */
441
+ --cm-select-surface: var(--cm-surface);
442
+ --cm-select-border: var(--cm-border);
443
+ --cm-select-ink: var(--cm-text);
444
+ --cm-select-chevron: var(--cm-heading);
445
+ --cm-select-focus-ring: var(--cm-heading);
446
+ --juice-select-surface: var(--cm-select-surface);
447
+ --juice-select-border: var(--cm-select-border);
448
+ --juice-select-ink: var(--cm-select-ink);
449
+ --juice-select-chevron: var(--cm-select-chevron);
450
+ --juice-select-focus-ring: var(--cm-select-focus-ring);
451
+ /* Input chrome — styled native text field. No accent token: heading
452
+ stands in for the focus ring. Field is a surface, not a
453
+ heading-fill CTA and not a combobox. Placeholder is muted text.
454
+ Text-like types only. Runtime is later. */
455
+ --cm-input-surface: var(--cm-surface);
456
+ --cm-input-border: var(--cm-border);
457
+ --cm-input-ink: var(--cm-text);
458
+ --cm-input-placeholder: var(--cm-text-muted);
459
+ --cm-input-focus-ring: var(--cm-heading);
460
+ --juice-input-surface: var(--cm-input-surface);
461
+ --juice-input-border: var(--cm-input-border);
462
+ --juice-input-ink: var(--cm-input-ink);
463
+ --juice-input-placeholder: var(--cm-input-placeholder);
464
+ --juice-input-focus-ring: var(--cm-input-focus-ring);
465
+ /* Textarea chrome — styled native multi-line field. No accent token:
466
+ heading stands in for the focus ring. Field is a surface, not a
467
+ heading-fill CTA and not an input. Placeholder is muted text.
468
+ Runtime is later. */
469
+ --cm-textarea-surface: var(--cm-surface);
470
+ --cm-textarea-border: var(--cm-border);
471
+ --cm-textarea-ink: var(--cm-text);
472
+ --cm-textarea-placeholder: var(--cm-text-muted);
473
+ --cm-textarea-focus-ring: var(--cm-heading);
474
+ --juice-textarea-surface: var(--cm-textarea-surface);
475
+ --juice-textarea-border: var(--cm-textarea-border);
476
+ --juice-textarea-ink: var(--cm-textarea-ink);
477
+ --juice-textarea-placeholder: var(--cm-textarea-placeholder);
478
+ --juice-textarea-focus-ring: var(--cm-textarea-focus-ring);
479
+ /* Field chrome — wrapper around a control. No accent token:
480
+ error ink and the invalid border reuse banner error, not heading.
481
+ Surface is a field, not a heading-fill CTA. Help is muted text.
482
+ Not an input, not a textarea, and not a select.
483
+ Runtime is later. */
484
+ --cm-field-surface: var(--cm-surface);
485
+ --cm-field-gap: 0.5rem;
486
+ --cm-field-label-ink: var(--cm-text);
487
+ --cm-field-help-ink: var(--cm-text-muted);
488
+ --cm-field-error-ink: var(--cm-banner-error);
489
+ --cm-field-invalid-border: var(--cm-banner-error);
490
+ --juice-field-surface: var(--cm-field-surface);
491
+ --juice-field-gap: var(--cm-field-gap);
492
+ --juice-field-label-ink: var(--cm-field-label-ink);
493
+ --juice-field-help-ink: var(--cm-field-help-ink);
494
+ --juice-field-error-ink: var(--cm-field-error-ink);
495
+ --juice-field-invalid-border: var(--cm-field-invalid-border);
406
496
  background-color: var(--cm-page);
407
497
  color: var(--cm-text);
408
498
  font-family: var(--cm-body-font);
@@ -1112,4 +1202,231 @@
1112
1202
  [theme=citrusmint] button[pagination-next]:focus-visible {
1113
1203
  outline: 2px solid var(--juice-pagination-focus-ring);
1114
1204
  outline-offset: 2px;
1205
+ }
1206
+
1207
+ /* Disclosure chrome. Beat generic fills and button CTAs. Heading paints
1208
+ the chevron, not a CTA. Not an accordion. Runtime is later. */
1209
+ [theme=citrusmint] [disclosure] {
1210
+ background-image: none;
1211
+ background-color: transparent;
1212
+ border-color: var(--juice-disclosure-border);
1213
+ box-shadow: none;
1214
+ color: var(--juice-disclosure-ink);
1215
+ }
1216
+
1217
+ [theme=citrusmint] button[disclosure-trigger],
1218
+ [theme=citrusmint] a[disclosure-trigger],
1219
+ [theme=citrusmint] [disclosure-trigger] {
1220
+ background-image: none;
1221
+ background-color: var(--juice-disclosure-trigger);
1222
+ color: var(--juice-disclosure-ink);
1223
+ box-shadow: none;
1224
+ transform: none;
1225
+ text-decoration: none;
1226
+ }
1227
+
1228
+ [theme=citrusmint] button[disclosure-trigger]:hover,
1229
+ [theme=citrusmint] a[disclosure-trigger]:hover,
1230
+ [theme=citrusmint] [disclosure-trigger]:hover {
1231
+ background-image: none;
1232
+ background-color: var(--juice-disclosure-trigger-hover);
1233
+ color: var(--juice-disclosure-ink);
1234
+ box-shadow: none;
1235
+ transform: none;
1236
+ }
1237
+
1238
+ [theme=citrusmint] button[disclosure-trigger][aria-expanded=true],
1239
+ [theme=citrusmint] a[disclosure-trigger][aria-expanded=true],
1240
+ [theme=citrusmint] [disclosure-trigger][aria-expanded=true] {
1241
+ background-image: none;
1242
+ background-color: var(--juice-disclosure-trigger-open);
1243
+ color: var(--juice-disclosure-ink);
1244
+ box-shadow: none;
1245
+ transform: none;
1246
+ }
1247
+
1248
+ [theme=citrusmint] [disclosure-trigger]::after {
1249
+ border-color: var(--juice-disclosure-chevron);
1250
+ }
1251
+
1252
+ [theme=citrusmint] button[disclosure-trigger]:focus-visible,
1253
+ [theme=citrusmint] a[disclosure-trigger]:focus-visible,
1254
+ [theme=citrusmint] [disclosure-trigger]:focus-visible {
1255
+ outline: 2px solid var(--juice-disclosure-focus-ring);
1256
+ outline-offset: 2px;
1257
+ box-shadow: none;
1258
+ }
1259
+
1260
+ [theme=citrusmint] [disclosure-panel],
1261
+ [theme=citrusmint] [disclosure] > [disclosure-trigger] + :not([disclosure-trigger]) {
1262
+ background-image: none;
1263
+ background-color: var(--juice-disclosure-surface);
1264
+ border-color: var(--juice-disclosure-border);
1265
+ color: var(--juice-disclosure-ink);
1266
+ box-shadow: none;
1267
+ }
1268
+
1269
+ /* Spinner chrome. Beat generic div fills.
1270
+ Heading paints the indicator, not a CTA. Not a progress bar.
1271
+ CSS owns the spin. Runtime is later. */
1272
+ [theme=citrusmint] [spinner] {
1273
+ background-image: none;
1274
+ background-color: transparent;
1275
+ border: none;
1276
+ box-shadow: none;
1277
+ color: var(--juice-spinner-ink);
1278
+ }
1279
+
1280
+ [theme=citrusmint] [spinner]::before {
1281
+ background-image: none;
1282
+ background-color: transparent;
1283
+ border-color: var(--juice-spinner-track);
1284
+ border-top-color: var(--juice-spinner-indicator);
1285
+ box-shadow: none;
1286
+ }
1287
+
1288
+ [theme=citrusmint] [spinner-label] {
1289
+ background-image: none;
1290
+ background-color: transparent;
1291
+ color: var(--juice-spinner-ink);
1292
+ box-shadow: none;
1293
+ }
1294
+
1295
+ [theme=citrusmint] [spinner]:focus-visible {
1296
+ outline: 2px solid var(--juice-spinner-focus-ring);
1297
+ outline-offset: 2px;
1298
+ }
1299
+
1300
+ /* Select chrome. Beat [theme] :where(select) defaults.
1301
+ Heading paints the chevron and focus ring, not a CTA.
1302
+ Not a combobox. Chevron stays a background so the control still opens.
1303
+ Runtime is later. */
1304
+ [theme=citrusmint] select[select] {
1305
+ background-color: var(--juice-select-surface);
1306
+ border-color: var(--juice-select-border);
1307
+ color: var(--juice-select-ink);
1308
+ }
1309
+
1310
+ [theme=citrusmint] select[select]:focus-visible {
1311
+ outline: 2px solid var(--juice-select-focus-ring);
1312
+ outline-offset: 2px;
1313
+ }
1314
+
1315
+ [theme=citrusmint] [select-label] {
1316
+ background-image: none;
1317
+ background-color: transparent;
1318
+ color: var(--juice-select-ink);
1319
+ box-shadow: none;
1320
+ }
1321
+
1322
+ /* Input chrome. Beat [theme] :where(input) defaults.
1323
+ Styled native text field, not a combobox, not a select, and not a CTA.
1324
+ Text-like types only. Border color only, so KiwiPress keeps its 2px
1325
+ control border. Runtime is later. */
1326
+ [theme=citrusmint] input[input]:is(:not([type]),
1327
+ [type=""],
1328
+ [type=text i],
1329
+ [type=email i],
1330
+ [type=password i],
1331
+ [type=search i],
1332
+ [type=tel i],
1333
+ [type=url i],
1334
+ [type=number i]):not([combobox-input]) {
1335
+ background-color: var(--juice-input-surface);
1336
+ border-color: var(--juice-input-border);
1337
+ color: var(--juice-input-ink);
1338
+ }
1339
+
1340
+ [theme=citrusmint] input[input]:is(:not([type]),
1341
+ [type=""],
1342
+ [type=text i],
1343
+ [type=email i],
1344
+ [type=password i],
1345
+ [type=search i],
1346
+ [type=tel i],
1347
+ [type=url i],
1348
+ [type=number i]):not([combobox-input])::placeholder {
1349
+ color: var(--juice-input-placeholder);
1350
+ opacity: 1;
1351
+ }
1352
+
1353
+ [theme=citrusmint] input[input]:is(:not([type]),
1354
+ [type=""],
1355
+ [type=text i],
1356
+ [type=email i],
1357
+ [type=password i],
1358
+ [type=search i],
1359
+ [type=tel i],
1360
+ [type=url i],
1361
+ [type=number i]):not([combobox-input]):focus-visible {
1362
+ outline: 2px solid var(--juice-input-focus-ring);
1363
+ outline-offset: 2px;
1364
+ }
1365
+
1366
+ [theme=citrusmint] [input-label] {
1367
+ background-image: none;
1368
+ background-color: transparent;
1369
+ color: var(--juice-input-ink);
1370
+ box-shadow: none;
1371
+ }
1372
+
1373
+ /* Textarea chrome. Beat [theme] :where(textarea) defaults.
1374
+ Styled native multi-line field, not an input, not a select, and not a
1375
+ combobox. Border color only, so KiwiPress keeps its 2px control border.
1376
+ Runtime is later. */
1377
+ [theme=citrusmint] textarea[textarea] {
1378
+ background-color: var(--juice-textarea-surface);
1379
+ border-color: var(--juice-textarea-border);
1380
+ color: var(--juice-textarea-ink);
1381
+ }
1382
+
1383
+ [theme=citrusmint] textarea[textarea]::placeholder {
1384
+ color: var(--juice-textarea-placeholder);
1385
+ opacity: 1;
1386
+ }
1387
+
1388
+ [theme=citrusmint] textarea[textarea]:focus-visible {
1389
+ outline: 2px solid var(--juice-textarea-focus-ring);
1390
+ outline-offset: 2px;
1391
+ }
1392
+
1393
+ [theme=citrusmint] [textarea-label] {
1394
+ background-image: none;
1395
+ background-color: transparent;
1396
+ color: var(--juice-textarea-ink);
1397
+ box-shadow: none;
1398
+ }
1399
+
1400
+ /* Field chrome. Wrapper around a control — label, help, error, invalid.
1401
+ Not an input, not a textarea, not a select, and not the legacy form
1402
+ layout. Paint is surface, gap, ink, and the invalid border, so nested
1403
+ controls keep their own chrome. Runtime is later. */
1404
+ [theme=citrusmint] [field] {
1405
+ background-color: var(--juice-field-surface);
1406
+ gap: var(--juice-field-gap);
1407
+ }
1408
+
1409
+ [theme=citrusmint] [field][invalid] {
1410
+ border-color: var(--juice-field-invalid-border);
1411
+ }
1412
+
1413
+ [theme=citrusmint] [field-label] {
1414
+ background-image: none;
1415
+ background-color: transparent;
1416
+ color: var(--juice-field-label-ink);
1417
+ box-shadow: none;
1418
+ }
1419
+
1420
+ [theme=citrusmint] [field-help] {
1421
+ background-image: none;
1422
+ background-color: transparent;
1423
+ color: var(--juice-field-help-ink);
1424
+ box-shadow: none;
1425
+ }
1426
+
1427
+ [theme=citrusmint] [field-error] {
1428
+ background-image: none;
1429
+ background-color: transparent;
1430
+ color: var(--juice-field-error-ink);
1431
+ box-shadow: none;
1115
1432
  }