@citrusworx/juiceui 0.7.0 → 0.9.0
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 +117 -2
- package/dist/index.css +3076 -206
- package/dist/index.d.ts +22 -0
- package/dist/index.js +2353 -308
- package/dist/js/juice.d.ts +22 -0
- package/dist/js/src/banner/banner-runtime.d.ts +40 -0
- package/dist/js/src/breadcrumb/breadcrumb-runtime.d.ts +64 -0
- package/dist/js/src/checkbox/checkbox-runtime.d.ts +51 -0
- package/dist/js/src/combobox/combobox-runtime.d.ts +75 -0
- package/dist/js/src/menu/menu-runtime.d.ts +64 -0
- package/dist/js/src/popover/popover-runtime.d.ts +5 -3
- package/dist/js/src/progress/progress-runtime.d.ts +51 -0
- package/dist/js/src/radio/radio-runtime.d.ts +52 -0
- package/dist/js/src/shared/events.d.ts +7 -0
- package/dist/js/src/shared/focus.d.ts +7 -0
- package/dist/js/src/shared/ids.d.ts +7 -0
- package/dist/js/src/shared/overlays.d.ts +14 -0
- package/dist/js/src/slider/slider-runtime.d.ts +55 -0
- package/dist/js/src/switch/switch-runtime.d.ts +50 -0
- package/dist/js/src/toast/toast-runtime.d.ts +4 -1
- package/dist/js/src/tooltip/tooltip-runtime.d.ts +60 -0
- package/dist/js/src/wizard/wizard-runtime.d.ts +54 -0
- package/dist/themes/aquaflux.css +597 -0
- package/dist/themes/citrusmint.css +551 -0
- package/dist/themes/kiwipress.css +644 -28
- package/dist/themes/tide.css +599 -0
- package/package.json +1 -1
package/dist/themes/aquaflux.css
CHANGED
|
@@ -194,6 +194,39 @@
|
|
|
194
194
|
--juice-toast-info-soft: var(--aqua-toast-info-soft);
|
|
195
195
|
--juice-toast-warning: var(--aqua-toast-warning);
|
|
196
196
|
--juice-toast-warning-soft: var(--aqua-toast-warning-soft);
|
|
197
|
+
/* Banner chrome — inline alert / callout from existing tokens.
|
|
198
|
+
Close is a surface control, not the CTA gradient. Status remaps
|
|
199
|
+
Aquaflux identity (no new red/green family). Distinct from toast. */
|
|
200
|
+
--aqua-banner-panel: var(--aqua-surface-strong);
|
|
201
|
+
--aqua-banner-panel-border: var(--aqua-border);
|
|
202
|
+
--aqua-banner-ink: var(--aqua-text);
|
|
203
|
+
--aqua-banner-close: var(--aqua-surface-strong);
|
|
204
|
+
--aqua-banner-close-color: var(--aqua-heading);
|
|
205
|
+
--aqua-banner-close-hover: var(--aqua-surface-muted);
|
|
206
|
+
--aqua-banner-focus-ring: var(--aqua-accent);
|
|
207
|
+
--aqua-banner-success: var(--aqua-accent);
|
|
208
|
+
--aqua-banner-success-soft: color-mix(in srgb, var(--aqua-accent) 14%, var(--aqua-surface-strong));
|
|
209
|
+
--aqua-banner-error: var(--aqua-page-deep);
|
|
210
|
+
--aqua-banner-error-soft: color-mix(in srgb, var(--aqua-page-deep) 12%, var(--aqua-surface-strong));
|
|
211
|
+
--aqua-banner-info: var(--aqua-accent-soft);
|
|
212
|
+
--aqua-banner-info-soft: color-mix(in srgb, var(--aqua-accent-soft) 18%, var(--aqua-surface-strong));
|
|
213
|
+
--aqua-banner-warning: var(--aqua-accent-strong);
|
|
214
|
+
--aqua-banner-warning-soft: color-mix(in srgb, var(--aqua-accent-strong) 12%, var(--aqua-surface-strong));
|
|
215
|
+
--juice-banner-panel: var(--aqua-banner-panel);
|
|
216
|
+
--juice-banner-panel-border: var(--aqua-banner-panel-border);
|
|
217
|
+
--juice-banner-ink: var(--aqua-banner-ink);
|
|
218
|
+
--juice-banner-close: var(--aqua-banner-close);
|
|
219
|
+
--juice-banner-close-color: var(--aqua-banner-close-color);
|
|
220
|
+
--juice-banner-close-hover: var(--aqua-banner-close-hover);
|
|
221
|
+
--juice-banner-focus-ring: var(--aqua-banner-focus-ring);
|
|
222
|
+
--juice-banner-success: var(--aqua-banner-success);
|
|
223
|
+
--juice-banner-success-soft: var(--aqua-banner-success-soft);
|
|
224
|
+
--juice-banner-error: var(--aqua-banner-error);
|
|
225
|
+
--juice-banner-error-soft: var(--aqua-banner-error-soft);
|
|
226
|
+
--juice-banner-info: var(--aqua-banner-info);
|
|
227
|
+
--juice-banner-info-soft: var(--aqua-banner-info-soft);
|
|
228
|
+
--juice-banner-warning: var(--aqua-banner-warning);
|
|
229
|
+
--juice-banner-warning-soft: var(--aqua-banner-warning-soft);
|
|
197
230
|
/* Popover chrome — anchored floating panel from existing tokens.
|
|
198
231
|
Close is a surface control, not the CTA gradient. Distinct from
|
|
199
232
|
modal/drawer/toast and overlay="frost|tint". */
|
|
@@ -213,6 +246,188 @@
|
|
|
213
246
|
--juice-popover-close-color: var(--aqua-popover-close-color);
|
|
214
247
|
--juice-popover-close-hover: var(--aqua-popover-close-hover);
|
|
215
248
|
--juice-popover-focus-ring: var(--aqua-popover-focus-ring);
|
|
249
|
+
/* Wizard chrome — onboarding shell / rails / steps from existing tokens.
|
|
250
|
+
Distinct from modal/drawer/popover. No new hue family. */
|
|
251
|
+
--aqua-wizard-shell: var(--aqua-page);
|
|
252
|
+
--aqua-wizard-header: var(--aqua-surface-strong);
|
|
253
|
+
--aqua-wizard-header-border: var(--aqua-border);
|
|
254
|
+
--aqua-wizard-rail: var(--aqua-surface-muted);
|
|
255
|
+
--aqua-wizard-rail-border: var(--aqua-border);
|
|
256
|
+
--aqua-wizard-step: var(--aqua-surface-strong);
|
|
257
|
+
--aqua-wizard-step-border: var(--aqua-border);
|
|
258
|
+
--aqua-wizard-step-ink: var(--aqua-text-muted);
|
|
259
|
+
--aqua-wizard-step-current: var(--aqua-accent);
|
|
260
|
+
--aqua-wizard-step-complete: var(--aqua-accent-strong);
|
|
261
|
+
--aqua-wizard-step-on: var(--aqua-page);
|
|
262
|
+
--aqua-wizard-step-connector: var(--aqua-border);
|
|
263
|
+
--aqua-wizard-panel: var(--aqua-surface-strong);
|
|
264
|
+
--aqua-wizard-panel-border: var(--aqua-border);
|
|
265
|
+
--aqua-wizard-focus-ring: var(--aqua-accent);
|
|
266
|
+
--juice-wizard-shell: var(--aqua-wizard-shell);
|
|
267
|
+
--juice-wizard-header: var(--aqua-wizard-header);
|
|
268
|
+
--juice-wizard-header-border: var(--aqua-wizard-header-border);
|
|
269
|
+
--juice-wizard-rail: var(--aqua-wizard-rail);
|
|
270
|
+
--juice-wizard-rail-border: var(--aqua-wizard-rail-border);
|
|
271
|
+
--juice-wizard-step: var(--aqua-wizard-step);
|
|
272
|
+
--juice-wizard-step-border: var(--aqua-wizard-step-border);
|
|
273
|
+
--juice-wizard-step-ink: var(--aqua-wizard-step-ink);
|
|
274
|
+
--juice-wizard-step-current: var(--aqua-wizard-step-current);
|
|
275
|
+
--juice-wizard-step-complete: var(--aqua-wizard-step-complete);
|
|
276
|
+
--juice-wizard-step-on: var(--aqua-wizard-step-on);
|
|
277
|
+
--juice-wizard-step-connector: var(--aqua-wizard-step-connector);
|
|
278
|
+
--juice-wizard-panel: var(--aqua-wizard-panel);
|
|
279
|
+
--juice-wizard-panel-border: var(--aqua-wizard-panel-border);
|
|
280
|
+
--juice-wizard-focus-ring: var(--aqua-wizard-focus-ring);
|
|
281
|
+
/* Tooltip chrome — hover/focus tip from existing tokens. No close,
|
|
282
|
+
no status, no new hue family. Distinct from popover. */
|
|
283
|
+
--aqua-tooltip-panel: var(--aqua-surface-strong);
|
|
284
|
+
--aqua-tooltip-panel-border: var(--aqua-border);
|
|
285
|
+
--aqua-tooltip-panel-shadow: 0 12px 28px -20px var(--aqua-shadow);
|
|
286
|
+
--aqua-tooltip-ink: var(--aqua-text);
|
|
287
|
+
--juice-tooltip-panel: var(--aqua-tooltip-panel);
|
|
288
|
+
--juice-tooltip-panel-border: var(--aqua-tooltip-panel-border);
|
|
289
|
+
--juice-tooltip-panel-shadow: var(--aqua-tooltip-panel-shadow);
|
|
290
|
+
--juice-tooltip-ink: var(--aqua-tooltip-ink);
|
|
291
|
+
/* Combobox chrome — input + listbox popup from existing tokens.
|
|
292
|
+
Trigger is a surface control, not a CTA. Distinct from select. */
|
|
293
|
+
--aqua-combobox-input: var(--aqua-surface-strong);
|
|
294
|
+
--aqua-combobox-input-border: var(--aqua-border-strong);
|
|
295
|
+
--aqua-combobox-input-ink: var(--aqua-text);
|
|
296
|
+
--aqua-combobox-list: var(--aqua-surface-strong);
|
|
297
|
+
--aqua-combobox-list-border: var(--aqua-border);
|
|
298
|
+
--aqua-combobox-list-shadow: 0 18px 40px -24px var(--aqua-shadow);
|
|
299
|
+
--aqua-combobox-option: transparent;
|
|
300
|
+
--aqua-combobox-option-hover: var(--aqua-surface-muted);
|
|
301
|
+
--aqua-combobox-option-selected: var(--aqua-highlight);
|
|
302
|
+
--aqua-combobox-option-ink: var(--aqua-text);
|
|
303
|
+
--aqua-combobox-trigger: transparent;
|
|
304
|
+
--aqua-combobox-trigger-ink: var(--aqua-heading);
|
|
305
|
+
--aqua-combobox-focus-ring: var(--aqua-accent);
|
|
306
|
+
--juice-combobox-input: var(--aqua-combobox-input);
|
|
307
|
+
--juice-combobox-input-border: var(--aqua-combobox-input-border);
|
|
308
|
+
--juice-combobox-input-ink: var(--aqua-combobox-input-ink);
|
|
309
|
+
--juice-combobox-list: var(--aqua-combobox-list);
|
|
310
|
+
--juice-combobox-list-border: var(--aqua-combobox-list-border);
|
|
311
|
+
--juice-combobox-list-shadow: var(--aqua-combobox-list-shadow);
|
|
312
|
+
--juice-combobox-option: var(--aqua-combobox-option);
|
|
313
|
+
--juice-combobox-option-hover: var(--aqua-combobox-option-hover);
|
|
314
|
+
--juice-combobox-option-selected: var(--aqua-combobox-option-selected);
|
|
315
|
+
--juice-combobox-option-ink: var(--aqua-combobox-option-ink);
|
|
316
|
+
--juice-combobox-trigger: var(--aqua-combobox-trigger);
|
|
317
|
+
--juice-combobox-trigger-ink: var(--aqua-combobox-trigger-ink);
|
|
318
|
+
--juice-combobox-focus-ring: var(--aqua-combobox-focus-ring);
|
|
319
|
+
/* Menu chrome — APG menu button from existing tokens. Opener is a
|
|
320
|
+
surface control, not a CTA. Distinct from popover / combobox /
|
|
321
|
+
native select. */
|
|
322
|
+
--aqua-menu-panel: var(--aqua-surface-strong);
|
|
323
|
+
--aqua-menu-panel-border: var(--aqua-border);
|
|
324
|
+
--aqua-menu-panel-shadow: 0 18px 40px -24px var(--aqua-shadow);
|
|
325
|
+
--aqua-menu-ink: var(--aqua-text);
|
|
326
|
+
--aqua-menu-item: transparent;
|
|
327
|
+
--aqua-menu-item-hover: var(--aqua-surface-muted);
|
|
328
|
+
--aqua-menu-item-active: var(--aqua-highlight);
|
|
329
|
+
--aqua-menu-separator: var(--aqua-border);
|
|
330
|
+
--aqua-menu-focus-ring: var(--aqua-accent);
|
|
331
|
+
--aqua-menu-opener: var(--aqua-surface-strong);
|
|
332
|
+
--aqua-menu-opener-ink: var(--aqua-heading);
|
|
333
|
+
--juice-menu-panel: var(--aqua-menu-panel);
|
|
334
|
+
--juice-menu-panel-border: var(--aqua-menu-panel-border);
|
|
335
|
+
--juice-menu-panel-shadow: var(--aqua-menu-panel-shadow);
|
|
336
|
+
--juice-menu-ink: var(--aqua-menu-ink);
|
|
337
|
+
--juice-menu-item: var(--aqua-menu-item);
|
|
338
|
+
--juice-menu-item-hover: var(--aqua-menu-item-hover);
|
|
339
|
+
--juice-menu-item-active: var(--aqua-menu-item-active);
|
|
340
|
+
--juice-menu-separator: var(--aqua-menu-separator);
|
|
341
|
+
--juice-menu-focus-ring: var(--aqua-menu-focus-ring);
|
|
342
|
+
--juice-menu-opener: var(--aqua-menu-opener);
|
|
343
|
+
--juice-menu-opener-ink: var(--aqua-menu-opener-ink);
|
|
344
|
+
/* Switch chrome — APG switch from existing tokens. The host is a
|
|
345
|
+
surface track, not a CTA. Distinct from checkbox / menuitemcheckbox. */
|
|
346
|
+
--aqua-switch-track: var(--aqua-surface-muted);
|
|
347
|
+
--aqua-switch-track-checked: var(--aqua-accent);
|
|
348
|
+
--aqua-switch-thumb: var(--aqua-page);
|
|
349
|
+
--aqua-switch-thumb-checked: var(--aqua-page);
|
|
350
|
+
--aqua-switch-focus-ring: var(--aqua-accent);
|
|
351
|
+
--juice-switch-track: var(--aqua-switch-track);
|
|
352
|
+
--juice-switch-track-checked: var(--aqua-switch-track-checked);
|
|
353
|
+
--juice-switch-thumb: var(--aqua-switch-thumb);
|
|
354
|
+
--juice-switch-thumb-checked: var(--aqua-switch-thumb-checked);
|
|
355
|
+
--juice-switch-focus-ring: var(--aqua-switch-focus-ring);
|
|
356
|
+
/* Slider chrome — APG slider from existing tokens. Horizontal only.
|
|
357
|
+
The track is a surface groove, not a CTA. Distinct from range
|
|
358
|
+
input, progress, and scrollbar. */
|
|
359
|
+
--aqua-slider-track: var(--aqua-surface-muted);
|
|
360
|
+
--aqua-slider-track-border: var(--aqua-border);
|
|
361
|
+
--aqua-slider-fill: var(--aqua-accent);
|
|
362
|
+
--aqua-slider-thumb: var(--aqua-page);
|
|
363
|
+
--aqua-slider-thumb-border: var(--aqua-border-strong);
|
|
364
|
+
--aqua-slider-thumb-shadow: 0 1px 2px var(--aqua-shadow);
|
|
365
|
+
--aqua-slider-focus-ring: var(--aqua-accent);
|
|
366
|
+
--juice-slider-track: var(--aqua-slider-track);
|
|
367
|
+
--juice-slider-track-border: var(--aqua-slider-track-border);
|
|
368
|
+
--juice-slider-fill: var(--aqua-slider-fill);
|
|
369
|
+
--juice-slider-thumb: var(--aqua-slider-thumb);
|
|
370
|
+
--juice-slider-thumb-border: var(--aqua-slider-thumb-border);
|
|
371
|
+
--juice-slider-thumb-shadow: var(--aqua-slider-thumb-shadow);
|
|
372
|
+
--juice-slider-focus-ring: var(--aqua-slider-focus-ring);
|
|
373
|
+
/* Checkbox chrome — APG checkbox from existing tokens. The host is a
|
|
374
|
+
surface box, not a CTA. Binary only. Distinct from switch and
|
|
375
|
+
menuitemcheckbox. */
|
|
376
|
+
--aqua-checkbox-control: var(--aqua-page);
|
|
377
|
+
--aqua-checkbox-control-checked: var(--aqua-accent);
|
|
378
|
+
--aqua-checkbox-border: var(--aqua-border-strong);
|
|
379
|
+
--aqua-checkbox-border-checked: var(--aqua-accent);
|
|
380
|
+
--aqua-checkbox-mark: var(--aqua-page);
|
|
381
|
+
--aqua-checkbox-focus-ring: var(--aqua-accent);
|
|
382
|
+
--juice-checkbox-control: var(--aqua-checkbox-control);
|
|
383
|
+
--juice-checkbox-control-checked: var(--aqua-checkbox-control-checked);
|
|
384
|
+
--juice-checkbox-border: var(--aqua-checkbox-border);
|
|
385
|
+
--juice-checkbox-border-checked: var(--aqua-checkbox-border-checked);
|
|
386
|
+
--juice-checkbox-mark: var(--aqua-checkbox-mark);
|
|
387
|
+
--juice-checkbox-focus-ring: var(--aqua-checkbox-focus-ring);
|
|
388
|
+
/* Radio chrome — APG radio from existing tokens. The host is a surface
|
|
389
|
+
disc, not a CTA. The group is layout-only. Distinct from switch
|
|
390
|
+
and checkbox. */
|
|
391
|
+
--aqua-radio-control: var(--aqua-page);
|
|
392
|
+
--aqua-radio-control-checked: var(--aqua-page);
|
|
393
|
+
--aqua-radio-border: var(--aqua-border-strong);
|
|
394
|
+
--aqua-radio-border-checked: var(--aqua-accent);
|
|
395
|
+
--aqua-radio-mark: var(--aqua-accent);
|
|
396
|
+
--aqua-radio-focus-ring: var(--aqua-accent);
|
|
397
|
+
--juice-radio-control: var(--aqua-radio-control);
|
|
398
|
+
--juice-radio-control-checked: var(--aqua-radio-control-checked);
|
|
399
|
+
--juice-radio-border: var(--aqua-radio-border);
|
|
400
|
+
--juice-radio-border-checked: var(--aqua-radio-border-checked);
|
|
401
|
+
--juice-radio-mark: var(--aqua-radio-mark);
|
|
402
|
+
--juice-radio-focus-ring: var(--aqua-radio-focus-ring);
|
|
403
|
+
/* Breadcrumb chrome — APG trail from existing tokens. Inline, not a
|
|
404
|
+
site nav bar and not a CTA. Surface stays transparent unless a bar
|
|
405
|
+
is wanted. Distinct from tabs, wizard steps, and pagination. */
|
|
406
|
+
--aqua-breadcrumb-ink: var(--aqua-text-muted);
|
|
407
|
+
--aqua-breadcrumb-ink-current: var(--aqua-heading);
|
|
408
|
+
--aqua-breadcrumb-ink-hover: var(--aqua-accent);
|
|
409
|
+
--aqua-breadcrumb-separator: var(--aqua-border-strong);
|
|
410
|
+
--aqua-breadcrumb-focus-ring: var(--aqua-accent);
|
|
411
|
+
--aqua-breadcrumb-surface: transparent;
|
|
412
|
+
--juice-breadcrumb-ink: var(--aqua-breadcrumb-ink);
|
|
413
|
+
--juice-breadcrumb-ink-current: var(--aqua-breadcrumb-ink-current);
|
|
414
|
+
--juice-breadcrumb-ink-hover: var(--aqua-breadcrumb-ink-hover);
|
|
415
|
+
--juice-breadcrumb-separator: var(--aqua-breadcrumb-separator);
|
|
416
|
+
--juice-breadcrumb-focus-ring: var(--aqua-breadcrumb-focus-ring);
|
|
417
|
+
--juice-breadcrumb-surface: var(--aqua-breadcrumb-surface);
|
|
418
|
+
/* Progress chrome — APG progressbar from existing tokens. The track
|
|
419
|
+
is a surface groove, not a CTA. Distinct from slider, spinner, and
|
|
420
|
+
a native <progress> restyle. Inline status — no overlay. */
|
|
421
|
+
--aqua-progress-track: var(--aqua-surface-muted);
|
|
422
|
+
--aqua-progress-track-border: var(--aqua-border);
|
|
423
|
+
--aqua-progress-fill: var(--aqua-accent);
|
|
424
|
+
--aqua-progress-ink: var(--aqua-text);
|
|
425
|
+
--aqua-progress-focus-ring: var(--aqua-accent);
|
|
426
|
+
--juice-progress-track: var(--aqua-progress-track);
|
|
427
|
+
--juice-progress-track-border: var(--aqua-progress-track-border);
|
|
428
|
+
--juice-progress-fill: var(--aqua-progress-fill);
|
|
429
|
+
--juice-progress-ink: var(--aqua-progress-ink);
|
|
430
|
+
--juice-progress-focus-ring: var(--aqua-progress-focus-ring);
|
|
216
431
|
background-color: var(--aqua-page);
|
|
217
432
|
background-image: var(--aqua-page-background);
|
|
218
433
|
color: var(--aqua-text);
|
|
@@ -740,6 +955,76 @@
|
|
|
740
955
|
outline-offset: 2px;
|
|
741
956
|
}
|
|
742
957
|
|
|
958
|
+
/* Banner chrome. Generic Aquaflux buttons use the CTA gradient;
|
|
959
|
+
[banner-close] stays a surface control. Runtime is later. */
|
|
960
|
+
[theme=aquaflux] [banner]:not([surfaceTone]) {
|
|
961
|
+
background-color: var(--juice-banner-panel);
|
|
962
|
+
color: var(--juice-banner-ink);
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
[theme=aquaflux] [banner]:not([surfaceTone]):not([banner-tone]) {
|
|
966
|
+
border: 1px solid var(--juice-banner-panel-border);
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
[theme=aquaflux] [banner-body] {
|
|
970
|
+
color: var(--juice-banner-ink);
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
[theme=aquaflux] [banner][banner-tone=success]:not([surfaceTone]) {
|
|
974
|
+
background-color: var(--juice-banner-success-soft);
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
[theme=aquaflux] [banner][banner-tone=success] {
|
|
978
|
+
border-left: 4px solid var(--juice-banner-success);
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
[theme=aquaflux] [banner][banner-tone=error]:not([surfaceTone]) {
|
|
982
|
+
background-color: var(--juice-banner-error-soft);
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
[theme=aquaflux] [banner][banner-tone=error] {
|
|
986
|
+
border-left: 4px solid var(--juice-banner-error);
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
[theme=aquaflux] [banner][banner-tone=info]:not([surfaceTone]) {
|
|
990
|
+
background-color: var(--juice-banner-info-soft);
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
[theme=aquaflux] [banner][banner-tone=info] {
|
|
994
|
+
border-left: 4px solid var(--juice-banner-info);
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
[theme=aquaflux] [banner][banner-tone=warning]:not([surfaceTone]) {
|
|
998
|
+
background-color: var(--juice-banner-warning-soft);
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
[theme=aquaflux] [banner][banner-tone=warning] {
|
|
1002
|
+
border-left: 4px solid var(--juice-banner-warning);
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
[theme=aquaflux] button[banner-close],
|
|
1006
|
+
[theme=aquaflux] [banner-close] {
|
|
1007
|
+
background-image: none;
|
|
1008
|
+
background-color: var(--juice-banner-close);
|
|
1009
|
+
color: var(--juice-banner-close-color);
|
|
1010
|
+
box-shadow: none;
|
|
1011
|
+
transform: none;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
[theme=aquaflux] button[banner-close]:hover,
|
|
1015
|
+
[theme=aquaflux] [banner-close]:hover {
|
|
1016
|
+
background-image: none;
|
|
1017
|
+
background-color: var(--juice-banner-close-hover);
|
|
1018
|
+
color: var(--juice-banner-close-color);
|
|
1019
|
+
transform: none;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
[theme=aquaflux] button[banner-close]:focus-visible,
|
|
1023
|
+
[theme=aquaflux] [banner-close]:focus-visible {
|
|
1024
|
+
outline: 2px solid var(--juice-banner-focus-ring);
|
|
1025
|
+
outline-offset: 2px;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
743
1028
|
/* Popover chrome. Generic Aquaflux buttons use the CTA gradient;
|
|
744
1029
|
[popover-close] stays a surface control. Runtime is later. */
|
|
745
1030
|
[theme=aquaflux] [popover-panel]:not([surfaceTone]) {
|
|
@@ -775,4 +1060,316 @@
|
|
|
775
1060
|
[theme=aquaflux] [popover-close]:focus-visible {
|
|
776
1061
|
outline: 2px solid var(--juice-popover-focus-ring);
|
|
777
1062
|
outline-offset: 2px;
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
/* Tooltip chrome. Beat [theme] :where(div) defaults. Optional
|
|
1066
|
+
surfaceTone on [tooltip-panel] is allowed. Runtime is later. */
|
|
1067
|
+
[theme=aquaflux] [tooltip-panel]:not([surfaceTone]) {
|
|
1068
|
+
background-color: var(--juice-tooltip-panel);
|
|
1069
|
+
border: 1px solid var(--juice-tooltip-panel-border);
|
|
1070
|
+
box-shadow: var(--juice-tooltip-panel-shadow);
|
|
1071
|
+
color: var(--juice-tooltip-ink);
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
/* Combobox chrome. Beat [theme] :where(input, button) defaults.
|
|
1075
|
+
[combobox-trigger] stays a surface control. Optional surfaceTone
|
|
1076
|
+
on [combobox-list] is allowed. Runtime is later. */
|
|
1077
|
+
[theme=aquaflux] [combobox-input] {
|
|
1078
|
+
background-color: var(--juice-combobox-input);
|
|
1079
|
+
border: 1px solid var(--juice-combobox-input-border);
|
|
1080
|
+
color: var(--juice-combobox-input-ink);
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
[theme=aquaflux] button[combobox-trigger],
|
|
1084
|
+
[theme=aquaflux] [combobox-trigger] {
|
|
1085
|
+
background-image: none;
|
|
1086
|
+
background-color: var(--juice-combobox-trigger);
|
|
1087
|
+
color: var(--juice-combobox-trigger-ink);
|
|
1088
|
+
box-shadow: none;
|
|
1089
|
+
transform: none;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
[theme=aquaflux] [combobox-input]:focus-visible,
|
|
1093
|
+
[theme=aquaflux] button[combobox-trigger]:focus-visible,
|
|
1094
|
+
[theme=aquaflux] [combobox-trigger]:focus-visible {
|
|
1095
|
+
outline: 2px solid var(--juice-combobox-focus-ring);
|
|
1096
|
+
outline-offset: 2px;
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
[theme=aquaflux] [combobox-list]:not([surfaceTone]) {
|
|
1100
|
+
background-color: var(--juice-combobox-list);
|
|
1101
|
+
border: 1px solid var(--juice-combobox-list-border);
|
|
1102
|
+
box-shadow: var(--juice-combobox-list-shadow);
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
[theme=aquaflux] [combobox-option] {
|
|
1106
|
+
background-color: var(--juice-combobox-option);
|
|
1107
|
+
color: var(--juice-combobox-option-ink);
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
[theme=aquaflux] [combobox-option]:hover {
|
|
1111
|
+
background-color: var(--juice-combobox-option-hover);
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
[theme=aquaflux] [combobox-option][aria-selected=true],
|
|
1115
|
+
[theme=aquaflux] [combobox-option=active] {
|
|
1116
|
+
background-color: var(--juice-combobox-option-selected);
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
/* Menu chrome. Beat [theme] :where(div, button) defaults.
|
|
1120
|
+
[menu-button] stays a surface control. Optional surfaceTone
|
|
1121
|
+
on [menu] is allowed. Runtime is later. */
|
|
1122
|
+
[theme=aquaflux] [menu]:not([surfaceTone]) {
|
|
1123
|
+
background-color: var(--juice-menu-panel);
|
|
1124
|
+
border: 1px solid var(--juice-menu-panel-border);
|
|
1125
|
+
box-shadow: var(--juice-menu-panel-shadow);
|
|
1126
|
+
color: var(--juice-menu-ink);
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
[theme=aquaflux] button[menu-button],
|
|
1130
|
+
[theme=aquaflux] [menu-button] {
|
|
1131
|
+
background-image: none;
|
|
1132
|
+
background-color: var(--juice-menu-opener);
|
|
1133
|
+
color: var(--juice-menu-opener-ink);
|
|
1134
|
+
box-shadow: none;
|
|
1135
|
+
transform: none;
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
[theme=aquaflux] button[menu-button]:focus-visible,
|
|
1139
|
+
[theme=aquaflux] [menu-button]:focus-visible,
|
|
1140
|
+
[theme=aquaflux] [menuitem]:focus-visible {
|
|
1141
|
+
outline: 2px solid var(--juice-menu-focus-ring);
|
|
1142
|
+
outline-offset: 2px;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
[theme=aquaflux] [menuitem] {
|
|
1146
|
+
background-color: var(--juice-menu-item);
|
|
1147
|
+
color: var(--juice-menu-ink);
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
[theme=aquaflux] [menuitem]:hover {
|
|
1151
|
+
background-color: var(--juice-menu-item-hover);
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
[theme=aquaflux] [menuitem=active] {
|
|
1155
|
+
background-color: var(--juice-menu-item-active);
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
[theme=aquaflux] [menu-separator] {
|
|
1159
|
+
border-top-color: var(--juice-menu-separator);
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
[theme=aquaflux] [menu-label] {
|
|
1163
|
+
color: var(--juice-menu-ink);
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
/* Switch chrome. Beat [theme] :where(button) CTA defaults.
|
|
1167
|
+
The host is a surface track, not a CTA. Runtime is later. */
|
|
1168
|
+
[theme=aquaflux] button[switch],
|
|
1169
|
+
[theme=aquaflux] [switch] {
|
|
1170
|
+
background-image: none;
|
|
1171
|
+
background-color: var(--juice-switch-track);
|
|
1172
|
+
box-shadow: none;
|
|
1173
|
+
transform: none;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
[theme=aquaflux] button[switch][aria-checked=true],
|
|
1177
|
+
[theme=aquaflux] [switch][aria-checked=true],
|
|
1178
|
+
[theme=aquaflux] [switch]:checked {
|
|
1179
|
+
background-image: none;
|
|
1180
|
+
background-color: var(--juice-switch-track-checked);
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
[theme=aquaflux] button[switch]:hover,
|
|
1184
|
+
[theme=aquaflux] [switch]:hover,
|
|
1185
|
+
[theme=aquaflux] button[switch]:focus-visible,
|
|
1186
|
+
[theme=aquaflux] [switch]:focus-visible {
|
|
1187
|
+
box-shadow: none;
|
|
1188
|
+
transform: none;
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
[theme=aquaflux] button[switch]:focus-visible,
|
|
1192
|
+
[theme=aquaflux] [switch]:focus-visible {
|
|
1193
|
+
outline: 2px solid var(--juice-switch-focus-ring);
|
|
1194
|
+
outline-offset: 2px;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
/* Slider chrome. Beat [theme] :where(button) CTA defaults.
|
|
1198
|
+
Horizontal only. The thumb is a surface control, not a CTA.
|
|
1199
|
+
Runtime is later. */
|
|
1200
|
+
[theme=aquaflux] button[slider]:not([slider=vertical]),
|
|
1201
|
+
[theme=aquaflux] [slider]:not([slider=vertical]) {
|
|
1202
|
+
background-image: none;
|
|
1203
|
+
background-color: transparent;
|
|
1204
|
+
box-shadow: none;
|
|
1205
|
+
transform: none;
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
[theme=aquaflux] button[slider-thumb],
|
|
1209
|
+
[theme=aquaflux] [slider-thumb] {
|
|
1210
|
+
background-image: none;
|
|
1211
|
+
background-color: var(--juice-slider-thumb);
|
|
1212
|
+
border-color: var(--juice-slider-thumb-border);
|
|
1213
|
+
box-shadow: var(--juice-slider-thumb-shadow);
|
|
1214
|
+
transform: translate(-50%, -50%);
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
[theme=aquaflux] button[slider-thumb]:hover,
|
|
1218
|
+
[theme=aquaflux] [slider-thumb]:hover,
|
|
1219
|
+
[theme=aquaflux] button[slider-thumb]:focus-visible,
|
|
1220
|
+
[theme=aquaflux] [slider-thumb]:focus-visible {
|
|
1221
|
+
background-image: none;
|
|
1222
|
+
background-color: var(--juice-slider-thumb);
|
|
1223
|
+
box-shadow: var(--juice-slider-thumb-shadow);
|
|
1224
|
+
transform: translate(-50%, -50%);
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
[theme=aquaflux] button[slider-thumb]:focus-visible,
|
|
1228
|
+
[theme=aquaflux] [slider-thumb]:focus-visible {
|
|
1229
|
+
outline: 2px solid var(--juice-slider-focus-ring);
|
|
1230
|
+
outline-offset: 2px;
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
/* Checkbox chrome. Beat [theme] :where(button) CTA defaults.
|
|
1234
|
+
The host is a surface box, not a CTA. Binary only. Runtime is later. */
|
|
1235
|
+
[theme=aquaflux] button[checkbox],
|
|
1236
|
+
[theme=aquaflux] [checkbox] {
|
|
1237
|
+
background-image: none;
|
|
1238
|
+
background-color: var(--juice-checkbox-control);
|
|
1239
|
+
border-color: var(--juice-checkbox-border);
|
|
1240
|
+
box-shadow: none;
|
|
1241
|
+
transform: none;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
[theme=aquaflux] button[checkbox][aria-checked=true],
|
|
1245
|
+
[theme=aquaflux] [checkbox][aria-checked=true],
|
|
1246
|
+
[theme=aquaflux] [checkbox]:checked {
|
|
1247
|
+
background-image: none;
|
|
1248
|
+
background-color: var(--juice-checkbox-control-checked);
|
|
1249
|
+
border-color: var(--juice-checkbox-border-checked);
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
[theme=aquaflux] button[checkbox]:hover,
|
|
1253
|
+
[theme=aquaflux] [checkbox]:hover,
|
|
1254
|
+
[theme=aquaflux] button[checkbox]:focus-visible,
|
|
1255
|
+
[theme=aquaflux] [checkbox]:focus-visible {
|
|
1256
|
+
box-shadow: none;
|
|
1257
|
+
transform: none;
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
[theme=aquaflux] button[checkbox]:focus-visible,
|
|
1261
|
+
[theme=aquaflux] [checkbox]:focus-visible {
|
|
1262
|
+
outline: 2px solid var(--juice-checkbox-focus-ring);
|
|
1263
|
+
outline-offset: 2px;
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
/* Radio chrome. Beat [theme] :where(button) CTA defaults.
|
|
1267
|
+
The host is a surface disc, not a CTA. Group layout is author-owned.
|
|
1268
|
+
Runtime is later. */
|
|
1269
|
+
[theme=aquaflux] button[radio],
|
|
1270
|
+
[theme=aquaflux] [radio] {
|
|
1271
|
+
background-image: none;
|
|
1272
|
+
background-color: var(--juice-radio-control);
|
|
1273
|
+
border-color: var(--juice-radio-border);
|
|
1274
|
+
box-shadow: none;
|
|
1275
|
+
transform: none;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
[theme=aquaflux] button[radio][aria-checked=true],
|
|
1279
|
+
[theme=aquaflux] [radio][aria-checked=true],
|
|
1280
|
+
[theme=aquaflux] [radio]:checked {
|
|
1281
|
+
background-image: none;
|
|
1282
|
+
background-color: var(--juice-radio-control-checked);
|
|
1283
|
+
border-color: var(--juice-radio-border-checked);
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
[theme=aquaflux] button[radio]:hover,
|
|
1287
|
+
[theme=aquaflux] [radio]:hover,
|
|
1288
|
+
[theme=aquaflux] button[radio]:focus-visible,
|
|
1289
|
+
[theme=aquaflux] [radio]:focus-visible {
|
|
1290
|
+
box-shadow: none;
|
|
1291
|
+
transform: none;
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
[theme=aquaflux] button[radio]:focus-visible,
|
|
1295
|
+
[theme=aquaflux] [radio]:focus-visible {
|
|
1296
|
+
outline: 2px solid var(--juice-radio-focus-ring);
|
|
1297
|
+
outline-offset: 2px;
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
/* Breadcrumb chrome. Beat [theme] :where(nav) bars and :where(a) link color.
|
|
1301
|
+
Inline trail, not a site nav and not a CTA. Runtime is later. */
|
|
1302
|
+
[theme=aquaflux] [breadcrumb],
|
|
1303
|
+
[theme=aquaflux] nav[breadcrumb] {
|
|
1304
|
+
background-image: none;
|
|
1305
|
+
background-color: var(--juice-breadcrumb-surface);
|
|
1306
|
+
border: none;
|
|
1307
|
+
box-shadow: none;
|
|
1308
|
+
-webkit-backdrop-filter: none;
|
|
1309
|
+
backdrop-filter: none;
|
|
1310
|
+
color: var(--juice-breadcrumb-ink);
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
[theme=aquaflux] [breadcrumb] a,
|
|
1314
|
+
[theme=aquaflux] [breadcrumb-link],
|
|
1315
|
+
[theme=aquaflux] a[breadcrumb-link],
|
|
1316
|
+
[theme=aquaflux] button[breadcrumb-link] {
|
|
1317
|
+
background-image: none;
|
|
1318
|
+
background-color: transparent;
|
|
1319
|
+
color: var(--juice-breadcrumb-ink);
|
|
1320
|
+
box-shadow: none;
|
|
1321
|
+
transform: none;
|
|
1322
|
+
text-decoration: none;
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
[theme=aquaflux] [breadcrumb] a:hover,
|
|
1326
|
+
[theme=aquaflux] [breadcrumb-link]:hover,
|
|
1327
|
+
[theme=aquaflux] a[breadcrumb-link]:hover,
|
|
1328
|
+
[theme=aquaflux] button[breadcrumb-link]:hover {
|
|
1329
|
+
background-image: none;
|
|
1330
|
+
background-color: transparent;
|
|
1331
|
+
color: var(--juice-breadcrumb-ink-hover);
|
|
1332
|
+
box-shadow: none;
|
|
1333
|
+
transform: none;
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
[theme=aquaflux] [breadcrumb] [aria-current=page],
|
|
1337
|
+
[theme=aquaflux] [breadcrumb] [aria-current=page] :is(a, [breadcrumb-link]),
|
|
1338
|
+
[theme=aquaflux] [breadcrumb-link][aria-current=page] {
|
|
1339
|
+
color: var(--juice-breadcrumb-ink-current);
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
[theme=aquaflux] [breadcrumb] a:focus-visible,
|
|
1343
|
+
[theme=aquaflux] [breadcrumb-link]:focus-visible,
|
|
1344
|
+
[theme=aquaflux] button[breadcrumb-link]:focus-visible {
|
|
1345
|
+
outline: 2px solid var(--juice-breadcrumb-focus-ring);
|
|
1346
|
+
outline-offset: 2px;
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
/* Progress chrome. Beat [theme] :where(div) fills.
|
|
1350
|
+
The track is a surface groove, not a CTA. Runtime is later. */
|
|
1351
|
+
[theme=aquaflux] [progress] {
|
|
1352
|
+
background-image: none;
|
|
1353
|
+
background-color: transparent;
|
|
1354
|
+
border: none;
|
|
1355
|
+
box-shadow: none;
|
|
1356
|
+
color: var(--juice-progress-ink);
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
[theme=aquaflux] [progress-fill] {
|
|
1360
|
+
background-image: none;
|
|
1361
|
+
background-color: var(--juice-progress-fill);
|
|
1362
|
+
box-shadow: none;
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
[theme=aquaflux] [progress-label] {
|
|
1366
|
+
background-image: none;
|
|
1367
|
+
background-color: transparent;
|
|
1368
|
+
color: var(--juice-progress-ink);
|
|
1369
|
+
box-shadow: none;
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
[theme=aquaflux] [progress]:focus-visible {
|
|
1373
|
+
outline: 2px solid var(--juice-progress-focus-ring);
|
|
1374
|
+
outline-offset: 2px;
|
|
778
1375
|
}
|