@synapsly/tokens 0.1.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.
@@ -0,0 +1,397 @@
1
+ {
2
+ "color": {
3
+ "bg": {
4
+ "canvas": "#161413",
5
+ "surface": "#2a2624",
6
+ "elevated": "#2a2624",
7
+ "inverse": "#ffffff",
8
+ "disabled": "#514c47",
9
+ "overlay": "rgb(0 0 0 / 70%)"
10
+ },
11
+ "fg": {
12
+ "primary": "#f8f7f6",
13
+ "secondary": "#ccc5be",
14
+ "tertiary": "#beb6ad",
15
+ "inverse": "#2a2624",
16
+ "disabled": "#b4aba3",
17
+ "brand": "#dec29d",
18
+ "success": "#86efac",
19
+ "warning": "#fde047",
20
+ "danger": "#fca5a5",
21
+ "info": "#67e8f9"
22
+ },
23
+ "border": {
24
+ "subtle": "#645d57",
25
+ "default": "#7e756e",
26
+ "strong": "#b4aba3",
27
+ "focus": "#d5b186",
28
+ "disabled": "#645d57",
29
+ "success": "#15803d",
30
+ "warning": "#a16207",
31
+ "danger": "#b91c1c"
32
+ },
33
+ "action": {
34
+ "primary": {
35
+ "bg": "#d5b186",
36
+ "bgHover": "#dec29d",
37
+ "bgActive": "#ead8bf",
38
+ "border": "#d5b186",
39
+ "icon": "#2a2624",
40
+ "fg": "#2a2624"
41
+ },
42
+ "secondary": {
43
+ "bg": "#645d57",
44
+ "bgHover": "#7e756e",
45
+ "bgActive": "#9d9389",
46
+ "border": "#7e756e",
47
+ "icon": "#ead8bf",
48
+ "fg": "#ead8bf"
49
+ },
50
+ "danger": {
51
+ "bg": "#ef4444",
52
+ "bgHover": "#f87171",
53
+ "bgActive": "#fca5a5",
54
+ "border": "#ef4444",
55
+ "icon": "#ffffff",
56
+ "fg": "#ffffff"
57
+ },
58
+ "disabled": {
59
+ "bg": "#645d57",
60
+ "border": "#645d57",
61
+ "icon": "#b4aba3",
62
+ "fg": "#b4aba3"
63
+ }
64
+ },
65
+ "state": {
66
+ "hover": {
67
+ "bg": "#645d57"
68
+ },
69
+ "pressed": {
70
+ "bg": "#7e756e"
71
+ },
72
+ "selected": {
73
+ "bg": "#332419",
74
+ "border": "#d5b186",
75
+ "fg": "#ead8bf"
76
+ },
77
+ "focus": {
78
+ "ring": "#d5b186"
79
+ },
80
+ "loading": {
81
+ "bg": "#645d57",
82
+ "fg": "#beb6ad"
83
+ },
84
+ "visited": {
85
+ "fg": "#d8b4fe"
86
+ },
87
+ "readonly": {
88
+ "bg": "#514c47",
89
+ "border": "#7e756e",
90
+ "fg": "#ccc5be"
91
+ }
92
+ },
93
+ "form": {
94
+ "bg": "#514c47",
95
+ "bgHover": "#645d57",
96
+ "border": "#7e756e",
97
+ "borderHover": "#9d9389",
98
+ "borderFocus": "#d5b186",
99
+ "borderInvalid": "#f87171",
100
+ "fg": "#f8f7f6",
101
+ "placeholder": "#b4aba3",
102
+ "caret": "#dec29d",
103
+ "disabled": {
104
+ "bg": "#645d57",
105
+ "border": "#645d57",
106
+ "fg": "#b4aba3"
107
+ },
108
+ "readonly": {
109
+ "bg": "#514c47",
110
+ "border": "#7e756e",
111
+ "fg": "#ccc5be"
112
+ }
113
+ },
114
+ "feedback": {
115
+ "success": {
116
+ "bg": "#052e16",
117
+ "fg": "#86efac"
118
+ },
119
+ "warning": {
120
+ "bg": "#422006",
121
+ "fg": "#fde047"
122
+ },
123
+ "danger": {
124
+ "bg": "#450a0a",
125
+ "fg": "#fca5a5"
126
+ },
127
+ "info": {
128
+ "bg": "#083344",
129
+ "fg": "#67e8f9"
130
+ }
131
+ }
132
+ },
133
+ "typography": {
134
+ "fontFamily": {
135
+ "body": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
136
+ "heading": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
137
+ "code": "\"SFMono-Regular\", Consolas, \"Liberation Mono\", Menlo, monospace"
138
+ },
139
+ "fontSize": {
140
+ "xs": "0.75rem",
141
+ "sm": "0.875rem",
142
+ "md": "1rem",
143
+ "lg": "1.125rem",
144
+ "xl": "1.25rem",
145
+ "2xl": "1.5rem",
146
+ "3xl": "1.875rem",
147
+ "4xl": "2.25rem"
148
+ },
149
+ "fontWeight": {
150
+ "regular": "400",
151
+ "medium": "500",
152
+ "semibold": "600",
153
+ "bold": "700"
154
+ },
155
+ "lineHeight": {
156
+ "tight": "1.2",
157
+ "normal": "1.5",
158
+ "relaxed": "1.75"
159
+ },
160
+ "letterSpacing": {
161
+ "tighter": "-0.02em",
162
+ "tight": "-0.01em",
163
+ "normal": "0",
164
+ "wide": "0.01em",
165
+ "wider": "0.02em",
166
+ "widest": "0.04em"
167
+ },
168
+ "text": {
169
+ "display": {
170
+ "fontFamily": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
171
+ "fontSize": "2.25rem",
172
+ "fontWeight": "700",
173
+ "lineHeight": "1.2",
174
+ "letterSpacing": "-0.01em"
175
+ },
176
+ "heading": {
177
+ "lg": {
178
+ "fontFamily": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
179
+ "fontSize": "1.875rem",
180
+ "fontWeight": "700",
181
+ "lineHeight": "1.2",
182
+ "letterSpacing": "-0.01em"
183
+ },
184
+ "md": {
185
+ "fontFamily": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
186
+ "fontSize": "1.5rem",
187
+ "fontWeight": "600",
188
+ "lineHeight": "1.2",
189
+ "letterSpacing": "0"
190
+ },
191
+ "sm": {
192
+ "fontFamily": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
193
+ "fontSize": "1.25rem",
194
+ "fontWeight": "600",
195
+ "lineHeight": "1.2",
196
+ "letterSpacing": "0"
197
+ }
198
+ },
199
+ "body": {
200
+ "lg": {
201
+ "fontFamily": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
202
+ "fontSize": "1.125rem",
203
+ "fontWeight": "400",
204
+ "lineHeight": "1.5",
205
+ "letterSpacing": "0"
206
+ },
207
+ "md": {
208
+ "fontFamily": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
209
+ "fontSize": "1rem",
210
+ "fontWeight": "400",
211
+ "lineHeight": "1.5",
212
+ "letterSpacing": "0"
213
+ },
214
+ "sm": {
215
+ "fontFamily": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
216
+ "fontSize": "0.875rem",
217
+ "fontWeight": "400",
218
+ "lineHeight": "1.5",
219
+ "letterSpacing": "0"
220
+ }
221
+ },
222
+ "label": {
223
+ "md": {
224
+ "fontFamily": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
225
+ "fontSize": "0.875rem",
226
+ "fontWeight": "500",
227
+ "lineHeight": "1.2",
228
+ "letterSpacing": "0"
229
+ },
230
+ "sm": {
231
+ "fontFamily": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
232
+ "fontSize": "0.75rem",
233
+ "fontWeight": "500",
234
+ "lineHeight": "1.2",
235
+ "letterSpacing": "0.01em"
236
+ }
237
+ },
238
+ "caption": {
239
+ "fontFamily": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
240
+ "fontSize": "0.75rem",
241
+ "fontWeight": "400",
242
+ "lineHeight": "1.5",
243
+ "letterSpacing": "0"
244
+ },
245
+ "code": {
246
+ "fontFamily": "\"SFMono-Regular\", Consolas, \"Liberation Mono\", Menlo, monospace",
247
+ "fontSize": "0.875rem",
248
+ "fontWeight": "400",
249
+ "lineHeight": "1.5",
250
+ "letterSpacing": "0"
251
+ }
252
+ }
253
+ },
254
+ "spacing": {
255
+ "none": "0",
256
+ "2xs": "0.25rem",
257
+ "xs": "0.5rem",
258
+ "sm": "0.75rem",
259
+ "md": "1rem",
260
+ "lg": "1.5rem",
261
+ "xl": "2rem",
262
+ "2xl": "3rem",
263
+ "3xl": "4rem",
264
+ "4xl": "8rem"
265
+ },
266
+ "radius": {
267
+ "none": "0",
268
+ "xs": "0.125rem",
269
+ "sm": "0.25rem",
270
+ "md": "0.5rem",
271
+ "lg": "0.75rem",
272
+ "full": "9999px"
273
+ },
274
+ "shadow": {
275
+ "none": "none",
276
+ "sm": "0 1px 2px rgb(17 24 39 / 8%)",
277
+ "md": "0 8px 24px rgb(17 24 39 / 12%)",
278
+ "lg": "0 16px 40px rgb(17 24 39 / 16%)",
279
+ "focus": "0 0 0 3px rgb(184 140 93 / 28%)"
280
+ },
281
+ "zIndex": {
282
+ "base": "0",
283
+ "raised": "10",
284
+ "sticky": "100",
285
+ "overlay": "1000",
286
+ "modal": "1100",
287
+ "toast": "1200"
288
+ },
289
+ "motion": {
290
+ "duration": {
291
+ "instant": "0ms",
292
+ "fast": "120ms",
293
+ "normal": "200ms",
294
+ "slow": "320ms"
295
+ },
296
+ "easing": {
297
+ "standard": "cubic-bezier(0.2, 0, 0, 1)",
298
+ "emphasized": "cubic-bezier(0.2, 0, 0, 1)",
299
+ "entrance": "cubic-bezier(0, 0, 0.2, 1)",
300
+ "exit": "cubic-bezier(0.4, 0, 1, 1)"
301
+ }
302
+ },
303
+ "breakpoint": {
304
+ "xs": "360px",
305
+ "sm": "640px",
306
+ "md": "768px",
307
+ "lg": "1024px",
308
+ "xl": "1280px"
309
+ },
310
+ "opacity": {
311
+ "disabled": "0.4",
312
+ "muted": "0.64",
313
+ "overlay": "0.6"
314
+ },
315
+ "border": {
316
+ "width": {
317
+ "none": "0",
318
+ "thin": "1px",
319
+ "medium": "2px",
320
+ "thick": "4px"
321
+ },
322
+ "style": {
323
+ "solid": "solid",
324
+ "dashed": "dashed"
325
+ }
326
+ },
327
+ "iconSize": {
328
+ "xs": "0.75rem",
329
+ "sm": "1rem",
330
+ "md": "1.25rem",
331
+ "lg": "1.5rem",
332
+ "xl": "2rem"
333
+ },
334
+ "size": {
335
+ "control": {
336
+ "sm": "2rem",
337
+ "md": "2.5rem",
338
+ "lg": "3rem"
339
+ },
340
+ "iconButton": {
341
+ "sm": "2rem",
342
+ "md": "2.5rem",
343
+ "lg": "3rem"
344
+ }
345
+ },
346
+ "padding": {
347
+ "control": {
348
+ "x": {
349
+ "sm": "0.75rem",
350
+ "md": "1rem",
351
+ "lg": "1.25rem"
352
+ },
353
+ "y": {
354
+ "sm": "0.25rem",
355
+ "md": "0.5rem",
356
+ "lg": "0.75rem"
357
+ }
358
+ },
359
+ "page": {
360
+ "xMobile": "1rem",
361
+ "xDesktop": "2rem"
362
+ }
363
+ },
364
+ "gap": {
365
+ "inline": {
366
+ "sm": "0.25rem",
367
+ "md": "0.5rem",
368
+ "lg": "0.75rem"
369
+ },
370
+ "stack": {
371
+ "sm": "0.5rem",
372
+ "md": "1rem",
373
+ "lg": "1.5rem"
374
+ },
375
+ "section": {
376
+ "sm": "2rem",
377
+ "md": "3rem",
378
+ "lg": "4rem"
379
+ }
380
+ },
381
+ "layout": {
382
+ "container": {
383
+ "sm": "640px",
384
+ "md": "768px",
385
+ "lg": "1024px",
386
+ "xl": "1280px"
387
+ },
388
+ "gutter": {
389
+ "mobile": "1rem",
390
+ "desktop": "2rem"
391
+ },
392
+ "sidebar": {
393
+ "width": "16rem",
394
+ "collapsedWidth": "4rem"
395
+ }
396
+ }
397
+ }