@burdenoff/fe-libs 2026.1119.5 → 2026.1119.6

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.
Files changed (69) hide show
  1. package/dist/chrome/HeaderThemeSwitcher.js +1 -1
  2. package/dist/chrome/ThemePreferences.js +16 -16
  3. package/dist/chrome/appearance/AppearanceColourSection.d.ts +17 -0
  4. package/dist/chrome/appearance/AppearanceColourSection.js +337 -0
  5. package/dist/chrome/appearance/AppearanceDisplaySection.d.ts +7 -0
  6. package/dist/chrome/appearance/AppearanceDisplaySection.js +137 -0
  7. package/dist/chrome/appearance/AppearanceModeDepth.d.ts +11 -0
  8. package/dist/chrome/appearance/AppearanceModeDepth.js +158 -0
  9. package/dist/chrome/appearance/AppearancePreferences.d.ts +13 -0
  10. package/dist/chrome/appearance/AppearancePreferences.js +308 -0
  11. package/dist/chrome/appearance/AppearancePreview.d.ts +23 -0
  12. package/dist/chrome/appearance/AppearancePreview.js +218 -0
  13. package/dist/chrome/appearance/AppearanceThemeSection.d.ts +14 -0
  14. package/dist/chrome/appearance/AppearanceThemeSection.js +162 -0
  15. package/dist/chrome/appearance/ColourPanel.d.ts +37 -0
  16. package/dist/chrome/appearance/ColourPanel.js +264 -0
  17. package/dist/chrome/appearance/ThemeDialog.d.ts +21 -0
  18. package/dist/chrome/appearance/ThemeDialog.js +378 -0
  19. package/dist/chrome/appearance/appearanceShared.d.ts +24 -0
  20. package/dist/chrome/appearance/appearanceShared.js +46 -0
  21. package/dist/chrome/appearance/appearanceUi.d.ts +49 -0
  22. package/dist/chrome/appearance/appearanceUi.js +98 -0
  23. package/dist/chrome/appearance/useAppearanceLabels.d.ts +181 -0
  24. package/dist/chrome/appearance/useAppearanceLabels.js +259 -0
  25. package/dist/chrome/index.d.ts +1 -0
  26. package/dist/chrome/shell/ShellSidebar.js +2 -0
  27. package/dist/chrome/shellLabelManifest.d.ts +6 -0
  28. package/dist/chrome.js +26 -25
  29. package/dist/platform-pages/AppearanceSettingsPage.d.ts +11 -1
  30. package/dist/platform-pages/AppearanceSettingsPage.js +15 -8
  31. package/dist/shared/assistant/ui/composer/AssistantComposer.js +346 -345
  32. package/dist/shared/backgrounds/useBackgroundColors.js +3 -2
  33. package/dist/shared/providers/AppShellProvider.d.ts +20 -1
  34. package/dist/shared/providers/AppShellProvider.js +230 -222
  35. package/dist/shared/providers/shell/PaletteThemeProvider.d.ts +13 -0
  36. package/dist/shared/providers/shell/PaletteThemeProvider.js +366 -0
  37. package/dist/shared/providers/shell/ThemeProvider.d.ts +9 -76
  38. package/dist/shared/providers/shell/ThemeProvider.js +63 -55
  39. package/dist/shared/providers/shell/appearance/colour.d.ts +29 -0
  40. package/dist/shared/providers/shell/appearance/colour.js +79 -0
  41. package/dist/shared/providers/shell/appearance/contrastFix.d.ts +70 -0
  42. package/dist/shared/providers/shell/appearance/contrastFix.js +117 -0
  43. package/dist/shared/providers/shell/appearance/index.d.ts +9 -0
  44. package/dist/shared/providers/shell/appearance/model.d.ts +68 -0
  45. package/dist/shared/providers/shell/appearance/model.js +92 -0
  46. package/dist/shared/providers/shell/appearance/operations.d.ts +70 -0
  47. package/dist/shared/providers/shell/appearance/operations.js +160 -0
  48. package/dist/shared/providers/shell/appearance/palettes.d.ts +111 -0
  49. package/dist/shared/providers/shell/appearance/palettes.js +460 -0
  50. package/dist/shared/providers/shell/appearance/storage.d.ts +39 -0
  51. package/dist/shared/providers/shell/appearance/storage.js +186 -0
  52. package/dist/shared/providers/shell/appearance/tokens.d.ts +5 -0
  53. package/dist/shared/providers/shell/appearance/tokens.js +43 -0
  54. package/dist/shared/providers/shell/appearance/types.d.ts +80 -0
  55. package/dist/shared/providers/shell/appearance/types.js +28 -0
  56. package/dist/shared/providers/shell/index.d.ts +1 -1
  57. package/dist/shared/providers/shell/responsiveDisplaySettings.d.ts +27 -0
  58. package/dist/shared/providers/shell/responsiveDisplaySettings.js +6 -0
  59. package/dist/shared/providers/shell/themeContext.d.ts +162 -0
  60. package/dist/shared/providers/shell/themeContext.js +4 -0
  61. package/dist/shell-native/system-bars.d.ts +5 -1
  62. package/dist/shell-native/system-bars.js +1 -1
  63. package/dist/ui/dropdown-menu.js +2 -0
  64. package/dist/ui/popover.js +1 -0
  65. package/dist/ui/select.js +1 -0
  66. package/package.json +1 -1
  67. package/src/shared/tokens/build/themes.css +266 -0
  68. package/src/shared/tokens/display-settings.css +569 -0
  69. package/src/shared/tokens/tokens.css +4 -0
@@ -0,0 +1,92 @@
1
+ import { normalizeHex as e } from "./colour.js";
2
+ import { DARK_LABEL_MIN_ON_DARK as t, DARK_LABEL_MIN_ON_LIGHT as n, accentFromPair as r, solveAccent as i } from "./contrastFix.js";
3
+ import { ACCENT_PRESETS as a, PALETTES as o, paletteAccent as s, paletteGlows as c, paletteSurfaces as l, paletteText as u } from "./palettes.js";
4
+ import { isAccentPresetId as d } from "./types.js";
5
+ // src/shared/providers/shell/appearance/model.ts
6
+ var f = (e) => o[e].modes.includes("light");
7
+ function p(e, t, n) {
8
+ let r = t === "system" ? n ? "dark" : "light" : t;
9
+ return f(e) ? r : "dark";
10
+ }
11
+ function m(e, t) {
12
+ return e === "classic" ? t : e;
13
+ }
14
+ function h(e, t) {
15
+ return e === "fluidgrids" ? "purple" : e === "classic" && t === "fluidgrids" ? "cyan" : null;
16
+ }
17
+ function g(e, t, n) {
18
+ let r = a.find((t) => t.id === e) ?? a[0];
19
+ if (!r) throw Error("no accent presets");
20
+ return t === "light" ? r.light : {
21
+ ...r.dark,
22
+ on: n
23
+ };
24
+ }
25
+ function _(t, n) {
26
+ if (t.startsWith("colour:")) {
27
+ let e = t.slice(7);
28
+ return n.find((t) => t.id === e)?.hex ?? null;
29
+ }
30
+ return t.startsWith("#") ? e(t) : null;
31
+ }
32
+ function v(e, t) {
33
+ if (e === "auto") return "auto";
34
+ if (e.startsWith("preset:")) {
35
+ let t = e.slice(7);
36
+ return d(t) ? e : "auto";
37
+ }
38
+ return _(e, t) ?? "auto";
39
+ }
40
+ function y(e, r, i, a = !1) {
41
+ let s = l(e, r, i);
42
+ return {
43
+ canvas: s.canvas,
44
+ surface: s.surface,
45
+ elevated: s.elevated,
46
+ darkLabel: o[e].darkLabel,
47
+ dark: r === "dark",
48
+ ...a ? { darkLabelMin: r === "dark" ? t : n } : {}
49
+ };
50
+ }
51
+ function b(e, t) {
52
+ let n = o[e.palette], a = p(e.palette, e.mode, t.systemDark), f = y(e.palette, a, e.darkDepth), v = y(e.palette, a, e.darkDepth, !0), b = s(e.palette, a, t.brand), x = null;
53
+ if (!n.fixedAccent && e.accent !== "auto") {
54
+ if (e.accent.startsWith("preset:")) {
55
+ let i = e.accent.slice(7);
56
+ d(i) && i !== h(e.palette, t.brand) && (x = r(g(i, a, n.darkLabel), v));
57
+ } else {
58
+ let t = _(e.accent, e.colours);
59
+ t && (x = i(t, v));
60
+ }
61
+ }
62
+ return {
63
+ palette: e.palette,
64
+ scheme: a,
65
+ cssTheme: m(e.palette, a),
66
+ depth: e.darkDepth,
67
+ surfaces: l(e.palette, a, e.darkDepth),
68
+ text: u(e.palette, a),
69
+ glows: c(e.palette, a),
70
+ darkLabel: n.darkLabel,
71
+ accent: x ?? r(b, f),
72
+ auto: x === null
73
+ };
74
+ }
75
+ var x = (e, t) => e.mode === "keep" ? t : e.mode;
76
+ function S(e, t) {
77
+ return e.palette === t.palette && v(e.accent, t.colours) === v(t.accent, t.colours) && (e.mode === "keep" || e.mode === t.mode);
78
+ }
79
+ function C(e) {
80
+ if (e.activeLookId === null) return null;
81
+ let t = e.looks.find((t) => t.id === e.activeLookId);
82
+ return t && S(t, e) ? t : null;
83
+ }
84
+ function w(e, t) {
85
+ if (e === "auto") return "auto";
86
+ if (e.startsWith("preset:")) {
87
+ let t = e.slice(7);
88
+ return d(t) ? `preset:${t}` : "auto";
89
+ }
90
+ return _(e, t) || "auto";
91
+ }
92
+ export { _ as accentHexOf, v as accentKey, C as activeLookOf, S as choicesAreLook, m as cssThemeOf, y as groundOf, f as hasLightMode, w as lookAccentOf, x as lookModeOf, h as ownPresetOf, g as presetPair, b as resolveAppearance, p as schemeOf };
@@ -0,0 +1,70 @@
1
+ import { AccentChoice, AppearanceDefaults, AppearanceSettings, ColorModeSetting, DarkDepth, PaletteName, SavedColour, SavedLook } from './types';
2
+ /**
3
+ * A palette. A dark-only palette (Forest, Ocean, Sunset, High contrast) has no light version,
4
+ * so where the Mode setting shows light it becomes Dark (the page says so, with Undo). Choosing
5
+ * a theme is choosing no saved look, even the palette of the look that was on.
6
+ */
7
+ export declare function withPalette(settings: AppearanceSettings, palette: PaletteName, systemDark: boolean): AppearanceSettings;
8
+ export declare const withMode: (settings: AppearanceSettings, mode: ColorModeSetting) => {
9
+ mode: "light" | "dark" | "system";
10
+ palette: PaletteName;
11
+ darkDepth: DarkDepth;
12
+ accent: AccentChoice;
13
+ colours: SavedColour[];
14
+ looks: SavedLook[];
15
+ activeLookId: string | null;
16
+ };
17
+ export declare const withDarkDepth: (settings: AppearanceSettings, darkDepth: DarkDepth) => {
18
+ darkDepth: "dark" | "black" | "darker";
19
+ palette: PaletteName;
20
+ mode: ColorModeSetting;
21
+ accent: AccentChoice;
22
+ colours: SavedColour[];
23
+ looks: SavedLook[];
24
+ activeLookId: string | null;
25
+ };
26
+ export declare const withAccent: (settings: AppearanceSettings, accent: AccentChoice) => {
27
+ accent: AccentChoice;
28
+ palette: PaletteName;
29
+ mode: ColorModeSetting;
30
+ darkDepth: DarkDepth;
31
+ colours: SavedColour[];
32
+ looks: SavedLook[];
33
+ activeLookId: string | null;
34
+ };
35
+ /**
36
+ * The person asked for a mode from outside Appearance (the profile menu, the assistant): Light
37
+ * on a dark-only palette goes to the product's palette in light, since that palette cannot be
38
+ * light; every other mode keeps the palette.
39
+ */
40
+ export declare function withRequestedMode(settings: AppearanceSettings, mode: ColorModeSetting, defaults: AppearanceDefaults): AppearanceSettings;
41
+ /** A new colour in the person's palette, switched to (the palette holds 24). */
42
+ export declare function withColourAdded(settings: AppearanceSettings, colour: SavedColour): AppearanceSettings;
43
+ /** A saved colour renamed or changed (an empty name keeps the old one). */
44
+ export declare function withColourUpdated(settings: AppearanceSettings, id: string, patch: {
45
+ name?: string;
46
+ hex?: string;
47
+ }): AppearanceSettings;
48
+ /** A saved colour deleted; if it was the accent, the theme's own colour comes back. */
49
+ export declare function withColourDeleted(settings: AppearanceSettings, id: string): AppearanceSettings;
50
+ /** A saved colour moved to another place in the palette. */
51
+ export declare function withColourMoved(settings: AppearanceSettings, id: string, toIndex: number): AppearanceSettings;
52
+ /** A new saved look, switched to. */
53
+ export declare function withLookCreated(settings: AppearanceSettings, look: SavedLook): AppearanceSettings;
54
+ /** A saved look edited (renamed, or another palette, colour or mode). */
55
+ export declare function withLookUpdated(settings: AppearanceSettings, id: string, patch: Partial<Omit<SavedLook, 'id'>>): AppearanceSettings;
56
+ /** A saved look switched to. */
57
+ export declare function withLookApplied(settings: AppearanceSettings, id: string): AppearanceSettings;
58
+ /** A copy of a saved look, right after it. */
59
+ export declare function withLookDuplicated(settings: AppearanceSettings, id: string, copy: {
60
+ id: string;
61
+ name: string;
62
+ }): AppearanceSettings;
63
+ /**
64
+ * A saved look deleted. If it was the one on, the product's default theme comes back (its
65
+ * palette, its own colour and its mode), never System: a light-mode computer would otherwise
66
+ * turn a dark-first product light.
67
+ */
68
+ export declare function withLookDeleted(settings: AppearanceSettings, id: string, defaults: AppearanceDefaults): AppearanceSettings;
69
+ /** The product's defaults for the theme, mode, depth and colour; saved colours and looks stay. */
70
+ export declare function withDefaults(settings: AppearanceSettings, defaults: AppearanceDefaults): AppearanceSettings;
@@ -0,0 +1,160 @@
1
+ import { normalizeHex as e } from "./colour.js";
2
+ import { activeLookOf as t, hasLightMode as n, lookAccentOf as r, lookModeOf as i, schemeOf as a } from "./model.js";
3
+ // src/shared/providers/shell/appearance/operations.ts
4
+ function o(e, t, r) {
5
+ let i = {
6
+ ...e,
7
+ palette: t,
8
+ activeLookId: null
9
+ };
10
+ return !n(t) && a("classic", e.mode, r) === "light" && (i.mode = "dark"), i;
11
+ }
12
+ var s = (e, t) => ({
13
+ ...e,
14
+ mode: t
15
+ }), c = (e, t) => ({
16
+ ...e,
17
+ darkDepth: t
18
+ }), l = (e, t) => ({
19
+ ...e,
20
+ accent: t
21
+ });
22
+ function u(e, t, r) {
23
+ if (t === "light" && !n(e.palette)) {
24
+ let i = n(r.palette) ? r.palette : "classic";
25
+ return {
26
+ ...e,
27
+ palette: i,
28
+ mode: t
29
+ };
30
+ }
31
+ return {
32
+ ...e,
33
+ mode: t
34
+ };
35
+ }
36
+ function d(t, n) {
37
+ let r = e(n.hex);
38
+ if (!r || t.colours.length >= 24) return t;
39
+ let i = {
40
+ id: n.id,
41
+ name: n.name.trim().slice(0, 24) || r,
42
+ hex: r
43
+ };
44
+ return {
45
+ ...t,
46
+ colours: [...t.colours, i],
47
+ accent: `colour:${i.id}`
48
+ };
49
+ }
50
+ function f(t, n, r) {
51
+ return {
52
+ ...t,
53
+ colours: t.colours.map((t) => {
54
+ if (t.id !== n) return t;
55
+ let i = r.name?.trim().slice(0, 24), a = r.hex === void 0 ? t.hex : e(r.hex) ?? t.hex;
56
+ return {
57
+ ...t,
58
+ name: i || t.name,
59
+ hex: a
60
+ };
61
+ })
62
+ };
63
+ }
64
+ function p(e, t) {
65
+ return {
66
+ ...e,
67
+ colours: e.colours.filter((e) => e.id !== t),
68
+ accent: e.accent === `colour:${t}` ? "auto" : e.accent
69
+ };
70
+ }
71
+ function m(e, t, n) {
72
+ let r = e.colours.findIndex((e) => e.id === t);
73
+ if (r < 0) return e;
74
+ let i = Math.max(0, Math.min(e.colours.length - 1, n));
75
+ if (r === i) return e;
76
+ let a = [...e.colours], [o] = a.splice(r, 1);
77
+ return o ? (a.splice(i, 0, o), {
78
+ ...e,
79
+ colours: a
80
+ }) : e;
81
+ }
82
+ function h(e, t) {
83
+ return {
84
+ ...e,
85
+ palette: t.palette,
86
+ accent: t.accent,
87
+ mode: i(t, e.mode),
88
+ activeLookId: t.id
89
+ };
90
+ }
91
+ var g = (e, t) => e.trim().slice(0, 32) || t;
92
+ function _(e, t) {
93
+ let i = {
94
+ ...t,
95
+ name: g(t.name, t.id),
96
+ accent: r(t.accent, e.colours),
97
+ mode: n(t.palette) ? t.mode : "dark"
98
+ };
99
+ return h({
100
+ ...e,
101
+ looks: [...e.looks, i]
102
+ }, i);
103
+ }
104
+ function v(e, t, i) {
105
+ let a = e.looks.find((e) => e.id === t);
106
+ if (!a) return e;
107
+ let o = i.palette ?? a.palette, s = {
108
+ ...a,
109
+ ...i,
110
+ id: t,
111
+ name: g(i.name ?? a.name, a.name),
112
+ accent: r(i.accent ?? a.accent, e.colours),
113
+ mode: n(o) ? i.mode ?? a.mode : "dark"
114
+ };
115
+ return {
116
+ ...e,
117
+ looks: e.looks.map((e) => e.id === t ? s : e)
118
+ };
119
+ }
120
+ function y(e, t) {
121
+ let n = e.looks.find((e) => e.id === t);
122
+ return n ? h(e, n) : e;
123
+ }
124
+ function b(e, t, n) {
125
+ let r = e.looks.findIndex((e) => e.id === t), i = e.looks[r];
126
+ if (!i) return e;
127
+ let a = [...e.looks];
128
+ return a.splice(r + 1, 0, {
129
+ ...i,
130
+ id: n.id,
131
+ name: g(n.name, i.name)
132
+ }), {
133
+ ...e,
134
+ looks: a
135
+ };
136
+ }
137
+ function x(e, n, r) {
138
+ let i = t(e)?.id === n, a = {
139
+ ...e,
140
+ looks: e.looks.filter((e) => e.id !== n),
141
+ activeLookId: e.activeLookId === n ? null : e.activeLookId
142
+ };
143
+ return i ? {
144
+ ...a,
145
+ palette: r.palette,
146
+ accent: "auto",
147
+ mode: r.mode
148
+ } : a;
149
+ }
150
+ function S(e, t) {
151
+ return {
152
+ ...e,
153
+ palette: t.palette,
154
+ mode: t.mode,
155
+ darkDepth: t.darkDepth,
156
+ accent: "auto",
157
+ activeLookId: null
158
+ };
159
+ }
160
+ export { l as withAccent, d as withColourAdded, p as withColourDeleted, m as withColourMoved, f as withColourUpdated, c as withDarkDepth, S as withDefaults, y as withLookApplied, _ as withLookCreated, x as withLookDeleted, b as withLookDuplicated, v as withLookUpdated, s as withMode, o as withPalette, u as withRequestedMode };
@@ -0,0 +1,111 @@
1
+ import { AccentPresetId, ColorScheme, DarkDepth, PaletteName } from './types';
2
+ /** A palette's surfaces and borders at one mode (and, in dark, one depth). */
3
+ export interface SurfaceTokens {
4
+ /** --color-bg-canvas: the page */
5
+ canvas: string;
6
+ /** --color-bg-surface: cards, the sidebar */
7
+ surface: string;
8
+ /** --color-bg-elevated: menus, dialogs */
9
+ elevated: string;
10
+ /** --color-bg-sunken: wells, tracks */
11
+ sunken: string;
12
+ /** --color-overlay-popoverBg */
13
+ popover: string;
14
+ /** --color-border-default */
15
+ borderDefault: string;
16
+ /** --color-border-subtle */
17
+ borderSubtle: string;
18
+ /** --color-border-strong */
19
+ borderStrong: string;
20
+ }
21
+ /** A palette's text colours at one mode. */
22
+ export interface TextTokens {
23
+ /** --color-text-primary */
24
+ primary: string;
25
+ /** --color-text-secondary */
26
+ secondary: string;
27
+ /** --color-text-muted (and --color-text-tertiary) */
28
+ muted: string;
29
+ /** --color-text-link */
30
+ link: string;
31
+ }
32
+ /**
33
+ * An accent as the app uses it: the primary button's fill and its label, the hover and
34
+ * pressed fills, and the ink (the accent as text and links).
35
+ */
36
+ export interface AccentPair {
37
+ fill: string;
38
+ /** The label on the fill. */
39
+ on: string;
40
+ hover: string;
41
+ active: string;
42
+ ink: string;
43
+ }
44
+ /** The decorative glows (`--color-accent-glow`, `-alt`, `-3`, `-4`): never body text. */
45
+ export interface GlowTokens {
46
+ glow: string;
47
+ glowAlt: string;
48
+ /** A third and fourth glow, where the palette has them (the FluidGrids palette's cyan and fuchsia). */
49
+ glow3?: string;
50
+ glow4?: string;
51
+ }
52
+ export interface PaletteModeTokens {
53
+ surfaces: SurfaceTokens;
54
+ text: TextTokens;
55
+ glows: GlowTokens;
56
+ }
57
+ export interface PaletteDefinition {
58
+ name: PaletteName;
59
+ /** The modes it has: the expressive themes and High contrast are dark only. */
60
+ modes: readonly ColorScheme[];
61
+ /** The dark label a light accent fill carries in this palette. */
62
+ darkLabel: string;
63
+ light: PaletteModeTokens | null;
64
+ dark: {
65
+ /** The surfaces at each depth (High contrast has one look at every depth). */
66
+ depths: Readonly<Record<DarkDepth, SurfaceTokens>>;
67
+ text: TextTokens;
68
+ glows: GlowTokens;
69
+ };
70
+ /** Its own accent per mode; Classic's is the product brand's (see `paletteAccent`). */
71
+ accent: {
72
+ light: AccentPair | null;
73
+ dark: AccentPair;
74
+ } | 'brand';
75
+ /** High contrast: keeps its own accent, has no depth and no glass. */
76
+ fixedAccent?: boolean;
77
+ depthless?: boolean;
78
+ solid?: boolean;
79
+ }
80
+ export declare const PALETTES: Readonly<Record<PaletteName, PaletteDefinition>>;
81
+ /** The palette's own accent at a mode (Classic's follows the brand). */
82
+ export declare function paletteAccent(palette: PaletteName, scheme: ColorScheme, brand: string | null | undefined): AccentPair;
83
+ /**
84
+ * The accent presets, each a hand-picked pair per mode that reads at 4.5:1 (a white label and
85
+ * the ink), 6.5:1 and 4.75:1 (a dark label in dark and light: the depth layer's margin, see
86
+ * contrastFix.ts) and 3:1 (the fill on the page) on the FluidGrids surfaces at every depth. On
87
+ * another palette the contrast fix checks them again (`accentFromPair`). `on: 'dark'` is the
88
+ * palette's own dark label.
89
+ */
90
+ export interface AccentPreset {
91
+ id: AccentPresetId;
92
+ light: AccentPair;
93
+ dark: Omit<AccentPair, 'on'> & {
94
+ on: 'dark';
95
+ };
96
+ }
97
+ export declare const ACCENT_PRESETS: readonly AccentPreset[];
98
+ /** The colour Add colour starts from, and the picker's colour while the hex is not valid. */
99
+ export declare const NEW_COLOUR_START = "#FF5A8A";
100
+ export declare const PICKER_FALLBACK = "#7C3AED";
101
+ /** The quick picks beside the colour picker: the colours of fluidgrids.ai. */
102
+ export declare const SITE_COLOURS: readonly {
103
+ id: 'purple' | 'indigo' | 'cyan' | 'fuchsia';
104
+ hex: string;
105
+ }[];
106
+ /** The surfaces a palette paints at a mode and depth. */
107
+ export declare function paletteSurfaces(palette: PaletteName, scheme: ColorScheme, depth: DarkDepth): SurfaceTokens;
108
+ /** A palette's text colours at a mode. */
109
+ export declare function paletteText(palette: PaletteName, scheme: ColorScheme): TextTokens;
110
+ /** A palette's glows at a mode. */
111
+ export declare function paletteGlows(palette: PaletteName, scheme: ColorScheme): GlowTokens;