@floegence/floe-webapp-core 0.52.13 → 0.53.1

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 (41) hide show
  1. package/dist/components/chat/ChatProvider.js +31 -30
  2. package/dist/components/chat/hooks/useAttachments.js +27 -26
  3. package/dist/components/chat/hooks/useCodeDiff.js +24 -23
  4. package/dist/components/chat/hooks/useCodeHighlight.js +21 -20
  5. package/dist/components/chat/hooks/useMarkdown.js +27 -26
  6. package/dist/components/chat/hooks/useMermaid.js +21 -20
  7. package/dist/components/layout/BottomBar.js +22 -22
  8. package/dist/components/layout/TopBar.js +7 -7
  9. package/dist/components/ui/Button.js +1 -1
  10. package/dist/components/ui/Card.js +1 -1
  11. package/dist/components/ui/Checkbox.js +69 -69
  12. package/dist/components/ui/CommandPalette.js +29 -30
  13. package/dist/components/ui/Dialog.js +1 -1
  14. package/dist/components/ui/Dropdown.js +36 -38
  15. package/dist/components/ui/FloatingWindow.js +2 -3
  16. package/dist/components/ui/Input.js +3 -3
  17. package/dist/components/ui/Radio.js +26 -26
  18. package/dist/components/ui/SegmentedControl.js +6 -6
  19. package/dist/components/ui/Tabs.js +43 -43
  20. package/dist/components/ui/floatingPresence.js +1 -1
  21. package/dist/components/workbench/workbenchHelpers.js +96 -96
  22. package/dist/context/ThemeContext.js +75 -65
  23. package/dist/floe.css +27 -55
  24. package/dist/full.js +61 -59
  25. package/dist/index.js +26 -24
  26. package/dist/styles/themes/classicSemanticTokens.d.ts +142 -0
  27. package/dist/styles/themes/classicSemanticTokens.js +100 -94
  28. package/dist/styles/themes/presets.d.ts +3 -1
  29. package/dist/styles/themes/presets.js +126 -63
  30. package/dist/styles/tokens.d.ts +252 -252
  31. package/dist/styles/tokens.js +165 -164
  32. package/dist/styles.css +1 -1
  33. package/dist/surface.css +17 -42
  34. package/dist/themes/dark.css +41 -95
  35. package/dist/themes/light.css +43 -95
  36. package/dist/themes/shell-presets.generated.css +146 -4
  37. package/dist/utils/index.d.ts +1 -0
  38. package/dist/utils/secureRandom.d.ts +2 -0
  39. package/dist/utils/secureRandom.js +11 -0
  40. package/dist/utils/secureRandom.test.d.ts +1 -0
  41. package/package.json +1 -1
@@ -1,4 +1,5 @@
1
- const r = {
1
+ import { CLASSIC_DARK_SEMANTIC_TOKENS as e, CLASSIC_LIGHT_SEMANTIC_TOKENS as a } from "./themes/classicSemanticTokens.js";
2
+ const i = {
2
3
  "--radius": "0.375rem",
3
4
  "--font-sans": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
4
5
  "--font-mono": "'JetBrains Mono', 'Fira Code', 'SF Mono', Menlo, Monaco, Consolas, monospace",
@@ -13,8 +14,8 @@ const r = {
13
14
  "--floe-space-6": "1.5rem",
14
15
  "--floe-radius-control": "0.375rem",
15
16
  "--floe-radius-group": "0.5rem",
16
- "--floe-radius-floating": "0.625rem"
17
- }, l = [
17
+ "--floe-radius-floating": "12px"
18
+ }, t = [
18
19
  {
19
20
  name: "Base Colors",
20
21
  description: "Primary application surfaces and text colors.",
@@ -22,71 +23,71 @@ const r = {
22
23
  {
23
24
  name: "Background",
24
25
  variable: "--background",
25
- lightValue: "hsl(34 24% 94%)",
26
- darkValue: "hsl(222 30% 8%)",
26
+ lightValue: a["--background"],
27
+ darkValue: e["--background"],
27
28
  description: "Main application background color."
28
29
  },
29
30
  {
30
31
  name: "Foreground",
31
32
  variable: "--foreground",
32
- lightValue: "hsl(214 26% 17%)",
33
- darkValue: "hsl(210 20% 98%)",
33
+ lightValue: a["--foreground"],
34
+ darkValue: e["--foreground"],
34
35
  description: "Default foreground color for body text."
35
36
  },
36
37
  {
37
38
  name: "Primary",
38
39
  variable: "--primary",
39
- lightValue: "hsl(214 26% 17%)",
40
- darkValue: "hsl(210 20% 98%)",
40
+ lightValue: a["--primary"],
41
+ darkValue: e["--primary"],
41
42
  description: "Primary interactive color used by buttons and emphasis."
42
43
  },
43
44
  {
44
45
  name: "Primary Foreground",
45
46
  variable: "--primary-foreground",
46
- lightValue: "hsl(36 100% 99%)",
47
- darkValue: "hsl(222 30% 10%)",
47
+ lightValue: a["--primary-foreground"],
48
+ darkValue: e["--primary-foreground"],
48
49
  description: "Foreground color used on primary surfaces."
49
50
  },
50
51
  {
51
52
  name: "Secondary",
52
53
  variable: "--secondary",
53
- lightValue: "hsl(36 15% 94%)",
54
- darkValue: "hsl(220 18% 15%)",
54
+ lightValue: a["--secondary"],
55
+ darkValue: e["--secondary"],
55
56
  description: "Secondary surface color for lower-emphasis blocks."
56
57
  },
57
58
  {
58
59
  name: "Secondary Foreground",
59
60
  variable: "--secondary-foreground",
60
- lightValue: "hsl(214 25% 25%)",
61
- darkValue: "hsl(210 20% 98%)",
61
+ lightValue: a["--secondary-foreground"],
62
+ darkValue: e["--secondary-foreground"],
62
63
  description: "Foreground color used on secondary surfaces."
63
64
  },
64
65
  {
65
66
  name: "Muted",
66
67
  variable: "--muted",
67
- lightValue: "hsl(36 15% 94%)",
68
- darkValue: "hsl(220 16% 16%)",
68
+ lightValue: a["--muted"],
69
+ darkValue: e["--muted"],
69
70
  description: "Muted surface color for subtle containers and fills."
70
71
  },
71
72
  {
72
73
  name: "Muted Foreground",
73
74
  variable: "--muted-foreground",
74
- lightValue: "hsl(215 16% 42%)",
75
- darkValue: "hsl(215 16% 56%)",
75
+ lightValue: a["--muted-foreground"],
76
+ darkValue: e["--muted-foreground"],
76
77
  description: "Secondary text color for supporting copy."
77
78
  },
78
79
  {
79
80
  name: "Accent",
80
81
  variable: "--accent",
81
- lightValue: "hsl(34 9% 85%)",
82
- darkValue: "hsl(220 14% 19%)",
82
+ lightValue: a["--accent"],
83
+ darkValue: e["--accent"],
83
84
  description: "Accent surface for hover states and light emphasis."
84
85
  },
85
86
  {
86
87
  name: "Accent Foreground",
87
88
  variable: "--accent-foreground",
88
- lightValue: "hsl(214 26% 17%)",
89
- darkValue: "hsl(210 20% 98%)",
89
+ lightValue: a["--accent-foreground"],
90
+ darkValue: e["--accent-foreground"],
90
91
  description: "Foreground color used on accent surfaces."
91
92
  }
92
93
  ]
@@ -98,50 +99,50 @@ const r = {
98
99
  {
99
100
  name: "Card",
100
101
  variable: "--card",
101
- lightValue: "hsl(36 100% 99%)",
102
- darkValue: "hsl(220 20% 13%)",
102
+ lightValue: a["--card"],
103
+ darkValue: e["--card"],
103
104
  description: "Card background surface."
104
105
  },
105
106
  {
106
107
  name: "Card Foreground",
107
108
  variable: "--card-foreground",
108
- lightValue: "hsl(214 26% 17%)",
109
- darkValue: "hsl(210 20% 98%)",
109
+ lightValue: a["--card-foreground"],
110
+ darkValue: e["--card-foreground"],
110
111
  description: "Foreground color used on card surfaces."
111
112
  },
112
113
  {
113
114
  name: "Popover",
114
115
  variable: "--popover",
115
- lightValue: "hsl(36 100% 99%)",
116
- darkValue: "hsl(220 18% 15%)",
116
+ lightValue: a["--popover"],
117
+ darkValue: e["--popover"],
117
118
  description: "Popover and floating panel background."
118
119
  },
119
120
  {
120
121
  name: "Popover Foreground",
121
122
  variable: "--popover-foreground",
122
- lightValue: "hsl(214 26% 17%)",
123
- darkValue: "hsl(210 20% 98%)",
123
+ lightValue: a["--popover-foreground"],
124
+ darkValue: e["--popover-foreground"],
124
125
  description: "Foreground color used on popovers."
125
126
  },
126
127
  {
127
128
  name: "Border",
128
129
  variable: "--border",
129
- lightValue: "hsl(35 13% 82%)",
130
- darkValue: "hsl(220 16% 20%)",
130
+ lightValue: a["--border"],
131
+ darkValue: e["--border"],
131
132
  description: "Default border color."
132
133
  },
133
134
  {
134
135
  name: "Input",
135
136
  variable: "--input",
136
- lightValue: "hsl(37 15% 76%)",
137
- darkValue: "hsl(220 18% 15%)",
137
+ lightValue: a["--input"],
138
+ darkValue: e["--input"],
138
139
  description: "Input border color."
139
140
  },
140
141
  {
141
142
  name: "Ring",
142
143
  variable: "--ring",
143
- lightValue: "hsl(214 26% 17%)",
144
- darkValue: "hsl(215 25% 70%)",
144
+ lightValue: a["--ring"],
145
+ darkValue: e["--ring"],
145
146
  description: "Focus ring color."
146
147
  }
147
148
  ]
@@ -153,57 +154,57 @@ const r = {
153
154
  {
154
155
  name: "Success",
155
156
  variable: "--success",
156
- lightValue: "oklch(0.68 0.16 150)",
157
- darkValue: "oklch(0.72 0.19 150)",
157
+ lightValue: a["--success"],
158
+ darkValue: e["--success"],
158
159
  description: "Success state color."
159
160
  },
160
161
  {
161
162
  name: "Success Foreground",
162
163
  variable: "--success-foreground",
163
- lightValue: "hsl(0 0% 100%)",
164
- darkValue: "hsl(222 30% 10%)",
164
+ lightValue: a["--success-foreground"],
165
+ darkValue: e["--success-foreground"],
165
166
  description: "Foreground color used on success surfaces."
166
167
  },
167
168
  {
168
169
  name: "Warning",
169
170
  variable: "--warning",
170
- lightValue: "hsl(38 92% 50%)",
171
- darkValue: "oklch(0.82 0.16 80)",
171
+ lightValue: a["--warning"],
172
+ darkValue: e["--warning"],
172
173
  description: "Warning state color."
173
174
  },
174
175
  {
175
176
  name: "Warning Foreground",
176
177
  variable: "--warning-foreground",
177
- lightValue: "hsl(214 26% 17%)",
178
- darkValue: "hsl(222 30% 10%)",
178
+ lightValue: a["--warning-foreground"],
179
+ darkValue: e["--warning-foreground"],
179
180
  description: "Foreground color used on warning surfaces."
180
181
  },
181
182
  {
182
183
  name: "Error",
183
184
  variable: "--error",
184
- lightValue: "oklch(0.65 0.2 25)",
185
- darkValue: "oklch(0.7 0.22 25)",
185
+ lightValue: a["--error"],
186
+ darkValue: e["--error"],
186
187
  description: "Error state color."
187
188
  },
188
189
  {
189
190
  name: "Error Foreground",
190
191
  variable: "--error-foreground",
191
- lightValue: "hsl(0 0% 100%)",
192
- darkValue: "hsl(0 0% 100%)",
192
+ lightValue: a["--error-foreground"],
193
+ darkValue: e["--error-foreground"],
193
194
  description: "Foreground color used on error surfaces."
194
195
  },
195
196
  {
196
197
  name: "Info",
197
198
  variable: "--info",
198
- lightValue: "hsl(217 91% 60%)",
199
- darkValue: "oklch(0.7 0.15 250)",
199
+ lightValue: a["--info"],
200
+ darkValue: e["--info"],
200
201
  description: "Informational state color."
201
202
  },
202
203
  {
203
204
  name: "Info Foreground",
204
205
  variable: "--info-foreground",
205
- lightValue: "hsl(0 0% 100%)",
206
- darkValue: "hsl(0 0% 100%)",
206
+ lightValue: a["--info-foreground"],
207
+ darkValue: e["--info-foreground"],
207
208
  description: "Foreground color used on info surfaces."
208
209
  }
209
210
  ]
@@ -215,43 +216,43 @@ const r = {
215
216
  {
216
217
  name: "Highlight Block Info Accent",
217
218
  variable: "--highlight-block-info-accent",
218
- lightValue: "oklch(0.52 0.14 245)",
219
- darkValue: "oklch(0.62 0.12 240)",
219
+ lightValue: a["--highlight-block-info-accent"],
220
+ darkValue: e["--highlight-block-info-accent"],
220
221
  description: "Info accent used by HighlightBlock surfaces and borders."
221
222
  },
222
223
  {
223
224
  name: "Highlight Block Warning Accent",
224
225
  variable: "--highlight-block-warning-accent",
225
- lightValue: "oklch(0.62 0.16 65)",
226
- darkValue: "oklch(0.7 0.14 65)",
226
+ lightValue: a["--highlight-block-warning-accent"],
227
+ darkValue: e["--highlight-block-warning-accent"],
227
228
  description: "Warning accent used by HighlightBlock surfaces and borders."
228
229
  },
229
230
  {
230
231
  name: "Highlight Block Success Accent",
231
232
  variable: "--highlight-block-success-accent",
232
- lightValue: "oklch(0.55 0.14 155)",
233
- darkValue: "oklch(0.62 0.12 155)",
233
+ lightValue: a["--highlight-block-success-accent"],
234
+ darkValue: e["--highlight-block-success-accent"],
234
235
  description: "Success accent used by HighlightBlock surfaces and borders."
235
236
  },
236
237
  {
237
238
  name: "Highlight Block Error Accent",
238
239
  variable: "--highlight-block-error-accent",
239
- lightValue: "oklch(0.55 0.16 25)",
240
- darkValue: "oklch(0.6 0.14 25)",
240
+ lightValue: a["--highlight-block-error-accent"],
241
+ darkValue: e["--highlight-block-error-accent"],
241
242
  description: "Error accent used by HighlightBlock surfaces and borders."
242
243
  },
243
244
  {
244
245
  name: "Highlight Block Note Accent",
245
246
  variable: "--highlight-block-note-accent",
246
- lightValue: "oklch(0.52 0.16 285)",
247
- darkValue: "oklch(0.62 0.14 285)",
247
+ lightValue: a["--highlight-block-note-accent"],
248
+ darkValue: e["--highlight-block-note-accent"],
248
249
  description: "Note accent used by HighlightBlock surfaces and borders."
249
250
  },
250
251
  {
251
252
  name: "Highlight Block Tip Accent",
252
253
  variable: "--highlight-block-tip-accent",
253
- lightValue: "oklch(0.52 0.12 175)",
254
- darkValue: "oklch(0.6 0.1 175)",
254
+ lightValue: a["--highlight-block-tip-accent"],
255
+ darkValue: e["--highlight-block-tip-accent"],
255
256
  description: "Tip accent used by HighlightBlock surfaces and borders."
256
257
  }
257
258
  ]
@@ -263,36 +264,36 @@ const r = {
263
264
  {
264
265
  name: "Chrome Border",
265
266
  variable: "--chrome-border",
266
- lightValue: "hsl(33 11% 84%)",
267
- darkValue: "hsl(220 16% 13%)",
267
+ lightValue: a["--chrome-border"],
268
+ darkValue: e["--chrome-border"],
268
269
  description: "Default shared shell divider color."
269
270
  },
270
271
  {
271
272
  name: "Top Bar Border",
272
273
  variable: "--top-bar-border",
273
- lightValue: "var(--chrome-border)",
274
- darkValue: "var(--chrome-border)",
274
+ lightValue: a["--top-bar-border"],
275
+ darkValue: e["--top-bar-border"],
275
276
  description: "Top bar divider color."
276
277
  },
277
278
  {
278
279
  name: "Activity Bar Border",
279
280
  variable: "--activity-bar-border",
280
- lightValue: "var(--chrome-border)",
281
- darkValue: "var(--chrome-border)",
281
+ lightValue: a["--activity-bar-border"],
282
+ darkValue: e["--activity-bar-border"],
282
283
  description: "Activity bar divider color."
283
284
  },
284
285
  {
285
286
  name: "Bottom Bar Border",
286
287
  variable: "--bottom-bar-border",
287
- lightValue: "var(--chrome-border)",
288
- darkValue: "var(--chrome-border)",
288
+ lightValue: a["--bottom-bar-border"],
289
+ darkValue: e["--bottom-bar-border"],
289
290
  description: "Bottom bar divider color."
290
291
  },
291
292
  {
292
293
  name: "Terminal Panel Border",
293
294
  variable: "--terminal-panel-border",
294
- lightValue: "var(--chrome-border)",
295
- darkValue: "var(--chrome-border)",
295
+ lightValue: a["--terminal-panel-border"],
296
+ darkValue: e["--terminal-panel-border"],
296
297
  description: "Terminal panel divider color."
297
298
  }
298
299
  ]
@@ -304,57 +305,57 @@ const r = {
304
305
  {
305
306
  name: "Sidebar",
306
307
  variable: "--sidebar",
307
- lightValue: "hsl(34 13% 90%)",
308
- darkValue: "hsl(221 22% 11%)",
308
+ lightValue: a["--sidebar"],
309
+ darkValue: e["--sidebar"],
309
310
  description: "Sidebar background."
310
311
  },
311
312
  {
312
313
  name: "Sidebar Foreground",
313
314
  variable: "--sidebar-foreground",
314
- lightValue: "hsl(214 26% 17%)",
315
- darkValue: "hsl(210 20% 98%)",
315
+ lightValue: a["--sidebar-foreground"],
316
+ darkValue: e["--sidebar-foreground"],
316
317
  description: "Sidebar foreground color."
317
318
  },
318
319
  {
319
320
  name: "Sidebar Primary",
320
321
  variable: "--sidebar-primary",
321
- lightValue: "hsl(214 26% 17%)",
322
- darkValue: "hsl(217 80% 55%)",
322
+ lightValue: a["--sidebar-primary"],
323
+ darkValue: e["--sidebar-primary"],
323
324
  description: "Primary emphasis color inside the sidebar."
324
325
  },
325
326
  {
326
327
  name: "Sidebar Primary Foreground",
327
328
  variable: "--sidebar-primary-foreground",
328
- lightValue: "hsl(36 100% 99%)",
329
- darkValue: "hsl(0 0% 100%)",
329
+ lightValue: a["--sidebar-primary-foreground"],
330
+ darkValue: e["--sidebar-primary-foreground"],
330
331
  description: "Foreground color used on sidebar primary surfaces."
331
332
  },
332
333
  {
333
334
  name: "Sidebar Accent",
334
335
  variable: "--sidebar-accent",
335
- lightValue: "hsl(34 9% 84%)",
336
- darkValue: "hsl(220 14% 19%)",
336
+ lightValue: a["--sidebar-accent"],
337
+ darkValue: e["--sidebar-accent"],
337
338
  description: "Accent surface used for sidebar hover and active states."
338
339
  },
339
340
  {
340
341
  name: "Sidebar Accent Foreground",
341
342
  variable: "--sidebar-accent-foreground",
342
- lightValue: "hsl(214 26% 17%)",
343
- darkValue: "hsl(210 20% 98%)",
343
+ lightValue: a["--sidebar-accent-foreground"],
344
+ darkValue: e["--sidebar-accent-foreground"],
344
345
  description: "Foreground color used on sidebar accent surfaces."
345
346
  },
346
347
  {
347
348
  name: "Sidebar Border",
348
349
  variable: "--sidebar-border",
349
- lightValue: "hsl(33 9% 82%)",
350
- darkValue: "hsl(220 16% 13%)",
350
+ lightValue: a["--sidebar-border"],
351
+ darkValue: e["--sidebar-border"],
351
352
  description: "Sidebar inner border color."
352
353
  },
353
354
  {
354
355
  name: "Sidebar Ring",
355
356
  variable: "--sidebar-ring",
356
- lightValue: "hsl(214 26% 17%)",
357
- darkValue: "hsl(217 80% 55%)",
357
+ lightValue: a["--sidebar-ring"],
358
+ darkValue: e["--sidebar-ring"],
358
359
  description: "Focus ring color for sidebar elements."
359
360
  }
360
361
  ]
@@ -366,36 +367,36 @@ const r = {
366
367
  {
367
368
  name: "Activity Bar",
368
369
  variable: "--activity-bar",
369
- lightValue: "hsl(34 11% 90%)",
370
- darkValue: "hsl(222 28% 7%)",
370
+ lightValue: a["--activity-bar"],
371
+ darkValue: e["--activity-bar"],
371
372
  description: "Activity bar background."
372
373
  },
373
374
  {
374
375
  name: "Activity Bar Foreground",
375
376
  variable: "--activity-bar-foreground",
376
- lightValue: "hsl(215 14% 46%)",
377
- darkValue: "hsl(215 16% 50%)",
377
+ lightValue: a["--activity-bar-foreground"],
378
+ darkValue: e["--activity-bar-foreground"],
378
379
  description: "Default activity bar icon color."
379
380
  },
380
381
  {
381
382
  name: "Activity Bar Foreground Active",
382
383
  variable: "--activity-bar-foreground-active",
383
- lightValue: "hsl(214 26% 17%)",
384
- darkValue: "hsl(210 20% 96%)",
384
+ lightValue: a["--activity-bar-foreground-active"],
385
+ darkValue: e["--activity-bar-foreground-active"],
385
386
  description: "Active activity bar icon color."
386
387
  },
387
388
  {
388
389
  name: "Activity Bar Badge",
389
390
  variable: "--activity-bar-badge",
390
- lightValue: "hsl(214 26% 17%)",
391
- darkValue: "hsl(217 80% 55%)",
391
+ lightValue: a["--activity-bar-badge"],
392
+ darkValue: e["--activity-bar-badge"],
392
393
  description: "Activity bar badge background."
393
394
  },
394
395
  {
395
396
  name: "Activity Bar Badge Foreground",
396
397
  variable: "--activity-bar-badge-foreground",
397
- lightValue: "hsl(36 100% 99%)",
398
- darkValue: "hsl(0 0% 100%)",
398
+ lightValue: a["--activity-bar-badge-foreground"],
399
+ darkValue: e["--activity-bar-badge-foreground"],
399
400
  description: "Activity bar badge foreground."
400
401
  }
401
402
  ]
@@ -407,15 +408,15 @@ const r = {
407
408
  {
408
409
  name: "Terminal Background",
409
410
  variable: "--terminal-background",
410
- lightValue: "hsl(214 26% 17%)",
411
- darkValue: "hsl(222 32% 7%)",
411
+ lightValue: a["--terminal-background"],
412
+ darkValue: e["--terminal-background"],
412
413
  description: "Integrated terminal background."
413
414
  },
414
415
  {
415
416
  name: "Terminal Foreground",
416
417
  variable: "--terminal-foreground",
417
- lightValue: "hsl(0 0% 92%)",
418
- darkValue: "hsl(210 15% 92%)",
418
+ lightValue: a["--terminal-foreground"],
419
+ darkValue: e["--terminal-foreground"],
419
420
  description: "Integrated terminal foreground color."
420
421
  }
421
422
  ]
@@ -427,36 +428,36 @@ const r = {
427
428
  {
428
429
  name: "Chart 1",
429
430
  variable: "--chart-1",
430
- lightValue: "hsl(214 26% 17%)",
431
- darkValue: "hsl(210 20% 98%)",
431
+ lightValue: a["--chart-1"],
432
+ darkValue: e["--chart-1"],
432
433
  description: "Primary chart series color."
433
434
  },
434
435
  {
435
436
  name: "Chart 2",
436
437
  variable: "--chart-2",
437
- lightValue: "hsl(215 16% 42%)",
438
- darkValue: "hsl(215 20% 60%)",
438
+ lightValue: a["--chart-2"],
439
+ darkValue: e["--chart-2"],
439
440
  description: "Secondary chart series color."
440
441
  },
441
442
  {
442
443
  name: "Chart 3",
443
444
  variable: "--chart-3",
444
- lightValue: "hsl(217 91% 60%)",
445
- darkValue: "oklch(0.7 0.15 250)",
445
+ lightValue: a["--chart-3"],
446
+ darkValue: e["--chart-3"],
446
447
  description: "Tertiary chart series color."
447
448
  },
448
449
  {
449
450
  name: "Chart 4",
450
451
  variable: "--chart-4",
451
- lightValue: "oklch(0.68 0.16 150)",
452
- darkValue: "oklch(0.72 0.19 150)",
452
+ lightValue: a["--chart-4"],
453
+ darkValue: e["--chart-4"],
453
454
  description: "Quaternary chart series color."
454
455
  },
455
456
  {
456
457
  name: "Chart 5",
457
458
  variable: "--chart-5",
458
- lightValue: "hsl(38 92% 50%)",
459
- darkValue: "oklch(0.82 0.16 80)",
459
+ lightValue: a["--chart-5"],
460
+ darkValue: e["--chart-5"],
460
461
  description: "Quinary chart series color."
461
462
  }
462
463
  ]
@@ -468,48 +469,48 @@ const r = {
468
469
  {
469
470
  name: "Selection Background",
470
471
  variable: "--selection-bg",
471
- lightValue: "hsl(217 91% 60%)",
472
- darkValue: "hsl(215 70% 50%)",
472
+ lightValue: a["--selection-bg"],
473
+ darkValue: e["--selection-bg"],
473
474
  description: "Default text selection background."
474
475
  },
475
476
  {
476
477
  name: "Selection Foreground",
477
478
  variable: "--selection-fg",
478
- lightValue: "hsl(0 0% 100%)",
479
- darkValue: "hsl(0 0% 100%)",
479
+ lightValue: a["--selection-fg"],
480
+ darkValue: e["--selection-fg"],
480
481
  description: "Default text selection foreground."
481
482
  },
482
483
  {
483
484
  name: "Selection On Primary Background",
484
485
  variable: "--selection-on-primary-bg",
485
- lightValue: "hsl(38 92% 50%)",
486
- darkValue: "hsl(215 80% 35%)",
486
+ lightValue: a["--selection-on-primary-bg"],
487
+ darkValue: e["--selection-on-primary-bg"],
487
488
  description: "Selection background for text rendered on primary surfaces."
488
489
  },
489
490
  {
490
491
  name: "Selection On Primary Foreground",
491
492
  variable: "--selection-on-primary-fg",
492
- lightValue: "hsl(214 26% 17%)",
493
- darkValue: "hsl(0 0% 100%)",
493
+ lightValue: a["--selection-on-primary-fg"],
494
+ darkValue: e["--selection-on-primary-fg"],
494
495
  description: "Selection foreground for text rendered on primary surfaces."
495
496
  },
496
497
  {
497
498
  name: "Code Selection Background",
498
499
  variable: "--selection-code-bg",
499
- lightValue: "hsl(212 100% 67%)",
500
- darkValue: "hsl(212 100% 67%)",
500
+ lightValue: a["--selection-code-bg"],
501
+ darkValue: e["--selection-code-bg"],
501
502
  description: "Selection background for code surfaces."
502
503
  },
503
504
  {
504
505
  name: "Code Selection Foreground",
505
506
  variable: "--selection-code-fg",
506
- lightValue: "hsl(220 20% 8%)",
507
- darkValue: "hsl(220 20% 8%)",
507
+ lightValue: a["--selection-code-fg"],
508
+ darkValue: e["--selection-code-fg"],
508
509
  description: "Selection foreground for code surfaces."
509
510
  }
510
511
  ]
511
512
  }
512
- ], i = [
513
+ ], l = [
513
514
  {
514
515
  name: "Text XS",
515
516
  size: "11px",
@@ -552,17 +553,17 @@ const r = {
552
553
  className: "text-xl",
553
554
  description: "Page titles."
554
555
  }
555
- ], n = [
556
+ ], c = [
556
557
  {
557
558
  name: "Sans",
558
559
  variable: "--font-sans",
559
- value: r["--font-sans"],
560
+ value: i["--font-sans"],
560
561
  description: "Default UI font family for application chrome and content."
561
562
  },
562
563
  {
563
564
  name: "Mono",
564
565
  variable: "--font-mono",
565
- value: r["--font-mono"],
566
+ value: i["--font-mono"],
566
567
  description: "Monospace font family for code, terminal, and diagnostics."
567
568
  }
568
569
  ], s = [
@@ -576,12 +577,12 @@ const r = {
576
577
  { name: "5", value: "1.25rem", pixels: "20px", className: "gap-5, p-5" },
577
578
  { name: "6", value: "1.5rem", pixels: "24px", className: "gap-6, p-6" },
578
579
  { name: "8", value: "2rem", pixels: "32px", className: "gap-8, p-8" }
579
- ], t = [
580
+ ], d = [
580
581
  { name: "None", value: "0", variable: "-", className: "rounded-none" },
581
582
  { name: "SM", value: "0.125rem", variable: "-", className: "rounded-sm" },
582
583
  {
583
584
  name: "Default",
584
- value: r["--radius"],
585
+ value: i["--radius"],
585
586
  variable: "--radius",
586
587
  className: "rounded"
587
588
  },
@@ -590,7 +591,7 @@ const r = {
590
591
  { name: "XL", value: "1rem", variable: "-", className: "rounded-xl" },
591
592
  { name: "2XL", value: "1.5rem", variable: "-", className: "rounded-2xl" },
592
593
  { name: "Full", value: "9999px", variable: "-", className: "rounded-full" }
593
- ], c = [
594
+ ], u = [
594
595
  {
595
596
  name: "Fade In",
596
597
  keyframes: "animate-in",
@@ -627,47 +628,47 @@ const r = {
627
628
  usage: "Neon and emphasis effects",
628
629
  description: "Pulsing glow animation for elevated emphasis."
629
630
  }
630
- ], d = l.reduce((a, e) => (a.push(...e.tokens), a), []);
631
- function o(a) {
631
+ ], g = t.reduce((o, r) => (o.push(...r.tokens), o), []);
632
+ function n(o) {
632
633
  return Object.fromEntries(
633
- d.map((e) => [
634
- e.variable,
635
- a === "light" ? e.lightValue : e.darkValue
634
+ g.map((r) => [
635
+ r.variable,
636
+ o === "light" ? r.lightValue : r.darkValue
636
637
  ])
637
638
  );
638
639
  }
639
- const u = {
640
- light: o("light"),
641
- dark: o("dark")
640
+ const m = {
641
+ light: n("light"),
642
+ dark: n("dark")
642
643
  };
643
- function g(a, e) {
644
- return u[e][a];
644
+ function h(o, r) {
645
+ return m[r][o];
645
646
  }
646
- const h = [
647
+ const b = [
647
648
  { variable: "--floe-surface-shadow-raised", role: "raised", fallback: "0 1px 3px -2px var(--floe-surface-shade), inset 0 1px 1px var(--floe-surface-highlight)" },
648
649
  { variable: "--floe-surface-shadow-inset", role: "inset", fallback: "inset 0 1px 1px var(--floe-surface-shade), inset 0 -1px 1px var(--floe-surface-highlight)" },
649
- { variable: "--floe-surface-shadow-floating", role: "floating", fallback: "0 8px 18px -8px var(--floe-surface-shade), inset 0 1px 1px var(--floe-surface-highlight)" },
650
+ { variable: "--floe-surface-shadow-floating", role: "floating", fallback: "var(--floe-window-shadow)" },
650
651
  { variable: "--floe-surface-shadow-interacting", role: "interacting", fallback: "0 1px 2px var(--floe-surface-shade)" }
651
- ], m = {
652
- colors: l,
653
- typography: i,
654
- fonts: n,
652
+ ], f = {
653
+ colors: t,
654
+ typography: l,
655
+ fonts: c,
655
656
  spacing: s,
656
- radius: t,
657
- motion: c,
658
- shared: r,
659
- surface: h
657
+ radius: d,
658
+ motion: u,
659
+ shared: i,
660
+ surface: b
660
661
  };
661
662
  export {
662
- l as floeColorTokenCategories,
663
- m as floeDesignTokens,
664
- n as floeFontFamilyTokens,
665
- c as floeMotionTokens,
666
- t as floeRadiusTokens,
667
- r as floeSharedCssVariables,
663
+ t as floeColorTokenCategories,
664
+ f as floeDesignTokens,
665
+ c as floeFontFamilyTokens,
666
+ u as floeMotionTokens,
667
+ d as floeRadiusTokens,
668
+ i as floeSharedCssVariables,
668
669
  s as floeSpacingTokens,
669
- h as floeSurfaceTokens,
670
- u as floeThemeColorVariables,
671
- i as floeTypographyTokens,
672
- g as getFloeColorTokenValue
670
+ b as floeSurfaceTokens,
671
+ m as floeThemeColorVariables,
672
+ l as floeTypographyTokens,
673
+ h as getFloeColorTokenValue
673
674
  };