@burdenoff/fe-libs 2026.1119.5 → 2026.1119.7
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/dist/chrome/HeaderThemeSwitcher.js +1 -1
- package/dist/chrome/PersonaSurfaceControls.js +82 -189
- package/dist/chrome/PersonaViewsList.d.ts +28 -0
- package/dist/chrome/PersonaViewsList.js +139 -0
- package/dist/chrome/ThemePreferences.js +16 -16
- package/dist/chrome/appearance/AppearanceColourSection.d.ts +17 -0
- package/dist/chrome/appearance/AppearanceColourSection.js +337 -0
- package/dist/chrome/appearance/AppearanceDisplaySection.d.ts +7 -0
- package/dist/chrome/appearance/AppearanceDisplaySection.js +137 -0
- package/dist/chrome/appearance/AppearanceModeDepth.d.ts +11 -0
- package/dist/chrome/appearance/AppearanceModeDepth.js +158 -0
- package/dist/chrome/appearance/AppearancePreferences.d.ts +13 -0
- package/dist/chrome/appearance/AppearancePreferences.js +308 -0
- package/dist/chrome/appearance/AppearancePreview.d.ts +23 -0
- package/dist/chrome/appearance/AppearancePreview.js +218 -0
- package/dist/chrome/appearance/AppearanceThemeSection.d.ts +14 -0
- package/dist/chrome/appearance/AppearanceThemeSection.js +162 -0
- package/dist/chrome/appearance/ColourPanel.d.ts +37 -0
- package/dist/chrome/appearance/ColourPanel.js +264 -0
- package/dist/chrome/appearance/ThemeDialog.d.ts +21 -0
- package/dist/chrome/appearance/ThemeDialog.js +378 -0
- package/dist/chrome/appearance/appearanceShared.d.ts +24 -0
- package/dist/chrome/appearance/appearanceShared.js +46 -0
- package/dist/chrome/appearance/appearanceUi.d.ts +49 -0
- package/dist/chrome/appearance/appearanceUi.js +98 -0
- package/dist/chrome/appearance/useAppearanceLabels.d.ts +181 -0
- package/dist/chrome/appearance/useAppearanceLabels.js +259 -0
- package/dist/chrome/index.d.ts +1 -0
- package/dist/chrome/personaViewOptions.d.ts +8 -0
- package/dist/chrome/personaViewOptions.js +14 -0
- package/dist/chrome/shell/NewMenu.d.ts +13 -1
- package/dist/chrome/shell/NewMenu.js +27 -14
- package/dist/chrome/shell/ShellSidebar.js +2 -0
- package/dist/chrome/shell/SidebarProfileMenu.d.ts +36 -4
- package/dist/chrome/shell/SidebarProfileMenu.js +423 -331
- package/dist/chrome/shell/WorkspaceAccountCard.d.ts +22 -0
- package/dist/chrome/shell/WorkspaceAccountCard.js +102 -0
- package/dist/chrome/shell/pageHost.d.ts +19 -0
- package/dist/chrome/shell/pageHost.js +21 -0
- package/dist/chrome/shell/pageWidth.d.ts +39 -0
- package/dist/chrome/shell/pageWidth.js +18 -0
- package/dist/chrome/shellLabelManifest.d.ts +6 -0
- package/dist/chrome.js +26 -25
- package/dist/platform-pages/AppearanceSettingsPage.d.ts +11 -1
- package/dist/platform-pages/AppearanceSettingsPage.js +15 -8
- package/dist/shared/assistant/ui/composer/AssistantComposer.js +346 -345
- package/dist/shared/backgrounds/BackgroundSettingsSection.d.ts +11 -0
- package/dist/shared/backgrounds/BackgroundSettingsSection.js +67 -0
- package/dist/shared/backgrounds/backgroundSectionLabels.d.ts +14 -0
- package/dist/shared/backgrounds/backgroundSectionLabels.js +36 -0
- package/dist/shared/backgrounds/index.d.ts +3 -0
- package/dist/shared/backgrounds/useBackgroundColors.js +3 -2
- package/dist/shared/backgrounds/useStartPageBackground.d.ts +12 -0
- package/dist/shared/backgrounds/useStartPageBackground.js +23 -0
- package/dist/shared/providers/AppShellProvider.d.ts +20 -1
- package/dist/shared/providers/AppShellProvider.js +230 -222
- package/dist/shared/providers/shell/PaletteThemeProvider.d.ts +13 -0
- package/dist/shared/providers/shell/PaletteThemeProvider.js +366 -0
- package/dist/shared/providers/shell/ThemeProvider.d.ts +9 -76
- package/dist/shared/providers/shell/ThemeProvider.js +63 -55
- package/dist/shared/providers/shell/appearance/colour.d.ts +29 -0
- package/dist/shared/providers/shell/appearance/colour.js +79 -0
- package/dist/shared/providers/shell/appearance/contrastFix.d.ts +70 -0
- package/dist/shared/providers/shell/appearance/contrastFix.js +117 -0
- package/dist/shared/providers/shell/appearance/index.d.ts +9 -0
- package/dist/shared/providers/shell/appearance/model.d.ts +68 -0
- package/dist/shared/providers/shell/appearance/model.js +92 -0
- package/dist/shared/providers/shell/appearance/operations.d.ts +70 -0
- package/dist/shared/providers/shell/appearance/operations.js +160 -0
- package/dist/shared/providers/shell/appearance/palettes.d.ts +111 -0
- package/dist/shared/providers/shell/appearance/palettes.js +460 -0
- package/dist/shared/providers/shell/appearance/storage.d.ts +39 -0
- package/dist/shared/providers/shell/appearance/storage.js +186 -0
- package/dist/shared/providers/shell/appearance/tokens.d.ts +5 -0
- package/dist/shared/providers/shell/appearance/tokens.js +43 -0
- package/dist/shared/providers/shell/appearance/types.d.ts +80 -0
- package/dist/shared/providers/shell/appearance/types.js +28 -0
- package/dist/shared/providers/shell/index.d.ts +1 -1
- package/dist/shared/providers/shell/responsiveDisplaySettings.d.ts +27 -0
- package/dist/shared/providers/shell/responsiveDisplaySettings.js +6 -0
- package/dist/shared/providers/shell/themeContext.d.ts +162 -0
- package/dist/shared/providers/shell/themeContext.js +4 -0
- package/dist/shared-backgrounds.js +4 -1
- package/dist/shell-native/system-bars.d.ts +5 -1
- package/dist/shell-native/system-bars.js +1 -1
- package/dist/ui/dropdown-menu.js +2 -0
- package/dist/ui/popover.js +1 -0
- package/dist/ui/select.js +1 -0
- package/package.json +5 -1
- package/src/shared/styles/page-widths.css +38 -0
- package/src/shared/tokens/build/brands/healthybowl.css +25 -3
- package/src/shared/tokens/build/themes.css +266 -0
- package/src/shared/tokens/display-settings.css +569 -0
- package/src/shared/tokens/tokens.css +4 -0
|
@@ -328,3 +328,269 @@
|
|
|
328
328
|
--blur-glass: 0px;
|
|
329
329
|
--pop-lift-y: 0px; /* no 3D lift */
|
|
330
330
|
}
|
|
331
|
+
|
|
332
|
+
/* ==================== THE PALETTE APPEARANCE MODEL (BOFF-15524) ==================== *
|
|
333
|
+
* Inert unless a product opts in (`ThemeProvider paletteAppearance`; FluidGrids): only that
|
|
334
|
+
* model writes `data-theme="fluidgrids"` and `data-dark-depth`, so every other product renders
|
|
335
|
+
* exactly as before. There a theme is a palette that follows the Mode setting (the `.dark`
|
|
336
|
+
* class) and the dark depth:
|
|
337
|
+
* Dark today's level (Classic, Forest, Ocean and Sunset keep today's tokens exactly);
|
|
338
|
+
* Darker the fluidgrids.ai level, the default for every theme;
|
|
339
|
+
* Black pure black.
|
|
340
|
+
* Text reads at 4.5:1 and the accent fill at 3:1 on every surface at every step
|
|
341
|
+
* (appearancePalettes.test.ts). High contrast has no depth. The values are repeated in
|
|
342
|
+
* providers/shell/appearance/palettes.ts for the theme cards and the preview, and the test
|
|
343
|
+
* fails on any difference. */
|
|
344
|
+
|
|
345
|
+
/* ============================ FLUIDGRIDS ============================ *
|
|
346
|
+
* The colours of fluidgrids.ai. Light is the site's light theme; dark is the site's dark
|
|
347
|
+
* theme (the Darker step); purple accent; glows from the site: the accent, indigo, cyan and
|
|
348
|
+
* fuchsia. In dark the button label is the site's near-black. */
|
|
349
|
+
[data-theme='fluidgrids']:not(.dark) {
|
|
350
|
+
color-scheme: light;
|
|
351
|
+
|
|
352
|
+
--color-bg-canvas: #F8FAFC;
|
|
353
|
+
--color-bg-surface: #FFFFFF;
|
|
354
|
+
--color-bg-elevated: #FFFFFF;
|
|
355
|
+
--color-bg-sunken: #F1F5F9;
|
|
356
|
+
--color-bg-inverse: #020817;
|
|
357
|
+
--color-bg-overlay: rgba(2, 8, 23, 0.4);
|
|
358
|
+
--color-bg-accent: #FAF5FF;
|
|
359
|
+
--color-bg-accentSubtle: #F3E8FF;
|
|
360
|
+
--color-bg-disabled: #F1F5F9;
|
|
361
|
+
|
|
362
|
+
--color-text-primary: #020817;
|
|
363
|
+
--color-text-secondary: #475569;
|
|
364
|
+
--color-text-tertiary: #5F6E84;
|
|
365
|
+
/* One step darker than the site's #64748B, which reads 4.3:1 on the sunken fill. */
|
|
366
|
+
--color-text-muted: #5F6E84;
|
|
367
|
+
--color-text-inverse: #FFFFFF;
|
|
368
|
+
--color-text-link: #7E22CE;
|
|
369
|
+
--color-text-linkHover: #6B21A8;
|
|
370
|
+
--color-text-placeholder: #5F6E84;
|
|
371
|
+
--color-text-disabled: #94A3B8;
|
|
372
|
+
|
|
373
|
+
--color-border-default: #CBD5E1;
|
|
374
|
+
--color-border-subtle: #E2E8F0;
|
|
375
|
+
--color-border-strong: #94A3B8;
|
|
376
|
+
|
|
377
|
+
--color-action-primary-bg: #9333EA;
|
|
378
|
+
--color-action-primary-bgHover: #7E22CE;
|
|
379
|
+
--color-action-primary-bgActive: #6B21A8;
|
|
380
|
+
--color-action-primary-bgDisabled: #CBD5E1;
|
|
381
|
+
--color-action-primary-text: #FFFFFF;
|
|
382
|
+
--color-action-primary-border: #9333EA;
|
|
383
|
+
|
|
384
|
+
--color-action-secondary-bg: #F1F5F9;
|
|
385
|
+
--color-action-secondary-bgHover: #E2E8F0;
|
|
386
|
+
--color-action-secondary-bgActive: #CBD5E1;
|
|
387
|
+
--color-action-secondary-bgDisabled: #F1F5F9;
|
|
388
|
+
--color-action-secondary-text: #0F172A;
|
|
389
|
+
--color-action-secondary-border: #CBD5E1;
|
|
390
|
+
|
|
391
|
+
--color-action-ghost-bgHover: #F1F5F9;
|
|
392
|
+
--color-action-ghost-bgActive: #E2E8F0;
|
|
393
|
+
--color-action-ghost-text: #334155;
|
|
394
|
+
|
|
395
|
+
--color-overlay-tooltipBg: #0F172A;
|
|
396
|
+
--color-overlay-popoverBg: #FFFFFF;
|
|
397
|
+
--color-chart-grid: #E2E8F0;
|
|
398
|
+
|
|
399
|
+
/* The decorative glows (never body text): each clears 4.5:1 on the page and a card. */
|
|
400
|
+
--color-accent-glow: #9333EA;
|
|
401
|
+
--color-accent-glow-alt: #4F46E5;
|
|
402
|
+
--color-accent-glow-3: #0E7490;
|
|
403
|
+
--color-accent-glow-4: #A21CAF;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
[data-theme='fluidgrids'].dark {
|
|
407
|
+
color-scheme: dark;
|
|
408
|
+
|
|
409
|
+
--color-bg-canvas: #020817;
|
|
410
|
+
--color-bg-surface: #0A1120;
|
|
411
|
+
--color-bg-elevated: #111A2E;
|
|
412
|
+
--color-bg-sunken: #01050F;
|
|
413
|
+
--color-bg-inverse: #F8FAFC;
|
|
414
|
+
--color-bg-overlay: rgba(1, 4, 12, 0.72);
|
|
415
|
+
--color-bg-accent: #1E1B39;
|
|
416
|
+
--color-bg-accentSubtle: #2C224D;
|
|
417
|
+
--color-bg-disabled: #111A2E;
|
|
418
|
+
|
|
419
|
+
--color-text-primary: #F8FAFC;
|
|
420
|
+
--color-text-secondary: #CBD5E1;
|
|
421
|
+
--color-text-tertiary: #94A3B8;
|
|
422
|
+
--color-text-muted: #94A3B8;
|
|
423
|
+
--color-text-inverse: #020817;
|
|
424
|
+
--color-text-link: #C68DFC;
|
|
425
|
+
--color-text-linkHover: #D8B4FE;
|
|
426
|
+
--color-text-placeholder: #8391A7;
|
|
427
|
+
--color-text-disabled: #475569;
|
|
428
|
+
|
|
429
|
+
--color-border-default: #1E293B;
|
|
430
|
+
--color-border-subtle: #131C2E;
|
|
431
|
+
--color-border-strong: #334155;
|
|
432
|
+
|
|
433
|
+
--color-action-primary-bg: #A855F7;
|
|
434
|
+
--color-action-primary-bgHover: #B972F9;
|
|
435
|
+
--color-action-primary-bgActive: #C084FC;
|
|
436
|
+
--color-action-primary-bgDisabled: #1E293B;
|
|
437
|
+
--color-action-primary-text: #020817;
|
|
438
|
+
--color-action-primary-border: #A855F7;
|
|
439
|
+
|
|
440
|
+
--color-action-secondary-bg: #1E293B;
|
|
441
|
+
--color-action-secondary-bgHover: #273449;
|
|
442
|
+
--color-action-secondary-bgActive: #334155;
|
|
443
|
+
--color-action-secondary-bgDisabled: #1E293B;
|
|
444
|
+
--color-action-secondary-text: #F8FAFC;
|
|
445
|
+
--color-action-secondary-border: #334155;
|
|
446
|
+
|
|
447
|
+
--color-action-ghost-bgHover: #1E293B;
|
|
448
|
+
--color-action-ghost-bgActive: #273449;
|
|
449
|
+
--color-action-ghost-text: #CBD5E1;
|
|
450
|
+
|
|
451
|
+
--color-overlay-tooltipBg: #1E293B;
|
|
452
|
+
--color-overlay-popoverBg: #111A2E;
|
|
453
|
+
--color-surface-glass: rgba(10, 17, 32, 0.66);
|
|
454
|
+
--color-chart-grid: #1E293B;
|
|
455
|
+
|
|
456
|
+
--color-accent-glow: #C084FC;
|
|
457
|
+
--color-accent-glow-alt: #818CF8;
|
|
458
|
+
--color-accent-glow-3: #22D3EE;
|
|
459
|
+
--color-accent-glow-4: #E879F9;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
/* ============================ DARK DEPTH ============================ *
|
|
463
|
+
* The steps around each theme's own level: the FluidGrids palette's own dark is Darker, so it
|
|
464
|
+
* steps to Dark and Black; Classic (`dark`), Forest, Ocean and Sunset are Dark today, so they
|
|
465
|
+
* step to Darker and Black (their surfaces scaled down in OKLab lightness; Forest, Ocean and
|
|
466
|
+
* Sunset's menus a little further, so their mid-tone accent stays at 3:1 on a menu under the
|
|
467
|
+
* depth layer's glow). */
|
|
468
|
+
[data-theme='fluidgrids'].dark[data-dark-depth='dark'] {
|
|
469
|
+
--color-bg-canvas: #090F1C;
|
|
470
|
+
--color-bg-surface: #101828;
|
|
471
|
+
--color-bg-elevated: #18233A;
|
|
472
|
+
--color-bg-sunken: #060A14;
|
|
473
|
+
--color-bg-disabled: #18233A;
|
|
474
|
+
--color-overlay-popoverBg: #18233A;
|
|
475
|
+
--color-border-default: #283449;
|
|
476
|
+
--color-border-subtle: #1C2638;
|
|
477
|
+
--color-border-strong: #3A475E;
|
|
478
|
+
--color-surface-glass: rgba(16, 24, 40, 0.66);
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
[data-theme='fluidgrids'].dark[data-dark-depth='black'] {
|
|
482
|
+
--color-bg-canvas: #000000;
|
|
483
|
+
--color-bg-surface: #07090F;
|
|
484
|
+
--color-bg-elevated: #0E121B;
|
|
485
|
+
--color-bg-sunken: #000000;
|
|
486
|
+
--color-bg-disabled: #0E121B;
|
|
487
|
+
--color-overlay-popoverBg: #0E121B;
|
|
488
|
+
--color-border-default: #1A202C;
|
|
489
|
+
--color-border-subtle: #10141D;
|
|
490
|
+
--color-border-strong: #2A3242;
|
|
491
|
+
--color-surface-glass: rgba(7, 9, 15, 0.66);
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
[data-theme='dark'][data-dark-depth='darker'] {
|
|
495
|
+
--color-bg-canvas: #05070D;
|
|
496
|
+
--color-bg-surface: #0C111C;
|
|
497
|
+
--color-bg-elevated: #141B28;
|
|
498
|
+
--color-bg-sunken: #040509;
|
|
499
|
+
--color-bg-disabled: #141B28;
|
|
500
|
+
--color-overlay-popoverBg: #17202B;
|
|
501
|
+
--color-border-default: #212936;
|
|
502
|
+
--color-border-subtle: #151C29;
|
|
503
|
+
--color-border-strong: #333D4C;
|
|
504
|
+
--color-surface-glass: rgba(12, 17, 28, 0.66);
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
[data-theme='dark'][data-dark-depth='black'] {
|
|
508
|
+
--color-bg-canvas: #000000;
|
|
509
|
+
--color-bg-surface: #05070F;
|
|
510
|
+
--color-bg-elevated: #0C111C;
|
|
511
|
+
--color-bg-sunken: #000000;
|
|
512
|
+
--color-bg-disabled: #0C111C;
|
|
513
|
+
--color-overlay-popoverBg: #0F151E;
|
|
514
|
+
--color-border-default: #1A202B;
|
|
515
|
+
--color-border-subtle: #0E131D;
|
|
516
|
+
--color-border-strong: #2A3240;
|
|
517
|
+
--color-surface-glass: rgba(5, 7, 15, 0.66);
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
[data-theme='forest'][data-dark-depth='darker'] {
|
|
521
|
+
--color-bg-canvas: #050B07;
|
|
522
|
+
--color-bg-surface: #0C1812;
|
|
523
|
+
--color-bg-elevated: #101E16;
|
|
524
|
+
--color-bg-sunken: #030605;
|
|
525
|
+
--color-bg-disabled: #101E16;
|
|
526
|
+
--color-overlay-popoverBg: #101A14;
|
|
527
|
+
--color-border-default: #20372C;
|
|
528
|
+
--color-border-subtle: #14241C;
|
|
529
|
+
--color-border-strong: #324D3E;
|
|
530
|
+
--color-surface-glass: rgba(12, 24, 18, 0.66);
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
[data-theme='forest'][data-dark-depth='black'] {
|
|
534
|
+
--color-bg-canvas: #000000;
|
|
535
|
+
--color-bg-surface: #050B08;
|
|
536
|
+
--color-bg-elevated: #0B1711;
|
|
537
|
+
--color-bg-sunken: #000000;
|
|
538
|
+
--color-bg-disabled: #0B1711;
|
|
539
|
+
--color-overlay-popoverBg: #0B140F;
|
|
540
|
+
--color-border-default: #192C23;
|
|
541
|
+
--color-border-subtle: #0D1A13;
|
|
542
|
+
--color-border-strong: #294134;
|
|
543
|
+
--color-surface-glass: rgba(5, 11, 8, 0.66);
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
[data-theme='ocean'][data-dark-depth='darker'] {
|
|
547
|
+
--color-bg-canvas: #05090F;
|
|
548
|
+
--color-bg-surface: #0A1220;
|
|
549
|
+
--color-bg-elevated: #0F1A2D;
|
|
550
|
+
--color-bg-sunken: #03060A;
|
|
551
|
+
--color-bg-disabled: #0F1A2D;
|
|
552
|
+
--color-overlay-popoverBg: #0F1A2D;
|
|
553
|
+
--color-border-default: #1B2839;
|
|
554
|
+
--color-border-subtle: #111B29;
|
|
555
|
+
--color-border-strong: #2C3C51;
|
|
556
|
+
--color-surface-glass: rgba(10, 18, 32, 0.66);
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
[data-theme='ocean'][data-dark-depth='black'] {
|
|
560
|
+
--color-bg-canvas: #000000;
|
|
561
|
+
--color-bg-surface: #040811;
|
|
562
|
+
--color-bg-elevated: #0A1424;
|
|
563
|
+
--color-bg-sunken: #000000;
|
|
564
|
+
--color-bg-disabled: #0A1424;
|
|
565
|
+
--color-overlay-popoverBg: #0A1424;
|
|
566
|
+
--color-border-default: #151F2E;
|
|
567
|
+
--color-border-subtle: #0B121D;
|
|
568
|
+
--color-border-strong: #243244;
|
|
569
|
+
--color-surface-glass: rgba(4, 8, 17, 0.66);
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
[data-theme='sunset'][data-dark-depth='darker'] {
|
|
573
|
+
--color-bg-canvas: #0C0912;
|
|
574
|
+
--color-bg-surface: #181120;
|
|
575
|
+
--color-bg-elevated: #1E1627;
|
|
576
|
+
--color-bg-sunken: #08060D;
|
|
577
|
+
--color-bg-disabled: #1E1627;
|
|
578
|
+
--color-overlay-popoverBg: #1E1627;
|
|
579
|
+
--color-border-default: #2E2337;
|
|
580
|
+
--color-border-subtle: #1D1426;
|
|
581
|
+
--color-border-strong: #43334D;
|
|
582
|
+
--color-surface-glass: rgba(24, 17, 32, 0.66);
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
[data-theme='sunset'][data-dark-depth='black'] {
|
|
586
|
+
--color-bg-canvas: #000000;
|
|
587
|
+
--color-bg-surface: #0B0711;
|
|
588
|
+
--color-bg-elevated: #17101F;
|
|
589
|
+
--color-bg-sunken: #000000;
|
|
590
|
+
--color-bg-disabled: #17101F;
|
|
591
|
+
--color-overlay-popoverBg: #17101F;
|
|
592
|
+
--color-border-default: #251B2C;
|
|
593
|
+
--color-border-subtle: #140D1B;
|
|
594
|
+
--color-border-strong: #382A41;
|
|
595
|
+
--color-surface-glass: rgba(11, 7, 17, 0.66);
|
|
596
|
+
}
|