@citrusworx/juiceui 0.9.1 → 0.9.3
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 +59 -6
- package/dist/components/accordion/accordion.d.ts +2 -1
- package/dist/index.css +2767 -328
- package/dist/index.d.ts +41 -19
- package/dist/index.js +3804 -1967
- package/dist/js/juice.d.ts +41 -19
- package/dist/js/src/accordion/accordion-runtime.d.ts +6 -0
- package/dist/js/src/avatar/avatar-runtime.d.ts +74 -0
- package/dist/js/src/banner/banner-runtime.d.ts +5 -0
- package/dist/js/src/breadcrumb/breadcrumb-runtime.d.ts +6 -0
- package/dist/js/src/checkbox/checkbox-runtime.d.ts +4 -0
- package/dist/js/src/combobox/combobox-runtime.d.ts +6 -0
- package/dist/js/src/disclosure/disclosure-runtime.d.ts +56 -0
- package/dist/js/src/drawer/drawer-runtime.d.ts +11 -0
- package/dist/js/src/field/field-runtime.d.ts +58 -0
- package/dist/js/src/icon-button/icon-button-runtime.d.ts +67 -0
- package/dist/js/src/input/input-runtime.d.ts +63 -0
- package/dist/js/src/menu/menu-runtime.d.ts +5 -0
- package/dist/js/src/modal/modal-runtime.d.ts +11 -0
- package/dist/js/src/nav/navigation.d.ts +5 -0
- package/dist/js/src/pagination/pagination-runtime.d.ts +6 -0
- package/dist/js/src/popover/popover-runtime.d.ts +10 -0
- package/dist/js/src/progress/progress-runtime.d.ts +5 -0
- package/dist/js/src/radio/radio-runtime.d.ts +7 -0
- package/dist/js/src/select/select-runtime.d.ts +61 -0
- package/dist/js/src/shared/change.d.ts +32 -0
- package/dist/js/src/shared/motion.d.ts +48 -0
- package/dist/js/src/slider/slider-runtime.d.ts +4 -0
- package/dist/js/src/spinner/spinner-runtime.d.ts +55 -0
- package/dist/js/src/switch/switch-runtime.d.ts +4 -0
- package/dist/js/src/table/table-runtime.d.ts +99 -0
- package/dist/js/src/tabs/tabs-runtime.d.ts +6 -0
- package/dist/js/src/textarea/textarea-runtime.d.ts +59 -0
- package/dist/js/src/toast/toast-runtime.d.ts +10 -0
- package/dist/js/src/tooltip/tooltip-runtime.d.ts +5 -0
- package/dist/js/src/wizard/wizard-runtime.d.ts +4 -0
- package/dist/themes/aquaflux.css +318 -0
- package/dist/themes/citrusmint.css +317 -0
- package/dist/themes/kiwipress.css +317 -0
- package/dist/themes/retro-afterburn.css +318 -0
- package/dist/themes/retro-arcade-glow.css +318 -0
- package/dist/themes/retro-boardwalk.css +585 -56
- package/dist/themes/retro-denim-dial.css +318 -0
- package/dist/themes/retro-forest-radio.css +318 -0
- package/dist/themes/retro-orchard-club.css +318 -0
- package/dist/themes/retro-poolside-pop.css +318 -0
- package/dist/themes/retro-signal-garden.css +318 -0
- package/dist/themes/retro-sunset-motel.css +318 -0
- package/dist/themes/retro-violet-parlor.css +318 -0
- package/dist/themes/tide.css +318 -0
- package/package.json +2 -2
|
@@ -13,23 +13,29 @@
|
|
|
13
13
|
- structural primitives
|
|
14
14
|
*/
|
|
15
15
|
[theme=retro-boardwalk] {
|
|
16
|
-
/* Foundation
|
|
16
|
+
/* Foundation.
|
|
17
|
+
Stepped light surfaces from existing page / page-tint / deep / secondary / highlight.
|
|
18
|
+
Alpha-only copies of cream collapsed, so each step is a distinct mix:
|
|
19
|
+
page → muted → default → strong, with deep as solid navy for the inverted footer.
|
|
20
|
+
Weights stay in the cream family so the ink ladder holds (KiwiPress light denseness). */
|
|
17
21
|
--bdw-page: #fff8f0;
|
|
18
22
|
--bdw-page-tint: #fff1e4;
|
|
19
23
|
--bdw-page-deep: #1c3d5a;
|
|
20
|
-
--bdw-surface:
|
|
21
|
-
--bdw-surface-strong:
|
|
22
|
-
--bdw-surface-muted:
|
|
23
|
-
--bdw-surface-deep: #
|
|
24
|
+
--bdw-surface: rgb(221.08, 238.24, 229.28);
|
|
25
|
+
--bdw-surface-strong: rgb(255, 240.2, 212.4);
|
|
26
|
+
--bdw-surface-muted: rgb(239.11, 228.4, 218.34);
|
|
27
|
+
--bdw-surface-deep: #1c3d5a;
|
|
24
28
|
--bdw-border: rgba(138, 160, 178, 0.26);
|
|
25
29
|
--bdw-border-strong: rgba(255, 111, 97, 0.38);
|
|
26
30
|
--bdw-shadow: rgba(28, 61, 90, 0.12);
|
|
27
|
-
/* Typography */
|
|
31
|
+
/* Typography — soft < muted < body < heading. Inverse is dark ink for coral CTAs. */
|
|
28
32
|
--bdw-text: #1e2a36;
|
|
29
33
|
--bdw-text-muted: #5c6b7a;
|
|
34
|
+
--bdw-text-soft: #667381;
|
|
35
|
+
--bdw-text-inverse: #2a0f0c;
|
|
30
36
|
--bdw-heading: #14324a;
|
|
31
|
-
--bdw-body-font: "Lato", sans-serif;
|
|
32
|
-
--bdw-heading-font: "Archivo Black", sans-serif;
|
|
37
|
+
--bdw-body-font: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
38
|
+
--bdw-heading-font: "Archivo Black", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
33
39
|
/* Accent system */
|
|
34
40
|
--bdw-accent: #ff6f61;
|
|
35
41
|
--bdw-accent-soft: #ff9a90;
|
|
@@ -37,30 +43,33 @@
|
|
|
37
43
|
--bdw-highlight: #ffd166;
|
|
38
44
|
/* Surface recipes */
|
|
39
45
|
--bdw-page-background:
|
|
40
|
-
radial-gradient(circle at top left, rgba(255, 209, 102, 0.
|
|
41
|
-
radial-gradient(circle at top right, rgba(
|
|
46
|
+
radial-gradient(circle at top left, rgba(255, 209, 102, 0.28), transparent 46%),
|
|
47
|
+
radial-gradient(circle at top right, rgba(43, 187, 173, 0.16), transparent 36%),
|
|
42
48
|
linear-gradient(180deg, #fff8f0 0%, #fff1e4 100%);
|
|
43
49
|
--bdw-button-background: linear-gradient(135deg, #ff6f61, #e85a4c);
|
|
44
50
|
--bdw-card-background:
|
|
45
|
-
linear-gradient(180deg,
|
|
51
|
+
linear-gradient(180deg, rgb(255, 243.32, 223.44) 0%, rgb(225.32, 239.46, 230.62) 100%);
|
|
46
52
|
--bdw-panel-background:
|
|
47
|
-
linear-gradient(180deg,
|
|
53
|
+
linear-gradient(180deg, rgb(238.04, 236.68, 223.6) 0%, rgb(241.38, 230.2, 219.72) 100%);
|
|
54
|
+
/* Cream field with corner sunshine, mint, and coral embers.
|
|
55
|
+
Dark reading ink sits on this; inverse stays on solid accent CTAs. */
|
|
48
56
|
--bdw-hero-background:
|
|
49
|
-
radial-gradient(circle at
|
|
50
|
-
radial-gradient(circle at
|
|
51
|
-
|
|
57
|
+
radial-gradient(circle at 100% -8%, rgba(255, 209, 102, 0.55), transparent 38%),
|
|
58
|
+
radial-gradient(circle at -6% 110%, rgba(43, 187, 173, 0.32), transparent 40%),
|
|
59
|
+
radial-gradient(circle at 108% 120%, rgba(255, 111, 97, 0.28), transparent 42%),
|
|
60
|
+
linear-gradient(165deg, #fff8f0 0%, #fff1e4 100%);
|
|
52
61
|
--bdw-stage-background:
|
|
53
|
-
radial-gradient(circle at 18%
|
|
54
|
-
radial-gradient(circle at
|
|
55
|
-
linear-gradient(145deg, #1c3d5a 0%,
|
|
62
|
+
radial-gradient(circle at 18% 12%, rgba(255, 209, 102, 0.22), transparent 30%),
|
|
63
|
+
radial-gradient(circle at 88% 88%, rgba(255, 111, 97, 0.24), transparent 36%),
|
|
64
|
+
linear-gradient(145deg, #1c3d5a 0%, rgb(55.24, 83.44, 108) 100%);
|
|
56
65
|
--bdw-stage-outline: rgba(255, 248, 240, 0.14);
|
|
57
66
|
--bdw-stage-shadow: rgba(28, 61, 90, 0.34);
|
|
58
|
-
--bdw-chip-background:
|
|
67
|
+
--bdw-chip-background: rgb(255, 241.76, 217.92);
|
|
59
68
|
--bdw-buybox-background:
|
|
60
|
-
linear-gradient(180deg,
|
|
69
|
+
linear-gradient(180deg, rgb(255, 244.1, 226.2) 0%, rgb(229.56, 234.52, 221.4) 100%);
|
|
61
70
|
--bdw-buybox-shadow: 0 32px 70px -42px rgba(28, 61, 90, 0.24);
|
|
62
71
|
--bdw-spec-background:
|
|
63
|
-
linear-gradient(180deg,
|
|
72
|
+
linear-gradient(180deg, rgb(238.04, 236.68, 223.6) 0%, rgb(245.92, 240.52, 234) 100%);
|
|
64
73
|
/* Accordion chrome roles — same names as KiwiPress / Citrusmint.
|
|
65
74
|
Bound from existing Boardwalk tokens; no new hue family. */
|
|
66
75
|
--bdw-trigger: var(--bdw-surface-strong);
|
|
@@ -91,9 +100,10 @@
|
|
|
91
100
|
--bdw-tabs-trigger: transparent;
|
|
92
101
|
--bdw-tabs-trigger-hover: transparent;
|
|
93
102
|
--bdw-tabs-trigger-active: transparent;
|
|
94
|
-
--bdw-tabs-text: var(--bdw-text-
|
|
103
|
+
--bdw-tabs-text: var(--bdw-text-soft);
|
|
95
104
|
--bdw-tabs-text-hover: var(--bdw-heading);
|
|
96
|
-
|
|
105
|
+
/* accent-strong reads on cream; accent-soft is the dark-theme step and washes out here. */
|
|
106
|
+
--bdw-tabs-text-active: var(--bdw-accent-strong);
|
|
97
107
|
--bdw-tabs-indicator: var(--bdw-accent);
|
|
98
108
|
--bdw-tabs-list-rule: var(--bdw-border);
|
|
99
109
|
--bdw-tabs-focus-ring: var(--bdw-accent);
|
|
@@ -269,7 +279,7 @@
|
|
|
269
279
|
--bdw-wizard-rail-border: var(--bdw-border);
|
|
270
280
|
--bdw-wizard-step: var(--bdw-surface-strong);
|
|
271
281
|
--bdw-wizard-step-border: var(--bdw-border);
|
|
272
|
-
--bdw-wizard-step-ink: var(--bdw-text-
|
|
282
|
+
--bdw-wizard-step-ink: var(--bdw-text-soft);
|
|
273
283
|
--bdw-wizard-step-current: var(--bdw-accent);
|
|
274
284
|
--bdw-wizard-step-complete: var(--bdw-accent-strong);
|
|
275
285
|
--bdw-wizard-step-on: var(--bdw-page);
|
|
@@ -465,10 +475,101 @@
|
|
|
465
475
|
--juice-pagination-border: var(--bdw-pagination-border);
|
|
466
476
|
--juice-pagination-focus-ring: var(--bdw-pagination-focus-ring);
|
|
467
477
|
--juice-pagination-ellipsis: var(--bdw-pagination-ellipsis);
|
|
478
|
+
/* Disclosure chrome — standalone APG disclosure from existing tokens.
|
|
479
|
+
One trigger and one panel. Trigger is a surface, not a CTA.
|
|
480
|
+
Distinct from [accordion]. */
|
|
481
|
+
--bdw-disclosure-surface: var(--bdw-surface);
|
|
482
|
+
--bdw-disclosure-border: var(--bdw-border);
|
|
483
|
+
--bdw-disclosure-trigger: var(--bdw-surface-strong);
|
|
484
|
+
--bdw-disclosure-trigger-hover: var(--bdw-surface-muted);
|
|
485
|
+
--bdw-disclosure-trigger-open: var(--bdw-surface-muted);
|
|
486
|
+
--bdw-disclosure-ink: var(--bdw-text);
|
|
487
|
+
--bdw-disclosure-chevron: var(--bdw-accent);
|
|
488
|
+
--bdw-disclosure-focus-ring: var(--bdw-accent);
|
|
489
|
+
--juice-disclosure-surface: var(--bdw-disclosure-surface);
|
|
490
|
+
--juice-disclosure-border: var(--bdw-disclosure-border);
|
|
491
|
+
--juice-disclosure-trigger: var(--bdw-disclosure-trigger);
|
|
492
|
+
--juice-disclosure-trigger-hover: var(--bdw-disclosure-trigger-hover);
|
|
493
|
+
--juice-disclosure-trigger-open: var(--bdw-disclosure-trigger-open);
|
|
494
|
+
--juice-disclosure-ink: var(--bdw-disclosure-ink);
|
|
495
|
+
--juice-disclosure-chevron: var(--bdw-disclosure-chevron);
|
|
496
|
+
--juice-disclosure-focus-ring: var(--bdw-disclosure-focus-ring);
|
|
497
|
+
/* Spinner chrome — standalone indeterminate busy indicator from existing
|
|
498
|
+
tokens. The ring is a border stroke, not a CTA and not a progress
|
|
499
|
+
bar. Indicator is accent. Ink is text. Inline status — no overlay.
|
|
500
|
+
CSS owns the spin. Runtime is later. */
|
|
501
|
+
--bdw-spinner-track: var(--bdw-border);
|
|
502
|
+
--bdw-spinner-indicator: var(--bdw-accent);
|
|
503
|
+
--bdw-spinner-ink: var(--bdw-text);
|
|
504
|
+
--bdw-spinner-focus-ring: var(--bdw-accent);
|
|
505
|
+
--juice-spinner-track: var(--bdw-spinner-track);
|
|
506
|
+
--juice-spinner-indicator: var(--bdw-spinner-indicator);
|
|
507
|
+
--juice-spinner-ink: var(--bdw-spinner-ink);
|
|
508
|
+
--juice-spinner-focus-ring: var(--bdw-spinner-focus-ring);
|
|
509
|
+
/* Select chrome — styled native <select> from existing tokens.
|
|
510
|
+
Field fill matches the combobox input surface. Not a combobox,
|
|
511
|
+
not a custom listbox, and not a CTA. Chevron is accent.
|
|
512
|
+
The platform popup stays native. Runtime is later. */
|
|
513
|
+
--bdw-select-surface: var(--bdw-surface-strong);
|
|
514
|
+
--bdw-select-border: var(--bdw-border-strong);
|
|
515
|
+
--bdw-select-ink: var(--bdw-text);
|
|
516
|
+
--bdw-select-chevron: var(--bdw-accent);
|
|
517
|
+
--bdw-select-focus-ring: var(--bdw-accent);
|
|
518
|
+
--juice-select-surface: var(--bdw-select-surface);
|
|
519
|
+
--juice-select-border: var(--bdw-select-border);
|
|
520
|
+
--juice-select-ink: var(--bdw-select-ink);
|
|
521
|
+
--juice-select-chevron: var(--bdw-select-chevron);
|
|
522
|
+
--juice-select-focus-ring: var(--bdw-select-focus-ring);
|
|
523
|
+
/* Input chrome — styled native text field from existing tokens.
|
|
524
|
+
Field fill matches the combobox input surface. Not a combobox,
|
|
525
|
+
not a select, and not a CTA. Placeholder follows this theme's
|
|
526
|
+
existing placeholder ink. Text-like types only. Runtime is later. */
|
|
527
|
+
--bdw-input-surface: var(--bdw-surface-strong);
|
|
528
|
+
--bdw-input-border: var(--bdw-border-strong);
|
|
529
|
+
--bdw-input-ink: var(--bdw-text);
|
|
530
|
+
--bdw-input-placeholder: var(--bdw-text-soft);
|
|
531
|
+
--bdw-input-focus-ring: var(--bdw-accent);
|
|
532
|
+
--juice-input-surface: var(--bdw-input-surface);
|
|
533
|
+
--juice-input-border: var(--bdw-input-border);
|
|
534
|
+
--juice-input-ink: var(--bdw-input-ink);
|
|
535
|
+
--juice-input-placeholder: var(--bdw-input-placeholder);
|
|
536
|
+
--juice-input-focus-ring: var(--bdw-input-focus-ring);
|
|
537
|
+
/* Textarea chrome — styled native multi-line field from existing tokens.
|
|
538
|
+
Field fill matches the input surface. Not an input, not a select,
|
|
539
|
+
and not a combobox. Placeholder follows this theme's existing
|
|
540
|
+
placeholder ink. Runtime is later. */
|
|
541
|
+
--bdw-textarea-surface: var(--bdw-surface-strong);
|
|
542
|
+
--bdw-textarea-border: var(--bdw-border-strong);
|
|
543
|
+
--bdw-textarea-ink: var(--bdw-text);
|
|
544
|
+
--bdw-textarea-placeholder: var(--bdw-text-soft);
|
|
545
|
+
--bdw-textarea-focus-ring: var(--bdw-accent);
|
|
546
|
+
--juice-textarea-surface: var(--bdw-textarea-surface);
|
|
547
|
+
--juice-textarea-border: var(--bdw-textarea-border);
|
|
548
|
+
--juice-textarea-ink: var(--bdw-textarea-ink);
|
|
549
|
+
--juice-textarea-placeholder: var(--bdw-textarea-placeholder);
|
|
550
|
+
--juice-textarea-focus-ring: var(--bdw-textarea-focus-ring);
|
|
551
|
+
/* Field chrome — wrapper around a control from existing tokens.
|
|
552
|
+
Surface matches the input field. Help follows this theme's
|
|
553
|
+
placeholder ink. Error ink and the invalid border reuse banner
|
|
554
|
+
error. Not an input, not a textarea, not a select, and not a CTA.
|
|
555
|
+
Runtime is later. */
|
|
556
|
+
--bdw-field-surface: var(--bdw-surface-strong);
|
|
557
|
+
--bdw-field-gap: 0.5rem;
|
|
558
|
+
--bdw-field-label-ink: var(--bdw-text);
|
|
559
|
+
--bdw-field-help-ink: var(--bdw-text-soft);
|
|
560
|
+
--bdw-field-error-ink: var(--bdw-banner-error);
|
|
561
|
+
--bdw-field-invalid-border: var(--bdw-banner-error);
|
|
562
|
+
--juice-field-surface: var(--bdw-field-surface);
|
|
563
|
+
--juice-field-gap: var(--bdw-field-gap);
|
|
564
|
+
--juice-field-label-ink: var(--bdw-field-label-ink);
|
|
565
|
+
--juice-field-help-ink: var(--bdw-field-help-ink);
|
|
566
|
+
--juice-field-error-ink: var(--bdw-field-error-ink);
|
|
567
|
+
--juice-field-invalid-border: var(--bdw-field-invalid-border);
|
|
468
568
|
background-color: var(--bdw-page);
|
|
469
569
|
background-image: var(--bdw-page-background);
|
|
470
570
|
color: var(--bdw-text);
|
|
471
571
|
font-family: var(--bdw-body-font);
|
|
572
|
+
line-height: 1.6;
|
|
472
573
|
}
|
|
473
574
|
|
|
474
575
|
/* Theme root behavior */
|
|
@@ -482,18 +583,70 @@
|
|
|
482
583
|
color: inherit;
|
|
483
584
|
}
|
|
484
585
|
|
|
485
|
-
/* Semantic
|
|
486
|
-
|
|
586
|
+
/* Semantic defaults — KiwiPress light denseness, Afterburn structure.
|
|
587
|
+
Section/article stay on the quiet recess. Nav (especially bar/sidebar)
|
|
588
|
+
is the elevated strong step. Footer is the navy deep band with light ink. */
|
|
589
|
+
[theme=retro-boardwalk] :where(section, article) {
|
|
590
|
+
background-color: var(--bdw-surface-muted);
|
|
591
|
+
color: var(--bdw-text);
|
|
592
|
+
border: 1px solid var(--bdw-border);
|
|
593
|
+
box-shadow: none;
|
|
594
|
+
-webkit-backdrop-filter: blur(10px);
|
|
595
|
+
backdrop-filter: blur(10px);
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
[theme=retro-boardwalk] :where(aside, form) {
|
|
487
599
|
background-color: var(--bdw-surface);
|
|
488
600
|
color: var(--bdw-text);
|
|
489
601
|
border: 1px solid var(--bdw-border);
|
|
490
|
-
box-shadow: 0
|
|
602
|
+
box-shadow: 0 18px 40px -28px var(--bdw-shadow);
|
|
603
|
+
-webkit-backdrop-filter: blur(12px);
|
|
604
|
+
backdrop-filter: blur(12px);
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
[theme=retro-boardwalk] :where(header) {
|
|
608
|
+
background-color: var(--bdw-surface-muted);
|
|
609
|
+
color: var(--bdw-text);
|
|
610
|
+
border: none;
|
|
611
|
+
border-bottom: 1px solid var(--bdw-border);
|
|
612
|
+
box-shadow: none;
|
|
613
|
+
-webkit-backdrop-filter: blur(10px);
|
|
614
|
+
backdrop-filter: blur(10px);
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
[theme=retro-boardwalk] :where(main > header) {
|
|
618
|
+
background: transparent;
|
|
619
|
+
background-image: none;
|
|
620
|
+
border: none;
|
|
621
|
+
box-shadow: none;
|
|
622
|
+
-webkit-backdrop-filter: none;
|
|
623
|
+
backdrop-filter: none;
|
|
624
|
+
color: var(--bdw-text);
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
[theme=retro-boardwalk] :where(nav) {
|
|
628
|
+
background-color: var(--bdw-surface-strong);
|
|
629
|
+
color: var(--bdw-text);
|
|
630
|
+
border: none;
|
|
631
|
+
border-bottom: 1px solid var(--bdw-border);
|
|
632
|
+
box-shadow: 0 18px 40px -28px var(--bdw-shadow);
|
|
491
633
|
-webkit-backdrop-filter: blur(14px);
|
|
492
634
|
backdrop-filter: blur(14px);
|
|
493
635
|
}
|
|
494
636
|
|
|
495
637
|
[theme=retro-boardwalk] :where(nav[type=bar], nav[type=sidebar]) {
|
|
496
638
|
background-color: var(--bdw-surface-strong);
|
|
639
|
+
border: 1px solid var(--bdw-border-strong);
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
[theme=retro-boardwalk] :where(footer) {
|
|
643
|
+
background-color: var(--bdw-surface-deep);
|
|
644
|
+
color: var(--bdw-page);
|
|
645
|
+
border: none;
|
|
646
|
+
border-top: 1px solid var(--bdw-border-strong);
|
|
647
|
+
box-shadow: none;
|
|
648
|
+
-webkit-backdrop-filter: none;
|
|
649
|
+
backdrop-filter: none;
|
|
497
650
|
}
|
|
498
651
|
|
|
499
652
|
/* Typography hierarchy */
|
|
@@ -502,17 +655,19 @@
|
|
|
502
655
|
font-family: var(--bdw-heading-font);
|
|
503
656
|
font-weight: 900;
|
|
504
657
|
letter-spacing: -0.03em;
|
|
505
|
-
line-height:
|
|
658
|
+
line-height: 1.08;
|
|
506
659
|
}
|
|
507
660
|
|
|
508
661
|
[theme=retro-boardwalk] :where(p, span, li, label, dt, dd, blockquote) {
|
|
509
662
|
color: var(--bdw-text);
|
|
510
663
|
font-family: var(--bdw-body-font);
|
|
664
|
+
line-height: 1.6;
|
|
511
665
|
}
|
|
512
666
|
|
|
513
667
|
[theme=retro-boardwalk] :where(small, figcaption) {
|
|
514
|
-
color: var(--bdw-text-
|
|
668
|
+
color: var(--bdw-text-soft);
|
|
515
669
|
font-family: var(--bdw-body-font);
|
|
670
|
+
line-height: 1.55;
|
|
516
671
|
}
|
|
517
672
|
|
|
518
673
|
[theme=retro-boardwalk] :where(strong, b) {
|
|
@@ -574,10 +729,68 @@
|
|
|
574
729
|
box-shadow: none;
|
|
575
730
|
}
|
|
576
731
|
|
|
577
|
-
|
|
732
|
+
/* Inverted footer — light ink on navy. Later than the cream reading ladder,
|
|
733
|
+
outline, and secondary so dark heading/soft ink does not sit on deep. */
|
|
734
|
+
[theme=retro-boardwalk] :where(footer) :where(h1, h2, h3, h4, h5, h6, strong, b) {
|
|
735
|
+
color: var(--bdw-page);
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
[theme=retro-boardwalk] :where(footer) :where(p, span, li, label, dt, dd, blockquote) {
|
|
739
|
+
color: var(--bdw-page);
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
[theme=retro-boardwalk] :where(footer) :where(small, figcaption) {
|
|
743
|
+
color: color-mix(in srgb, var(--bdw-page) 78%, var(--bdw-highlight));
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
[theme=retro-boardwalk] :where(footer) :where(a) {
|
|
747
|
+
color: var(--bdw-highlight);
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
[theme=retro-boardwalk] :where(footer) :where(a:hover, a:focus-visible) {
|
|
751
|
+
color: var(--bdw-page);
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
[theme=retro-boardwalk] :where(footer) :where(button[btn=secondary]) {
|
|
755
|
+
color: var(--bdw-page);
|
|
756
|
+
border-color: color-mix(in srgb, var(--bdw-page) 46%, transparent);
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
[theme=retro-boardwalk] :where(footer) :where(button[btn=outline]) {
|
|
760
|
+
color: var(--bdw-page);
|
|
761
|
+
border-color: var(--bdw-highlight);
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
[theme=retro-boardwalk] :where(footer) :where(button[btn=outline]:hover, button[btn=outline]:focus-visible) {
|
|
765
|
+
background-color: var(--bdw-highlight);
|
|
766
|
+
color: var(--bdw-heading);
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
/* Light surfaces nested in the footer keep the dark reading ladder. */
|
|
770
|
+
[theme=retro-boardwalk] :where(footer) :where(section, article, aside, form, nav, header, [card], [panel], [bdw-card], [bdw-panel], [hero], [bdw-hero]) :where(h1, h2, h3, h4, h5, h6, strong, b) {
|
|
771
|
+
color: var(--bdw-heading);
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
[theme=retro-boardwalk] :where(footer) :where(section, article, aside, form, nav, header, [card], [panel], [bdw-card], [bdw-panel], [hero], [bdw-hero]) :where(p, span, li, label, dt, dd, blockquote, a) {
|
|
775
|
+
color: var(--bdw-text);
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
[theme=retro-boardwalk] :where(footer) :where(section, article, aside, form, nav, header, [card], [panel], [bdw-card], [bdw-panel], [hero], [bdw-hero]) :where(small, figcaption) {
|
|
779
|
+
color: var(--bdw-text-soft);
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
[theme=retro-boardwalk] :where(footer) :where(section, article, aside, form, nav, header, [card], [panel], [bdw-card], [bdw-panel], [hero], [bdw-hero]) :where(a) {
|
|
783
|
+
color: var(--bdw-accent-strong);
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
[theme=retro-boardwalk] :where(footer) :where([card], [bdw-card]) :where(p, span, li) {
|
|
578
787
|
color: var(--bdw-text-muted);
|
|
579
788
|
}
|
|
580
789
|
|
|
790
|
+
[theme=retro-boardwalk] :where(input::placeholder, textarea::placeholder) {
|
|
791
|
+
color: var(--bdw-text-soft);
|
|
792
|
+
}
|
|
793
|
+
|
|
581
794
|
[theme=retro-boardwalk] :where(input:focus-visible, textarea:focus-visible, select:focus-visible) {
|
|
582
795
|
outline: 2px solid rgba(138, 160, 178, 0.28);
|
|
583
796
|
outline-offset: 2px;
|
|
@@ -598,7 +811,11 @@
|
|
|
598
811
|
color: var(--bdw-text);
|
|
599
812
|
}
|
|
600
813
|
|
|
601
|
-
/* Named
|
|
814
|
+
/* Named surfaces and Juice primitives share one recipe each.
|
|
815
|
+
[card]/[bdw-card] elevated, [panel]/[bdw-panel] quiet, [hero]/[bdw-hero] cream marquee.
|
|
816
|
+
Captions stay on soft; card body secondary stays muted. */
|
|
817
|
+
[theme=retro-boardwalk][card],
|
|
818
|
+
[theme=retro-boardwalk] [card],
|
|
602
819
|
[theme=retro-boardwalk][bdw-card],
|
|
603
820
|
[theme=retro-boardwalk] [bdw-card] {
|
|
604
821
|
background: var(--bdw-card-background);
|
|
@@ -607,21 +824,29 @@
|
|
|
607
824
|
box-shadow: 0 28px 70px -42px var(--bdw-shadow);
|
|
608
825
|
}
|
|
609
826
|
|
|
827
|
+
[theme=retro-boardwalk][card] :where(h1, h2, h3, h4, h5, h6),
|
|
828
|
+
[theme=retro-boardwalk] [card] :where(h1, h2, h3, h4, h5, h6),
|
|
610
829
|
[theme=retro-boardwalk][bdw-card] :where(h1, h2, h3, h4, h5, h6),
|
|
611
830
|
[theme=retro-boardwalk] [bdw-card] :where(h1, h2, h3, h4, h5, h6) {
|
|
612
831
|
color: var(--bdw-heading);
|
|
613
832
|
}
|
|
614
833
|
|
|
615
|
-
[theme=retro-boardwalk][
|
|
616
|
-
[theme=retro-boardwalk] [
|
|
834
|
+
[theme=retro-boardwalk][card] :where(p, span, li),
|
|
835
|
+
[theme=retro-boardwalk] [card] :where(p, span, li),
|
|
836
|
+
[theme=retro-boardwalk][bdw-card] :where(p, span, li),
|
|
837
|
+
[theme=retro-boardwalk] [bdw-card] :where(p, span, li) {
|
|
617
838
|
color: var(--bdw-text-muted);
|
|
618
839
|
}
|
|
619
840
|
|
|
841
|
+
[theme=retro-boardwalk][card] :where(strong, b),
|
|
842
|
+
[theme=retro-boardwalk] [card] :where(strong, b),
|
|
620
843
|
[theme=retro-boardwalk][bdw-card] :where(strong, b),
|
|
621
844
|
[theme=retro-boardwalk] [bdw-card] :where(strong, b) {
|
|
622
845
|
color: var(--bdw-heading);
|
|
623
846
|
}
|
|
624
847
|
|
|
848
|
+
[theme=retro-boardwalk][panel],
|
|
849
|
+
[theme=retro-boardwalk] [panel],
|
|
625
850
|
[theme=retro-boardwalk][bdw-panel],
|
|
626
851
|
[theme=retro-boardwalk] [bdw-panel] {
|
|
627
852
|
background: var(--bdw-panel-background);
|
|
@@ -630,42 +855,93 @@
|
|
|
630
855
|
box-shadow: 0 22px 56px -40px var(--bdw-shadow);
|
|
631
856
|
}
|
|
632
857
|
|
|
858
|
+
[theme=retro-boardwalk][panel] :where(h1, h2, h3, h4, h5, h6),
|
|
859
|
+
[theme=retro-boardwalk] [panel] :where(h1, h2, h3, h4, h5, h6),
|
|
633
860
|
[theme=retro-boardwalk][bdw-panel] :where(h1, h2, h3, h4, h5, h6),
|
|
634
861
|
[theme=retro-boardwalk] [bdw-panel] :where(h1, h2, h3, h4, h5, h6) {
|
|
635
862
|
color: var(--bdw-heading);
|
|
636
863
|
}
|
|
637
864
|
|
|
638
|
-
[theme=retro-boardwalk][
|
|
639
|
-
[theme=retro-boardwalk] [
|
|
865
|
+
[theme=retro-boardwalk][panel] :where(p, span, li),
|
|
866
|
+
[theme=retro-boardwalk] [panel] :where(p, span, li),
|
|
867
|
+
[theme=retro-boardwalk][bdw-panel] :where(p, span, li),
|
|
868
|
+
[theme=retro-boardwalk] [bdw-panel] :where(p, span, li) {
|
|
640
869
|
color: var(--bdw-text);
|
|
641
870
|
}
|
|
642
871
|
|
|
872
|
+
[theme=retro-boardwalk][panel] :where(strong, b),
|
|
873
|
+
[theme=retro-boardwalk] [panel] :where(strong, b),
|
|
643
874
|
[theme=retro-boardwalk][bdw-panel] :where(strong, b),
|
|
644
875
|
[theme=retro-boardwalk] [bdw-panel] :where(strong, b) {
|
|
645
876
|
color: var(--bdw-heading);
|
|
646
877
|
}
|
|
647
878
|
|
|
879
|
+
[theme=retro-boardwalk][hero],
|
|
880
|
+
[theme=retro-boardwalk] [hero],
|
|
648
881
|
[theme=retro-boardwalk][bdw-hero],
|
|
649
882
|
[theme=retro-boardwalk] [bdw-hero] {
|
|
650
883
|
background: var(--bdw-hero-background);
|
|
651
|
-
color:
|
|
652
|
-
border: 1px solid
|
|
653
|
-
box-shadow: 0 36px 90px -48px rgba(28, 61, 90, 0.
|
|
884
|
+
color: var(--bdw-text);
|
|
885
|
+
border: 1px solid var(--bdw-border);
|
|
886
|
+
box-shadow: 0 36px 90px -48px rgba(28, 61, 90, 0.18);
|
|
654
887
|
}
|
|
655
888
|
|
|
889
|
+
[theme=retro-boardwalk][hero] :where(h1, h2, h3, h4, h5, h6),
|
|
890
|
+
[theme=retro-boardwalk] [hero] :where(h1, h2, h3, h4, h5, h6),
|
|
656
891
|
[theme=retro-boardwalk][bdw-hero] :where(h1, h2, h3, h4, h5, h6),
|
|
657
892
|
[theme=retro-boardwalk] [bdw-hero] :where(h1, h2, h3, h4, h5, h6) {
|
|
658
|
-
color:
|
|
893
|
+
color: var(--bdw-heading);
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
[theme=retro-boardwalk][hero] :where(p, span, li),
|
|
897
|
+
[theme=retro-boardwalk] [hero] :where(p, span, li),
|
|
898
|
+
[theme=retro-boardwalk][bdw-hero] :where(p, span, li),
|
|
899
|
+
[theme=retro-boardwalk] [bdw-hero] :where(p, span, li) {
|
|
900
|
+
color: var(--bdw-text);
|
|
659
901
|
}
|
|
660
902
|
|
|
661
|
-
[theme=retro-boardwalk][
|
|
662
|
-
[theme=retro-boardwalk] [
|
|
663
|
-
|
|
903
|
+
[theme=retro-boardwalk][hero] :where(a),
|
|
904
|
+
[theme=retro-boardwalk] [hero] :where(a),
|
|
905
|
+
[theme=retro-boardwalk][bdw-hero] :where(a),
|
|
906
|
+
[theme=retro-boardwalk] [bdw-hero] :where(a) {
|
|
907
|
+
color: var(--bdw-accent-strong);
|
|
664
908
|
}
|
|
665
909
|
|
|
666
|
-
[theme=retro-boardwalk][
|
|
667
|
-
[theme=retro-boardwalk] [
|
|
668
|
-
|
|
910
|
+
[theme=retro-boardwalk][hero] :where(small, figcaption),
|
|
911
|
+
[theme=retro-boardwalk] [hero] :where(small, figcaption),
|
|
912
|
+
[theme=retro-boardwalk][bdw-hero] :where(small, figcaption),
|
|
913
|
+
[theme=retro-boardwalk] [bdw-hero] :where(small, figcaption) {
|
|
914
|
+
color: var(--bdw-text-soft);
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
/* [cta] uses the in-family accent → accent-strong recipe. Inverse ink on the coral band. */
|
|
918
|
+
[theme=retro-boardwalk][cta],
|
|
919
|
+
[theme=retro-boardwalk] [cta] {
|
|
920
|
+
background: var(--bdw-button-background);
|
|
921
|
+
color: var(--bdw-text-inverse);
|
|
922
|
+
border: 1px solid transparent;
|
|
923
|
+
box-shadow: 0 28px 70px -42px var(--bdw-shadow);
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
[theme=retro-boardwalk][cta] :where(h1, h2, h3, h4, h5, h6),
|
|
927
|
+
[theme=retro-boardwalk] [cta] :where(h1, h2, h3, h4, h5, h6) {
|
|
928
|
+
color: var(--bdw-text-inverse);
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
[theme=retro-boardwalk][cta] :where(p, span, li, a),
|
|
932
|
+
[theme=retro-boardwalk] [cta] :where(p, span, li, a) {
|
|
933
|
+
color: var(--bdw-text-inverse);
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
[theme=retro-boardwalk][cta] :where(small, figcaption),
|
|
937
|
+
[theme=retro-boardwalk] [cta] :where(small, figcaption) {
|
|
938
|
+
color: color-mix(in srgb, var(--bdw-text-inverse) 72%, var(--bdw-accent-soft));
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
[theme=retro-boardwalk][cta] button:not([btn]),
|
|
942
|
+
[theme=retro-boardwalk] [cta] button:not([btn]) {
|
|
943
|
+
background-image: none;
|
|
944
|
+
background-color: var(--bdw-page);
|
|
669
945
|
color: var(--bdw-heading);
|
|
670
946
|
border-color: transparent;
|
|
671
947
|
}
|
|
@@ -673,7 +949,7 @@
|
|
|
673
949
|
[theme=retro-boardwalk][bdw-stage],
|
|
674
950
|
[theme=retro-boardwalk] [bdw-stage] {
|
|
675
951
|
background: var(--bdw-stage-background);
|
|
676
|
-
color:
|
|
952
|
+
color: var(--bdw-page);
|
|
677
953
|
border: 1px solid var(--bdw-stage-outline);
|
|
678
954
|
box-shadow: 0 44px 100px -54px var(--bdw-stage-shadow);
|
|
679
955
|
overflow: hidden;
|
|
@@ -692,12 +968,22 @@
|
|
|
692
968
|
|
|
693
969
|
[theme=retro-boardwalk][bdw-stage] :where(h1, h2, h3, h4, h5, h6, strong, b),
|
|
694
970
|
[theme=retro-boardwalk] [bdw-stage] :where(h1, h2, h3, h4, h5, h6, strong, b) {
|
|
695
|
-
color:
|
|
971
|
+
color: var(--bdw-page);
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
[theme=retro-boardwalk][bdw-stage] :where(p, span, li),
|
|
975
|
+
[theme=retro-boardwalk] [bdw-stage] :where(p, span, li) {
|
|
976
|
+
color: var(--bdw-page);
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
[theme=retro-boardwalk][bdw-stage] :where(a),
|
|
980
|
+
[theme=retro-boardwalk] [bdw-stage] :where(a) {
|
|
981
|
+
color: var(--bdw-accent-soft);
|
|
696
982
|
}
|
|
697
983
|
|
|
698
|
-
[theme=retro-boardwalk][bdw-stage] :where(
|
|
699
|
-
[theme=retro-boardwalk] [bdw-stage] :where(
|
|
700
|
-
color:
|
|
984
|
+
[theme=retro-boardwalk][bdw-stage] :where(small, figcaption),
|
|
985
|
+
[theme=retro-boardwalk] [bdw-stage] :where(small, figcaption) {
|
|
986
|
+
color: color-mix(in srgb, var(--bdw-page) 78%, var(--bdw-highlight));
|
|
701
987
|
}
|
|
702
988
|
|
|
703
989
|
[theme=retro-boardwalk][bdw-chip],
|
|
@@ -730,21 +1016,34 @@
|
|
|
730
1016
|
}
|
|
731
1017
|
|
|
732
1018
|
/* Nested surfaces inside the hero should retain their own readable contrast. */
|
|
733
|
-
[theme=retro-boardwalk][
|
|
734
|
-
[theme=retro-boardwalk] [
|
|
1019
|
+
[theme=retro-boardwalk][hero] :where([card], [panel], [bdw-card], [bdw-panel]),
|
|
1020
|
+
[theme=retro-boardwalk] [hero] :where([card], [panel], [bdw-card], [bdw-panel]),
|
|
1021
|
+
[theme=retro-boardwalk][bdw-hero] :where([card], [panel], [bdw-card], [bdw-panel]),
|
|
1022
|
+
[theme=retro-boardwalk] [bdw-hero] :where([card], [panel], [bdw-card], [bdw-panel]) {
|
|
735
1023
|
color: var(--bdw-text);
|
|
736
1024
|
}
|
|
737
1025
|
|
|
738
|
-
[theme=retro-boardwalk][
|
|
739
|
-
[theme=retro-boardwalk] [
|
|
1026
|
+
[theme=retro-boardwalk][hero] :where([card], [panel], [bdw-card], [bdw-panel]) :where(h1, h2, h3, h4, h5, h6, strong, b),
|
|
1027
|
+
[theme=retro-boardwalk] [hero] :where([card], [panel], [bdw-card], [bdw-panel]) :where(h1, h2, h3, h4, h5, h6, strong, b),
|
|
1028
|
+
[theme=retro-boardwalk][bdw-hero] :where([card], [panel], [bdw-card], [bdw-panel]) :where(h1, h2, h3, h4, h5, h6, strong, b),
|
|
1029
|
+
[theme=retro-boardwalk] [bdw-hero] :where([card], [panel], [bdw-card], [bdw-panel]) :where(h1, h2, h3, h4, h5, h6, strong, b) {
|
|
740
1030
|
color: var(--bdw-heading);
|
|
741
1031
|
}
|
|
742
1032
|
|
|
743
|
-
[theme=retro-boardwalk][
|
|
744
|
-
[theme=retro-boardwalk] [
|
|
1033
|
+
[theme=retro-boardwalk][hero] :where([card], [panel], [bdw-card], [bdw-panel]) :where(p, span, li, a),
|
|
1034
|
+
[theme=retro-boardwalk] [hero] :where([card], [panel], [bdw-card], [bdw-panel]) :where(p, span, li, a),
|
|
1035
|
+
[theme=retro-boardwalk][bdw-hero] :where([card], [panel], [bdw-card], [bdw-panel]) :where(p, span, li, a),
|
|
1036
|
+
[theme=retro-boardwalk] [bdw-hero] :where([card], [panel], [bdw-card], [bdw-panel]) :where(p, span, li, a) {
|
|
745
1037
|
color: var(--bdw-text-muted);
|
|
746
1038
|
}
|
|
747
1039
|
|
|
1040
|
+
[theme=retro-boardwalk][hero] :where([card], [panel], [bdw-card], [bdw-panel]) :where(small, figcaption),
|
|
1041
|
+
[theme=retro-boardwalk] [hero] :where([card], [panel], [bdw-card], [bdw-panel]) :where(small, figcaption),
|
|
1042
|
+
[theme=retro-boardwalk][bdw-hero] :where([card], [panel], [bdw-card], [bdw-panel]) :where(small, figcaption),
|
|
1043
|
+
[theme=retro-boardwalk] [bdw-hero] :where([card], [panel], [bdw-card], [bdw-panel]) :where(small, figcaption) {
|
|
1044
|
+
color: var(--bdw-text-soft);
|
|
1045
|
+
}
|
|
1046
|
+
|
|
748
1047
|
/* Accordion wrappers are structural, not named surfaces.
|
|
749
1048
|
Group FAQ stacks in [bdw-card] / [bdw-panel] instead.
|
|
750
1049
|
Fill / chevron / focus / panel-rule come from --juice-accordion-* roles. */
|
|
@@ -1505,6 +1804,234 @@
|
|
|
1505
1804
|
outline-offset: 2px;
|
|
1506
1805
|
}
|
|
1507
1806
|
|
|
1807
|
+
/* Disclosure chrome. Beat button CTAs.
|
|
1808
|
+
Standalone one-trigger disclosure, not an accordion and not a CTA.
|
|
1809
|
+
Runtime is later. */
|
|
1810
|
+
[theme=retro-boardwalk] [disclosure] {
|
|
1811
|
+
background-image: none;
|
|
1812
|
+
background-color: transparent;
|
|
1813
|
+
border-color: var(--juice-disclosure-border);
|
|
1814
|
+
box-shadow: none;
|
|
1815
|
+
color: var(--juice-disclosure-ink);
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
[theme=retro-boardwalk] button[disclosure-trigger],
|
|
1819
|
+
[theme=retro-boardwalk] a[disclosure-trigger],
|
|
1820
|
+
[theme=retro-boardwalk] [disclosure-trigger] {
|
|
1821
|
+
background-image: none;
|
|
1822
|
+
background-color: var(--juice-disclosure-trigger);
|
|
1823
|
+
color: var(--juice-disclosure-ink);
|
|
1824
|
+
box-shadow: none;
|
|
1825
|
+
transform: none;
|
|
1826
|
+
text-decoration: none;
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
[theme=retro-boardwalk] button[disclosure-trigger]:hover,
|
|
1830
|
+
[theme=retro-boardwalk] a[disclosure-trigger]:hover,
|
|
1831
|
+
[theme=retro-boardwalk] [disclosure-trigger]:hover {
|
|
1832
|
+
background-image: none;
|
|
1833
|
+
background-color: var(--juice-disclosure-trigger-hover);
|
|
1834
|
+
color: var(--juice-disclosure-ink);
|
|
1835
|
+
box-shadow: none;
|
|
1836
|
+
transform: none;
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1839
|
+
[theme=retro-boardwalk] button[disclosure-trigger][aria-expanded=true],
|
|
1840
|
+
[theme=retro-boardwalk] a[disclosure-trigger][aria-expanded=true],
|
|
1841
|
+
[theme=retro-boardwalk] [disclosure-trigger][aria-expanded=true] {
|
|
1842
|
+
background-image: none;
|
|
1843
|
+
background-color: var(--juice-disclosure-trigger-open);
|
|
1844
|
+
color: var(--juice-disclosure-ink);
|
|
1845
|
+
box-shadow: none;
|
|
1846
|
+
transform: none;
|
|
1847
|
+
}
|
|
1848
|
+
|
|
1849
|
+
[theme=retro-boardwalk] [disclosure-trigger]::after {
|
|
1850
|
+
border-color: var(--juice-disclosure-chevron);
|
|
1851
|
+
}
|
|
1852
|
+
|
|
1853
|
+
[theme=retro-boardwalk] button[disclosure-trigger]:focus-visible,
|
|
1854
|
+
[theme=retro-boardwalk] a[disclosure-trigger]:focus-visible,
|
|
1855
|
+
[theme=retro-boardwalk] [disclosure-trigger]:focus-visible {
|
|
1856
|
+
outline: 2px solid var(--juice-disclosure-focus-ring);
|
|
1857
|
+
outline-offset: 2px;
|
|
1858
|
+
box-shadow: none;
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
[theme=retro-boardwalk] [disclosure-panel],
|
|
1862
|
+
[theme=retro-boardwalk] [disclosure] > [disclosure-trigger] + :not([disclosure-trigger]) {
|
|
1863
|
+
background-image: none;
|
|
1864
|
+
background-color: var(--juice-disclosure-surface);
|
|
1865
|
+
border-color: var(--juice-disclosure-border);
|
|
1866
|
+
color: var(--juice-disclosure-ink);
|
|
1867
|
+
box-shadow: none;
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1870
|
+
/* Spinner chrome. Beat generic div fills.
|
|
1871
|
+
Standalone indeterminate busy indicator, not a progress bar and not a CTA.
|
|
1872
|
+
CSS owns the spin. Runtime is later. */
|
|
1873
|
+
[theme=retro-boardwalk] [spinner] {
|
|
1874
|
+
background-image: none;
|
|
1875
|
+
background-color: transparent;
|
|
1876
|
+
border: none;
|
|
1877
|
+
box-shadow: none;
|
|
1878
|
+
color: var(--juice-spinner-ink);
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1881
|
+
[theme=retro-boardwalk] [spinner]::before {
|
|
1882
|
+
background-image: none;
|
|
1883
|
+
background-color: transparent;
|
|
1884
|
+
border-color: var(--juice-spinner-track);
|
|
1885
|
+
border-top-color: var(--juice-spinner-indicator);
|
|
1886
|
+
box-shadow: none;
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
[theme=retro-boardwalk] [spinner-label] {
|
|
1890
|
+
background-image: none;
|
|
1891
|
+
background-color: transparent;
|
|
1892
|
+
color: var(--juice-spinner-ink);
|
|
1893
|
+
box-shadow: none;
|
|
1894
|
+
}
|
|
1895
|
+
|
|
1896
|
+
[theme=retro-boardwalk] [spinner]:focus-visible {
|
|
1897
|
+
outline: 2px solid var(--juice-spinner-focus-ring);
|
|
1898
|
+
outline-offset: 2px;
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1901
|
+
/* Select chrome. Beat [theme] :where(select) defaults.
|
|
1902
|
+
Styled native dropdown, not a combobox and not a CTA.
|
|
1903
|
+
Chevron stays a background so the control still opens.
|
|
1904
|
+
Runtime is later. */
|
|
1905
|
+
[theme=retro-boardwalk] select[select] {
|
|
1906
|
+
background-color: var(--juice-select-surface);
|
|
1907
|
+
border-color: var(--juice-select-border);
|
|
1908
|
+
color: var(--juice-select-ink);
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
[theme=retro-boardwalk] select[select]:focus-visible {
|
|
1912
|
+
outline: 2px solid var(--juice-select-focus-ring);
|
|
1913
|
+
outline-offset: 2px;
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
[theme=retro-boardwalk] [select-label] {
|
|
1917
|
+
background-image: none;
|
|
1918
|
+
background-color: transparent;
|
|
1919
|
+
color: var(--juice-select-ink);
|
|
1920
|
+
box-shadow: none;
|
|
1921
|
+
}
|
|
1922
|
+
|
|
1923
|
+
/* Input chrome. Beat [theme] :where(input) defaults.
|
|
1924
|
+
Styled native text field, not a combobox, not a select, and not a CTA.
|
|
1925
|
+
Text-like types only. Border color only, so KiwiPress keeps its 2px
|
|
1926
|
+
control border. Runtime is later. */
|
|
1927
|
+
[theme=retro-boardwalk] input[input]:is(:not([type]),
|
|
1928
|
+
[type=""],
|
|
1929
|
+
[type=text i],
|
|
1930
|
+
[type=email i],
|
|
1931
|
+
[type=password i],
|
|
1932
|
+
[type=search i],
|
|
1933
|
+
[type=tel i],
|
|
1934
|
+
[type=url i],
|
|
1935
|
+
[type=number i]):not([combobox-input]) {
|
|
1936
|
+
background-color: var(--juice-input-surface);
|
|
1937
|
+
border-color: var(--juice-input-border);
|
|
1938
|
+
color: var(--juice-input-ink);
|
|
1939
|
+
}
|
|
1940
|
+
|
|
1941
|
+
[theme=retro-boardwalk] input[input]:is(:not([type]),
|
|
1942
|
+
[type=""],
|
|
1943
|
+
[type=text i],
|
|
1944
|
+
[type=email i],
|
|
1945
|
+
[type=password i],
|
|
1946
|
+
[type=search i],
|
|
1947
|
+
[type=tel i],
|
|
1948
|
+
[type=url i],
|
|
1949
|
+
[type=number i]):not([combobox-input])::placeholder {
|
|
1950
|
+
color: var(--juice-input-placeholder);
|
|
1951
|
+
opacity: 1;
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
[theme=retro-boardwalk] input[input]:is(:not([type]),
|
|
1955
|
+
[type=""],
|
|
1956
|
+
[type=text i],
|
|
1957
|
+
[type=email i],
|
|
1958
|
+
[type=password i],
|
|
1959
|
+
[type=search i],
|
|
1960
|
+
[type=tel i],
|
|
1961
|
+
[type=url i],
|
|
1962
|
+
[type=number i]):not([combobox-input]):focus-visible {
|
|
1963
|
+
outline: 2px solid var(--juice-input-focus-ring);
|
|
1964
|
+
outline-offset: 2px;
|
|
1965
|
+
}
|
|
1966
|
+
|
|
1967
|
+
[theme=retro-boardwalk] [input-label] {
|
|
1968
|
+
background-image: none;
|
|
1969
|
+
background-color: transparent;
|
|
1970
|
+
color: var(--juice-input-ink);
|
|
1971
|
+
box-shadow: none;
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1974
|
+
/* Textarea chrome. Beat [theme] :where(textarea) defaults.
|
|
1975
|
+
Styled native multi-line field, not an input, not a select, and not a
|
|
1976
|
+
combobox. Border color only, so KiwiPress keeps its 2px control border.
|
|
1977
|
+
Runtime is later. */
|
|
1978
|
+
[theme=retro-boardwalk] textarea[textarea] {
|
|
1979
|
+
background-color: var(--juice-textarea-surface);
|
|
1980
|
+
border-color: var(--juice-textarea-border);
|
|
1981
|
+
color: var(--juice-textarea-ink);
|
|
1982
|
+
}
|
|
1983
|
+
|
|
1984
|
+
[theme=retro-boardwalk] textarea[textarea]::placeholder {
|
|
1985
|
+
color: var(--juice-textarea-placeholder);
|
|
1986
|
+
opacity: 1;
|
|
1987
|
+
}
|
|
1988
|
+
|
|
1989
|
+
[theme=retro-boardwalk] textarea[textarea]:focus-visible {
|
|
1990
|
+
outline: 2px solid var(--juice-textarea-focus-ring);
|
|
1991
|
+
outline-offset: 2px;
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1994
|
+
[theme=retro-boardwalk] [textarea-label] {
|
|
1995
|
+
background-image: none;
|
|
1996
|
+
background-color: transparent;
|
|
1997
|
+
color: var(--juice-textarea-ink);
|
|
1998
|
+
box-shadow: none;
|
|
1999
|
+
}
|
|
2000
|
+
|
|
2001
|
+
/* Field chrome. Wrapper around a control — label, help, error, invalid.
|
|
2002
|
+
Not an input, not a textarea, not a select, and not the legacy form
|
|
2003
|
+
layout. Paint is surface, gap, ink, and the invalid border, so nested
|
|
2004
|
+
controls keep their own chrome. Runtime is later. */
|
|
2005
|
+
[theme=retro-boardwalk] [field] {
|
|
2006
|
+
background-color: var(--juice-field-surface);
|
|
2007
|
+
gap: var(--juice-field-gap);
|
|
2008
|
+
}
|
|
2009
|
+
|
|
2010
|
+
[theme=retro-boardwalk] [field][invalid] {
|
|
2011
|
+
border-color: var(--juice-field-invalid-border);
|
|
2012
|
+
}
|
|
2013
|
+
|
|
2014
|
+
[theme=retro-boardwalk] [field-label] {
|
|
2015
|
+
background-image: none;
|
|
2016
|
+
background-color: transparent;
|
|
2017
|
+
color: var(--juice-field-label-ink);
|
|
2018
|
+
box-shadow: none;
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
[theme=retro-boardwalk] [field-help] {
|
|
2022
|
+
background-image: none;
|
|
2023
|
+
background-color: transparent;
|
|
2024
|
+
color: var(--juice-field-help-ink);
|
|
2025
|
+
box-shadow: none;
|
|
2026
|
+
}
|
|
2027
|
+
|
|
2028
|
+
[theme=retro-boardwalk] [field-error] {
|
|
2029
|
+
background-image: none;
|
|
2030
|
+
background-color: transparent;
|
|
2031
|
+
color: var(--juice-field-error-ink);
|
|
2032
|
+
box-shadow: none;
|
|
2033
|
+
}
|
|
2034
|
+
|
|
1508
2035
|
/* Primary CTA ink only. Outline, secondary, and component controls keep their own roles. */
|
|
1509
2036
|
[theme=retro-boardwalk] :where(button:not([btn])) {
|
|
1510
2037
|
color: #2a0f0c;
|
|
@@ -1524,6 +2051,8 @@
|
|
|
1524
2051
|
--retro-shadow: var(--bdw-shadow);
|
|
1525
2052
|
--retro-text: var(--bdw-text);
|
|
1526
2053
|
--retro-text-muted: var(--bdw-text-muted);
|
|
2054
|
+
--retro-text-soft: var(--bdw-text-soft);
|
|
2055
|
+
--retro-text-inverse: var(--bdw-text-inverse);
|
|
1527
2056
|
--retro-heading: var(--bdw-heading);
|
|
1528
2057
|
--retro-body-font: var(--bdw-body-font);
|
|
1529
2058
|
--retro-heading-font: var(--bdw-heading-font);
|