@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.
- package/dist/components/chat/ChatProvider.js +31 -30
- package/dist/components/chat/hooks/useAttachments.js +27 -26
- package/dist/components/chat/hooks/useCodeDiff.js +24 -23
- package/dist/components/chat/hooks/useCodeHighlight.js +21 -20
- package/dist/components/chat/hooks/useMarkdown.js +27 -26
- package/dist/components/chat/hooks/useMermaid.js +21 -20
- package/dist/components/layout/BottomBar.js +22 -22
- package/dist/components/layout/TopBar.js +7 -7
- package/dist/components/ui/Button.js +1 -1
- package/dist/components/ui/Card.js +1 -1
- package/dist/components/ui/Checkbox.js +69 -69
- package/dist/components/ui/CommandPalette.js +29 -30
- package/dist/components/ui/Dialog.js +1 -1
- package/dist/components/ui/Dropdown.js +36 -38
- package/dist/components/ui/FloatingWindow.js +2 -3
- package/dist/components/ui/Input.js +3 -3
- package/dist/components/ui/Radio.js +26 -26
- package/dist/components/ui/SegmentedControl.js +6 -6
- package/dist/components/ui/Tabs.js +43 -43
- package/dist/components/ui/floatingPresence.js +1 -1
- package/dist/components/workbench/workbenchHelpers.js +96 -96
- package/dist/context/ThemeContext.js +75 -65
- package/dist/floe.css +27 -55
- package/dist/full.js +61 -59
- package/dist/index.js +26 -24
- package/dist/styles/themes/classicSemanticTokens.d.ts +142 -0
- package/dist/styles/themes/classicSemanticTokens.js +100 -94
- package/dist/styles/themes/presets.d.ts +3 -1
- package/dist/styles/themes/presets.js +126 -63
- package/dist/styles/tokens.d.ts +252 -252
- package/dist/styles/tokens.js +165 -164
- package/dist/styles.css +1 -1
- package/dist/surface.css +17 -42
- package/dist/themes/dark.css +41 -95
- package/dist/themes/light.css +43 -95
- package/dist/themes/shell-presets.generated.css +146 -4
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/secureRandom.d.ts +2 -0
- package/dist/utils/secureRandom.js +11 -0
- package/dist/utils/secureRandom.test.d.ts +1 -0
- package/package.json +1 -1
package/dist/styles/tokens.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
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": "
|
|
17
|
-
},
|
|
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: "
|
|
26
|
-
darkValue: "
|
|
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: "
|
|
33
|
-
darkValue: "
|
|
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: "
|
|
40
|
-
darkValue: "
|
|
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: "
|
|
47
|
-
darkValue: "
|
|
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: "
|
|
54
|
-
darkValue: "
|
|
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: "
|
|
61
|
-
darkValue: "
|
|
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: "
|
|
68
|
-
darkValue: "
|
|
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: "
|
|
75
|
-
darkValue: "
|
|
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: "
|
|
82
|
-
darkValue: "
|
|
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: "
|
|
89
|
-
darkValue: "
|
|
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: "
|
|
102
|
-
darkValue: "
|
|
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: "
|
|
109
|
-
darkValue: "
|
|
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: "
|
|
116
|
-
darkValue: "
|
|
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: "
|
|
123
|
-
darkValue: "
|
|
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: "
|
|
130
|
-
darkValue: "
|
|
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: "
|
|
137
|
-
darkValue: "
|
|
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: "
|
|
144
|
-
darkValue: "
|
|
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: "
|
|
157
|
-
darkValue: "
|
|
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: "
|
|
164
|
-
darkValue: "
|
|
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: "
|
|
171
|
-
darkValue: "
|
|
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: "
|
|
178
|
-
darkValue: "
|
|
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: "
|
|
185
|
-
darkValue: "
|
|
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: "
|
|
192
|
-
darkValue: "
|
|
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: "
|
|
199
|
-
darkValue: "
|
|
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: "
|
|
206
|
-
darkValue: "
|
|
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: "
|
|
219
|
-
darkValue: "
|
|
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: "
|
|
226
|
-
darkValue: "
|
|
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: "
|
|
233
|
-
darkValue: "
|
|
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: "
|
|
240
|
-
darkValue: "
|
|
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: "
|
|
247
|
-
darkValue: "
|
|
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: "
|
|
254
|
-
darkValue: "
|
|
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: "
|
|
267
|
-
darkValue: "
|
|
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: "
|
|
274
|
-
darkValue: "
|
|
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: "
|
|
281
|
-
darkValue: "
|
|
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: "
|
|
288
|
-
darkValue: "
|
|
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: "
|
|
295
|
-
darkValue: "
|
|
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: "
|
|
308
|
-
darkValue: "
|
|
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: "
|
|
315
|
-
darkValue: "
|
|
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: "
|
|
322
|
-
darkValue: "
|
|
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: "
|
|
329
|
-
darkValue: "
|
|
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: "
|
|
336
|
-
darkValue: "
|
|
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: "
|
|
343
|
-
darkValue: "
|
|
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: "
|
|
350
|
-
darkValue: "
|
|
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: "
|
|
357
|
-
darkValue: "
|
|
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: "
|
|
370
|
-
darkValue: "
|
|
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: "
|
|
377
|
-
darkValue: "
|
|
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: "
|
|
384
|
-
darkValue: "
|
|
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: "
|
|
391
|
-
darkValue: "
|
|
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: "
|
|
398
|
-
darkValue: "
|
|
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: "
|
|
411
|
-
darkValue: "
|
|
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: "
|
|
418
|
-
darkValue: "
|
|
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: "
|
|
431
|
-
darkValue: "
|
|
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: "
|
|
438
|
-
darkValue: "
|
|
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: "
|
|
445
|
-
darkValue: "
|
|
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: "
|
|
452
|
-
darkValue: "
|
|
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: "
|
|
459
|
-
darkValue: "
|
|
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: "
|
|
472
|
-
darkValue: "
|
|
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: "
|
|
479
|
-
darkValue: "
|
|
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: "
|
|
486
|
-
darkValue: "
|
|
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: "
|
|
493
|
-
darkValue: "
|
|
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: "
|
|
500
|
-
darkValue: "
|
|
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: "
|
|
507
|
-
darkValue: "
|
|
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
|
-
],
|
|
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
|
-
],
|
|
556
|
+
], c = [
|
|
556
557
|
{
|
|
557
558
|
name: "Sans",
|
|
558
559
|
variable: "--font-sans",
|
|
559
|
-
value:
|
|
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:
|
|
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
|
-
],
|
|
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:
|
|
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
|
-
],
|
|
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
|
-
],
|
|
631
|
-
function o
|
|
631
|
+
], g = t.reduce((o, r) => (o.push(...r.tokens), o), []);
|
|
632
|
+
function n(o) {
|
|
632
633
|
return Object.fromEntries(
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
634
|
+
g.map((r) => [
|
|
635
|
+
r.variable,
|
|
636
|
+
o === "light" ? r.lightValue : r.darkValue
|
|
636
637
|
])
|
|
637
638
|
);
|
|
638
639
|
}
|
|
639
|
-
const
|
|
640
|
-
light:
|
|
641
|
-
dark:
|
|
640
|
+
const m = {
|
|
641
|
+
light: n("light"),
|
|
642
|
+
dark: n("dark")
|
|
642
643
|
};
|
|
643
|
-
function
|
|
644
|
-
return
|
|
644
|
+
function h(o, r) {
|
|
645
|
+
return m[r][o];
|
|
645
646
|
}
|
|
646
|
-
const
|
|
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: "
|
|
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
|
-
],
|
|
652
|
-
colors:
|
|
653
|
-
typography:
|
|
654
|
-
fonts:
|
|
652
|
+
], f = {
|
|
653
|
+
colors: t,
|
|
654
|
+
typography: l,
|
|
655
|
+
fonts: c,
|
|
655
656
|
spacing: s,
|
|
656
|
-
radius:
|
|
657
|
-
motion:
|
|
658
|
-
shared:
|
|
659
|
-
surface:
|
|
657
|
+
radius: d,
|
|
658
|
+
motion: u,
|
|
659
|
+
shared: i,
|
|
660
|
+
surface: b
|
|
660
661
|
};
|
|
661
662
|
export {
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
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
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
670
|
+
b as floeSurfaceTokens,
|
|
671
|
+
m as floeThemeColorVariables,
|
|
672
|
+
l as floeTypographyTokens,
|
|
673
|
+
h as getFloeColorTokenValue
|
|
673
674
|
};
|