@yarcl/react 0.1.0 → 0.2.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 (223) hide show
  1. package/README.md +14 -2
  2. package/{src/apply.ts → dist/apply.d.ts} +4 -23
  3. package/dist/apply.js +37 -0
  4. package/dist/classes.d.ts +13 -0
  5. package/dist/classes.js +22 -0
  6. package/dist/cli.d.ts +2 -0
  7. package/dist/cli.js +58 -0
  8. package/dist/color.js +49 -32
  9. package/dist/components/Accordion.d.ts +96 -0
  10. package/dist/components/Accordion.js +148 -0
  11. package/dist/components/Alert.d.ts +60 -0
  12. package/dist/components/Alert.js +61 -0
  13. package/dist/components/Avatar.d.ts +100 -0
  14. package/dist/components/Avatar.js +89 -0
  15. package/dist/components/Badge.d.ts +44 -0
  16. package/dist/components/Badge.js +43 -0
  17. package/dist/components/Breadcrumb.d.ts +77 -0
  18. package/dist/components/Breadcrumb.js +126 -0
  19. package/dist/components/Button.d.ts +18 -0
  20. package/dist/components/Button.js +33 -0
  21. package/dist/components/ButtonGroup.d.ts +29 -0
  22. package/dist/components/ButtonGroup.js +37 -0
  23. package/dist/components/Card.d.ts +36 -0
  24. package/dist/components/Card.js +26 -0
  25. package/dist/components/Checkbox.d.ts +28 -0
  26. package/dist/components/Checkbox.js +38 -0
  27. package/dist/components/Combobox.d.ts +75 -0
  28. package/dist/components/Combobox.js +362 -0
  29. package/dist/components/CommandPalette.d.ts +92 -0
  30. package/dist/components/CommandPalette.js +293 -0
  31. package/dist/components/DatePicker.d.ts +157 -0
  32. package/dist/components/DatePicker.js +230 -0
  33. package/dist/components/Dialog.d.ts +25 -0
  34. package/dist/components/Dialog.js +29 -0
  35. package/dist/components/Divider.d.ts +23 -0
  36. package/dist/components/Divider.js +25 -0
  37. package/dist/components/Drawer.d.ts +21 -0
  38. package/dist/components/Drawer.js +25 -0
  39. package/dist/components/EmptyState.d.ts +51 -0
  40. package/dist/components/EmptyState.js +47 -0
  41. package/dist/components/Field.d.ts +27 -0
  42. package/dist/components/Field.js +59 -0
  43. package/dist/components/Heading.d.ts +26 -0
  44. package/dist/components/Heading.js +25 -0
  45. package/dist/components/HoverCard.d.ts +47 -0
  46. package/dist/components/HoverCard.js +53 -0
  47. package/dist/components/IconButton.d.ts +19 -0
  48. package/dist/components/IconButton.js +32 -0
  49. package/dist/components/Inline.d.ts +21 -0
  50. package/dist/components/Inline.js +24 -0
  51. package/dist/components/Input.d.ts +19 -0
  52. package/dist/components/Input.js +25 -0
  53. package/dist/components/Label.d.ts +46 -0
  54. package/dist/components/Label.js +33 -0
  55. package/dist/components/Link.d.ts +27 -0
  56. package/dist/components/Link.js +26 -0
  57. package/dist/components/Menu.d.ts +73 -0
  58. package/dist/components/Menu.js +143 -0
  59. package/dist/components/Modal.d.ts +45 -0
  60. package/dist/components/Modal.js +110 -0
  61. package/dist/components/NumberInput.d.ts +49 -0
  62. package/dist/components/NumberInput.js +130 -0
  63. package/dist/components/Pagination.d.ts +86 -0
  64. package/dist/components/Pagination.js +119 -0
  65. package/dist/components/Popover.d.ts +72 -0
  66. package/dist/components/Popover.js +87 -0
  67. package/dist/components/Progress.d.ts +60 -0
  68. package/dist/components/Progress.js +59 -0
  69. package/dist/components/Radio.d.ts +32 -0
  70. package/dist/components/Radio.js +47 -0
  71. package/dist/components/RadioGroup.d.ts +57 -0
  72. package/dist/components/RadioGroup.js +68 -0
  73. package/dist/components/Select.d.ts +47 -0
  74. package/dist/components/Select.js +138 -0
  75. package/dist/components/Skeleton.d.ts +46 -0
  76. package/dist/components/Skeleton.js +40 -0
  77. package/dist/components/Slider.d.ts +126 -0
  78. package/dist/components/Slider.js +166 -0
  79. package/dist/components/Spinner.d.ts +23 -0
  80. package/dist/components/Spinner.js +23 -0
  81. package/dist/components/Stack.d.ts +35 -0
  82. package/dist/components/Stack.js +24 -0
  83. package/dist/components/Switch.d.ts +27 -0
  84. package/dist/components/Switch.js +33 -0
  85. package/dist/components/Table.d.ts +71 -0
  86. package/dist/components/Table.js +61 -0
  87. package/dist/components/Tabs.d.ts +66 -0
  88. package/dist/components/Tabs.js +109 -0
  89. package/dist/components/Text.d.ts +32 -0
  90. package/dist/components/Text.js +28 -0
  91. package/dist/components/Textarea.d.ts +15 -0
  92. package/dist/components/Textarea.js +24 -0
  93. package/dist/components/Toast.d.ts +90 -0
  94. package/dist/components/Toast.js +156 -0
  95. package/dist/components/ToggleGroup.d.ts +79 -0
  96. package/dist/components/ToggleGroup.js +101 -0
  97. package/dist/components/Tooltip.d.ts +46 -0
  98. package/dist/components/Tooltip.js +62 -0
  99. package/dist/components/VisuallyHidden.d.ts +18 -0
  100. package/dist/components/VisuallyHidden.js +22 -0
  101. package/dist/contrast.d.ts +32 -0
  102. package/dist/css.d.ts +2 -2
  103. package/dist/css.js +193 -157
  104. package/dist/define.d.ts +40 -15
  105. package/dist/define.js +30 -27
  106. package/dist/demo.d.ts +2 -0
  107. package/dist/demo.js +2 -0
  108. package/dist/esbuild.cjs +5 -0
  109. package/dist/esbuild.d.ts +4 -0
  110. package/dist/esbuild.js +6 -0
  111. package/dist/field-context.d.ts +16 -0
  112. package/dist/field-context.js +17 -0
  113. package/dist/floating.d.ts +12 -0
  114. package/dist/floating.js +52 -0
  115. package/dist/hooks.d.ts +1 -0
  116. package/dist/hooks.js +12 -0
  117. package/{src/index.ts → dist/index.d.ts} +11 -33
  118. package/dist/index.js +50 -0
  119. package/dist/init.d.ts +18 -0
  120. package/dist/init.js +224 -0
  121. package/dist/plugin.d.ts +10 -26
  122. package/dist/plugin.js +152 -78
  123. package/dist/reference/DemoYarcl.d.ts +12 -0
  124. package/dist/reference/DemoYarcl.js +312 -0
  125. package/dist/reference/DesignReference.d.ts +24 -0
  126. package/dist/reference/DesignReference.js +403 -0
  127. package/dist/reference/index.js +2 -0
  128. package/dist/rollup.cjs +5 -0
  129. package/dist/rollup.d.ts +4 -0
  130. package/dist/rollup.js +6 -0
  131. package/dist/rspack.cjs +5 -0
  132. package/dist/rspack.d.ts +4 -0
  133. package/dist/rspack.js +6 -0
  134. package/dist/runtime.d.ts +13 -0
  135. package/dist/runtime.js +30 -0
  136. package/dist/setup.d.ts +6 -0
  137. package/dist/setup.js +33 -0
  138. package/{src → dist}/styles.css +224 -106
  139. package/dist/themes/bloom.d.ts +295 -0
  140. package/dist/themes/bloom.js +202 -0
  141. package/dist/themes/brutalist.d.ts +277 -0
  142. package/dist/themes/brutalist.js +199 -0
  143. package/dist/themes/compact.d.ts +274 -0
  144. package/dist/themes/compact.js +200 -0
  145. package/dist/themes/contract.d.ts +23 -0
  146. package/dist/themes/editorial.d.ts +277 -0
  147. package/dist/themes/editorial.js +183 -0
  148. package/dist/themes/index.d.ts +1425 -0
  149. package/dist/themes/index.js +45 -0
  150. package/{src/types.ts → dist/types.d.ts} +40 -37
  151. package/dist/vite.cjs +5 -0
  152. package/dist/vite.d.ts +4 -0
  153. package/dist/vite.js +6 -0
  154. package/dist/webpack.cjs +5 -0
  155. package/dist/webpack.d.ts +4 -0
  156. package/dist/webpack.js +6 -0
  157. package/dist/yarcl.config.d.ts +276 -0
  158. package/dist/yarcl.config.js +273 -0
  159. package/package.json +69 -17
  160. package/src/classes.ts +0 -23
  161. package/src/color.ts +0 -48
  162. package/src/components/Accordion.tsx +0 -274
  163. package/src/components/Alert.tsx +0 -85
  164. package/src/components/Badge.tsx +0 -79
  165. package/src/components/Breadcrumb.tsx +0 -239
  166. package/src/components/Button.tsx +0 -58
  167. package/src/components/ButtonGroup.tsx +0 -61
  168. package/src/components/Card.tsx +0 -50
  169. package/src/components/Checkbox.tsx +0 -49
  170. package/src/components/Combobox.tsx +0 -522
  171. package/src/components/CommandPalette.tsx +0 -452
  172. package/src/components/DatePicker.tsx +0 -432
  173. package/src/components/Dialog.tsx +0 -39
  174. package/src/components/Divider.tsx +0 -34
  175. package/src/components/Drawer.tsx +0 -31
  176. package/src/components/Field.tsx +0 -61
  177. package/src/components/Heading.tsx +0 -40
  178. package/src/components/HoverCard.tsx +0 -108
  179. package/src/components/IconButton.tsx +0 -59
  180. package/src/components/Inline.tsx +0 -42
  181. package/src/components/Input.tsx +0 -28
  182. package/src/components/Label.tsx +0 -58
  183. package/src/components/Link.tsx +0 -41
  184. package/src/components/Menu.tsx +0 -207
  185. package/src/components/Modal.tsx +0 -164
  186. package/src/components/NumberInput.tsx +0 -208
  187. package/src/components/Pagination.tsx +0 -227
  188. package/src/components/Popover.tsx +0 -140
  189. package/src/components/Progress.tsx +0 -122
  190. package/src/components/Radio.tsx +0 -59
  191. package/src/components/RadioGroup.tsx +0 -114
  192. package/src/components/Select.tsx +0 -197
  193. package/src/components/Skeleton.tsx +0 -95
  194. package/src/components/Slider.tsx +0 -315
  195. package/src/components/Spinner.tsx +0 -38
  196. package/src/components/Stack.tsx +0 -57
  197. package/src/components/Switch.tsx +0 -42
  198. package/src/components/Table.tsx +0 -99
  199. package/src/components/Tabs.tsx +0 -159
  200. package/src/components/Text.tsx +0 -67
  201. package/src/components/Textarea.tsx +0 -26
  202. package/src/components/Toast.tsx +0 -190
  203. package/src/components/ToggleGroup.tsx +0 -227
  204. package/src/components/Tooltip.tsx +0 -78
  205. package/src/contrast.ts +0 -82
  206. package/src/css.ts +0 -228
  207. package/src/define.check.ts +0 -259
  208. package/src/define.ts +0 -379
  209. package/src/field-context.ts +0 -31
  210. package/src/floating.tsx +0 -61
  211. package/src/hooks.ts +0 -19
  212. package/src/plugin.ts +0 -94
  213. package/src/reference/DesignReference.tsx +0 -374
  214. package/src/runtime.ts +0 -38
  215. package/src/themes/bloom.ts +0 -72
  216. package/src/themes/brutalist.ts +0 -63
  217. package/src/themes/compact.ts +0 -63
  218. package/src/themes/contract.ts +0 -24
  219. package/src/themes/editorial.ts +0 -55
  220. package/src/themes/index.ts +0 -47
  221. package/src/yarcl.config.ts +0 -104
  222. /package/{src/reference/index.ts → dist/reference/index.d.ts} +0 -0
  223. /package/{src → dist}/reference/reference.css +0 -0
@@ -0,0 +1,1425 @@
1
+ import { brutalist } from './brutalist';
2
+ import { compact } from './compact';
3
+ import { editorial } from './editorial';
4
+ import { bloom } from './bloom';
5
+ export type { ThemeContract } from './contract';
6
+ export { brutalist, compact, editorial, bloom };
7
+ /**
8
+ * Every bundled theme, keyed by id, including the library defaults as `yarcl`.
9
+ * All of them satisfy {@link ThemeContract}, so they're interchangeable.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * // src/yarcl.config.ts: use a theme as is
14
+ * export { editorial as default } from '@yarcl/react/themes';
15
+ * ```
16
+ *
17
+ * @example
18
+ * ```ts
19
+ * // or start from one and change what you need
20
+ * import { defineConfig } from '@yarcl/react/define';
21
+ * import { bloom } from '@yarcl/react/themes';
22
+ *
23
+ * export default defineConfig({
24
+ * ...bloom,
25
+ * colors: { ...bloom.colors, primary: { light: '#db2777', dark: '#f9a8d4' } },
26
+ * });
27
+ * ```
28
+ */
29
+ export declare const themes: {
30
+ yarcl: {
31
+ readonly colors: {
32
+ readonly primary: {
33
+ readonly light: "#2d4bb8";
34
+ readonly dark: "#8aa2ff";
35
+ };
36
+ readonly neutral: {
37
+ readonly light: "#4b5263";
38
+ readonly dark: "#a3a9b8";
39
+ };
40
+ readonly success: {
41
+ readonly light: "#15803d";
42
+ readonly dark: "#4ade80";
43
+ };
44
+ readonly warning: {
45
+ readonly light: "#b45309";
46
+ readonly dark: "#fbbf24";
47
+ };
48
+ readonly danger: {
49
+ readonly light: "#dc2626";
50
+ readonly dark: "#f87171";
51
+ };
52
+ readonly info: {
53
+ readonly light: "#0369a1";
54
+ readonly dark: "#38bdf8";
55
+ };
56
+ };
57
+ readonly neutrals: {
58
+ readonly bg: {
59
+ readonly light: "#f8f9fb";
60
+ readonly dark: "#0f1115";
61
+ };
62
+ readonly surface: {
63
+ readonly light: "#ffffff";
64
+ readonly dark: "#181b21";
65
+ };
66
+ readonly text: {
67
+ readonly light: "#101828";
68
+ readonly dark: "#e6e8ec";
69
+ };
70
+ readonly muted: {
71
+ readonly light: "#667085";
72
+ readonly dark: "#8b93a1";
73
+ };
74
+ readonly border: {
75
+ readonly light: "#d0d5dd";
76
+ readonly dark: "#2e333d";
77
+ };
78
+ };
79
+ readonly sizes: {
80
+ readonly xs: {
81
+ readonly height: "1.75rem";
82
+ readonly paddingX: "0.625rem";
83
+ readonly fontSize: "0.75rem";
84
+ readonly iconSize: "0.75rem";
85
+ };
86
+ readonly sm: {
87
+ readonly height: "2rem";
88
+ readonly paddingX: "0.75rem";
89
+ readonly fontSize: "0.8125rem";
90
+ readonly iconSize: "0.875rem";
91
+ };
92
+ readonly md: {
93
+ readonly height: "2.5rem";
94
+ readonly paddingX: "1rem";
95
+ readonly fontSize: "0.875rem";
96
+ readonly iconSize: "1rem";
97
+ };
98
+ readonly lg: {
99
+ readonly height: "3rem";
100
+ readonly paddingX: "1.25rem";
101
+ readonly fontSize: "1rem";
102
+ readonly iconSize: "1.25rem";
103
+ };
104
+ readonly xl: {
105
+ readonly height: "3.5rem";
106
+ readonly paddingX: "1.5rem";
107
+ readonly fontSize: "1.125rem";
108
+ readonly iconSize: "1.5rem";
109
+ };
110
+ };
111
+ readonly radii: {
112
+ readonly square: "0";
113
+ readonly sm: "0.25rem";
114
+ readonly md: "0.375rem";
115
+ readonly lg: "0.5rem";
116
+ readonly xl: "0.75rem";
117
+ readonly rounded: "9999px";
118
+ };
119
+ readonly variants: {
120
+ readonly solid: {
121
+ readonly background: "fill";
122
+ readonly border: "color";
123
+ readonly text: "on";
124
+ };
125
+ readonly soft: {
126
+ readonly background: "tint";
127
+ readonly border: "none";
128
+ readonly text: "color";
129
+ };
130
+ readonly outline: {
131
+ readonly background: "none";
132
+ readonly border: "color";
133
+ readonly text: "color";
134
+ };
135
+ readonly ghost: {
136
+ readonly background: "none";
137
+ readonly border: "none";
138
+ readonly text: "color";
139
+ };
140
+ };
141
+ readonly spacing: {
142
+ readonly xs: "0.25rem";
143
+ readonly sm: "0.5rem";
144
+ readonly md: "1rem";
145
+ readonly lg: "1.5rem";
146
+ readonly xl: "2rem";
147
+ };
148
+ readonly shadows: {
149
+ readonly sm: "0 1px 2px light-dark(rgb(0 0 0 / 0.08), rgb(0 0 0 / 0.5))";
150
+ readonly md: "0 4px 12px light-dark(rgb(0 0 0 / 0.12), rgb(0 0 0 / 0.6))";
151
+ readonly lg: "0 12px 32px light-dark(rgb(0 0 0 / 0.18), rgb(0 0 0 / 0.7))";
152
+ };
153
+ readonly density: {
154
+ readonly compact: {
155
+ readonly paddingX: "0.5rem";
156
+ readonly paddingY: "0.25rem";
157
+ readonly fontSize: "0.8125rem";
158
+ };
159
+ readonly comfortable: {
160
+ readonly paddingX: "0.75rem";
161
+ readonly paddingY: "0.625rem";
162
+ readonly fontSize: "0.875rem";
163
+ };
164
+ };
165
+ readonly modalSizes: {
166
+ readonly sm: "24rem";
167
+ readonly md: "32rem";
168
+ readonly lg: "48rem";
169
+ readonly xl: "64rem";
170
+ readonly full: "100vw";
171
+ };
172
+ readonly typography: {
173
+ readonly families: {
174
+ readonly sans: "system-ui, -apple-system, \"Segoe UI\", Roboto, sans-serif";
175
+ readonly mono: "ui-monospace, \"SF Mono\", Menlo, Consolas, monospace";
176
+ };
177
+ readonly styles: {
178
+ readonly display: {
179
+ readonly family: "sans";
180
+ readonly size: "2.25rem";
181
+ readonly weight: 800;
182
+ readonly lineHeight: 1.1;
183
+ readonly letterSpacing: "-0.02em";
184
+ };
185
+ readonly heading: {
186
+ readonly family: "sans";
187
+ readonly size: "1.5rem";
188
+ readonly weight: 700;
189
+ readonly lineHeight: 1.25;
190
+ readonly letterSpacing: "-0.01em";
191
+ };
192
+ readonly subheading: {
193
+ readonly family: "sans";
194
+ readonly size: "1.125rem";
195
+ readonly weight: 600;
196
+ readonly lineHeight: 1.35;
197
+ };
198
+ readonly body: {
199
+ readonly family: "sans";
200
+ readonly size: "1rem";
201
+ readonly weight: 400;
202
+ readonly lineHeight: 1.5;
203
+ };
204
+ readonly caption: {
205
+ readonly family: "sans";
206
+ readonly size: "0.8125rem";
207
+ readonly weight: 400;
208
+ readonly lineHeight: 1.4;
209
+ };
210
+ readonly code: {
211
+ readonly family: "mono";
212
+ readonly size: "0.875rem";
213
+ readonly weight: 400;
214
+ readonly lineHeight: 1.5;
215
+ };
216
+ readonly label: {
217
+ readonly family: "sans";
218
+ readonly size: "0.875rem";
219
+ readonly weight: 500;
220
+ readonly lineHeight: 1.4;
221
+ };
222
+ };
223
+ readonly headings: {
224
+ readonly h1: "display";
225
+ readonly h2: "heading";
226
+ readonly h3: "subheading";
227
+ readonly h4: "subheading";
228
+ readonly h5: "label";
229
+ readonly h6: "label";
230
+ };
231
+ };
232
+ readonly zIndex: {
233
+ readonly dropdown: 1000;
234
+ readonly tooltip: 1100;
235
+ readonly dialog: 1200;
236
+ readonly toast: 1300;
237
+ };
238
+ readonly motion: {
239
+ readonly fast: "120ms";
240
+ readonly base: "200ms";
241
+ readonly easing: "cubic-bezier(0.2, 0, 0, 1)";
242
+ };
243
+ readonly timing: {
244
+ readonly tooltipDelay: 400;
245
+ readonly hoverOpenDelay: 300;
246
+ readonly hoverCloseDelay: 150;
247
+ readonly toastDuration: 5000;
248
+ };
249
+ readonly borders: {
250
+ readonly width: "1px";
251
+ };
252
+ readonly focusRing: {
253
+ readonly width: "2px";
254
+ readonly offset: "2px";
255
+ readonly color: "primary";
256
+ };
257
+ readonly defaults: {
258
+ readonly size: "md";
259
+ readonly radius: "md";
260
+ readonly color: "primary";
261
+ readonly variant: "solid";
262
+ readonly errorColor: "danger";
263
+ readonly textStyle: "body";
264
+ readonly labelStyle: "label";
265
+ readonly helperStyle: "caption";
266
+ readonly gap: "md";
267
+ readonly padding: "lg";
268
+ readonly floatingShadow: "md";
269
+ readonly density: "comfortable";
270
+ readonly softVariant: "soft";
271
+ readonly modalSize: "md";
272
+ };
273
+ readonly components: {
274
+ readonly Avatar: {
275
+ readonly radius: "rounded";
276
+ };
277
+ readonly EmptyState: {
278
+ readonly color: "neutral";
279
+ readonly gap: "sm";
280
+ readonly padding: "lg";
281
+ readonly textStyle: "body";
282
+ };
283
+ readonly Alert: {
284
+ readonly gap: "sm";
285
+ readonly padding: "md";
286
+ readonly textStyle: "label";
287
+ };
288
+ readonly Drawer: {
289
+ readonly size: "sm";
290
+ };
291
+ readonly Tooltip: {
292
+ readonly radius: "md";
293
+ readonly padding: "sm";
294
+ readonly textStyle: "caption";
295
+ };
296
+ readonly Toast: {
297
+ readonly radius: "lg";
298
+ readonly gap: "sm";
299
+ readonly padding: "md";
300
+ readonly textStyle: "label";
301
+ };
302
+ };
303
+ };
304
+ brutalist: {
305
+ readonly colors: {
306
+ readonly primary: {
307
+ readonly light: "#ff3d2e";
308
+ readonly dark: "#ff5a4d";
309
+ };
310
+ readonly neutral: {
311
+ readonly light: "#1a1a1a";
312
+ readonly dark: "#f5f5f5";
313
+ };
314
+ readonly success: {
315
+ readonly light: "#00b862";
316
+ readonly dark: "#3dfc9a";
317
+ };
318
+ readonly warning: {
319
+ readonly light: "#ff8a00";
320
+ readonly dark: "#ffb14a";
321
+ };
322
+ readonly danger: {
323
+ readonly light: "#c2005a";
324
+ readonly dark: "#ff5ca1";
325
+ };
326
+ readonly info: {
327
+ readonly light: "#2f6bff";
328
+ readonly dark: "#7aa2ff";
329
+ };
330
+ };
331
+ readonly neutrals: {
332
+ readonly bg: {
333
+ readonly light: "#fffdf2";
334
+ readonly dark: "#0f0f0f";
335
+ };
336
+ readonly surface: {
337
+ readonly light: "#ffffff";
338
+ readonly dark: "#1a1a1a";
339
+ };
340
+ readonly text: {
341
+ readonly light: "#000000";
342
+ readonly dark: "#ffffff";
343
+ };
344
+ readonly muted: {
345
+ readonly light: "#3d3d3d";
346
+ readonly dark: "#cfcfcf";
347
+ };
348
+ readonly border: {
349
+ readonly light: "#000000";
350
+ readonly dark: "#ffffff";
351
+ };
352
+ };
353
+ readonly sizes: {
354
+ readonly xs: {
355
+ readonly height: "1.75rem";
356
+ readonly paddingX: "0.625rem";
357
+ readonly fontSize: "0.75rem";
358
+ readonly iconSize: "0.75rem";
359
+ };
360
+ readonly sm: {
361
+ readonly height: "2rem";
362
+ readonly paddingX: "0.75rem";
363
+ readonly fontSize: "0.8125rem";
364
+ readonly iconSize: "0.875rem";
365
+ };
366
+ readonly md: {
367
+ readonly height: "2.5rem";
368
+ readonly paddingX: "1rem";
369
+ readonly fontSize: "0.875rem";
370
+ readonly iconSize: "1rem";
371
+ };
372
+ readonly lg: {
373
+ readonly height: "3rem";
374
+ readonly paddingX: "1.25rem";
375
+ readonly fontSize: "1rem";
376
+ readonly iconSize: "1.25rem";
377
+ };
378
+ readonly xl: {
379
+ readonly height: "3.5rem";
380
+ readonly paddingX: "1.5rem";
381
+ readonly fontSize: "1.125rem";
382
+ readonly iconSize: "1.5rem";
383
+ };
384
+ };
385
+ readonly radii: {
386
+ readonly square: "0";
387
+ readonly sm: "0";
388
+ readonly md: "0";
389
+ readonly lg: "0";
390
+ readonly xl: "0";
391
+ readonly rounded: "9999px";
392
+ };
393
+ readonly variants: {
394
+ readonly solid: {
395
+ readonly background: "fill";
396
+ readonly border: "neutral";
397
+ readonly text: "on";
398
+ };
399
+ readonly soft: {
400
+ readonly background: "tint";
401
+ readonly border: "neutral";
402
+ readonly text: "neutral";
403
+ };
404
+ readonly outline: {
405
+ readonly background: "none";
406
+ readonly border: "neutral";
407
+ readonly text: "neutral";
408
+ };
409
+ readonly ghost: {
410
+ readonly background: "none";
411
+ readonly border: "none";
412
+ readonly text: "neutral";
413
+ };
414
+ };
415
+ readonly shadows: {
416
+ readonly sm: "3px 3px 0 0 light-dark(#000000, #ffffff)";
417
+ readonly md: "5px 5px 0 0 light-dark(#000000, #ffffff)";
418
+ readonly lg: "8px 8px 0 0 light-dark(#000000, #ffffff)";
419
+ };
420
+ readonly borders: {
421
+ readonly width: "2px";
422
+ };
423
+ readonly typography: {
424
+ readonly families: {
425
+ readonly sans: "\"JetBrains Mono\", \"SF Mono\", ui-monospace, Menlo, Consolas, monospace";
426
+ readonly mono: "\"JetBrains Mono\", \"SF Mono\", ui-monospace, Menlo, Consolas, monospace";
427
+ };
428
+ readonly styles: {
429
+ readonly display: {
430
+ readonly family: "sans";
431
+ readonly size: "2.5rem";
432
+ readonly weight: 800;
433
+ readonly lineHeight: 1;
434
+ readonly letterSpacing: "-0.04em";
435
+ };
436
+ readonly heading: {
437
+ readonly family: "sans";
438
+ readonly size: "1.5rem";
439
+ readonly weight: 800;
440
+ readonly lineHeight: 1.15;
441
+ readonly letterSpacing: "-0.02em";
442
+ };
443
+ readonly subheading: {
444
+ readonly family: "sans";
445
+ readonly size: "1.125rem";
446
+ readonly weight: 700;
447
+ readonly lineHeight: 1.3;
448
+ };
449
+ readonly body: {
450
+ readonly family: "sans";
451
+ readonly size: "0.875rem";
452
+ readonly weight: 400;
453
+ readonly lineHeight: 1.55;
454
+ };
455
+ readonly caption: {
456
+ readonly family: "sans";
457
+ readonly size: "0.75rem";
458
+ readonly weight: 400;
459
+ readonly lineHeight: 1.45;
460
+ };
461
+ readonly code: {
462
+ readonly family: "mono";
463
+ readonly size: "0.8125rem";
464
+ readonly weight: 400;
465
+ readonly lineHeight: 1.5;
466
+ };
467
+ readonly label: {
468
+ readonly family: "sans";
469
+ readonly size: "0.8125rem";
470
+ readonly weight: 700;
471
+ readonly lineHeight: 1.4;
472
+ readonly letterSpacing: "0.04em";
473
+ };
474
+ };
475
+ readonly headings: {
476
+ readonly h1: "display";
477
+ readonly h2: "heading";
478
+ readonly h3: "heading";
479
+ readonly h4: "subheading";
480
+ readonly h5: "subheading";
481
+ readonly h6: "label";
482
+ };
483
+ };
484
+ readonly focusRing: {
485
+ readonly width: "3px";
486
+ readonly offset: "3px";
487
+ readonly color: "neutral";
488
+ readonly style: "dashed";
489
+ };
490
+ readonly defaults: {
491
+ readonly radius: "md";
492
+ readonly padding: "lg";
493
+ readonly floatingShadow: "md";
494
+ readonly size: "md";
495
+ readonly color: "primary";
496
+ readonly variant: "solid";
497
+ readonly errorColor: "danger";
498
+ readonly textStyle: "body";
499
+ readonly labelStyle: "label";
500
+ readonly helperStyle: "caption";
501
+ readonly gap: "md";
502
+ readonly density: "comfortable";
503
+ readonly softVariant: "soft";
504
+ readonly modalSize: "md";
505
+ };
506
+ readonly spacing: {
507
+ readonly xs: "0.25rem";
508
+ readonly sm: "0.5rem";
509
+ readonly md: "1rem";
510
+ readonly lg: "1.5rem";
511
+ readonly xl: "2rem";
512
+ };
513
+ readonly density: {
514
+ readonly compact: {
515
+ readonly paddingX: "0.5rem";
516
+ readonly paddingY: "0.25rem";
517
+ readonly fontSize: "0.8125rem";
518
+ };
519
+ readonly comfortable: {
520
+ readonly paddingX: "0.75rem";
521
+ readonly paddingY: "0.625rem";
522
+ readonly fontSize: "0.875rem";
523
+ };
524
+ };
525
+ readonly modalSizes: {
526
+ readonly sm: "24rem";
527
+ readonly md: "32rem";
528
+ readonly lg: "48rem";
529
+ readonly xl: "64rem";
530
+ readonly full: "100vw";
531
+ };
532
+ readonly zIndex: {
533
+ readonly dropdown: 1000;
534
+ readonly tooltip: 1100;
535
+ readonly dialog: 1200;
536
+ readonly toast: 1300;
537
+ };
538
+ readonly motion: {
539
+ readonly fast: "120ms";
540
+ readonly base: "200ms";
541
+ readonly easing: "cubic-bezier(0.2, 0, 0, 1)";
542
+ };
543
+ readonly timing: {
544
+ readonly tooltipDelay: 400;
545
+ readonly hoverOpenDelay: 300;
546
+ readonly hoverCloseDelay: 150;
547
+ readonly toastDuration: 5000;
548
+ };
549
+ readonly components: {
550
+ readonly Avatar: {
551
+ readonly radius: "rounded";
552
+ };
553
+ readonly EmptyState: {
554
+ readonly color: "neutral";
555
+ readonly gap: "sm";
556
+ readonly padding: "lg";
557
+ readonly textStyle: "body";
558
+ };
559
+ readonly Alert: {
560
+ readonly gap: "sm";
561
+ readonly padding: "md";
562
+ readonly textStyle: "label";
563
+ };
564
+ readonly Drawer: {
565
+ readonly size: "sm";
566
+ };
567
+ readonly Tooltip: {
568
+ readonly radius: "md";
569
+ readonly padding: "sm";
570
+ readonly textStyle: "caption";
571
+ };
572
+ readonly Toast: {
573
+ readonly radius: "lg";
574
+ readonly gap: "sm";
575
+ readonly padding: "md";
576
+ readonly textStyle: "label";
577
+ };
578
+ };
579
+ };
580
+ bloom: {
581
+ readonly colors: {
582
+ readonly primary: {
583
+ readonly light: "#7c3aed";
584
+ readonly dark: "#c4b5fd";
585
+ };
586
+ readonly neutral: {
587
+ readonly light: "#6b6485";
588
+ readonly dark: "#b5aecf";
589
+ };
590
+ readonly success: {
591
+ readonly light: "#0f8a5f";
592
+ readonly dark: "#5eead4";
593
+ };
594
+ readonly warning: {
595
+ readonly light: "#c2410c";
596
+ readonly dark: "#fdba74";
597
+ };
598
+ readonly danger: {
599
+ readonly light: "#e11d48";
600
+ readonly dark: "#fb7185";
601
+ };
602
+ readonly info: {
603
+ readonly light: "#0369a1";
604
+ readonly dark: "#7dd3fc";
605
+ };
606
+ };
607
+ readonly neutrals: {
608
+ readonly bg: {
609
+ readonly light: "#f7f4ff";
610
+ readonly dark: "#14111f";
611
+ };
612
+ readonly surface: {
613
+ readonly light: "#ffffff";
614
+ readonly dark: "#1f1a30";
615
+ };
616
+ readonly text: {
617
+ readonly light: "#2a2540";
618
+ readonly dark: "#efeafc";
619
+ };
620
+ readonly muted: {
621
+ readonly light: "#6b6485";
622
+ readonly dark: "#aaa3c4";
623
+ };
624
+ readonly border: {
625
+ readonly light: "#e6dff7";
626
+ readonly dark: "#342c4d";
627
+ };
628
+ };
629
+ readonly sizes: {
630
+ readonly xs: {
631
+ readonly height: "2rem";
632
+ readonly paddingX: "0.875rem";
633
+ readonly fontSize: "0.8125rem";
634
+ readonly iconSize: "0.875rem";
635
+ };
636
+ readonly sm: {
637
+ readonly height: "2.25rem";
638
+ readonly paddingX: "1rem";
639
+ readonly fontSize: "0.875rem";
640
+ readonly iconSize: "1rem";
641
+ };
642
+ readonly md: {
643
+ readonly height: "2.75rem";
644
+ readonly paddingX: "1.25rem";
645
+ readonly fontSize: "0.9375rem";
646
+ readonly iconSize: "1.125rem";
647
+ };
648
+ readonly lg: {
649
+ readonly height: "3.25rem";
650
+ readonly paddingX: "1.625rem";
651
+ readonly fontSize: "1.0625rem";
652
+ readonly iconSize: "1.25rem";
653
+ };
654
+ readonly xl: {
655
+ readonly height: "3.75rem";
656
+ readonly paddingX: "2rem";
657
+ readonly fontSize: "1.1875rem";
658
+ readonly iconSize: "1.5rem";
659
+ };
660
+ };
661
+ readonly radii: {
662
+ readonly square: "0";
663
+ readonly sm: "0.75rem";
664
+ readonly md: "1rem";
665
+ readonly lg: "1.5rem";
666
+ readonly xl: "2rem";
667
+ readonly rounded: "9999px";
668
+ };
669
+ readonly spacing: {
670
+ readonly xs: "0.375rem";
671
+ readonly sm: "0.75rem";
672
+ readonly md: "1.25rem";
673
+ readonly lg: "1.75rem";
674
+ readonly xl: "2.5rem";
675
+ };
676
+ readonly shadows: {
677
+ readonly sm: string;
678
+ readonly md: string;
679
+ readonly lg: string;
680
+ };
681
+ readonly density: {
682
+ readonly compact: {
683
+ readonly paddingX: "0.75rem";
684
+ readonly paddingY: "0.5rem";
685
+ readonly fontSize: "0.875rem";
686
+ };
687
+ readonly comfortable: {
688
+ readonly paddingX: "1.25rem";
689
+ readonly paddingY: "0.875rem";
690
+ readonly fontSize: "0.9375rem";
691
+ };
692
+ };
693
+ readonly typography: {
694
+ readonly families: {
695
+ readonly sans: "Nunito, \"SF Pro Rounded\", ui-rounded, \"Varela Round\", system-ui, sans-serif";
696
+ readonly mono: "ui-monospace, \"SF Mono\", Menlo, Consolas, monospace";
697
+ };
698
+ readonly styles: {
699
+ readonly display: {
700
+ readonly family: "sans";
701
+ readonly size: "2.5rem";
702
+ readonly weight: 800;
703
+ readonly lineHeight: 1.1;
704
+ readonly letterSpacing: "-0.02em";
705
+ };
706
+ readonly heading: {
707
+ readonly family: "sans";
708
+ readonly size: "1.625rem";
709
+ readonly weight: 800;
710
+ readonly lineHeight: 1.2;
711
+ };
712
+ readonly subheading: {
713
+ readonly family: "sans";
714
+ readonly size: "1.1875rem";
715
+ readonly weight: 700;
716
+ readonly lineHeight: 1.35;
717
+ };
718
+ readonly body: {
719
+ readonly family: "sans";
720
+ readonly size: "1rem";
721
+ readonly weight: 500;
722
+ readonly lineHeight: 1.55;
723
+ };
724
+ readonly caption: {
725
+ readonly family: "sans";
726
+ readonly size: "0.8125rem";
727
+ readonly weight: 500;
728
+ readonly lineHeight: 1.45;
729
+ };
730
+ readonly code: {
731
+ readonly family: "mono";
732
+ readonly size: "0.875rem";
733
+ readonly weight: 400;
734
+ readonly lineHeight: 1.5;
735
+ };
736
+ readonly label: {
737
+ readonly family: "sans";
738
+ readonly size: "0.9375rem";
739
+ readonly weight: 700;
740
+ readonly lineHeight: 1.4;
741
+ };
742
+ };
743
+ readonly headings: {
744
+ readonly h1: "display";
745
+ readonly h2: "heading";
746
+ readonly h3: "heading";
747
+ readonly h4: "subheading";
748
+ readonly h5: "subheading";
749
+ readonly h6: "label";
750
+ };
751
+ };
752
+ readonly focusRing: {
753
+ readonly width: "3px";
754
+ readonly offset: "3px";
755
+ readonly color: "primary";
756
+ };
757
+ readonly components: {
758
+ readonly Button: {
759
+ readonly radius: "rounded";
760
+ };
761
+ readonly IconButton: {
762
+ readonly radius: "rounded";
763
+ };
764
+ readonly ToggleGroup: {
765
+ readonly radius: "rounded";
766
+ };
767
+ readonly Badge: {
768
+ readonly radius: "rounded";
769
+ };
770
+ readonly Input: {
771
+ readonly radius: "rounded";
772
+ };
773
+ readonly Select: {
774
+ readonly radius: "rounded";
775
+ };
776
+ readonly Combobox: {
777
+ readonly radius: "rounded";
778
+ };
779
+ readonly Avatar: {
780
+ readonly radius: "rounded";
781
+ };
782
+ readonly EmptyState: {
783
+ readonly color: "neutral";
784
+ readonly gap: "sm";
785
+ readonly padding: "lg";
786
+ readonly textStyle: "body";
787
+ };
788
+ readonly Alert: {
789
+ readonly gap: "sm";
790
+ readonly padding: "md";
791
+ readonly textStyle: "label";
792
+ };
793
+ readonly Drawer: {
794
+ readonly size: "sm";
795
+ };
796
+ readonly Tooltip: {
797
+ readonly radius: "md";
798
+ readonly padding: "sm";
799
+ readonly textStyle: "caption";
800
+ };
801
+ readonly Toast: {
802
+ readonly radius: "lg";
803
+ readonly gap: "sm";
804
+ readonly padding: "md";
805
+ readonly textStyle: "label";
806
+ };
807
+ };
808
+ readonly defaults: {
809
+ readonly radius: "lg";
810
+ readonly padding: "lg";
811
+ readonly gap: "md";
812
+ readonly size: "md";
813
+ readonly color: "primary";
814
+ readonly variant: "solid";
815
+ readonly errorColor: "danger";
816
+ readonly textStyle: "body";
817
+ readonly labelStyle: "label";
818
+ readonly helperStyle: "caption";
819
+ readonly floatingShadow: "md";
820
+ readonly density: "comfortable";
821
+ readonly softVariant: "soft";
822
+ readonly modalSize: "md";
823
+ };
824
+ readonly variants: {
825
+ readonly solid: {
826
+ readonly background: "fill";
827
+ readonly border: "color";
828
+ readonly text: "on";
829
+ };
830
+ readonly soft: {
831
+ readonly background: "tint";
832
+ readonly border: "none";
833
+ readonly text: "color";
834
+ };
835
+ readonly outline: {
836
+ readonly background: "none";
837
+ readonly border: "color";
838
+ readonly text: "color";
839
+ };
840
+ readonly ghost: {
841
+ readonly background: "none";
842
+ readonly border: "none";
843
+ readonly text: "color";
844
+ };
845
+ };
846
+ readonly modalSizes: {
847
+ readonly sm: "24rem";
848
+ readonly md: "32rem";
849
+ readonly lg: "48rem";
850
+ readonly xl: "64rem";
851
+ readonly full: "100vw";
852
+ };
853
+ readonly zIndex: {
854
+ readonly dropdown: 1000;
855
+ readonly tooltip: 1100;
856
+ readonly dialog: 1200;
857
+ readonly toast: 1300;
858
+ };
859
+ readonly motion: {
860
+ readonly fast: "120ms";
861
+ readonly base: "200ms";
862
+ readonly easing: "cubic-bezier(0.2, 0, 0, 1)";
863
+ };
864
+ readonly timing: {
865
+ readonly tooltipDelay: 400;
866
+ readonly hoverOpenDelay: 300;
867
+ readonly hoverCloseDelay: 150;
868
+ readonly toastDuration: 5000;
869
+ };
870
+ readonly borders: {
871
+ readonly width: "1px";
872
+ };
873
+ };
874
+ compact: {
875
+ readonly colors: {
876
+ readonly primary: {
877
+ readonly light: "#0f766e";
878
+ readonly dark: "#2dd4bf";
879
+ };
880
+ readonly neutral: {
881
+ readonly light: "#52606d";
882
+ readonly dark: "#9aa5b1";
883
+ };
884
+ readonly success: {
885
+ readonly light: "#15803d";
886
+ readonly dark: "#4ade80";
887
+ };
888
+ readonly warning: {
889
+ readonly light: "#a16207";
890
+ readonly dark: "#facc15";
891
+ };
892
+ readonly danger: {
893
+ readonly light: "#b91c1c";
894
+ readonly dark: "#f87171";
895
+ };
896
+ readonly info: {
897
+ readonly light: "#1d4ed8";
898
+ readonly dark: "#60a5fa";
899
+ };
900
+ };
901
+ readonly neutrals: {
902
+ readonly bg: {
903
+ readonly light: "#eef1f4";
904
+ readonly dark: "#0b0f14";
905
+ };
906
+ readonly surface: {
907
+ readonly light: "#ffffff";
908
+ readonly dark: "#141a21";
909
+ };
910
+ readonly text: {
911
+ readonly light: "#1f2933";
912
+ readonly dark: "#e4e7eb";
913
+ };
914
+ readonly muted: {
915
+ readonly light: "#52606d";
916
+ readonly dark: "#9aa5b1";
917
+ };
918
+ readonly border: {
919
+ readonly light: "#cbd2d9";
920
+ readonly dark: "#2a333d";
921
+ };
922
+ };
923
+ readonly sizes: {
924
+ readonly xs: {
925
+ readonly height: "1.25rem";
926
+ readonly paddingX: "0.375rem";
927
+ readonly fontSize: "0.6875rem";
928
+ readonly iconSize: "0.75rem";
929
+ };
930
+ readonly sm: {
931
+ readonly height: "1.5rem";
932
+ readonly paddingX: "0.5rem";
933
+ readonly fontSize: "0.75rem";
934
+ readonly iconSize: "0.75rem";
935
+ };
936
+ readonly md: {
937
+ readonly height: "1.75rem";
938
+ readonly paddingX: "0.625rem";
939
+ readonly fontSize: "0.8125rem";
940
+ readonly iconSize: "0.875rem";
941
+ };
942
+ readonly lg: {
943
+ readonly height: "2.25rem";
944
+ readonly paddingX: "0.875rem";
945
+ readonly fontSize: "0.875rem";
946
+ readonly iconSize: "1rem";
947
+ };
948
+ readonly xl: {
949
+ readonly height: "2.75rem";
950
+ readonly paddingX: "1rem";
951
+ readonly fontSize: "1rem";
952
+ readonly iconSize: "1.125rem";
953
+ };
954
+ };
955
+ readonly radii: {
956
+ readonly square: "0";
957
+ readonly sm: "2px";
958
+ readonly md: "3px";
959
+ readonly lg: "4px";
960
+ readonly xl: "6px";
961
+ readonly rounded: "9999px";
962
+ };
963
+ readonly variants: {
964
+ readonly outline: {
965
+ readonly background: "none";
966
+ readonly border: "neutral";
967
+ readonly text: "neutral";
968
+ };
969
+ readonly solid: {
970
+ readonly background: "fill";
971
+ readonly border: "color";
972
+ readonly text: "on";
973
+ };
974
+ readonly soft: {
975
+ readonly background: "tint";
976
+ readonly border: "none";
977
+ readonly text: "color";
978
+ };
979
+ readonly ghost: {
980
+ readonly background: "none";
981
+ readonly border: "none";
982
+ readonly text: "color";
983
+ };
984
+ };
985
+ readonly spacing: {
986
+ readonly xs: "0.125rem";
987
+ readonly sm: "0.25rem";
988
+ readonly md: "0.5rem";
989
+ readonly lg: "0.75rem";
990
+ readonly xl: "1rem";
991
+ };
992
+ readonly shadows: {
993
+ readonly sm: "0 1px 0 light-dark(rgb(15 23 42 / 0.05), rgb(0 0 0 / 0.4))";
994
+ readonly md: "0 2px 8px light-dark(rgb(15 23 42 / 0.14), rgb(0 0 0 / 0.55))";
995
+ readonly lg: "0 8px 24px light-dark(rgb(15 23 42 / 0.18), rgb(0 0 0 / 0.6))";
996
+ };
997
+ readonly density: {
998
+ readonly compact: {
999
+ readonly paddingX: "0.5rem";
1000
+ readonly paddingY: "0.25rem";
1001
+ readonly fontSize: "0.75rem";
1002
+ };
1003
+ readonly comfortable: {
1004
+ readonly paddingX: "0.625rem";
1005
+ readonly paddingY: "0.375rem";
1006
+ readonly fontSize: "0.8125rem";
1007
+ };
1008
+ };
1009
+ readonly typography: {
1010
+ readonly families: {
1011
+ readonly sans: "\"IBM Plex Sans\", \"Segoe UI\", system-ui, -apple-system, sans-serif";
1012
+ readonly mono: "\"IBM Plex Mono\", ui-monospace, Menlo, Consolas, monospace";
1013
+ };
1014
+ readonly styles: {
1015
+ readonly display: {
1016
+ readonly family: "sans";
1017
+ readonly size: "1.5rem";
1018
+ readonly weight: 600;
1019
+ readonly lineHeight: 1.25;
1020
+ };
1021
+ readonly heading: {
1022
+ readonly family: "sans";
1023
+ readonly size: "1.125rem";
1024
+ readonly weight: 600;
1025
+ readonly lineHeight: 1.3;
1026
+ };
1027
+ readonly subheading: {
1028
+ readonly family: "sans";
1029
+ readonly size: "0.9375rem";
1030
+ readonly weight: 600;
1031
+ readonly lineHeight: 1.35;
1032
+ };
1033
+ readonly body: {
1034
+ readonly family: "sans";
1035
+ readonly size: "0.8125rem";
1036
+ readonly weight: 400;
1037
+ readonly lineHeight: 1.45;
1038
+ };
1039
+ readonly caption: {
1040
+ readonly family: "sans";
1041
+ readonly size: "0.75rem";
1042
+ readonly weight: 400;
1043
+ readonly lineHeight: 1.4;
1044
+ };
1045
+ readonly code: {
1046
+ readonly family: "mono";
1047
+ readonly size: "0.75rem";
1048
+ readonly weight: 400;
1049
+ readonly lineHeight: 1.45;
1050
+ };
1051
+ readonly label: {
1052
+ readonly family: "sans";
1053
+ readonly size: "0.75rem";
1054
+ readonly weight: 600;
1055
+ readonly lineHeight: 1.35;
1056
+ readonly letterSpacing: "0.02em";
1057
+ };
1058
+ };
1059
+ readonly headings: {
1060
+ readonly h1: "display";
1061
+ readonly h2: "heading";
1062
+ readonly h3: "heading";
1063
+ readonly h4: "subheading";
1064
+ readonly h5: "subheading";
1065
+ readonly h6: "label";
1066
+ };
1067
+ };
1068
+ readonly focusRing: {
1069
+ readonly width: "2px";
1070
+ readonly offset: "1px";
1071
+ readonly color: "info";
1072
+ };
1073
+ readonly defaults: {
1074
+ readonly radius: "sm";
1075
+ readonly padding: "lg";
1076
+ readonly gap: "md";
1077
+ readonly density: "compact";
1078
+ readonly size: "md";
1079
+ readonly color: "primary";
1080
+ readonly variant: "solid";
1081
+ readonly errorColor: "danger";
1082
+ readonly textStyle: "body";
1083
+ readonly labelStyle: "label";
1084
+ readonly helperStyle: "caption";
1085
+ readonly floatingShadow: "md";
1086
+ readonly softVariant: "soft";
1087
+ readonly modalSize: "md";
1088
+ };
1089
+ readonly modalSizes: {
1090
+ readonly sm: "24rem";
1091
+ readonly md: "32rem";
1092
+ readonly lg: "48rem";
1093
+ readonly xl: "64rem";
1094
+ readonly full: "100vw";
1095
+ };
1096
+ readonly zIndex: {
1097
+ readonly dropdown: 1000;
1098
+ readonly tooltip: 1100;
1099
+ readonly dialog: 1200;
1100
+ readonly toast: 1300;
1101
+ };
1102
+ readonly motion: {
1103
+ readonly fast: "120ms";
1104
+ readonly base: "200ms";
1105
+ readonly easing: "cubic-bezier(0.2, 0, 0, 1)";
1106
+ };
1107
+ readonly timing: {
1108
+ readonly tooltipDelay: 400;
1109
+ readonly hoverOpenDelay: 300;
1110
+ readonly hoverCloseDelay: 150;
1111
+ readonly toastDuration: 5000;
1112
+ };
1113
+ readonly borders: {
1114
+ readonly width: "1px";
1115
+ };
1116
+ readonly components: {
1117
+ readonly Avatar: {
1118
+ readonly radius: "rounded";
1119
+ };
1120
+ readonly EmptyState: {
1121
+ readonly color: "neutral";
1122
+ readonly gap: "sm";
1123
+ readonly padding: "lg";
1124
+ readonly textStyle: "body";
1125
+ };
1126
+ readonly Alert: {
1127
+ readonly gap: "sm";
1128
+ readonly padding: "md";
1129
+ readonly textStyle: "label";
1130
+ };
1131
+ readonly Drawer: {
1132
+ readonly size: "sm";
1133
+ };
1134
+ readonly Tooltip: {
1135
+ readonly radius: "md";
1136
+ readonly padding: "sm";
1137
+ readonly textStyle: "caption";
1138
+ };
1139
+ readonly Toast: {
1140
+ readonly radius: "lg";
1141
+ readonly gap: "sm";
1142
+ readonly padding: "md";
1143
+ readonly textStyle: "label";
1144
+ };
1145
+ };
1146
+ };
1147
+ editorial: {
1148
+ readonly colors: {
1149
+ readonly primary: {
1150
+ readonly light: "#9a3412";
1151
+ readonly dark: "#fb923c";
1152
+ };
1153
+ readonly neutral: {
1154
+ readonly light: "#57534e";
1155
+ readonly dark: "#a8a29e";
1156
+ };
1157
+ readonly success: {
1158
+ readonly light: "#3f6212";
1159
+ readonly dark: "#a3e635";
1160
+ };
1161
+ readonly warning: {
1162
+ readonly light: "#a16207";
1163
+ readonly dark: "#fcd34d";
1164
+ };
1165
+ readonly danger: {
1166
+ readonly light: "#9f1239";
1167
+ readonly dark: "#fda4af";
1168
+ };
1169
+ readonly info: {
1170
+ readonly light: "#1e3a8a";
1171
+ readonly dark: "#93c5fd";
1172
+ };
1173
+ };
1174
+ readonly neutrals: {
1175
+ readonly bg: {
1176
+ readonly light: "#f6f1e7";
1177
+ readonly dark: "#1c1917";
1178
+ };
1179
+ readonly surface: {
1180
+ readonly light: "#fffdf8";
1181
+ readonly dark: "#262220";
1182
+ };
1183
+ readonly text: {
1184
+ readonly light: "#1c1917";
1185
+ readonly dark: "#f5efe3";
1186
+ };
1187
+ readonly muted: {
1188
+ readonly light: "#57534e";
1189
+ readonly dark: "#aaa39b";
1190
+ };
1191
+ readonly border: {
1192
+ readonly light: "#d6cdbd";
1193
+ readonly dark: "#48413b";
1194
+ };
1195
+ };
1196
+ readonly sizes: {
1197
+ readonly xs: {
1198
+ readonly height: "1.75rem";
1199
+ readonly paddingX: "0.75rem";
1200
+ readonly fontSize: "0.8125rem";
1201
+ readonly iconSize: "0.75rem";
1202
+ };
1203
+ readonly sm: {
1204
+ readonly height: "2rem";
1205
+ readonly paddingX: "0.875rem";
1206
+ readonly fontSize: "0.875rem";
1207
+ readonly iconSize: "0.875rem";
1208
+ };
1209
+ readonly md: {
1210
+ readonly height: "2.625rem";
1211
+ readonly paddingX: "1.375rem";
1212
+ readonly fontSize: "1rem";
1213
+ readonly iconSize: "1rem";
1214
+ };
1215
+ readonly lg: {
1216
+ readonly height: "3.25rem";
1217
+ readonly paddingX: "1.75rem";
1218
+ readonly fontSize: "1.0625rem";
1219
+ readonly iconSize: "1.25rem";
1220
+ };
1221
+ readonly xl: {
1222
+ readonly height: "3.875rem";
1223
+ readonly paddingX: "2.125rem";
1224
+ readonly fontSize: "1.1875rem";
1225
+ readonly iconSize: "1.375rem";
1226
+ };
1227
+ };
1228
+ readonly radii: {
1229
+ readonly square: "0";
1230
+ readonly sm: "1px";
1231
+ readonly md: "2px";
1232
+ readonly lg: "3px";
1233
+ readonly xl: "4px";
1234
+ readonly rounded: "9999px";
1235
+ };
1236
+ readonly spacing: {
1237
+ readonly xs: "0.375rem";
1238
+ readonly sm: "0.75rem";
1239
+ readonly md: "1.25rem";
1240
+ readonly lg: "2rem";
1241
+ readonly xl: "3rem";
1242
+ };
1243
+ readonly shadows: {
1244
+ readonly sm: "none";
1245
+ readonly md: "0 18px 40px -18px light-dark(rgb(68 44 20 / 0.35), rgb(0 0 0 / 0.75))";
1246
+ readonly lg: "0 30px 60px -20px light-dark(rgb(68 44 20 / 0.4), rgb(0 0 0 / 0.8))";
1247
+ };
1248
+ readonly typography: {
1249
+ readonly families: {
1250
+ readonly sans: "\"Helvetica Neue\", Helvetica, \"Inter\", \"Segoe UI\", Arial, sans-serif";
1251
+ readonly mono: "ui-monospace, \"SF Mono\", Menlo, Consolas, monospace";
1252
+ };
1253
+ readonly styles: {
1254
+ readonly display: {
1255
+ readonly family: "sans";
1256
+ readonly size: "2.75rem";
1257
+ readonly weight: 300;
1258
+ readonly lineHeight: 1.05;
1259
+ readonly letterSpacing: "-0.03em";
1260
+ };
1261
+ readonly heading: {
1262
+ readonly family: "sans";
1263
+ readonly size: "1.75rem";
1264
+ readonly weight: 300;
1265
+ readonly lineHeight: 1.2;
1266
+ readonly letterSpacing: "-0.015em";
1267
+ };
1268
+ readonly subheading: {
1269
+ readonly family: "sans";
1270
+ readonly size: "1.25rem";
1271
+ readonly weight: 600;
1272
+ readonly lineHeight: 1.3;
1273
+ };
1274
+ readonly body: {
1275
+ readonly family: "sans";
1276
+ readonly size: "1rem";
1277
+ readonly weight: 400;
1278
+ readonly lineHeight: 1.6;
1279
+ };
1280
+ readonly caption: {
1281
+ readonly family: "sans";
1282
+ readonly size: "0.875rem";
1283
+ readonly weight: 400;
1284
+ readonly lineHeight: 1.5;
1285
+ };
1286
+ readonly code: {
1287
+ readonly family: "mono";
1288
+ readonly size: "0.875rem";
1289
+ readonly weight: 400;
1290
+ readonly lineHeight: 1.5;
1291
+ };
1292
+ readonly label: {
1293
+ readonly family: "sans";
1294
+ readonly size: "0.8125rem";
1295
+ readonly weight: 700;
1296
+ readonly lineHeight: 1.4;
1297
+ readonly letterSpacing: "0.08em";
1298
+ };
1299
+ };
1300
+ readonly headings: {
1301
+ readonly h1: "display";
1302
+ readonly h2: "heading";
1303
+ readonly h3: "heading";
1304
+ readonly h4: "subheading";
1305
+ readonly h5: "subheading";
1306
+ readonly h6: "label";
1307
+ };
1308
+ };
1309
+ readonly focusRing: {
1310
+ readonly width: "3px";
1311
+ readonly offset: "3px";
1312
+ readonly color: "primary";
1313
+ readonly style: "double";
1314
+ };
1315
+ readonly defaults: {
1316
+ readonly radius: "square";
1317
+ readonly padding: "lg";
1318
+ readonly gap: "md";
1319
+ readonly floatingShadow: "md";
1320
+ readonly size: "md";
1321
+ readonly color: "primary";
1322
+ readonly variant: "solid";
1323
+ readonly errorColor: "danger";
1324
+ readonly textStyle: "body";
1325
+ readonly labelStyle: "label";
1326
+ readonly helperStyle: "caption";
1327
+ readonly density: "comfortable";
1328
+ readonly softVariant: "soft";
1329
+ readonly modalSize: "md";
1330
+ };
1331
+ readonly variants: {
1332
+ readonly solid: {
1333
+ readonly background: "fill";
1334
+ readonly border: "color";
1335
+ readonly text: "on";
1336
+ };
1337
+ readonly soft: {
1338
+ readonly background: "tint";
1339
+ readonly border: "none";
1340
+ readonly text: "color";
1341
+ };
1342
+ readonly outline: {
1343
+ readonly background: "none";
1344
+ readonly border: "color";
1345
+ readonly text: "color";
1346
+ };
1347
+ readonly ghost: {
1348
+ readonly background: "none";
1349
+ readonly border: "none";
1350
+ readonly text: "color";
1351
+ };
1352
+ };
1353
+ readonly density: {
1354
+ readonly compact: {
1355
+ readonly paddingX: "0.5rem";
1356
+ readonly paddingY: "0.25rem";
1357
+ readonly fontSize: "0.8125rem";
1358
+ };
1359
+ readonly comfortable: {
1360
+ readonly paddingX: "0.75rem";
1361
+ readonly paddingY: "0.625rem";
1362
+ readonly fontSize: "0.875rem";
1363
+ };
1364
+ };
1365
+ readonly modalSizes: {
1366
+ readonly sm: "24rem";
1367
+ readonly md: "32rem";
1368
+ readonly lg: "48rem";
1369
+ readonly xl: "64rem";
1370
+ readonly full: "100vw";
1371
+ };
1372
+ readonly zIndex: {
1373
+ readonly dropdown: 1000;
1374
+ readonly tooltip: 1100;
1375
+ readonly dialog: 1200;
1376
+ readonly toast: 1300;
1377
+ };
1378
+ readonly motion: {
1379
+ readonly fast: "120ms";
1380
+ readonly base: "200ms";
1381
+ readonly easing: "cubic-bezier(0.2, 0, 0, 1)";
1382
+ };
1383
+ readonly timing: {
1384
+ readonly tooltipDelay: 400;
1385
+ readonly hoverOpenDelay: 300;
1386
+ readonly hoverCloseDelay: 150;
1387
+ readonly toastDuration: 5000;
1388
+ };
1389
+ readonly borders: {
1390
+ readonly width: "1px";
1391
+ };
1392
+ readonly components: {
1393
+ readonly Avatar: {
1394
+ readonly radius: "rounded";
1395
+ };
1396
+ readonly EmptyState: {
1397
+ readonly color: "neutral";
1398
+ readonly gap: "sm";
1399
+ readonly padding: "lg";
1400
+ readonly textStyle: "body";
1401
+ };
1402
+ readonly Alert: {
1403
+ readonly gap: "sm";
1404
+ readonly padding: "md";
1405
+ readonly textStyle: "label";
1406
+ };
1407
+ readonly Drawer: {
1408
+ readonly size: "sm";
1409
+ };
1410
+ readonly Tooltip: {
1411
+ readonly radius: "md";
1412
+ readonly padding: "sm";
1413
+ readonly textStyle: "caption";
1414
+ };
1415
+ readonly Toast: {
1416
+ readonly radius: "lg";
1417
+ readonly gap: "sm";
1418
+ readonly padding: "md";
1419
+ readonly textStyle: "label";
1420
+ };
1421
+ };
1422
+ };
1423
+ };
1424
+ /** Display names of the bundled themes. */
1425
+ export declare const themeNames: Record<keyof typeof themes, string>;