@arbor-css/core 0.0.89 → 0.0.91

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 (174) hide show
  1. package/dist/cli/introspection.d.ts +1 -1
  2. package/dist/cli/introspection.d.ts.map +1 -1
  3. package/dist/cli/introspection.js +5 -8
  4. package/dist/cli/introspection.js.map +1 -1
  5. package/dist/cli/introspection.test.js +2 -9
  6. package/dist/cli/introspection.test.js.map +1 -1
  7. package/dist/cli/run.js +1 -1
  8. package/dist/cli/run.js.map +1 -1
  9. package/dist/cli/validate.d.ts.map +1 -1
  10. package/dist/cli/validate.js +0 -2
  11. package/dist/cli/validate.js.map +1 -1
  12. package/dist/cli/validate.test.js +0 -13
  13. package/dist/cli/validate.test.js.map +1 -1
  14. package/dist/getStructuredTokensMap.d.ts.map +1 -1
  15. package/dist/getStructuredTokensMap.js +0 -5
  16. package/dist/getStructuredTokensMap.js.map +1 -1
  17. package/dist/getStructuredTokensMap.test.js +3 -3
  18. package/dist/getStructuredTokensMap.test.js.map +1 -1
  19. package/dist/presets/arborPreset/index.d.ts +1 -2
  20. package/dist/presets/arborPreset/index.d.ts.map +1 -1
  21. package/dist/presets/arborPreset/index.js +1 -2
  22. package/dist/presets/arborPreset/index.js.map +1 -1
  23. package/dist/presets/arborPreset/modeSchema/intents/action.d.ts +67 -0
  24. package/dist/presets/arborPreset/modeSchema/intents/action.d.ts.map +1 -0
  25. package/dist/presets/arborPreset/modeSchema/intents/action.js +17 -0
  26. package/dist/presets/arborPreset/modeSchema/intents/action.js.map +1 -0
  27. package/dist/presets/arborPreset/modeSchema/intents/common.d.ts +35 -0
  28. package/dist/presets/arborPreset/modeSchema/intents/common.d.ts.map +1 -0
  29. package/dist/presets/arborPreset/modeSchema/intents/common.js +36 -0
  30. package/dist/presets/arborPreset/modeSchema/intents/common.js.map +1 -0
  31. package/dist/presets/arborPreset/modeSchema/intents/control.d.ts +37 -0
  32. package/dist/presets/arborPreset/modeSchema/intents/control.d.ts.map +1 -0
  33. package/dist/presets/arborPreset/modeSchema/intents/control.js +15 -0
  34. package/dist/presets/arborPreset/modeSchema/intents/control.js.map +1 -0
  35. package/dist/presets/arborPreset/modeSchema/intents/surface.d.ts +67 -0
  36. package/dist/presets/arborPreset/modeSchema/intents/surface.d.ts.map +1 -0
  37. package/dist/presets/arborPreset/modeSchema/intents/surface.js +17 -0
  38. package/dist/presets/arborPreset/modeSchema/intents/surface.js.map +1 -0
  39. package/dist/presets/arborPreset/modeSchema/intents/text.d.ts +21 -0
  40. package/dist/presets/arborPreset/modeSchema/intents/text.d.ts.map +1 -0
  41. package/dist/presets/arborPreset/modeSchema/intents/text.js +8 -0
  42. package/dist/presets/arborPreset/modeSchema/intents/text.js.map +1 -0
  43. package/dist/presets/arborPreset/modeSchema/modeSchema.d.ts +820 -0
  44. package/dist/presets/arborPreset/modeSchema/modeSchema.d.ts.map +1 -0
  45. package/dist/presets/arborPreset/modeSchema/modeSchema.js +47 -0
  46. package/dist/presets/arborPreset/modeSchema/modeSchema.js.map +1 -0
  47. package/dist/presets/arborPreset/modeSchema/modeSchema.test.d.ts +2 -0
  48. package/dist/presets/arborPreset/modeSchema/modeSchema.test.d.ts.map +1 -0
  49. package/dist/presets/arborPreset/modeSchema/modeSchema.test.js +10 -0
  50. package/dist/presets/arborPreset/modeSchema/modeSchema.test.js.map +1 -0
  51. package/dist/presets/arborPreset/modeSchema/primitives/color.d.ts +93 -0
  52. package/dist/presets/arborPreset/modeSchema/primitives/color.d.ts.map +1 -0
  53. package/dist/presets/arborPreset/modeSchema/primitives/color.js +42 -0
  54. package/dist/presets/arborPreset/modeSchema/primitives/color.js.map +1 -0
  55. package/dist/presets/arborPreset/modeSchema/primitives/duration.d.ts +10 -0
  56. package/dist/presets/arborPreset/modeSchema/primitives/duration.d.ts.map +1 -0
  57. package/dist/presets/arborPreset/modeSchema/primitives/duration.js +11 -0
  58. package/dist/presets/arborPreset/modeSchema/primitives/duration.js.map +1 -0
  59. package/dist/presets/arborPreset/modeSchema/primitives/easing.d.ts +10 -0
  60. package/dist/presets/arborPreset/modeSchema/primitives/easing.d.ts.map +1 -0
  61. package/dist/presets/arborPreset/modeSchema/primitives/easing.js +11 -0
  62. package/dist/presets/arborPreset/modeSchema/primitives/easing.js.map +1 -0
  63. package/dist/presets/arborPreset/modeSchema/primitives/shadow.d.ts +159 -0
  64. package/dist/presets/arborPreset/modeSchema/primitives/shadow.d.ts.map +1 -0
  65. package/dist/presets/arborPreset/modeSchema/primitives/shadow.js +35 -0
  66. package/dist/presets/arborPreset/modeSchema/primitives/shadow.js.map +1 -0
  67. package/dist/presets/arborPreset/modeSchema/primitives/spacing.d.ts +14 -0
  68. package/dist/presets/arborPreset/modeSchema/primitives/spacing.d.ts.map +1 -0
  69. package/dist/presets/arborPreset/modeSchema/primitives/spacing.js +15 -0
  70. package/dist/presets/arborPreset/modeSchema/primitives/spacing.js.map +1 -0
  71. package/dist/presets/arborPreset/modeSchema/primitives/typography.d.ts +157 -0
  72. package/dist/presets/arborPreset/modeSchema/primitives/typography.d.ts.map +1 -0
  73. package/dist/presets/arborPreset/modeSchema/primitives/typography.js +28 -0
  74. package/dist/presets/arborPreset/modeSchema/primitives/typography.js.map +1 -0
  75. package/dist/presets/arborPreset/modeSchema/scalars/scalars.d.ts +7 -0
  76. package/dist/presets/arborPreset/modeSchema/scalars/scalars.d.ts.map +1 -0
  77. package/dist/presets/arborPreset/modeSchema/scalars/scalars.js +8 -0
  78. package/dist/presets/arborPreset/modeSchema/scalars/scalars.js.map +1 -0
  79. package/dist/presets/arborPreset/modeSchema/semantics/color.d.ts +63 -0
  80. package/dist/presets/arborPreset/modeSchema/semantics/color.d.ts.map +1 -0
  81. package/dist/presets/arborPreset/modeSchema/semantics/color.js +7 -0
  82. package/dist/presets/arborPreset/modeSchema/semantics/color.js.map +1 -0
  83. package/dist/presets/arborPreset/modeSchema/semantics/common.d.ts +27 -0
  84. package/dist/presets/arborPreset/modeSchema/semantics/common.d.ts.map +1 -0
  85. package/dist/presets/arborPreset/modeSchema/semantics/common.js +28 -0
  86. package/dist/presets/arborPreset/modeSchema/semantics/common.js.map +1 -0
  87. package/dist/presets/arborPreset/modeSchema/semantics/duration.d.ts +19 -0
  88. package/dist/presets/arborPreset/modeSchema/semantics/duration.d.ts.map +1 -0
  89. package/dist/presets/arborPreset/modeSchema/semantics/duration.js +20 -0
  90. package/dist/presets/arborPreset/modeSchema/semantics/duration.js.map +1 -0
  91. package/dist/presets/arborPreset/modeSchema/semantics/easing.d.ts +19 -0
  92. package/dist/presets/arborPreset/modeSchema/semantics/easing.d.ts.map +1 -0
  93. package/dist/presets/arborPreset/modeSchema/semantics/easing.js +20 -0
  94. package/dist/presets/arborPreset/modeSchema/semantics/easing.js.map +1 -0
  95. package/dist/presets/arborPreset/modeSchema/semantics/lines.d.ts +19 -0
  96. package/dist/presets/arborPreset/modeSchema/semantics/lines.d.ts.map +1 -0
  97. package/dist/presets/arborPreset/modeSchema/semantics/lines.js +20 -0
  98. package/dist/presets/arborPreset/modeSchema/semantics/lines.js.map +1 -0
  99. package/dist/presets/arborPreset/modeSchema/semantics/radius.d.ts +12 -0
  100. package/dist/presets/arborPreset/modeSchema/semantics/radius.d.ts.map +1 -0
  101. package/dist/presets/arborPreset/modeSchema/semantics/radius.js +13 -0
  102. package/dist/presets/arborPreset/modeSchema/semantics/radius.js.map +1 -0
  103. package/dist/presets/arborPreset/modeSchema/semantics/shadow.d.ts +115 -0
  104. package/dist/presets/arborPreset/modeSchema/semantics/shadow.d.ts.map +1 -0
  105. package/dist/presets/arborPreset/modeSchema/semantics/shadow.js +17 -0
  106. package/dist/presets/arborPreset/modeSchema/semantics/shadow.js.map +1 -0
  107. package/dist/presets/arborPreset/modeSchema/semantics/spacing.d.ts +12 -0
  108. package/dist/presets/arborPreset/modeSchema/semantics/spacing.d.ts.map +1 -0
  109. package/dist/presets/arborPreset/modeSchema/semantics/spacing.js +12 -0
  110. package/dist/presets/arborPreset/modeSchema/semantics/spacing.js.map +1 -0
  111. package/dist/presets/arborPreset/modeValues/intents.d.ts +370 -0
  112. package/dist/presets/arborPreset/modeValues/intents.d.ts.map +1 -0
  113. package/dist/presets/arborPreset/modeValues/intents.js +134 -0
  114. package/dist/presets/arborPreset/modeValues/intents.js.map +1 -0
  115. package/dist/presets/arborPreset/modeValues/semantics.d.ts +1048 -0
  116. package/dist/presets/arborPreset/modeValues/semantics.d.ts.map +1 -0
  117. package/dist/presets/arborPreset/modeValues/semantics.js +92 -0
  118. package/dist/presets/arborPreset/modeValues/semantics.js.map +1 -0
  119. package/dist/presets/arborPreset/modeValues/types.d.ts +9 -0
  120. package/dist/presets/arborPreset/modeValues/types.d.ts.map +1 -0
  121. package/dist/presets/arborPreset/modeValues/types.js +2 -0
  122. package/dist/presets/arborPreset/modeValues/types.js.map +1 -0
  123. package/dist/presets/arborPreset/preset.d.ts +428 -52
  124. package/dist/presets/arborPreset/preset.d.ts.map +1 -1
  125. package/dist/presets/arborPreset/preset.js +72 -32
  126. package/dist/presets/arborPreset/preset.js.map +1 -1
  127. package/dist/presets/arborPreset/preset.test.js +2 -4
  128. package/dist/presets/arborPreset/preset.test.js.map +1 -1
  129. package/dist/presets/basicPreset/functions.test.js +6 -0
  130. package/dist/presets/basicPreset/functions.test.js.map +1 -1
  131. package/dist/presets/basicPreset/preset.d.ts +2 -1
  132. package/dist/presets/basicPreset/preset.d.ts.map +1 -1
  133. package/dist/presets/basicPreset/preset.js +62 -2
  134. package/dist/presets/basicPreset/preset.js.map +1 -1
  135. package/dist/runtime/components/BaseElement.d.ts +1 -1
  136. package/dist/runtime/components/BaseElement.d.ts.map +1 -1
  137. package/dist/runtime/components/GlobalsEditor.js +0 -40
  138. package/dist/runtime/components/GlobalsEditor.js.map +1 -1
  139. package/dist/runtime/components/SchemeSelector.js +1 -3
  140. package/dist/runtime/components/SchemeSelector.js.map +1 -1
  141. package/dist/runtime/components/SystemDemo.js +2 -2
  142. package/dist/runtime/components/SystemDemo.js.map +1 -1
  143. package/dist/stylesheet/generateStylesheet.d.ts.map +1 -1
  144. package/dist/stylesheet/generateStylesheet.js +40 -76
  145. package/dist/stylesheet/generateStylesheet.js.map +1 -1
  146. package/dist/stylesheet/generateStylesheet.test.js +3 -5
  147. package/dist/stylesheet/generateStylesheet.test.js.map +1 -1
  148. package/dist/stylesheet/modeToCss.d.ts.map +1 -1
  149. package/dist/stylesheet/modeToCss.js +22 -8
  150. package/dist/stylesheet/modeToCss.js.map +1 -1
  151. package/dist/stylesheet/modeToCss.test.js +19 -22
  152. package/dist/stylesheet/modeToCss.test.js.map +1 -1
  153. package/dist/util/resolveComputedTokenValue.js +5 -12
  154. package/dist/util/resolveComputedTokenValue.js.map +1 -1
  155. package/dist/util/resolveComputedTokenValue.test.js +4 -4
  156. package/dist/util/resolveComputedTokenValue.test.js.map +1 -1
  157. package/dist/util/resolveTokenReferences.d.ts.map +1 -1
  158. package/dist/util/resolveTokenReferences.js +1 -15
  159. package/dist/util/resolveTokenReferences.js.map +1 -1
  160. package/dist/util/resolveTokenReferences.test.js +3 -3
  161. package/dist/util/resolveTokenReferences.test.js.map +1 -1
  162. package/package.json +12 -12
  163. package/dist/presets/arborPreset/baseModeValues.d.ts +0 -16
  164. package/dist/presets/arborPreset/baseModeValues.d.ts.map +0 -1
  165. package/dist/presets/arborPreset/baseModeValues.js +0 -231
  166. package/dist/presets/arborPreset/baseModeValues.js.map +0 -1
  167. package/dist/presets/arborPreset/modeSchema.d.ts +0 -448
  168. package/dist/presets/arborPreset/modeSchema.d.ts.map +0 -1
  169. package/dist/presets/arborPreset/modeSchema.js +0 -267
  170. package/dist/presets/arborPreset/modeSchema.js.map +0 -1
  171. package/dist/presets/basicPreset/functions.d.ts +0 -12
  172. package/dist/presets/basicPreset/functions.d.ts.map +0 -1
  173. package/dist/presets/basicPreset/functions.js +0 -52
  174. package/dist/presets/basicPreset/functions.js.map +0 -1
@@ -0,0 +1,820 @@
1
+ export interface ArborModeSchemaOptions<TColorName extends PropertyKey> {
2
+ colorNames: TColorName[];
3
+ }
4
+ export declare function createArborModeSchema<TColorName extends string>(options: ArborModeSchemaOptions<TColorName>): {
5
+ scalar: {
6
+ density: {
7
+ purpose: "scalar";
8
+ description: "A scaling factor for density. Higher density means smaller, tighter spacing and size";
9
+ };
10
+ };
11
+ primitive: {
12
+ color: Record<TColorName, {
13
+ $neutral: {
14
+ $root: {
15
+ purpose: "color";
16
+ description: string;
17
+ };
18
+ paper: {
19
+ purpose: "color";
20
+ description: "An extremely light shade, good for backgrounds and surfaces";
21
+ };
22
+ wash: {
23
+ purpose: "color";
24
+ description: "A very faint but slightly vibrant shade, good for backgrounds and surfaces";
25
+ };
26
+ light: {
27
+ purpose: "color";
28
+ description: "A light shade, good for emphasized surfaces.";
29
+ };
30
+ mid: {
31
+ purpose: "color";
32
+ description: "The main shade, good for primary actions and decoration.";
33
+ };
34
+ heavy: {
35
+ purpose: "color";
36
+ description: "A heavy shade, good for text emphasis and accents.";
37
+ };
38
+ ink: {
39
+ purpose: "color";
40
+ description: "A very dark but still slightly vibrant shade, good for text and high contrast elements.";
41
+ };
42
+ };
43
+ $root: {
44
+ purpose: "color";
45
+ description: string;
46
+ };
47
+ paper: {
48
+ purpose: "color";
49
+ description: "An extremely light shade, good for backgrounds and surfaces";
50
+ };
51
+ wash: {
52
+ purpose: "color";
53
+ description: "A very faint but slightly vibrant shade, good for backgrounds and surfaces";
54
+ };
55
+ light: {
56
+ purpose: "color";
57
+ description: "A light shade, good for emphasized surfaces.";
58
+ };
59
+ mid: {
60
+ purpose: "color";
61
+ description: "The main shade, good for primary actions and decoration.";
62
+ };
63
+ heavy: {
64
+ purpose: "color";
65
+ description: "A heavy shade, good for text emphasis and accents.";
66
+ };
67
+ ink: {
68
+ purpose: "color";
69
+ description: "A very dark but still slightly vibrant shade, good for text and high contrast elements.";
70
+ };
71
+ }>;
72
+ spacing: {
73
+ $root: {
74
+ purpose: "spacing";
75
+ description: string;
76
+ };
77
+ '2xs': "spacing";
78
+ xs: "spacing";
79
+ sm: "spacing";
80
+ md: "spacing";
81
+ lg: "spacing";
82
+ xl: "spacing";
83
+ '2xl': "spacing";
84
+ };
85
+ typography: {
86
+ xs: {
87
+ size: {
88
+ purpose: "font-size";
89
+ description: "The size of the font used in this typography level";
90
+ };
91
+ weight: {
92
+ purpose: "font-weight";
93
+ description: "The weight of the font used in this typography level";
94
+ };
95
+ lineHeight: {
96
+ purpose: "line-height";
97
+ description: "The line height of the font used in this typography level";
98
+ };
99
+ };
100
+ sm: {
101
+ size: {
102
+ purpose: "font-size";
103
+ description: "The size of the font used in this typography level";
104
+ };
105
+ weight: {
106
+ purpose: "font-weight";
107
+ description: "The weight of the font used in this typography level";
108
+ };
109
+ lineHeight: {
110
+ purpose: "line-height";
111
+ description: "The line height of the font used in this typography level";
112
+ };
113
+ };
114
+ md: {
115
+ size: {
116
+ purpose: "font-size";
117
+ description: "The size of the font used in this typography level";
118
+ };
119
+ weight: {
120
+ purpose: "font-weight";
121
+ description: "The weight of the font used in this typography level";
122
+ };
123
+ lineHeight: {
124
+ purpose: "line-height";
125
+ description: "The line height of the font used in this typography level";
126
+ };
127
+ };
128
+ lg: {
129
+ size: {
130
+ purpose: "font-size";
131
+ description: "The size of the font used in this typography level";
132
+ };
133
+ weight: {
134
+ purpose: "font-weight";
135
+ description: "The weight of the font used in this typography level";
136
+ };
137
+ lineHeight: {
138
+ purpose: "line-height";
139
+ description: "The line height of the font used in this typography level";
140
+ };
141
+ };
142
+ xl: {
143
+ size: {
144
+ purpose: "font-size";
145
+ description: "The size of the font used in this typography level";
146
+ };
147
+ weight: {
148
+ purpose: "font-weight";
149
+ description: "The weight of the font used in this typography level";
150
+ };
151
+ lineHeight: {
152
+ purpose: "line-height";
153
+ description: "The line height of the font used in this typography level";
154
+ };
155
+ };
156
+ '2xl': {
157
+ size: {
158
+ purpose: "font-size";
159
+ description: "The size of the font used in this typography level";
160
+ };
161
+ weight: {
162
+ purpose: "font-weight";
163
+ description: "The weight of the font used in this typography level";
164
+ };
165
+ lineHeight: {
166
+ purpose: "line-height";
167
+ description: "The line height of the font used in this typography level";
168
+ };
169
+ };
170
+ '3xl': {
171
+ size: {
172
+ purpose: "font-size";
173
+ description: "The size of the font used in this typography level";
174
+ };
175
+ weight: {
176
+ purpose: "font-weight";
177
+ description: "The weight of the font used in this typography level";
178
+ };
179
+ lineHeight: {
180
+ purpose: "line-height";
181
+ description: "The line height of the font used in this typography level";
182
+ };
183
+ };
184
+ '4xl': {
185
+ size: {
186
+ purpose: "font-size";
187
+ description: "The size of the font used in this typography level";
188
+ };
189
+ weight: {
190
+ purpose: "font-weight";
191
+ description: "The weight of the font used in this typography level";
192
+ };
193
+ lineHeight: {
194
+ purpose: "line-height";
195
+ description: "The line height of the font used in this typography level";
196
+ };
197
+ };
198
+ '5xl': {
199
+ size: {
200
+ purpose: "font-size";
201
+ description: "The size of the font used in this typography level";
202
+ };
203
+ weight: {
204
+ purpose: "font-weight";
205
+ description: "The weight of the font used in this typography level";
206
+ };
207
+ lineHeight: {
208
+ purpose: "line-height";
209
+ description: "The line height of the font used in this typography level";
210
+ };
211
+ };
212
+ '6xl': {
213
+ size: {
214
+ purpose: "font-size";
215
+ description: "The size of the font used in this typography level";
216
+ };
217
+ weight: {
218
+ purpose: "font-weight";
219
+ description: "The weight of the font used in this typography level";
220
+ };
221
+ lineHeight: {
222
+ purpose: "line-height";
223
+ description: "The line height of the font used in this typography level";
224
+ };
225
+ };
226
+ };
227
+ shadow: {
228
+ xs: {
229
+ $root: {
230
+ purpose: "shadow";
231
+ description: string;
232
+ };
233
+ x: {
234
+ purpose: "shadow-x";
235
+ description: "Horizontal offset of the shadow";
236
+ };
237
+ y: {
238
+ purpose: "shadow-y";
239
+ description: "Vertical offset of the shadow";
240
+ };
241
+ blur: {
242
+ purpose: "shadow-blur";
243
+ description: "Blur radius of the shadow";
244
+ };
245
+ spread: {
246
+ purpose: "shadow-spread";
247
+ description: "Spread radius of the shadow";
248
+ };
249
+ color: {
250
+ purpose: "shadow-color";
251
+ description: "Color of the shadow";
252
+ };
253
+ };
254
+ sm: {
255
+ $root: {
256
+ purpose: "shadow";
257
+ description: string;
258
+ };
259
+ x: {
260
+ purpose: "shadow-x";
261
+ description: "Horizontal offset of the shadow";
262
+ };
263
+ y: {
264
+ purpose: "shadow-y";
265
+ description: "Vertical offset of the shadow";
266
+ };
267
+ blur: {
268
+ purpose: "shadow-blur";
269
+ description: "Blur radius of the shadow";
270
+ };
271
+ spread: {
272
+ purpose: "shadow-spread";
273
+ description: "Spread radius of the shadow";
274
+ };
275
+ color: {
276
+ purpose: "shadow-color";
277
+ description: "Color of the shadow";
278
+ };
279
+ };
280
+ md: {
281
+ $root: {
282
+ purpose: "shadow";
283
+ description: string;
284
+ };
285
+ x: {
286
+ purpose: "shadow-x";
287
+ description: "Horizontal offset of the shadow";
288
+ };
289
+ y: {
290
+ purpose: "shadow-y";
291
+ description: "Vertical offset of the shadow";
292
+ };
293
+ blur: {
294
+ purpose: "shadow-blur";
295
+ description: "Blur radius of the shadow";
296
+ };
297
+ spread: {
298
+ purpose: "shadow-spread";
299
+ description: "Spread radius of the shadow";
300
+ };
301
+ color: {
302
+ purpose: "shadow-color";
303
+ description: "Color of the shadow";
304
+ };
305
+ };
306
+ lg: {
307
+ $root: {
308
+ purpose: "shadow";
309
+ description: string;
310
+ };
311
+ x: {
312
+ purpose: "shadow-x";
313
+ description: "Horizontal offset of the shadow";
314
+ };
315
+ y: {
316
+ purpose: "shadow-y";
317
+ description: "Vertical offset of the shadow";
318
+ };
319
+ blur: {
320
+ purpose: "shadow-blur";
321
+ description: "Blur radius of the shadow";
322
+ };
323
+ spread: {
324
+ purpose: "shadow-spread";
325
+ description: "Spread radius of the shadow";
326
+ };
327
+ color: {
328
+ purpose: "shadow-color";
329
+ description: "Color of the shadow";
330
+ };
331
+ };
332
+ xl: {
333
+ $root: {
334
+ purpose: "shadow";
335
+ description: string;
336
+ };
337
+ x: {
338
+ purpose: "shadow-x";
339
+ description: "Horizontal offset of the shadow";
340
+ };
341
+ y: {
342
+ purpose: "shadow-y";
343
+ description: "Vertical offset of the shadow";
344
+ };
345
+ blur: {
346
+ purpose: "shadow-blur";
347
+ description: "Blur radius of the shadow";
348
+ };
349
+ spread: {
350
+ purpose: "shadow-spread";
351
+ description: "Spread radius of the shadow";
352
+ };
353
+ color: {
354
+ purpose: "shadow-color";
355
+ description: "Color of the shadow";
356
+ };
357
+ };
358
+ };
359
+ easing: {
360
+ $root: {
361
+ purpose: "easing-function";
362
+ description: string;
363
+ };
364
+ tight: "easing-function";
365
+ medium: "easing-function";
366
+ loose: "easing-function";
367
+ };
368
+ duration: {
369
+ $root: {
370
+ purpose: "duration";
371
+ description: string;
372
+ };
373
+ short: "duration";
374
+ medium: "duration";
375
+ long: "duration";
376
+ };
377
+ };
378
+ action: {
379
+ padding: {
380
+ $root: {
381
+ purpose: "other";
382
+ description: string;
383
+ };
384
+ inline: {
385
+ purpose: "spacing";
386
+ description: "Inline (horizontal, usually) padding";
387
+ };
388
+ block: {
389
+ purpose: "spacing";
390
+ description: "Block (vertical, usually) padding";
391
+ };
392
+ };
393
+ roundness: {
394
+ purpose: "scalar";
395
+ description: "This token controls the overall roundness of actions and stacks with the root roundness token";
396
+ };
397
+ radius: {
398
+ purpose: "border-radius";
399
+ description: "This token captures the border-radius of actions, taking into account the overall roundness";
400
+ };
401
+ primary: {
402
+ fg: {
403
+ purpose: "color";
404
+ description: "Intended for use as the foreground color";
405
+ };
406
+ bg: {
407
+ purpose: "color";
408
+ description: "Intended for use as the background color";
409
+ };
410
+ border: {
411
+ purpose: "color";
412
+ description: "Intended for use as the border color, if desired";
413
+ };
414
+ };
415
+ secondary: {
416
+ fg: {
417
+ purpose: "color";
418
+ description: "Intended for use as the foreground color";
419
+ };
420
+ bg: {
421
+ purpose: "color";
422
+ description: "Intended for use as the background color";
423
+ };
424
+ border: {
425
+ purpose: "color";
426
+ description: "Intended for use as the border color, if desired";
427
+ };
428
+ };
429
+ ambient: {
430
+ fg: {
431
+ purpose: "color";
432
+ description: "Intended for use as the foreground color";
433
+ };
434
+ bg: {
435
+ purpose: "color";
436
+ description: "Intended for use as the background color";
437
+ };
438
+ border: {
439
+ purpose: "color";
440
+ description: "Intended for use as the border color, if desired";
441
+ };
442
+ };
443
+ };
444
+ control: {
445
+ fg: {
446
+ purpose: "color";
447
+ description: "Intended for use as the foreground color";
448
+ };
449
+ bg: {
450
+ purpose: "color";
451
+ description: "Intended for use as the background color";
452
+ };
453
+ border: {
454
+ purpose: "color";
455
+ description: "Intended for use as the border color, if desired";
456
+ };
457
+ padding: {
458
+ $root: {
459
+ purpose: "other";
460
+ description: string;
461
+ };
462
+ inline: {
463
+ purpose: "spacing";
464
+ description: "Inline (horizontal, usually) padding";
465
+ };
466
+ block: {
467
+ purpose: "spacing";
468
+ description: "Block (vertical, usually) padding";
469
+ };
470
+ };
471
+ roundness: {
472
+ purpose: "scalar";
473
+ description: "This token controls the overall roundness of controls and stacks with the root roundness token";
474
+ };
475
+ radius: {
476
+ purpose: "border-radius";
477
+ description: "This token captures the border-radius of controls, taking into account the overall roundness";
478
+ };
479
+ };
480
+ surface: {
481
+ padding: {
482
+ $root: {
483
+ purpose: "other";
484
+ description: string;
485
+ };
486
+ inline: {
487
+ purpose: "spacing";
488
+ description: "Inline (horizontal, usually) padding";
489
+ };
490
+ block: {
491
+ purpose: "spacing";
492
+ description: "Block (vertical, usually) padding";
493
+ };
494
+ };
495
+ roundness: {
496
+ purpose: "scalar";
497
+ description: "This token controls the overall roundness of surfaces and stacks with the root roundness token";
498
+ };
499
+ radius: {
500
+ purpose: "border-radius";
501
+ description: "This token captures the border-radius of surfaces, taking into account the overall roundness";
502
+ };
503
+ primary: {
504
+ fg: {
505
+ purpose: "color";
506
+ description: "Intended for use as the foreground color";
507
+ };
508
+ bg: {
509
+ purpose: "color";
510
+ description: "Intended for use as the background color";
511
+ };
512
+ border: {
513
+ purpose: "color";
514
+ description: "Intended for use as the border color, if desired";
515
+ };
516
+ };
517
+ secondary: {
518
+ fg: {
519
+ purpose: "color";
520
+ description: "Intended for use as the foreground color";
521
+ };
522
+ bg: {
523
+ purpose: "color";
524
+ description: "Intended for use as the background color";
525
+ };
526
+ border: {
527
+ purpose: "color";
528
+ description: "Intended for use as the border color, if desired";
529
+ };
530
+ };
531
+ ambient: {
532
+ fg: {
533
+ purpose: "color";
534
+ description: "Intended for use as the foreground color";
535
+ };
536
+ bg: {
537
+ purpose: "color";
538
+ description: "Intended for use as the background color";
539
+ };
540
+ border: {
541
+ purpose: "color";
542
+ description: "Intended for use as the border color, if desired";
543
+ };
544
+ };
545
+ };
546
+ text: {
547
+ primary: {
548
+ size: "font-size";
549
+ weight: "font-weight";
550
+ lineHeight: "line-height";
551
+ font: "font-family";
552
+ };
553
+ secondary: {
554
+ size: "font-size";
555
+ weight: "font-weight";
556
+ lineHeight: "line-height";
557
+ font: "font-family";
558
+ };
559
+ ambient: {
560
+ size: "font-size";
561
+ weight: "font-weight";
562
+ lineHeight: "line-height";
563
+ font: "font-family";
564
+ };
565
+ };
566
+ color: {
567
+ main: {
568
+ $root: {
569
+ purpose: "color";
570
+ description: string;
571
+ };
572
+ paper: {
573
+ purpose: "color";
574
+ description: "An extremely light shade, good for backgrounds and surfaces";
575
+ };
576
+ wash: {
577
+ purpose: "color";
578
+ description: "A very faint but slightly vibrant shade, good for backgrounds and surfaces";
579
+ };
580
+ light: {
581
+ purpose: "color";
582
+ description: "A light shade, good for emphasized surfaces.";
583
+ };
584
+ mid: {
585
+ purpose: "color";
586
+ description: "The main shade, good for primary actions and decoration.";
587
+ };
588
+ heavy: {
589
+ purpose: "color";
590
+ description: "A heavy shade, good for text emphasis and accents.";
591
+ };
592
+ ink: {
593
+ purpose: "color";
594
+ description: "A very dark but still slightly vibrant shade, good for text and high contrast elements.";
595
+ };
596
+ };
597
+ neutral: {
598
+ $root: {
599
+ purpose: "color";
600
+ description: string;
601
+ };
602
+ paper: {
603
+ purpose: "color";
604
+ description: "An extremely light shade, good for backgrounds and surfaces";
605
+ };
606
+ wash: {
607
+ purpose: "color";
608
+ description: "A very faint but slightly vibrant shade, good for backgrounds and surfaces";
609
+ };
610
+ light: {
611
+ purpose: "color";
612
+ description: "A light shade, good for emphasized surfaces.";
613
+ };
614
+ mid: {
615
+ purpose: "color";
616
+ description: "The main shade, good for primary actions and decoration.";
617
+ };
618
+ heavy: {
619
+ purpose: "color";
620
+ description: "A heavy shade, good for text emphasis and accents.";
621
+ };
622
+ ink: {
623
+ purpose: "color";
624
+ description: "A very dark but still slightly vibrant shade, good for text and high contrast elements.";
625
+ };
626
+ };
627
+ };
628
+ spacing: {
629
+ $root: {
630
+ purpose: "spacing";
631
+ description: string;
632
+ };
633
+ xs: "spacing";
634
+ sm: "spacing";
635
+ md: "spacing";
636
+ lg: "spacing";
637
+ xl: "spacing";
638
+ };
639
+ lineWidth: {
640
+ $root: {
641
+ purpose: "border-width";
642
+ description: string;
643
+ };
644
+ sm: {
645
+ purpose: "border-width";
646
+ description: "A hairline border width. Always >= 1px. If the global border width is small, this may be the same as \"md\"";
647
+ };
648
+ md: {
649
+ purpose: "border-width";
650
+ description: "A general-purpose border width";
651
+ };
652
+ lg: {
653
+ purpose: "border-width";
654
+ description: "A thicker border, good for emphasis";
655
+ };
656
+ };
657
+ radius: {
658
+ $root: {
659
+ purpose: "border-radius";
660
+ description: string;
661
+ };
662
+ xs: "border-radius";
663
+ sm: "border-radius";
664
+ md: "border-radius";
665
+ lg: "border-radius";
666
+ xl: "border-radius";
667
+ };
668
+ shadow: {
669
+ $root: {
670
+ purpose: "shadow";
671
+ description: string;
672
+ };
673
+ color: {
674
+ purpose: "color";
675
+ description: "If specified, this token overrides shadow colors from primitives";
676
+ };
677
+ sm: {
678
+ x: {
679
+ purpose: "size";
680
+ description: "Horizontal offset of the shadow";
681
+ };
682
+ y: {
683
+ purpose: "size";
684
+ description: "Vertical offset of the shadow";
685
+ };
686
+ blur: {
687
+ purpose: "size";
688
+ description: "Blur radius of the shadow";
689
+ };
690
+ spread: {
691
+ purpose: "size";
692
+ description: "Spread radius of the shadow";
693
+ };
694
+ color: {
695
+ purpose: "color";
696
+ description: "Color of the shadow";
697
+ };
698
+ $root: {
699
+ purpose: "shadow";
700
+ description: string;
701
+ };
702
+ };
703
+ md: {
704
+ x: {
705
+ purpose: "size";
706
+ description: "Horizontal offset of the shadow";
707
+ };
708
+ y: {
709
+ purpose: "size";
710
+ description: "Vertical offset of the shadow";
711
+ };
712
+ blur: {
713
+ purpose: "size";
714
+ description: "Blur radius of the shadow";
715
+ };
716
+ spread: {
717
+ purpose: "size";
718
+ description: "Spread radius of the shadow";
719
+ };
720
+ color: {
721
+ purpose: "color";
722
+ description: "Color of the shadow";
723
+ };
724
+ $root: {
725
+ purpose: "shadow";
726
+ description: string;
727
+ };
728
+ };
729
+ lg: {
730
+ x: {
731
+ purpose: "size";
732
+ description: "Horizontal offset of the shadow";
733
+ };
734
+ y: {
735
+ purpose: "size";
736
+ description: "Vertical offset of the shadow";
737
+ };
738
+ blur: {
739
+ purpose: "size";
740
+ description: "Blur radius of the shadow";
741
+ };
742
+ spread: {
743
+ purpose: "size";
744
+ description: "Spread radius of the shadow";
745
+ };
746
+ color: {
747
+ purpose: "color";
748
+ description: "Color of the shadow";
749
+ };
750
+ $root: {
751
+ purpose: "shadow";
752
+ description: string;
753
+ };
754
+ };
755
+ xl: {
756
+ x: {
757
+ purpose: "size";
758
+ description: "Horizontal offset of the shadow";
759
+ };
760
+ y: {
761
+ purpose: "size";
762
+ description: "Vertical offset of the shadow";
763
+ };
764
+ blur: {
765
+ purpose: "size";
766
+ description: "Blur radius of the shadow";
767
+ };
768
+ spread: {
769
+ purpose: "size";
770
+ description: "Spread radius of the shadow";
771
+ };
772
+ color: {
773
+ purpose: "color";
774
+ description: "Color of the shadow";
775
+ };
776
+ $root: {
777
+ purpose: "shadow";
778
+ description: string;
779
+ };
780
+ };
781
+ };
782
+ easing: {
783
+ $root: {
784
+ purpose: "easing-function";
785
+ description: string;
786
+ };
787
+ tight: {
788
+ purpose: "easing-function";
789
+ description: "A short, snappy easing, good for tight interactions";
790
+ };
791
+ medium: {
792
+ purpose: "easing-function";
793
+ description: "A medium easing, good for general use";
794
+ };
795
+ loose: {
796
+ purpose: "easing-function";
797
+ description: "A long, relaxed easing, good for slow interactions and animations";
798
+ };
799
+ };
800
+ duration: {
801
+ $root: {
802
+ purpose: "duration";
803
+ description: string;
804
+ };
805
+ short: {
806
+ purpose: "duration";
807
+ description: "A short, snappy duration, good for fast interactions and large animations";
808
+ };
809
+ medium: {
810
+ purpose: "duration";
811
+ description: "A medium duration, good for general use, fast enough for interactions";
812
+ };
813
+ long: {
814
+ purpose: "duration";
815
+ description: "A long, relaxed duration, good for slow interactions and animations";
816
+ };
817
+ };
818
+ };
819
+ export type ArborModeSchema<TColorName extends string = string> = ReturnType<typeof createArborModeSchema<TColorName>>;
820
+ //# sourceMappingURL=modeSchema.d.ts.map