@floegence/floe-webapp-core 0.86.58 → 0.86.62

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 (103) hide show
  1. package/dist/components/chat/blocks/BlockRenderer.js +1 -1
  2. package/dist/components/chat/blocks/CodeDiffBlock.js +56 -56
  3. package/dist/components/chat/blocks/ImageBlock.js +1 -1
  4. package/dist/components/chat/blocks/ToolCallBlock.js +57 -57
  5. package/dist/components/chat/status/ConnectionStatus.js +10 -10
  6. package/dist/components/deck/DeckCell.js +25 -25
  7. package/dist/components/deck/DeckContextMenu.js +20 -20
  8. package/dist/components/deck/DeckGrid.js +1 -1
  9. package/dist/components/deck/DeckTopBar.js +42 -42
  10. package/dist/components/deck/DropZonePreview.js +6 -6
  11. package/dist/components/deck/LayoutSelector.js +53 -53
  12. package/dist/components/deck/WidgetFrame.js +28 -28
  13. package/dist/components/deck/WidgetPalette.js +31 -31
  14. package/dist/components/deck/WidgetTypeSwitcher.js +31 -31
  15. package/dist/components/file-browser/Breadcrumb.js +27 -27
  16. package/dist/components/file-browser/DirectoryTree.js +15 -15
  17. package/dist/components/file-browser/DragPreview.js +58 -58
  18. package/dist/components/file-browser/FileBrowser.js +17 -17
  19. package/dist/components/file-browser/FileBrowserStatusBar.js +18 -18
  20. package/dist/components/file-browser/FileBrowserToolbar.js +27 -27
  21. package/dist/components/file-browser/FileContextMenu.js +47 -47
  22. package/dist/components/file-browser/FileGridView.js +53 -51
  23. package/dist/components/file-browser/FileItemDecorations.js +30 -27
  24. package/dist/components/file-browser/FileListView.js +114 -114
  25. package/dist/components/icons/index.js +1357 -1357
  26. package/dist/components/launchpad/Launchpad.js +14 -14
  27. package/dist/components/launchpad/LaunchpadGrid.js +7 -7
  28. package/dist/components/launchpad/LaunchpadItem.js +11 -11
  29. package/dist/components/launchpad/LaunchpadPagination.js +16 -16
  30. package/dist/components/launchpad/LaunchpadSearch.js +9 -9
  31. package/dist/components/layout/ActivityBar.js +52 -55
  32. package/dist/components/layout/BottomBar.js +17 -17
  33. package/dist/components/layout/MobileNavigationPanel.js +36 -36
  34. package/dist/components/layout/MobileTabBar.js +39 -39
  35. package/dist/components/layout/Panel.js +16 -16
  36. package/dist/components/layout/ResizeHandle.js +19 -19
  37. package/dist/components/layout/Shell.js +50 -50
  38. package/dist/components/layout/Sidebar.js +37 -36
  39. package/dist/components/layout/SidebarPane.js +19 -19
  40. package/dist/components/layout/TopBar.js +16 -16
  41. package/dist/components/layout/TopBarIconButton.js +15 -15
  42. package/dist/components/loading/LoadingOverlay.js +9 -9
  43. package/dist/components/loading/Skeleton.js +11 -11
  44. package/dist/components/ui/Button.js +36 -36
  45. package/dist/components/ui/Card.d.ts +11 -62
  46. package/dist/components/ui/Card.js +64 -237
  47. package/dist/components/ui/Checkbox.js +79 -79
  48. package/dist/components/ui/CommandPalette.js +56 -55
  49. package/dist/components/ui/Dialog.js +91 -93
  50. package/dist/components/ui/DirectoryInput.js +22 -22
  51. package/dist/components/ui/DirectoryPicker.js +8 -8
  52. package/dist/components/ui/Dropdown.js +89 -87
  53. package/dist/components/ui/FeedbackIndicator.js +57 -57
  54. package/dist/components/ui/FileOpenPicker.js +37 -37
  55. package/dist/components/ui/FileSavePicker.js +41 -41
  56. package/dist/components/ui/FloatingWindow.js +266 -261
  57. package/dist/components/ui/Form.js +76 -76
  58. package/dist/components/ui/HighlightBlock.js +14 -14
  59. package/dist/components/ui/Input.js +106 -109
  60. package/dist/components/ui/Pagination.js +86 -86
  61. package/dist/components/ui/Popover.d.ts +33 -0
  62. package/dist/components/ui/Popover.js +133 -0
  63. package/dist/components/ui/ProcessingIndicator.js +344 -345
  64. package/dist/components/ui/Progress.js +94 -97
  65. package/dist/components/ui/QuoteBlock.js +25 -25
  66. package/dist/components/ui/Radio.js +91 -91
  67. package/dist/components/ui/SegmentedControl.js +24 -24
  68. package/dist/components/ui/Stepper.js +68 -60
  69. package/dist/components/ui/Switch.js +25 -25
  70. package/dist/components/ui/Tabs.js +99 -87
  71. package/dist/components/ui/Tag.js +12 -9
  72. package/dist/components/ui/Tooltip.js +30 -30
  73. package/dist/components/ui/floatingPresence.d.ts +7 -0
  74. package/dist/components/ui/floatingPresence.js +80 -39
  75. package/dist/components/ui/index.d.ts +2 -1
  76. package/dist/components/ui/picker/DirectoryFavorites.js +27 -27
  77. package/dist/components/ui/picker/PickerBase.js +107 -107
  78. package/dist/context/NotificationContext.js +4 -4
  79. package/dist/context/ThemeContext.js +71 -70
  80. package/dist/floe.css +205 -43
  81. package/dist/full.js +650 -652
  82. package/dist/language.css +320 -0
  83. package/dist/primitives.css +23 -17
  84. package/dist/standalone.css +1 -0
  85. package/dist/styles/themes/classicSemanticTokens.d.ts +122 -122
  86. package/dist/styles/themes/classicSemanticTokens.js +140 -138
  87. package/dist/styles/themes/index.d.ts +3 -1
  88. package/dist/styles/themes/index.js +10 -10
  89. package/dist/styles/themes/presets.d.ts +2 -2
  90. package/dist/styles/themes/presets.js +34 -34
  91. package/dist/styles/tokens.d.ts +152 -68
  92. package/dist/styles/tokens.js +87 -49
  93. package/dist/styles.css +1 -1
  94. package/dist/surface.css +161 -116
  95. package/dist/themes/dark.css +64 -64
  96. package/dist/themes/light.css +64 -64
  97. package/dist/ui.css +171 -255
  98. package/dist/ui.js +176 -178
  99. package/dist/utils/hotInteraction.d.ts +7 -0
  100. package/dist/utils/hotInteraction.js +12 -12
  101. package/dist/widgets/TerminalWidget.js +28 -28
  102. package/dist/workbench-composition.css +15 -15
  103. package/package.json +1 -1
@@ -1,158 +1,160 @@
1
1
  import { createProgressTokens as b } from "./progressTokens.js";
2
- import { LIGHT_WINDOW_TOKENS as l, DARK_WINDOW_TOKENS as g } from "./windowTokens.js";
3
- function f(c) {
4
- const a = {}, n = (r, o = /* @__PURE__ */ new Set()) => {
5
- const e = c[r];
6
- if (!e || o.has(r)) return e;
7
- const i = /^var\((--[\w-]+)\)$/u.exec(e)?.[1];
8
- return i ? (o.add(r), n(i, o)) : e;
2
+ import { LIGHT_WINDOW_TOKENS as g, DARK_WINDOW_TOKENS as l } from "./windowTokens.js";
3
+ function t(c) {
4
+ const a = {}, n = (e, o = /* @__PURE__ */ new Set()) => {
5
+ const r = c[e];
6
+ if (!r || o.has(e)) return r;
7
+ const d = /^var\((--[\w-]+)\)$/u.exec(r)?.[1];
8
+ return d ? (o.add(e), n(d, o)) : r;
9
9
  };
10
- for (const r of Object.keys(c))
11
- a[r] = n(r);
10
+ for (const e of Object.keys(c))
11
+ a[e] = n(e);
12
12
  return Object.freeze(a);
13
13
  }
14
- const d = {
15
- ...l,
14
+ const i = {
15
+ ...g,
16
16
  "--floe-window-background": "var(--popover)",
17
17
  "--floe-window-titlebar-background": "var(--popover)",
18
- "--background": "#f8f7f2",
19
- "--foreground": "#303a34",
20
- "--inline-code-foreground": "#1559B5",
21
- "--inline-code-background": "#EEF0EF",
22
- "--primary": "#465a43",
23
- "--primary-foreground": "#f8faf5",
24
- "--secondary": "#eeefe8",
25
- "--secondary-foreground": "#545f56",
26
- "--muted": "#e9ece3",
27
- "--muted-foreground": "#5e695c",
28
- "--accent": "#e0e7da",
29
- "--accent-foreground": "#303a34",
30
- "--border": "#d4d8cd",
31
- "--input": "#858e80",
32
- "--ring": "#56694f",
33
- "--chrome-border": "#dedfd7",
18
+ "--background": "#f6f4ef",
19
+ "--foreground": "#1a1b19",
20
+ "--inline-code-foreground": "#1c6b57",
21
+ "--inline-code-background": "#eeebe4",
22
+ "--primary": "#1c1d1b",
23
+ "--primary-foreground": "#fbfaf7",
24
+ "--secondary": "#edeae3",
25
+ "--secondary-foreground": "#4a4b46",
26
+ "--muted": "#efede7",
27
+ "--muted-foreground": "#6b6a64",
28
+ /* One step below --muted, never two: the choice face also carries the
29
+ * auxiliary ink, so it has to stay above 4.5:1 against it. */
30
+ "--accent": "#eeebe4",
31
+ "--accent-foreground": "#1a1b19",
32
+ "--border": "#e4e1d9",
33
+ "--input": "#c9c6bd",
34
+ "--ring": "#2f7d63",
35
+ "--chrome-border": "#eeebe4",
34
36
  "--top-bar-border": "var(--chrome-border)",
35
37
  "--activity-bar-border": "var(--chrome-border)",
36
38
  "--bottom-bar-border": "var(--chrome-border)",
37
39
  "--terminal-panel-border": "var(--chrome-border)",
38
- "--card": "#fcfbf7",
39
- "--card-foreground": "#303a34",
40
- "--popover": "#fffefa",
41
- "--popover-foreground": "#303a34",
42
- "--success": "#496744",
43
- "--success-foreground": "#f8faf5",
44
- "--warning": "#856828",
45
- "--warning-foreground": "#fffefa",
46
- "--error": "#b74744",
47
- "--error-foreground": "#fffefa",
48
- "--info": "#2671d9",
49
- "--info-foreground": "#fffefa",
50
- "--highlight-block-info-accent": "oklch(0.52 0.14 245)",
51
- "--highlight-block-warning-accent": "oklch(0.62 0.16 65)",
52
- "--highlight-block-success-accent": "oklch(0.55 0.14 155)",
53
- "--highlight-block-error-accent": "oklch(0.55 0.16 25)",
54
- "--highlight-block-note-accent": "oklch(0.52 0.16 285)",
55
- "--highlight-block-tip-accent": "oklch(0.52 0.12 175)",
56
- "--sidebar": "#efeee7",
57
- "--sidebar-foreground": "#303a34",
58
- "--sidebar-primary": "#465a43",
59
- "--sidebar-primary-foreground": "#f8faf5",
60
- "--sidebar-accent": "#e0e7da",
61
- "--sidebar-accent-foreground": "#303a34",
62
- "--sidebar-border": "#dedfd7",
63
- "--sidebar-ring": "#56694f",
64
- "--activity-bar": "#eeede6",
65
- "--activity-bar-foreground": "#5e695c",
66
- "--activity-bar-foreground-active": "#303a34",
67
- "--activity-bar-badge": "#465a43",
68
- "--activity-bar-badge-foreground": "#f8faf5",
69
- "--terminal-background": "hsl(214 26% 17%)",
70
- "--terminal-foreground": "hsl(0 0% 92%)",
71
- "--chart-1": "hsl(214 26% 17%)",
72
- "--chart-2": "hsl(215 16% 42%)",
73
- "--chart-3": "hsl(217 91% 60%)",
74
- "--chart-4": "oklch(0.68 0.16 150)",
75
- "--chart-5": "hsl(38 92% 50%)",
76
- "--selection-bg": "hsl(217 91% 60%)",
77
- "--selection-fg": "hsl(0 0% 100%)",
78
- "--selection-on-primary-bg": "hsl(38 92% 50%)",
79
- "--selection-on-primary-fg": "hsl(214 26% 17%)",
80
- "--selection-code-bg": "hsl(212 100% 67%)",
81
- "--selection-code-fg": "hsl(220 20% 8%)",
82
- "--glow": "#465a43"
83
- }, t = {
84
- ...g,
40
+ "--card": "#fefdfb",
41
+ "--card-foreground": "#1a1b19",
42
+ "--popover": "#fffefc",
43
+ "--popover-foreground": "#1a1b19",
44
+ "--success": "#227a50",
45
+ "--success-foreground": "#ffffff",
46
+ "--warning": "#8f5c0d",
47
+ "--warning-foreground": "#ffffff",
48
+ "--error": "#b8352c",
49
+ "--error-foreground": "#ffffff",
50
+ "--info": "#2a5f9e",
51
+ "--info-foreground": "#ffffff",
52
+ "--highlight-block-info-accent": "oklch(0.52 0.13 250)",
53
+ "--highlight-block-warning-accent": "oklch(0.64 0.13 72)",
54
+ "--highlight-block-success-accent": "oklch(0.55 0.12 160)",
55
+ "--highlight-block-error-accent": "oklch(0.55 0.17 27)",
56
+ "--highlight-block-note-accent": "oklch(0.53 0.15 292)",
57
+ "--highlight-block-tip-accent": "oklch(0.56 0.09 195)",
58
+ "--sidebar": "#f1efe9",
59
+ "--sidebar-foreground": "#1a1b19",
60
+ "--sidebar-primary": "#1c1d1b",
61
+ "--sidebar-primary-foreground": "#fbfaf7",
62
+ "--sidebar-accent": "#eeebe4",
63
+ "--sidebar-accent-foreground": "#1a1b19",
64
+ "--sidebar-border": "#e8e5dd",
65
+ "--sidebar-ring": "#2f7d63",
66
+ "--activity-bar": "#edeae3",
67
+ "--activity-bar-foreground": "#5f5f58",
68
+ "--activity-bar-foreground-active": "#1a1b19",
69
+ "--activity-bar-badge": "#1c1d1b",
70
+ "--activity-bar-badge-foreground": "#fbfaf7",
71
+ "--terminal-background": "#16171a",
72
+ "--terminal-foreground": "#e9e7e2",
73
+ "--chart-1": "#2f7d63",
74
+ "--chart-2": "#5f5f58",
75
+ "--chart-3": "#8f5c0d",
76
+ "--chart-4": "#b8352c",
77
+ "--chart-5": "#2a5f9e",
78
+ "--selection-bg": "#cde7db",
79
+ "--selection-fg": "#10211b",
80
+ "--selection-on-primary-bg": "#6fd0a8",
81
+ "--selection-on-primary-fg": "#082016",
82
+ "--selection-code-bg": "#bcded0",
83
+ "--selection-code-fg": "#0c1f18",
84
+ "--glow": "#2f7d63"
85
+ }, f = {
86
+ ...l,
85
87
  "--floe-window-background": "var(--popover)",
86
88
  "--floe-window-titlebar-background": "var(--popover)",
87
- "--background": "#202223",
88
- "--foreground": "#e5e6e2",
89
- "--inline-code-foreground": "#6CDCEB",
90
- "--inline-code-background": "#263032",
91
- "--primary": "#bccbb8",
92
- "--primary-foreground": "#20291f",
93
- "--secondary": "#303435",
94
- "--secondary-foreground": "#b8bdb8",
95
- "--muted": "#343738",
96
- "--muted-foreground": "#9da4a0",
97
- "--accent": "#353a38",
98
- "--accent-foreground": "#e5e6e2",
99
- "--border": "#3e4142",
100
- "--input": "#6d7571",
101
- "--ring": "#acbdb3",
102
- "--chrome-border": "#292c2b",
89
+ "--background": "#0d0e0d",
90
+ "--foreground": "#e9e8e3",
91
+ "--inline-code-foreground": "#5fd6a8",
92
+ "--inline-code-background": "#17201c",
93
+ "--primary": "#e9e8e3",
94
+ "--primary-foreground": "#101110",
95
+ "--secondary": "#1e1f1e",
96
+ "--secondary-foreground": "#c3c4be",
97
+ "--muted": "#1b1c1b",
98
+ "--muted-foreground": "#93948d",
99
+ "--accent": "#242524",
100
+ "--accent-foreground": "#e9e8e3",
101
+ "--border": "#262726",
102
+ "--input": "#3b3c3a",
103
+ "--ring": "#62b898",
104
+ "--chrome-border": "#1a1b1a",
103
105
  "--top-bar-border": "var(--chrome-border)",
104
106
  "--activity-bar-border": "var(--chrome-border)",
105
107
  "--bottom-bar-border": "var(--chrome-border)",
106
108
  "--terminal-panel-border": "var(--chrome-border)",
107
- "--card": "#282b2c",
108
- "--card-foreground": "#e5e6e2",
109
- "--popover": "#2b2e2f",
110
- "--popover-foreground": "#e5e6e2",
111
- "--success": "#a1b69e",
112
- "--success-foreground": "#20291f",
113
- "--warning": "#c8af84",
114
- "--warning-foreground": "#20291f",
115
- "--error": "oklch(0.7 0.22 25)",
116
- "--error-foreground": "#202223",
117
- "--info": "oklch(0.7 0.15 250)",
118
- "--info-foreground": "#202223",
119
- "--highlight-block-info-accent": "oklch(0.62 0.12 240)",
120
- "--highlight-block-warning-accent": "oklch(0.7 0.14 65)",
121
- "--highlight-block-success-accent": "oklch(0.62 0.12 155)",
122
- "--highlight-block-error-accent": "oklch(0.6 0.14 25)",
123
- "--highlight-block-note-accent": "oklch(0.62 0.14 285)",
124
- "--highlight-block-tip-accent": "oklch(0.6 0.1 175)",
125
- "--sidebar": "#1b1d1e",
126
- "--sidebar-foreground": "#e5e6e2",
127
- "--sidebar-primary": "#bccbb8",
128
- "--sidebar-primary-foreground": "#20291f",
129
- "--sidebar-accent": "#353a38",
130
- "--sidebar-accent-foreground": "#e5e6e2",
131
- "--sidebar-border": "#292c2b",
132
- "--sidebar-ring": "#acbdb3",
133
- "--activity-bar": "#17191a",
134
- "--activity-bar-foreground": "#9da4a0",
135
- "--activity-bar-foreground-active": "#e5e6e2",
136
- "--activity-bar-badge": "#bccbb8",
137
- "--activity-bar-badge-foreground": "#20291f",
138
- "--terminal-background": "hsl(222 32% 7%)",
139
- "--terminal-foreground": "hsl(210 15% 92%)",
140
- "--chart-1": "hsl(210 20% 98%)",
141
- "--chart-2": "hsl(215 20% 60%)",
142
- "--chart-3": "oklch(0.7 0.15 250)",
143
- "--chart-4": "oklch(0.72 0.19 150)",
144
- "--chart-5": "oklch(0.82 0.16 80)",
145
- "--selection-bg": "hsl(215 70% 50%)",
146
- "--selection-fg": "hsl(0 0% 100%)",
147
- "--selection-on-primary-bg": "hsl(215 80% 35%)",
148
- "--selection-on-primary-fg": "hsl(0 0% 100%)",
149
- "--selection-code-bg": "hsl(212 100% 67%)",
150
- "--selection-code-fg": "hsl(220 20% 8%)",
151
- "--glow": "hsl(217 65% 52%)"
152
- }, h = { ...d, ...b("light", d) }, s = { ...t, ...b("dark", t) }, p = f(h), v = f(s);
109
+ "--card": "#161716",
110
+ "--card-foreground": "#e9e8e3",
111
+ "--popover": "#1a1b1a",
112
+ "--popover-foreground": "#e9e8e3",
113
+ "--success": "#62bf93",
114
+ "--success-foreground": "#07200f",
115
+ "--warning": "#d9ac5f",
116
+ "--warning-foreground": "#1d1607",
117
+ "--error": "#e8756b",
118
+ "--error-foreground": "#210907",
119
+ "--info": "#79a9e6",
120
+ "--info-foreground": "#061322",
121
+ "--highlight-block-info-accent": "oklch(0.7 0.12 248)",
122
+ "--highlight-block-warning-accent": "oklch(0.78 0.12 76)",
123
+ "--highlight-block-success-accent": "oklch(0.74 0.12 160)",
124
+ "--highlight-block-error-accent": "oklch(0.68 0.17 25)",
125
+ "--highlight-block-note-accent": "oklch(0.7 0.14 292)",
126
+ "--highlight-block-tip-accent": "oklch(0.7 0.09 192)",
127
+ "--sidebar": "#111211",
128
+ "--sidebar-foreground": "#e9e8e3",
129
+ "--sidebar-primary": "#e9e8e3",
130
+ "--sidebar-primary-foreground": "#101110",
131
+ "--sidebar-accent": "#242524",
132
+ "--sidebar-accent-foreground": "#e9e8e3",
133
+ "--sidebar-border": "#202120",
134
+ "--sidebar-ring": "#62b898",
135
+ "--activity-bar": "#0a0b0a",
136
+ "--activity-bar-foreground": "#8c8d86",
137
+ "--activity-bar-foreground-active": "#e9e8e3",
138
+ "--activity-bar-badge": "#62b898",
139
+ "--activity-bar-badge-foreground": "#07200f",
140
+ "--terminal-background": "#080908",
141
+ "--terminal-foreground": "#e2e1dc",
142
+ "--chart-1": "#62b898",
143
+ "--chart-2": "#93948d",
144
+ "--chart-3": "#d9ac5f",
145
+ "--chart-4": "#e8756b",
146
+ "--chart-5": "#79a9e6",
147
+ "--selection-bg": "#1f4a3a",
148
+ "--selection-fg": "#eafaf2",
149
+ "--selection-on-primary-bg": "#62b898",
150
+ "--selection-on-primary-fg": "#07200f",
151
+ "--selection-code-bg": "#2c6350",
152
+ "--selection-code-fg": "#eafaf2",
153
+ "--glow": "#62b898"
154
+ }, h = { ...i, ...b("light", i) }, s = { ...f, ...b("dark", f) }, v = t(h), k = t(s);
153
155
  export {
154
156
  s as CLASSIC_DARK_CSS_TOKENS,
155
- v as CLASSIC_DARK_SEMANTIC_TOKENS,
157
+ k as CLASSIC_DARK_SEMANTIC_TOKENS,
156
158
  h as CLASSIC_LIGHT_CSS_TOKENS,
157
- p as CLASSIC_LIGHT_SEMANTIC_TOKENS
159
+ v as CLASSIC_LIGHT_SEMANTIC_TOKENS
158
160
  };
@@ -1,5 +1,7 @@
1
1
  export type ThemeType = 'light' | 'dark' | 'system';
2
- export type FloeSurfaceStyle = 'standard' | 'soft-neumorphic';
2
+ /** One refined surface material. The former `standard` variant was removed:
3
+ * components no longer choose between an embossed and a flat material. */
4
+ export type FloeSurfaceStyle = 'soft-neumorphic';
3
5
  export declare function isFloeSurfaceStyle(value: unknown): value is FloeSurfaceStyle;
4
6
  export declare function applySurfaceStyleAttribute(style: FloeSurfaceStyle | undefined, target?: ThemeTarget): void;
5
7
  export type FloeThemePresetMode = 'light' | 'dark' | 'both';
@@ -1,11 +1,11 @@
1
1
  function m(e) {
2
- return e === "standard" || e === "soft-neumorphic";
2
+ return e === "soft-neumorphic";
3
3
  }
4
- function d(e, r) {
4
+ function h(e, r) {
5
5
  const t = i(r);
6
6
  e ? t?.setAttribute?.("data-floe-surface-style", e) : t?.removeAttribute?.("data-floe-surface-style");
7
7
  }
8
- const h = [
8
+ const d = [
9
9
  { name: "light", displayName: "Light", type: "light" },
10
10
  { name: "dark", displayName: "Dark", type: "dark" }
11
11
  ];
@@ -47,21 +47,21 @@ function g(e, r) {
47
47
  function k(e, r = [], t) {
48
48
  const o = i(t);
49
49
  if (!o) return [];
50
- const a = Object.entries(e ?? {}).filter((n) => {
50
+ const l = Object.entries(e ?? {}).filter((n) => {
51
51
  const [, s] = n;
52
52
  return typeof s == "string" && s.length > 0;
53
- }), l = new Set(a.map(([n]) => n));
53
+ }), a = new Set(l.map(([n]) => n));
54
54
  for (const n of r)
55
- l.has(n) || o.style.removeProperty(n);
56
- for (const [n, s] of a)
55
+ a.has(n) || o.style.removeProperty(n);
56
+ for (const [n, s] of l)
57
57
  o.style.setProperty(n, s);
58
- return [...l];
58
+ return [...a];
59
59
  }
60
60
  export {
61
61
  g as applyShellThemeAttribute,
62
- d as applySurfaceStyleAttribute,
62
+ h as applySurfaceStyleAttribute,
63
63
  T as applyTheme,
64
- h as builtInThemes,
64
+ d as builtInThemes,
65
65
  u as getSystemTheme,
66
66
  m as isFloeSurfaceStyle,
67
67
  y as isThemeType,
@@ -108,8 +108,8 @@ export declare const builtInShellThemePresets: readonly [FloeThemePreset, FloeTh
108
108
  monaco?: Partial<Record<"light" | "dark", import("./index").FloeMonacoThemeDefinition>>;
109
109
  }, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset];
110
110
  export declare const BUILT_IN_SHELL_THEME_DEFAULTS: {
111
- readonly light: "porcelain-light";
112
- readonly dark: "porcelain-dark";
111
+ readonly light: "classic-light";
112
+ readonly dark: "classic-dark";
113
113
  };
114
114
  export declare function presetSupportsMode(preset: FloeThemePreset, mode: FloeShellThemeMode): boolean;
115
115
  export declare function getShellThemePresetsForMode(presets: readonly FloeThemePreset[], mode: FloeShellThemeMode): readonly FloeThemePreset[];
@@ -1,5 +1,5 @@
1
- import { createProgressTokens as b } from "./progressTokens.js";
2
- import { DARK_WINDOW_TOKENS as E, LIGHT_WINDOW_TOKENS as k } from "./windowTokens.js";
1
+ import { createProgressTokens as B } from "./progressTokens.js";
2
+ import { DARK_WINDOW_TOKENS as k, LIGHT_WINDOW_TOKENS as E } from "./windowTokens.js";
3
3
  import { CLASSIC_LIGHT_SEMANTIC_TOKENS as t, CLASSIC_DARK_SEMANTIC_TOKENS as F } from "./classicSemanticTokens.js";
4
4
  const T = [
5
5
  "--floe-window-background",
@@ -112,7 +112,7 @@ function o(r) {
112
112
  function: s,
113
113
  constant: i
114
114
  }, g = {
115
- ...r.mode === "dark" ? E : k,
115
+ ...r.mode === "dark" ? k : E,
116
116
  ...r.windowTokens,
117
117
  "--background": r.background,
118
118
  "--foreground": r.foreground,
@@ -182,9 +182,9 @@ function o(r) {
182
182
  // selectionBackground so we don't inherit a near-white primary as glow source.
183
183
  "--glow": r.glow ?? (r.mode === "light" ? r.primary : r.selectionBackground)
184
184
  };
185
- Object.assign(g, b(r.mode, g));
186
- for (const [l, B] of Object.entries(r.fileIconColors ?? {}))
187
- g[`--floe-file-icon-${l}`] = B;
185
+ Object.assign(g, B(r.mode, g));
186
+ for (const [l, b] of Object.entries(r.fileIconColors ?? {}))
187
+ g[`--floe-file-icon-${l}`] = b;
188
188
  return {
189
189
  name: r.name,
190
190
  displayName: r.displayName,
@@ -265,7 +265,7 @@ const C = {
265
265
  ...o({
266
266
  name: "classic-light",
267
267
  displayName: "Classic Light",
268
- description: "Warm paper and quiet sage accents.",
268
+ description: "Quiet paper canvas, ink controls and a single mint accent.",
269
269
  mode: "light",
270
270
  background: t["--background"],
271
271
  foreground: t["--foreground"],
@@ -277,19 +277,19 @@ const C = {
277
277
  border: t["--border"],
278
278
  input: t["--input"],
279
279
  sidebar: t["--sidebar"],
280
- terminalBackground: "#202A37",
281
- terminalForeground: "#EBEBEB",
282
- selectionBackground: "#2671D9",
283
- selectionForeground: "#FFFFFF",
284
- chart: ["#202A37", "#5A687C", "#2671D9", "#287A4B", "#835800"],
280
+ terminalBackground: "#17181a",
281
+ terminalForeground: "#ecece8",
282
+ selectionBackground: "#cfe0ff",
283
+ selectionForeground: "#101723",
284
+ chart: ["#191a1b", "#6c6d68", "#2563eb", "#1f9d55", "#c98a12"],
285
285
  syntax: {
286
- comment: "#5A687C",
287
- keyword: "#005FB8",
288
- string: "#26736F",
289
- number: "#8A5A00",
290
- type: "#245B9B",
291
- function: "#6847A0",
292
- constant: "#9C225E"
286
+ comment: "#6c6d68",
287
+ keyword: "#0b6bcb",
288
+ string: "#1f9d55",
289
+ number: "#b7791f",
290
+ type: "#2563eb",
291
+ function: "#7c4dbe",
292
+ constant: "#c4342b"
293
293
  }
294
294
  }),
295
295
  inheritsBaseTokens: !0,
@@ -299,7 +299,7 @@ const C = {
299
299
  ...o({
300
300
  name: "classic-dark",
301
301
  displayName: "Classic Dark",
302
- description: "Soft graphite and quiet sage accents.",
302
+ description: "Near-black canvas, hairline layers and a single mint accent.",
303
303
  mode: "dark",
304
304
  background: F["--background"],
305
305
  foreground: F["--foreground"],
@@ -311,19 +311,19 @@ const C = {
311
311
  border: F["--border"],
312
312
  input: F["--input"],
313
313
  sidebar: F["--sidebar"],
314
- terminalBackground: "#0C1018",
315
- terminalForeground: "#E8EBEE",
316
- selectionBackground: "#2671D9",
317
- selectionForeground: "#FFFFFF",
318
- chart: ["#F9FAFB", "#8596AD", "#79B8FF", "#72D39C", "#F0C36A"],
314
+ terminalBackground: "#08080a",
315
+ terminalForeground: "#e4e4e6",
316
+ selectionBackground: "#2f5fa8",
317
+ selectionForeground: "#f7fbff",
318
+ chart: ["#f2f2f3", "#8b8b90", "#6aa8ff", "#4ade80", "#e0b155"],
319
319
  syntax: {
320
- comment: "#8596AD",
321
- keyword: "#C19BE8",
322
- string: "#91C980",
323
- number: "#F0C36A",
324
- type: "#79B8FF",
325
- function: "#72D39C",
326
- constant: "#FF8A82"
320
+ comment: "#8b8b90",
321
+ keyword: "#c4b5fd",
322
+ string: "#4ade80",
323
+ number: "#e0b155",
324
+ type: "#6aa8ff",
325
+ function: "#5eead4",
326
+ constant: "#f2555a"
327
327
  }
328
328
  }),
329
329
  inheritsBaseTokens: !0,
@@ -1082,8 +1082,8 @@ const C = {
1082
1082
  }
1083
1083
  })
1084
1084
  ], x = {
1085
- light: "porcelain-light",
1086
- dark: "porcelain-dark"
1085
+ light: "classic-light",
1086
+ dark: "classic-dark"
1087
1087
  };
1088
1088
  function h(r, e) {
1089
1089
  const n = r.mode ?? "both";