@elevasis/ui 1.4.0 → 1.6.0

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 (56) hide show
  1. package/dist/{CoreAuthKitInner-3J4RVQO6.js → CoreAuthKitInner-Y6LQYIPX.js} +1 -0
  2. package/dist/api/index.js +1 -0
  3. package/dist/auth/context.js +1 -0
  4. package/dist/auth/index.js +1 -0
  5. package/dist/charts/index.d.ts +96 -0
  6. package/dist/charts/index.js +384 -0
  7. package/dist/chunk-54S7KNJV.js +112 -0
  8. package/dist/{chunk-6IX5JZEH.js → chunk-G4TAF3T6.js} +166 -1
  9. package/dist/{chunk-Y2I5JJ3N.js → chunk-K3YVC5RW.js} +2 -2
  10. package/dist/chunk-KB5NKPTN.js +1455 -0
  11. package/dist/chunk-MLKGABMK.js +7 -0
  12. package/dist/{chunk-GIFAF5ZS.js → chunk-MS45MNFM.js} +6 -1
  13. package/dist/chunk-R56VC63S.js +129 -0
  14. package/dist/chunk-TYV5NJV2.js +1 -0
  15. package/dist/{chunk-JQLT6HBI.js → chunk-YJFTZUJJ.js} +22 -2
  16. package/dist/components/index.css +486 -0
  17. package/dist/components/index.d.ts +2047 -1
  18. package/dist/components/index.js +3350 -0
  19. package/dist/components/navigation/index.js +1 -0
  20. package/dist/execution/index.d.ts +15 -3
  21. package/dist/execution/index.js +2 -1
  22. package/dist/graph/index.js +2 -1
  23. package/dist/hooks/index.d.ts +270 -0
  24. package/dist/hooks/index.js +3 -2
  25. package/dist/hooks/published.d.ts +546 -2
  26. package/dist/hooks/published.js +3 -2
  27. package/dist/index.css +62 -0
  28. package/dist/index.d.ts +351 -4
  29. package/dist/index.js +12 -1038
  30. package/dist/initialization/index.d.ts +270 -0
  31. package/dist/initialization/index.js +1 -0
  32. package/dist/layout/index.css +44 -0
  33. package/dist/layout/index.d.ts +330 -0
  34. package/dist/layout/index.js +1440 -0
  35. package/dist/organization/index.js +1 -0
  36. package/dist/profile/index.d.ts +270 -0
  37. package/dist/profile/index.js +1 -0
  38. package/dist/provider/index.css +61 -0
  39. package/dist/provider/index.d.ts +54 -2
  40. package/dist/provider/index.js +5 -3
  41. package/dist/provider/published.d.ts +6 -0
  42. package/dist/provider/published.js +3 -2
  43. package/dist/router/context.js +1 -0
  44. package/dist/router/index.js +1 -0
  45. package/dist/sse/index.js +1 -1
  46. package/dist/supabase/index.d.ts +525 -0
  47. package/dist/supabase/index.js +1 -0
  48. package/dist/theme/index.d.ts +107 -0
  49. package/dist/theme/index.js +3 -0
  50. package/dist/typeform/index.js +1 -0
  51. package/dist/typeform/schemas.js +1 -0
  52. package/dist/types/index.d.ts +3636 -368
  53. package/dist/utils/index.js +1 -0
  54. package/package.json +96 -3
  55. package/dist/chunk-XXDDMASA.js +0 -170
  56. /package/dist/{chunk-BUZONXAW.js → chunk-ARQRKA6J.js} +0 -0
package/dist/index.js CHANGED
@@ -1,18 +1,20 @@
1
- export { useCommandQueue, useCommandQueueTotals, useDeleteTask, usePatchTask, useSubmitAction } from './chunk-XXDDMASA.js';
2
- export { OperationsService, createUseFeatureAccess, executionsKeys, observabilityKeys, scheduleKeys, sortData, useActivities, useActivityTrend, useBatchDelete, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateSchedule, useDashboardMetrics, useDeleteExecution, useDeleteSchedule, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogs, useExecutions, useGetExecutionHistory, useGetSchedule, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount, useNotifications, usePaginationState, usePauseSchedule, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResources, useResumeSchedule, useRetryExecution, useSSEConnection, useSortedData, useSuccessNotification, useTableSelection, useTableSort, useTopFailingResources, useUnresolveError, useUpdateAnchor, useUpdateSchedule, useWarningNotification } from './chunk-6IX5JZEH.js';
3
- import './chunk-JGJSZ3UE.js';
4
- export { TanStackRouterBridge } from './chunk-LHQTTUL2.js';
5
- export { GRAPH_CONSTANTS, calculateGraphHeight, useConnectionHighlight, useDirectedChainHighlighting, useFitViewTrigger, useGraphHighlighting, useNodeSelection } from './chunk-GIFAF5ZS.js';
6
- export { AGENT_CONSTANTS, SHARED_VIZ_CONSTANTS, STATUS_COLORS, TIMELINE_CONSTANTS, WORKFLOW_CONSTANTS, calculateBarPosition, formatDuration, getEdgeColor, getEdgeOpacity, getResourceStatusColor, getStatusColors, getStatusIcon, shouldAnimateEdge, useAgentIterationData, useExecutionPath, useMergedExecution, useReactFlowAgent, useTimelineData, useUnifiedWorkflowLayout, useWorkflowStepsLayout } from './chunk-JQLT6HBI.js';
1
+ import './chunk-ARQRKA6J.js';
7
2
  export { createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from './chunk-U34YGJQB.js';
8
3
  import './chunk-XCYKC6OZ.js';
9
4
  export { createUseAppInitialization } from './chunk-PVVQTENF.js';
10
5
  import './chunk-RNP5R5I3.js';
11
- import './chunk-BUZONXAW.js';
12
- export { ElevasisCoreProvider } from './chunk-Y2I5JJ3N.js';
13
- export { NotificationProvider, useNotificationAdapter } from './chunk-TIRMFDM4.js';
6
+ import './chunk-TYV5NJV2.js';
7
+ export { OperationsService, createUseFeatureAccess, executionsKeys, observabilityKeys, scheduleKeys, sortData, useActivities, useActivityTrend, useBatchDelete, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCommandQueue, useCommandQueueTotals, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateSchedule, useDashboardMetrics, useDeleteExecution, useDeleteSchedule, useDeleteTask, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogs, useExecutions, useGetExecutionHistory, useGetSchedule, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResources, useResumeSchedule, useRetryExecution, useSSEConnection, useSortedData, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTopFailingResources, useUnresolveError, useUpdateAnchor, useUpdateSchedule, useWarningNotification } from './chunk-G4TAF3T6.js';
8
+ import './chunk-JGJSZ3UE.js';
9
+ export { TanStackRouterBridge } from './chunk-LHQTTUL2.js';
10
+ export { GRAPH_CONSTANTS, calculateGraphHeight, useConnectionHighlight, useDirectedChainHighlighting, useFitViewTrigger, useGraphHighlighting, useNodeSelection } from './chunk-MS45MNFM.js';
11
+ export { AGENT_CONSTANTS, CONTAINER_CONSTANTS, SHARED_VIZ_CONSTANTS, STATUS_COLORS, TIMELINE_CONSTANTS, WORKFLOW_CONSTANTS, calculateBarPosition, formatDuration, getEdgeColor, getEdgeOpacity, getResourceStatusColor, getStatusColors, getStatusIcon, shouldAnimateEdge, useAgentIterationData, useExecutionPath, useMergedExecution, useReactFlowAgent, useTimelineData, useUnifiedWorkflowLayout, useWorkflowStepsLayout } from './chunk-YJFTZUJJ.js';
12
+ export { ElevasisProvider, ElevasisUIProvider, mantineNotificationAdapter } from './chunk-54S7KNJV.js';
13
+ export { TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, generateShades, getPreset, mantineThemeOverride } from './chunk-KB5NKPTN.js';
14
+ export { ElevasisCoreProvider } from './chunk-K3YVC5RW.js';
14
15
  export { OrganizationProvider } from './chunk-SFF5MJEI.js';
15
16
  export { ApiClientProvider, useApiClient, useApiClientContext } from './chunk-LBPALY25.js';
17
+ export { NotificationProvider, useNotificationAdapter } from './chunk-TIRMFDM4.js';
16
18
  export { formatDate, getResourceColor, getResourceIcon, validateEmail } from './chunk-LFYO3MDC.js';
17
19
  export { APIClientError, formatErrorMessage, getErrorInfo, getErrorTitle, isAPIClientError } from './chunk-4VGWQ5AN.js';
18
20
  export { AdminGuard, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck } from './chunk-2JBWPFHF.js';
@@ -23,1032 +25,4 @@ export { ElevasisServiceProvider, useElevasisServices } from './chunk-KA7LO7U5.j
23
25
  export { useOrganization } from './chunk-DD3CCMCZ.js';
24
26
  export { AuthProvider, useAuthContext } from './chunk-7PLEQFHO.js';
25
27
  export { RouterProvider, useRouterContext } from './chunk-Q7DJKLEN.js';
26
-
27
- // src/theme/presets/utils.ts
28
- function hexToRgb(hex) {
29
- const h = hex.replace("#", "");
30
- const full = h.length === 3 ? h.split("").map((c) => c + c).join("") : h;
31
- return [parseInt(full.slice(0, 2), 16), parseInt(full.slice(2, 4), 16), parseInt(full.slice(4, 6), 16)];
32
- }
33
- function rgbToHsl(r, g, b) {
34
- r /= 255;
35
- g /= 255;
36
- b /= 255;
37
- const max = Math.max(r, g, b), min = Math.min(r, g, b);
38
- const l = (max + min) / 2;
39
- if (max === min) return [0, 0, l];
40
- const d = max - min;
41
- const s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
42
- let h = 0;
43
- if (max === r) h = ((g - b) / d + (g < b ? 6 : 0)) / 6;
44
- else if (max === g) h = ((b - r) / d + 2) / 6;
45
- else h = ((r - g) / d + 4) / 6;
46
- return [h * 360, s, l];
47
- }
48
- function hslToHex(h, s, l) {
49
- h /= 360;
50
- const hue2rgb = (p, q, t) => {
51
- if (t < 0) t += 1;
52
- if (t > 1) t -= 1;
53
- if (t < 1 / 6) return p + (q - p) * 6 * t;
54
- if (t < 1 / 2) return q;
55
- if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;
56
- return p;
57
- };
58
- let r, g, b;
59
- if (s === 0) {
60
- r = g = b = l;
61
- } else {
62
- const q = l < 0.5 ? l * (1 + s) : l + s - l * s;
63
- const p = 2 * l - q;
64
- r = hue2rgb(p, q, h + 1 / 3);
65
- g = hue2rgb(p, q, h);
66
- b = hue2rgb(p, q, h - 1 / 3);
67
- }
68
- const toHex = (n) => Math.round(Math.min(255, Math.max(0, n * 255))).toString(16).padStart(2, "0");
69
- return `#${toHex(r)}${toHex(g)}${toHex(b)}`;
70
- }
71
- function generateShades(hex) {
72
- const [r, g, b] = hexToRgb(hex);
73
- const [h, s, l] = rgbToHsl(r, g, b);
74
- const targets = [
75
- 0.95,
76
- 0.88,
77
- 0.78,
78
- 0.65,
79
- 0.55,
80
- 0.48,
81
- l,
82
- Math.max(l - 0.08, 0.08),
83
- Math.max(l - 0.16, 0.05),
84
- Math.max(l - 0.24, 0.03)
85
- ];
86
- return targets.map((tl) => hslToHex(h, s, tl));
87
- }
88
-
89
- // src/theme/presets/default.ts
90
- var defaultPreset = {
91
- subtitleFontFamily: '"Inter", sans-serif',
92
- fontImports: ["https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"],
93
- light: {
94
- primary: "#0099ff",
95
- primaryContrast: "#ffffff",
96
- background: "#ededf0",
97
- surface: "#f5f5f5",
98
- surfaceHover: "#f2f2f2",
99
- text: "#212529",
100
- textDimmed: "#495057",
101
- textSubtle: "#868e96",
102
- border: "#ddd",
103
- error: "#dc3545",
104
- warning: "#fd7e14",
105
- success: "#28a745",
106
- glassBackground: "rgba(252, 252, 252, 0.6)",
107
- glassBlur: "blur(10px)",
108
- shadow: "0px 3px 5px -4px rgba(0, 0, 0, 0.18)",
109
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 2px 4px rgba(0, 0, 0, 0.02), 0 4px 8px rgba(0, 0, 0, 0.02), 0 8px 16px rgba(0, 0, 0, 0.02)",
110
- durationFast: "150ms",
111
- durationNormal: "250ms",
112
- easing: "cubic-bezier(0.4, 0, 0.2, 1)"
113
- },
114
- dark: {
115
- primary: "#0099ff",
116
- primaryContrast: "#ffffff",
117
- background: "#040404",
118
- surface: "#111112",
119
- surfaceHover: "#191919",
120
- text: "#ffffff",
121
- textDimmed: "#c1c2c5",
122
- textSubtle: "#999999",
123
- border: "#1C1C1C",
124
- error: "#ff5252",
125
- warning: "#ff9800",
126
- success: "#4caf50",
127
- glassBackground: "rgba(15, 15, 15, 0.6)",
128
- glassBlur: "blur(10px)",
129
- shadow: "0px 3px 6px -2px rgba(0, 0, 0, .9)",
130
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 2px 4px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.2), 0 8px 16px rgba(0, 0, 0, 0.2)",
131
- durationFast: "150ms",
132
- durationNormal: "250ms",
133
- easing: "cubic-bezier(0.4, 0, 0.2, 1)"
134
- }
135
- };
136
-
137
- // src/theme/presets/tactical.ts
138
- var tacticalPreset = {
139
- light: {
140
- primary: "#0099ff",
141
- primaryContrast: "#ffffff",
142
- background: "#EAEBEE",
143
- surface: "#F3F3F6",
144
- surfaceHover: "#DFDFE4",
145
- text: "#0F1319",
146
- textDimmed: "#3B4559",
147
- textSubtle: "#5D677B",
148
- border: "#C5CCD6",
149
- error: "#D32F2F",
150
- warning: "#ED6C02",
151
- success: "#2E7D32",
152
- glassBackground: "rgba(243, 243, 246, 0.6)",
153
- glassBlur: "blur(14px)",
154
- shadow: "0px 2px 4px -2px rgba(15, 19, 25, 0.12)",
155
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 3px rgba(15, 19, 25, 0.06), 0 4px 8px rgba(15, 19, 25, 0.04)",
156
- durationFast: "100ms",
157
- durationNormal: "180ms",
158
- easing: "cubic-bezier(0.22, 0, 0.1, 1)"
159
- },
160
- dark: {
161
- primary: "#0099ff",
162
- primaryContrast: "#ffffff",
163
- background: "#020305",
164
- surface: "#0E0F14",
165
- surfaceHover: "#16171D",
166
- text: "#EFF2F7",
167
- textDimmed: "#B0BCD2",
168
- textSubtle: "#8898AE",
169
- border: "#181C2D",
170
- error: "#FF4757",
171
- warning: "#FFA502",
172
- success: "#2ED573",
173
- glassBackground: "rgba(13, 14, 18, 0.58)",
174
- glassBlur: "blur(16px)",
175
- shadow: "0px 2px 6px -2px rgba(0, 0, 0, 0.9)",
176
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 1px 3px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.28), 0 8px 16px rgba(0, 0, 0, 0.18)",
177
- durationFast: "100ms",
178
- durationNormal: "180ms",
179
- easing: "cubic-bezier(0.22, 0, 0.1, 1)"
180
- },
181
- subtitleFontFamily: '"Chakra Petch", sans-serif',
182
- framework: {
183
- fontFamily: '"Chakra Petch", sans-serif',
184
- headings: {
185
- fontFamily: '"Chakra Petch", sans-serif'
186
- }
187
- },
188
- fontImports: ["https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&display=swap"]
189
- };
190
-
191
- // src/theme/presets/regal.ts
192
- var regalPreset = {
193
- light: {
194
- primary: "#B8922F",
195
- primaryContrast: "#ffffff",
196
- background: "#F0F0F2",
197
- surface: "#F7F7F8",
198
- surfaceHover: "#E9E9EB",
199
- text: "#2E2E30",
200
- textDimmed: "#50505A",
201
- textSubtle: "#8E8E96",
202
- border: "#CCCCD2",
203
- error: "#A83232",
204
- warning: "#B87A1A",
205
- success: "#3A7A3A",
206
- glassBackground: "rgba(247, 247, 248, 0.6)",
207
- glassBlur: "blur(12px)",
208
- shadow: "0px 2px 6px -2px rgba(20, 20, 20, 0.12)",
209
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(20, 20, 20, 0.06), 0 4px 8px rgba(20, 20, 20, 0.04)",
210
- durationFast: "180ms",
211
- durationNormal: "320ms",
212
- easing: "cubic-bezier(0.25, 0.1, 0.25, 1)"
213
- },
214
- dark: {
215
- primary: "#D4A843",
216
- primaryContrast: "#1A1400",
217
- background: "#000000",
218
- surface: "#0E0E0E",
219
- surfaceHover: "#181818",
220
- text: "#F5EEE0",
221
- textDimmed: "#C8BA98",
222
- textSubtle: "#A89880",
223
- border: "#1D1D1D",
224
- error: "#E05252",
225
- warning: "#D4943C",
226
- success: "#4AA84A",
227
- glassBackground: "rgba(14, 14, 14, 0.6)",
228
- glassBlur: "blur(14px)",
229
- shadow: "0px 3px 8px -2px rgba(0, 0, 0, 0.95)",
230
- cardShadow: "inset 0 1px 0 rgba(212, 168, 67, 0.04), 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.2)",
231
- durationFast: "180ms",
232
- durationNormal: "320ms",
233
- easing: "cubic-bezier(0.25, 0.1, 0.25, 1)"
234
- },
235
- subtitleFontFamily: '"Raleway", sans-serif',
236
- framework: {
237
- defaultRadius: "xs",
238
- fontFamily: '"Inter", sans-serif',
239
- headings: {
240
- fontFamily: '"Cinzel", serif',
241
- fontWeight: "600"
242
- }
243
- },
244
- fontImports: [
245
- "https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&display=swap",
246
- "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap",
247
- "https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap"
248
- ]
249
- };
250
-
251
- // src/theme/presets/cyber-volt.ts
252
- var cyberVoltPreset = {
253
- light: {
254
- primary: "#0097A7",
255
- primaryContrast: "#ffffff",
256
- background: "#E0E6EE",
257
- surface: "#EAEDF3",
258
- surfaceHover: "#D6DCE6",
259
- text: "#0A0E14",
260
- textDimmed: "#2E3A4D",
261
- textSubtle: "#556680",
262
- border: "#B0BCD0",
263
- error: "#FF1744",
264
- warning: "#FF9100",
265
- success: "#00E676",
266
- glassBackground: "rgba(234, 238, 244, 0.6)",
267
- glassBlur: "blur(14px)",
268
- shadow: "0px 2px 4px -2px rgba(0, 151, 167, 0.08)",
269
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 8px rgba(0, 0, 0, 0.04)",
270
- durationFast: "80ms",
271
- durationNormal: "160ms",
272
- easing: "cubic-bezier(0.16, 1, 0.3, 1)"
273
- },
274
- dark: {
275
- primary: "#00ACC1",
276
- primaryContrast: "#ffffff",
277
- background: "#030506",
278
- surface: "#0E1520",
279
- surfaceHover: "#16202E",
280
- text: "#E0F7FA",
281
- textDimmed: "#80DEEA",
282
- textSubtle: "#68C8BE",
283
- border: "#192232",
284
- error: "#FF1744",
285
- warning: "#FF9100",
286
- success: "#00E676",
287
- glassBackground: "rgba(12, 20, 30, 0.57)",
288
- glassBlur: "blur(18px)",
289
- shadow: "0px 2px 8px -2px rgba(0, 229, 255, 0.15)",
290
- cardShadow: "inset 0 1px 0 rgba(0, 229, 255, 0.05), 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 229, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.25)",
291
- durationFast: "80ms",
292
- durationNormal: "160ms",
293
- easing: "cubic-bezier(0.16, 1, 0.3, 1)"
294
- },
295
- subtitleFontFamily: '"Exo 2", sans-serif',
296
- framework: {
297
- fontFamily: '"JetBrains Mono", monospace',
298
- headings: {
299
- fontFamily: '"Orbitron", sans-serif'
300
- },
301
- components: {
302
- Title: {
303
- styles: { root: { letterSpacing: "-0.05em" } }
304
- }
305
- }
306
- },
307
- fontImports: [
308
- "https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&display=swap",
309
- "https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap",
310
- "https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700&display=swap"
311
- ]
312
- };
313
-
314
- // src/theme/presets/aurora.ts
315
- var auroraPreset = {
316
- light: {
317
- primary: "#00897B",
318
- primaryContrast: "#ffffff",
319
- background: "#EFF5F3",
320
- surface: "#F5FAF8",
321
- surfaceHover: "#E4EDEA",
322
- text: "#1A2E28",
323
- textDimmed: "#3D5E54",
324
- textSubtle: "#507368",
325
- border: "#C4D9D2",
326
- error: "#E53935",
327
- warning: "#FB8C00",
328
- success: "#43A047",
329
- glassBackground: "rgba(245, 250, 248, 0.6)",
330
- glassBlur: "blur(12px)",
331
- shadow: "0px 2px 6px -2px rgba(0, 137, 123, 0.08)",
332
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.04), 0 4px 8px rgba(0, 0, 0, 0.03)",
333
- durationFast: "160ms",
334
- durationNormal: "280ms",
335
- easing: "cubic-bezier(0.4, 0, 0.2, 1)"
336
- },
337
- dark: {
338
- primary: "#00A88A",
339
- primaryContrast: "#ffffff",
340
- background: "#020807",
341
- surface: "#0C1612",
342
- surfaceHover: "#1A2C28",
343
- text: "#E0F2F1",
344
- textDimmed: "#80CBC4",
345
- textSubtle: "#68C8BE",
346
- border: "#1A2D28",
347
- error: "#FF5252",
348
- warning: "#FFB74D",
349
- success: "#69F0AE",
350
- glassBackground: "rgba(12, 20, 18, 0.7)",
351
- glassBlur: "blur(14px)",
352
- shadow: "0px 3px 8px -2px rgba(0, 0, 0, 0.9)",
353
- cardShadow: "inset 0 1px 0 rgba(29, 233, 182, 0.04), 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.25), 0 8px 20px rgba(0, 0, 0, 0.18)",
354
- durationFast: "160ms",
355
- durationNormal: "280ms",
356
- easing: "cubic-bezier(0.4, 0, 0.2, 1)"
357
- },
358
- subtitleFontFamily: '"Nunito", sans-serif',
359
- framework: {
360
- defaultRadius: "sm",
361
- fontFamily: '"Nunito", sans-serif',
362
- headings: {
363
- fontFamily: '"Nunito", sans-serif',
364
- fontWeight: "700"
365
- }
366
- },
367
- fontImports: ["https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700&display=swap"]
368
- };
369
-
370
- // src/theme/presets/rose-gold.ts
371
- var roseGoldPreset = {
372
- light: {
373
- primary: "#A8695E",
374
- primaryContrast: "#ffffff",
375
- background: "#F4F0EE",
376
- surface: "#FAF6F5",
377
- surfaceHover: "#EDE6E4",
378
- text: "#2D2325",
379
- textDimmed: "#5A4448",
380
- textSubtle: "#9A848A",
381
- border: "#DDD0CC",
382
- error: "#C62828",
383
- warning: "#E65100",
384
- success: "#2E7D32",
385
- glassBackground: "rgba(250, 246, 245, 0.6)",
386
- glassBlur: "blur(12px)",
387
- shadow: "0px 2px 6px -2px rgba(192, 122, 110, 0.1)",
388
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(45, 35, 37, 0.05), 0 4px 8px rgba(45, 35, 37, 0.04)",
389
- durationFast: "160ms",
390
- durationNormal: "300ms",
391
- easing: "cubic-bezier(0.25, 0.1, 0.25, 1)"
392
- },
393
- dark: {
394
- primary: "#C8897C",
395
- primaryContrast: "#2D1A16",
396
- background: "#070405",
397
- surface: "#161011",
398
- surfaceHover: "#221A1C",
399
- text: "#F5E8E6",
400
- textDimmed: "#D8B8B2",
401
- textSubtle: "#B89A94",
402
- border: "#2A1E20",
403
- error: "#EF5350",
404
- warning: "#FF8A65",
405
- success: "#66BB6A",
406
- glassBackground: "rgba(22, 16, 17, 0.65)",
407
- glassBlur: "blur(14px)",
408
- shadow: "0px 3px 8px -2px rgba(0, 0, 0, 0.95)",
409
- cardShadow: "inset 0 1px 0 rgba(232, 165, 152, 0.04), 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.2)",
410
- durationFast: "160ms",
411
- durationNormal: "300ms",
412
- easing: "cubic-bezier(0.25, 0.1, 0.25, 1)"
413
- },
414
- subtitleFontFamily: '"Lora", serif',
415
- framework: {
416
- defaultRadius: "sm",
417
- fontFamily: '"DM Sans", sans-serif',
418
- headings: {
419
- fontFamily: '"Playfair Display", serif',
420
- fontWeight: "600"
421
- }
422
- },
423
- fontImports: [
424
- "https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap",
425
- "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap",
426
- "https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap"
427
- ]
428
- };
429
-
430
- // src/theme/presets/midnight.ts
431
- var midnightPreset = {
432
- light: {
433
- primary: "#7C4DFF",
434
- primaryContrast: "#ffffff",
435
- background: "#EEEDF4",
436
- surface: "#F5F4FA",
437
- surfaceHover: "#E3E1ED",
438
- text: "#1A1528",
439
- textDimmed: "#4A4260",
440
- textSubtle: "#7A7294",
441
- border: "#CCC8DA",
442
- error: "#D32F2F",
443
- warning: "#F57C00",
444
- success: "#388E3C",
445
- glassBackground: "rgba(245, 244, 250, 0.6)",
446
- glassBlur: "blur(12px)",
447
- shadow: "0px 2px 6px -2px rgba(124, 77, 255, 0.08)",
448
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(26, 21, 40, 0.05), 0 4px 8px rgba(26, 21, 40, 0.04)",
449
- durationFast: "140ms",
450
- durationNormal: "260ms",
451
- easing: "cubic-bezier(0.4, 0, 0.2, 1)"
452
- },
453
- dark: {
454
- primary: "#9575CD",
455
- primaryContrast: "#1A1528",
456
- background: "#030208",
457
- surface: "#110F1B",
458
- surfaceHover: "#1E1A2C",
459
- text: "#EDE7F6",
460
- textDimmed: "#C0AAE5",
461
- textSubtle: "#A898D0",
462
- border: "#1E1A30",
463
- error: "#FF5252",
464
- warning: "#FFB74D",
465
- success: "#69F0AE",
466
- glassBackground: "rgba(16, 14, 26, 0.65)",
467
- glassBlur: "blur(16px)",
468
- shadow: "0px 3px 8px -2px rgba(0, 0, 0, 0.95)",
469
- cardShadow: "inset 0 1px 0 rgba(179, 136, 255, 0.04), 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.2)",
470
- durationFast: "140ms",
471
- durationNormal: "260ms",
472
- easing: "cubic-bezier(0.4, 0, 0.2, 1)"
473
- },
474
- subtitleFontFamily: '"Red Hat Display", sans-serif',
475
- framework: {
476
- defaultRadius: "xs",
477
- fontFamily: '"Space Grotesk", sans-serif',
478
- headings: {
479
- fontFamily: '"Raleway", sans-serif',
480
- fontWeight: "600"
481
- },
482
- components: {
483
- Title: {
484
- styles: { root: { letterSpacing: "-0.02em" } }
485
- }
486
- }
487
- },
488
- fontImports: [
489
- "https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap",
490
- "https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap",
491
- "https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;500;600;700&display=swap"
492
- ]
493
- };
494
-
495
- // src/theme/presets/ember.ts
496
- var emberPreset = {
497
- light: {
498
- primary: "#D4603A",
499
- primaryContrast: "#ffffff",
500
- background: "#F3EFEB",
501
- surface: "#F9F6F3",
502
- surfaceHover: "#ECE6E0",
503
- text: "#2C2118",
504
- textDimmed: "#5E4A3A",
505
- textSubtle: "#8D7A6A",
506
- border: "#D6CABE",
507
- error: "#C62828",
508
- warning: "#E65100",
509
- success: "#33691E",
510
- glassBackground: "rgba(249, 246, 243, 0.6)",
511
- glassBlur: "blur(12px)",
512
- shadow: "0px 2px 6px -2px rgba(212, 96, 58, 0.08)",
513
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(44, 33, 24, 0.05), 0 4px 8px rgba(44, 33, 24, 0.04)",
514
- durationFast: "150ms",
515
- durationNormal: "280ms",
516
- easing: "cubic-bezier(0.4, 0, 0.2, 1)"
517
- },
518
- dark: {
519
- primary: "#E87B55",
520
- primaryContrast: "#1A0E08",
521
- background: "#060302",
522
- surface: "#15100D",
523
- surfaceHover: "#1C1610",
524
- text: "#F5EDE6",
525
- textDimmed: "#D4B9A0",
526
- textSubtle: "#B8A090",
527
- border: "#2A211A",
528
- error: "#EF5350",
529
- warning: "#FF8A65",
530
- success: "#8BC34A",
531
- glassBackground: "rgba(20, 16, 12, 0.6)",
532
- glassBlur: "blur(14px)",
533
- shadow: "0px 3px 8px -2px rgba(0, 0, 0, 0.95)",
534
- cardShadow: "inset 0 1px 0 rgba(232, 123, 85, 0.04), 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.2)",
535
- durationFast: "150ms",
536
- durationNormal: "280ms",
537
- easing: "cubic-bezier(0.4, 0, 0.2, 1)"
538
- },
539
- subtitleFontFamily: '"Source Serif 4", serif',
540
- framework: {
541
- defaultRadius: "sm",
542
- fontFamily: '"Source Sans 3", sans-serif',
543
- headings: {
544
- fontFamily: '"Libre Baskerville", serif',
545
- fontWeight: "700"
546
- }
547
- },
548
- fontImports: [
549
- "https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&display=swap",
550
- "https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&display=swap",
551
- "https://fonts.googleapis.com/css2?family=Source+Serif+4:wght@400;500;600;700&display=swap"
552
- ]
553
- };
554
-
555
- // src/theme/presets/obsidian.ts
556
- var obsidianPreset = {
557
- light: {
558
- primary: "#48484F",
559
- primaryContrast: "#ffffff",
560
- background: "#F2F2F4",
561
- surface: "#FAFAFA",
562
- surfaceHover: "#EDEDEF",
563
- text: "#111114",
564
- textDimmed: "#44444C",
565
- textSubtle: "#78788A",
566
- border: "#D8D8DC",
567
- error: "#C62828",
568
- warning: "#E65100",
569
- success: "#2E7D32",
570
- glassBackground: "rgba(250, 250, 250, 0.6)",
571
- glassBlur: "blur(10px)",
572
- shadow: "0px 2px 4px -2px rgba(0, 0, 0, 0.1)",
573
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.04), 0 4px 8px rgba(0, 0, 0, 0.03)",
574
- durationFast: "120ms",
575
- durationNormal: "220ms",
576
- easing: "cubic-bezier(0.4, 0, 0.2, 1)"
577
- },
578
- dark: {
579
- primary: "#808088",
580
- primaryContrast: "#F0F0F2",
581
- background: "#030304",
582
- surface: "#111113",
583
- surfaceHover: "#1C1C20",
584
- text: "#F0F0F2",
585
- textDimmed: "#B0B0B8",
586
- textSubtle: "#A0A0A8",
587
- border: "#1E1E22",
588
- error: "#FF5252",
589
- warning: "#FF9800",
590
- success: "#4CAF50",
591
- glassBackground: "rgba(16, 16, 17, 0.55)",
592
- glassBlur: "blur(12px)",
593
- shadow: "0px 3px 6px -2px rgba(0, 0, 0, 0.9)",
594
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.25), 0 8px 16px rgba(0, 0, 0, 0.18)",
595
- durationFast: "120ms",
596
- durationNormal: "220ms",
597
- easing: "cubic-bezier(0.4, 0, 0.2, 1)"
598
- },
599
- subtitleFontFamily: '"DM Sans", sans-serif',
600
- framework: {
601
- fontFamily: '"DM Sans", sans-serif',
602
- headings: {
603
- fontFamily: '"DM Mono", monospace',
604
- fontWeight: "500"
605
- }
606
- },
607
- fontImports: [
608
- "https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&display=swap",
609
- "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap"
610
- ]
611
- };
612
-
613
- // src/theme/presets/honey.ts
614
- var honeyPreset = {
615
- light: {
616
- primary: "#A06A08",
617
- primaryContrast: "#ffffff",
618
- background: "#F5F0E8",
619
- surface: "#FBF7F0",
620
- surfaceHover: "#EDE5D8",
621
- text: "#2A1F0A",
622
- textDimmed: "#5C4820",
623
- textSubtle: "#8A7450",
624
- border: "#E0D0B0",
625
- error: "#C62828",
626
- warning: "#E65100",
627
- success: "#33691E",
628
- glassBackground: "rgba(251, 247, 240, 0.6)",
629
- glassBlur: "blur(12px)",
630
- shadow: "0px 2px 6px -2px rgba(160, 106, 8, 0.1)",
631
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(42, 31, 10, 0.05), 0 4px 8px rgba(42, 31, 10, 0.04)",
632
- durationFast: "140ms",
633
- durationNormal: "260ms",
634
- easing: "cubic-bezier(0.4, 0, 0.2, 1)"
635
- },
636
- dark: {
637
- primary: "#E8A820",
638
- primaryContrast: "#1A1200",
639
- background: "#060400",
640
- surface: "#141108",
641
- surfaceHover: "#1C1808",
642
- text: "#FDF0D0",
643
- textDimmed: "#D8C070",
644
- textSubtle: "#B8A060",
645
- border: "#2A2210",
646
- error: "#EF5350",
647
- warning: "#FF8A65",
648
- success: "#8BC34A",
649
- glassBackground: "rgba(22, 19, 9, 0.6)",
650
- glassBlur: "blur(14px)",
651
- shadow: "0px 3px 8px -2px rgba(0, 0, 0, 0.95)",
652
- cardShadow: "inset 0 1px 0 rgba(232, 168, 32, 0.04), 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.2)",
653
- durationFast: "140ms",
654
- durationNormal: "260ms",
655
- easing: "cubic-bezier(0.4, 0, 0.2, 1)"
656
- },
657
- subtitleFontFamily: '"Outfit", sans-serif',
658
- framework: {
659
- defaultRadius: "sm",
660
- fontFamily: '"Inter", sans-serif',
661
- headings: {
662
- fontFamily: '"Syne", sans-serif'
663
- },
664
- components: {
665
- Title: {
666
- styles: { root: { letterSpacing: "-0.06em" } }
667
- }
668
- }
669
- },
670
- fontImports: [
671
- "https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700&display=swap",
672
- "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap",
673
- "https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap"
674
- ]
675
- };
676
-
677
- // src/theme/presets/abyss.ts
678
- var abyssPreset = {
679
- light: {
680
- primary: "#0A70B0",
681
- primaryContrast: "#ffffff",
682
- background: "#EDF1F5",
683
- surface: "#F3F7FA",
684
- surfaceHover: "#E0E8EE",
685
- text: "#0A1828",
686
- textDimmed: "#2A4060",
687
- textSubtle: "#5A7890",
688
- border: "#C0CED8",
689
- error: "#D32F2F",
690
- warning: "#F57C00",
691
- success: "#388E3C",
692
- glassBackground: "rgba(243, 247, 250, 0.6)",
693
- glassBlur: "blur(12px)",
694
- shadow: "0px 2px 6px -2px rgba(10, 112, 176, 0.08)",
695
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(10, 24, 40, 0.05), 0 4px 8px rgba(10, 24, 40, 0.04)",
696
- durationFast: "130ms",
697
- durationNormal: "240ms",
698
- easing: "cubic-bezier(0.4, 0, 0.2, 1)"
699
- },
700
- dark: {
701
- primary: "#1090D8",
702
- primaryContrast: "#ffffff",
703
- background: "#010508",
704
- surface: "#07101A",
705
- surfaceHover: "#122838",
706
- text: "#E4F0FC",
707
- textDimmed: "#A0C8E8",
708
- textSubtle: "#78A8C0",
709
- border: "#0F2030",
710
- error: "#FF5252",
711
- warning: "#FFB74D",
712
- success: "#69F0AE",
713
- glassBackground: "rgba(5, 18, 26, 0.65)",
714
- glassBlur: "blur(16px)",
715
- shadow: "0px 3px 8px -2px rgba(0, 0, 0, 0.95)",
716
- cardShadow: "inset 0 1px 0 rgba(16, 144, 216, 0.04), 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.2)",
717
- durationFast: "130ms",
718
- durationNormal: "240ms",
719
- easing: "cubic-bezier(0.4, 0, 0.2, 1)"
720
- },
721
- subtitleFontFamily: '"Outfit", sans-serif',
722
- framework: {
723
- defaultRadius: "sm",
724
- fontFamily: '"Outfit", sans-serif',
725
- headings: {
726
- fontFamily: '"Outfit", sans-serif',
727
- fontWeight: "700"
728
- }
729
- },
730
- fontImports: ["https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap"]
731
- };
732
-
733
- // src/theme/presets/canopy.ts
734
- var canopyPreset = {
735
- light: {
736
- primary: "#2E7A40",
737
- primaryContrast: "#ffffff",
738
- background: "#EDF3EE",
739
- surface: "#F4F8F5",
740
- surfaceHover: "#E0EBE2",
741
- text: "#0F2415",
742
- textDimmed: "#2D5235",
743
- textSubtle: "#5A7D62",
744
- border: "#C0D4C4",
745
- error: "#C62828",
746
- warning: "#E65100",
747
- success: "#33691E",
748
- glassBackground: "rgba(244, 248, 245, 0.6)",
749
- glassBlur: "blur(12px)",
750
- shadow: "0px 2px 6px -2px rgba(46, 122, 64, 0.08)",
751
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(15, 36, 21, 0.05), 0 4px 8px rgba(15, 36, 21, 0.04)",
752
- durationFast: "150ms",
753
- durationNormal: "280ms",
754
- easing: "cubic-bezier(0.4, 0, 0.2, 1)"
755
- },
756
- dark: {
757
- primary: "#4AA860",
758
- primaryContrast: "#ffffff",
759
- background: "#030705",
760
- surface: "#0B150F",
761
- surfaceHover: "#162818",
762
- text: "#E0F0E4",
763
- textDimmed: "#98C8A4",
764
- textSubtle: "#80A090",
765
- border: "#142018",
766
- error: "#EF5350",
767
- warning: "#FF8A65",
768
- success: "#8BC34A",
769
- glassBackground: "rgba(16, 23, 18, 0.6)",
770
- glassBlur: "blur(14px)",
771
- shadow: "0px 3px 8px -2px rgba(0, 0, 0, 0.95)",
772
- cardShadow: "inset 0 1px 0 rgba(74, 168, 96, 0.04), 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.2)",
773
- durationFast: "150ms",
774
- durationNormal: "280ms",
775
- easing: "cubic-bezier(0.4, 0, 0.2, 1)"
776
- },
777
- subtitleFontFamily: '"Lora", serif',
778
- framework: {
779
- defaultRadius: "sm",
780
- fontFamily: '"Lato", sans-serif',
781
- headings: {
782
- fontFamily: '"Fraunces", serif',
783
- fontWeight: "600"
784
- }
785
- },
786
- fontImports: [
787
- "https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&display=swap",
788
- "https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap",
789
- "https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap"
790
- ]
791
- };
792
-
793
- // src/theme/presets/slate.ts
794
- var slatePreset = {
795
- light: {
796
- primary: "#4A6E8E",
797
- primaryContrast: "#ffffff",
798
- background: "#ECEEF0",
799
- surface: "#F3F4F6",
800
- surfaceHover: "#E0E3E7",
801
- text: "#161C22",
802
- textDimmed: "#404C58",
803
- textSubtle: "#6A7A88",
804
- border: "#C8D0D8",
805
- error: "#D32F2F",
806
- warning: "#F57C00",
807
- success: "#388E3C",
808
- glassBackground: "rgba(243, 244, 246, 0.6)",
809
- glassBlur: "blur(10px)",
810
- shadow: "0px 2px 4px -2px rgba(74, 110, 142, 0.08)",
811
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(22, 28, 34, 0.05), 0 4px 8px rgba(22, 28, 34, 0.04)",
812
- durationFast: "110ms",
813
- durationNormal: "200ms",
814
- easing: "cubic-bezier(0.22, 0, 0.1, 1)"
815
- },
816
- dark: {
817
- primary: "#6A8FAD",
818
- primaryContrast: "#0E1218",
819
- background: "#010305",
820
- surface: "#0E1218",
821
- surfaceHover: "#1C2830",
822
- text: "#E8F0F8",
823
- textDimmed: "#A8C4DC",
824
- textSubtle: "#80A0B0",
825
- border: "#182028",
826
- error: "#FF5252",
827
- warning: "#FFB74D",
828
- success: "#69F0AE",
829
- glassBackground: "rgba(12, 16, 22, 0.65)",
830
- glassBlur: "blur(14px)",
831
- shadow: "0px 3px 6px -2px rgba(0, 0, 0, 0.9)",
832
- cardShadow: "inset 0 1px 0 rgba(123, 158, 188, 0.04), 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.25), 0 8px 16px rgba(0, 0, 0, 0.18)",
833
- durationFast: "110ms",
834
- durationNormal: "200ms",
835
- easing: "cubic-bezier(0.22, 0, 0.1, 1)"
836
- },
837
- subtitleFontFamily: '"Quantico", sans-serif',
838
- framework: {
839
- fontFamily: '"IBM Plex Sans", sans-serif',
840
- headings: {
841
- fontFamily: '"Quantico", sans-serif',
842
- fontWeight: "600"
843
- }
844
- },
845
- fontImports: [
846
- "https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap",
847
- "https://fonts.googleapis.com/css2?family=Quantico:ital,wght@0,400;0,700;1,400;1,700&display=swap"
848
- ]
849
- };
850
-
851
- // src/theme/presets/cyber-strike.ts
852
- var cyberStrikePreset = {
853
- light: {
854
- primary: "#FF1744",
855
- primaryContrast: "#ffffff",
856
- background: "#EBE0E3",
857
- surface: "#F3EAEB",
858
- surfaceHover: "#E4D6DB",
859
- text: "#140A0C",
860
- textDimmed: "#4D2E35",
861
- textSubtle: "#805560",
862
- border: "#CCB0B8",
863
- error: "#FF1744",
864
- warning: "#FF9100",
865
- success: "#00E676",
866
- glassBackground: "rgba(242, 234, 236, 0.6)",
867
- glassBlur: "blur(14px)",
868
- shadow: "0px 2px 4px -2px rgba(255, 23, 68, 0.08)",
869
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 8px rgba(0, 0, 0, 0.04)",
870
- durationFast: "80ms",
871
- durationNormal: "160ms",
872
- easing: "cubic-bezier(0.16, 1, 0.3, 1)"
873
- },
874
- dark: {
875
- primary: "#FF1744",
876
- primaryContrast: "#ffffff",
877
- background: "#060404",
878
- surface: "#180C10",
879
- surfaceHover: "#26181E",
880
- text: "#FAE0E4",
881
- textDimmed: "#F0A0B0",
882
- textSubtle: "#D08090",
883
- border: "#33161D",
884
- error: "#FF1744",
885
- warning: "#FF9100",
886
- success: "#00E676",
887
- glassBackground: "rgba(23, 17, 21, 0.57)",
888
- glassBlur: "blur(18px)",
889
- shadow: "0px 2px 8px -2px rgba(255, 23, 68, 0.15)",
890
- cardShadow: "inset 0 1px 0 rgba(255, 23, 68, 0.05), 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(255, 23, 68, 0.06), 0 8px 24px rgba(0, 0, 0, 0.25)",
891
- durationFast: "80ms",
892
- durationNormal: "160ms",
893
- easing: "cubic-bezier(0.16, 1, 0.3, 1)"
894
- },
895
- subtitleFontFamily: '"Exo 2", sans-serif',
896
- framework: {
897
- fontFamily: '"JetBrains Mono", monospace',
898
- headings: {
899
- fontFamily: '"Chakra Petch", sans-serif'
900
- }
901
- },
902
- fontImports: [
903
- "https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;600;700&display=swap",
904
- "https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap",
905
- "https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700&display=swap"
906
- ]
907
- };
908
-
909
- // src/theme/presets/cyber-flux.ts
910
- var cyberFluxPreset = {
911
- light: {
912
- primary: "#C49000",
913
- primaryContrast: "#ffffff",
914
- background: "#EBE8DF",
915
- surface: "#F3EFEA",
916
- surfaceHover: "#E4E0D5",
917
- text: "#14120A",
918
- textDimmed: "#4D462E",
919
- textSubtle: "#807555",
920
- border: "#CCC5B0",
921
- error: "#FF1744",
922
- warning: "#FF9100",
923
- success: "#00E676",
924
- glassBackground: "rgba(242, 240, 233, 0.6)",
925
- glassBlur: "blur(14px)",
926
- shadow: "0px 2px 4px -2px rgba(196, 144, 0, 0.08)",
927
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 8px rgba(0, 0, 0, 0.04)",
928
- durationFast: "80ms",
929
- durationNormal: "160ms",
930
- easing: "cubic-bezier(0.16, 1, 0.3, 1)"
931
- },
932
- dark: {
933
- primary: "#C8A600",
934
- primaryContrast: "#141200",
935
- background: "#050503",
936
- surface: "#17140C",
937
- surfaceHover: "#282318",
938
- text: "#FAF5E0",
939
- textDimmed: "#EAD580",
940
- textSubtle: "#AC9E4D",
941
- border: "#232105",
942
- error: "#FF1744",
943
- warning: "#FF9100",
944
- success: "#00E676",
945
- glassBackground: "rgba(21, 19, 12, 0.57)",
946
- glassBlur: "blur(18px)",
947
- shadow: "0px 2px 8px -2px rgba(255, 214, 0, 0.15)",
948
- cardShadow: "inset 0 1px 0 rgba(255, 214, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(255, 214, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.25)",
949
- durationFast: "80ms",
950
- durationNormal: "160ms",
951
- easing: "cubic-bezier(0.16, 1, 0.3, 1)"
952
- },
953
- subtitleFontFamily: '"Exo 2", sans-serif',
954
- framework: {
955
- fontFamily: '"JetBrains Mono", monospace',
956
- headings: {
957
- fontFamily: '"Audiowide", sans-serif'
958
- },
959
- components: {
960
- Title: {
961
- styles: { root: { letterSpacing: "-0.05em" } }
962
- }
963
- }
964
- },
965
- fontImports: [
966
- "https://fonts.googleapis.com/css2?family=Audiowide&display=swap",
967
- "https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap",
968
- "https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700&display=swap"
969
- ]
970
- };
971
-
972
- // src/theme/presets/cyber-void.ts
973
- var cyberVoidPreset = {
974
- light: {
975
- primary: "#2979FF",
976
- primaryContrast: "#ffffff",
977
- background: "#E0E5EE",
978
- surface: "#EAEDF3",
979
- surfaceHover: "#D6DBE5",
980
- text: "#0A0D14",
981
- textDimmed: "#2E374D",
982
- textSubtle: "#556080",
983
- border: "#B0B8CE",
984
- error: "#FF1744",
985
- warning: "#FF9100",
986
- success: "#00E676",
987
- glassBackground: "rgba(238, 241, 248, 0.6)",
988
- glassBlur: "blur(14px)",
989
- shadow: "0px 2px 4px -2px rgba(41, 121, 255, 0.08)",
990
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 8px rgba(0, 0, 0, 0.04)",
991
- durationFast: "80ms",
992
- durationNormal: "160ms",
993
- easing: "cubic-bezier(0.16, 1, 0.3, 1)"
994
- },
995
- dark: {
996
- primary: "#2979FF",
997
- primaryContrast: "#ffffff",
998
- background: "#030507",
999
- surface: "#0E131E",
1000
- surfaceHover: "#161E2C",
1001
- text: "#E0EAFA",
1002
- textDimmed: "#99BBEE",
1003
- textSubtle: "#80A0D0",
1004
- border: "#192033",
1005
- error: "#FF1744",
1006
- warning: "#FF9100",
1007
- success: "#00E676",
1008
- glassBackground: "rgba(14, 19, 30, 0.57)",
1009
- glassBlur: "blur(18px)",
1010
- shadow: "0px 2px 8px -2px rgba(41, 121, 255, 0.15)",
1011
- cardShadow: "inset 0 1px 0 rgba(41, 121, 255, 0.05), 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(41, 121, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.25)",
1012
- durationFast: "80ms",
1013
- durationNormal: "160ms",
1014
- easing: "cubic-bezier(0.16, 1, 0.3, 1)"
1015
- },
1016
- subtitleFontFamily: '"Exo 2", sans-serif',
1017
- framework: {
1018
- fontFamily: '"JetBrains Mono", monospace',
1019
- headings: {
1020
- fontFamily: '"Share Tech Mono", monospace',
1021
- fontWeight: "400"
1022
- }
1023
- },
1024
- fontImports: [
1025
- "https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap",
1026
- "https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap",
1027
- "https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700&display=swap"
1028
- ]
1029
- };
1030
-
1031
- // src/theme/presets/index.ts
1032
- var PRESETS = {
1033
- default: defaultPreset,
1034
- tactical: tacticalPreset,
1035
- regal: regalPreset,
1036
- "cyber-volt": cyberVoltPreset,
1037
- aurora: auroraPreset,
1038
- "rose-gold": roseGoldPreset,
1039
- midnight: midnightPreset,
1040
- ember: emberPreset,
1041
- obsidian: obsidianPreset,
1042
- honey: honeyPreset,
1043
- abyss: abyssPreset,
1044
- canopy: canopyPreset,
1045
- slate: slatePreset,
1046
- "cyber-strike": cyberStrikePreset,
1047
- "cyber-flux": cyberFluxPreset,
1048
- "cyber-void": cyberVoidPreset
1049
- };
1050
- function getPreset(name) {
1051
- return PRESETS[name] ?? PRESETS.default;
1052
- }
1053
-
1054
- export { generateShades, getPreset };
28
+ import './chunk-MLKGABMK.js';