@knapsack/sandbox-tokens 4.53.1--canary.3986.c6043f8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,679 @@
1
+ {
2
+ "$extensions": {
3
+ "cloud.knapsack": {
4
+ "global": {
5
+ "collectionsParentKey": "collections"
6
+ }
7
+ }
8
+ },
9
+ "border": {
10
+ "1": {
11
+ "$value": {
12
+ "color": "red",
13
+ "style": "dotted",
14
+ "width": "2px"
15
+ },
16
+ "$type": "border",
17
+ "$description": "border"
18
+ }
19
+ },
20
+ "breakpoint": {
21
+ "small": {
22
+ "$value": "330px",
23
+ "$type": "dimension"
24
+ },
25
+ "medium": {
26
+ "$value": "480px",
27
+ "$type": "dimension"
28
+ },
29
+ "large": {
30
+ "$value": "{radius.large}",
31
+ "$type": "dimension",
32
+ "$description": ""
33
+ },
34
+ "xlarge": {
35
+ "$value": "992px",
36
+ "$type": "dimension"
37
+ },
38
+ "xxlarge": {
39
+ "$value": "1240px",
40
+ "$type": "dimension"
41
+ },
42
+ "xxxlarge": {
43
+ "$value": "1440px",
44
+ "$type": "dimension"
45
+ }
46
+ },
47
+ "media": {
48
+ "query": {
49
+ "small": {
50
+ "$value": "screen and (min-width: {breakpoint.small})"
51
+ },
52
+ "medium": {
53
+ "$value": "screen and (min-width: {breakpoint.medium})"
54
+ },
55
+ "large": {
56
+ "$value": "screen and (min-width: {breakpoint.large})"
57
+ }
58
+ }
59
+ },
60
+ "misc": {
61
+ "isAwesome": {
62
+ "$value": true,
63
+ "$type": "boolean",
64
+ "$description": ""
65
+ },
66
+ "magic number": {
67
+ "$value": 42,
68
+ "$type": "number"
69
+ },
70
+ "some text": {
71
+ "$value": "Hello world",
72
+ "$type": "string"
73
+ },
74
+ "isAwesome2": {
75
+ "$value": "{misc.isAwesome}"
76
+ },
77
+ "boolean": {
78
+ "$type": "boolean",
79
+ "$value": true,
80
+ "$description": ""
81
+ },
82
+ "duration": {
83
+ "$type": "duration",
84
+ "$value": "100ms",
85
+ "$description": ""
86
+ },
87
+ "shadow": {
88
+ "$type": "shadow",
89
+ "$description": "",
90
+ "$value": {
91
+ "color": "#000000",
92
+ "blur": "1px",
93
+ "offsetX": "1px",
94
+ "offsetY": "1px",
95
+ "spread": "1px"
96
+ }
97
+ }
98
+ },
99
+ "color": {
100
+ "black": {
101
+ "$value": "{color.neutral.800}",
102
+ "$description": "",
103
+ "$type": "color"
104
+ },
105
+ "white": {
106
+ "$value": "#ffffff",
107
+ "$type": "color",
108
+ "$description": ""
109
+ },
110
+ "neutral": {
111
+ "100": {
112
+ "$value": "#FAFAFB",
113
+ "$type": "color"
114
+ },
115
+ "200": {
116
+ "$value": "#F6F6F7",
117
+ "$type": "color"
118
+ },
119
+ "300": {
120
+ "$value": "#EDECEF",
121
+ "$type": "color"
122
+ },
123
+ "400": {
124
+ "$value": "#dedce2",
125
+ "$type": "color",
126
+ "$description": ""
127
+ },
128
+ "500": {
129
+ "$value": "#BFBDC6",
130
+ "$type": "color"
131
+ },
132
+ "600": {
133
+ "$value": "#ACAAB6",
134
+ "$type": "color"
135
+ },
136
+ "700": {
137
+ "$value": "#878496",
138
+ "$type": "color"
139
+ },
140
+ "800": {
141
+ "$value": "#191335",
142
+ "$type": "color"
143
+ },
144
+ "$description": "Neutral colors are used for backgrounds, borders, and text."
145
+ },
146
+ "pink": {
147
+ "100": {
148
+ "$value": "#FFDDDB",
149
+ "$type": "color"
150
+ },
151
+ "200": {
152
+ "$value": "#FCB6B8",
153
+ "$type": "color"
154
+ },
155
+ "300": {
156
+ "$value": "#FA919F",
157
+ "$type": "color"
158
+ },
159
+ "400": {
160
+ "$value": "#F37491",
161
+ "$type": "color"
162
+ },
163
+ "500": {
164
+ "$value": "#EC487D",
165
+ "$type": "color"
166
+ },
167
+ "600": {
168
+ "$value": "#CA3473",
169
+ "$type": "color"
170
+ },
171
+ "700": {
172
+ "$value": "#AA2469",
173
+ "$type": "color"
174
+ },
175
+ "800": {
176
+ "$value": "#710D55",
177
+ "$type": "color"
178
+ }
179
+ },
180
+ "purple": {
181
+ "100": {
182
+ "$value": "#E5DBFE",
183
+ "$type": "color"
184
+ },
185
+ "200": {
186
+ "$value": "#C9B8FE",
187
+ "$type": "color"
188
+ },
189
+ "300": {
190
+ "$value": "#AA94F9",
191
+ "$type": "color"
192
+ },
193
+ "400": {
194
+ "$value": "#9076F3",
195
+ "$type": "color"
196
+ },
197
+ "500": {
198
+ "$value": "#6A4CEC",
199
+ "$type": "color"
200
+ },
201
+ "600": {
202
+ "$value": "#5036CB",
203
+ "$type": "color"
204
+ },
205
+ "700": {
206
+ "$value": "#3925AA",
207
+ "$type": "color"
208
+ },
209
+ "800": {
210
+ "$value": "#190F72",
211
+ "$type": "color"
212
+ }
213
+ },
214
+ "text": {
215
+ "default": {
216
+ "$value": "{color.neutral.800}"
217
+ },
218
+ "disabled": {
219
+ "$value": "{color.neutral.400}"
220
+ },
221
+ "muted": {
222
+ "$value": "{color.neutral.600}"
223
+ },
224
+ "white": {
225
+ "$value": "{color.white}"
226
+ }
227
+ }
228
+ },
229
+ "cypress": {
230
+ "large": {
231
+ "$value": "1.5rem",
232
+ "$type": "dimension"
233
+ },
234
+ "medium": {
235
+ "$value": "1rem",
236
+ "$type": "dimension"
237
+ },
238
+ "small": {
239
+ "$value": "0.5rem",
240
+ "$type": "dimension"
241
+ }
242
+ },
243
+ "emptyGroup": {},
244
+ "radius": {
245
+ "small": {
246
+ "$value": "4px",
247
+ "$type": "dimension"
248
+ },
249
+ "medium": {
250
+ "$value": "8px",
251
+ "$type": "dimension"
252
+ },
253
+ "large": {
254
+ "$value": "{cypress.large}",
255
+ "$type": "dimension",
256
+ "$description": ""
257
+ },
258
+ "round": {
259
+ "$value": "160px",
260
+ "$type": "dimension"
261
+ }
262
+ },
263
+ "shadow": {
264
+ "1": {
265
+ "$description": "Cards",
266
+ "$value": {
267
+ "color": "#000000",
268
+ "blur": "10px",
269
+ "spread": "0px",
270
+ "offsetX": "0px",
271
+ "offsetY": "5px"
272
+ },
273
+ "$type": "shadow"
274
+ },
275
+ "2": {
276
+ "$description": "floating action",
277
+ "$value": {
278
+ "color": "#000000",
279
+ "blur": "20px",
280
+ "spread": "0px",
281
+ "offsetX": "0px",
282
+ "offsetY": "10px"
283
+ }
284
+ },
285
+ "3": {
286
+ "$description": "Popovers, dropdowns, etc",
287
+ "$value": {
288
+ "color": "#000000",
289
+ "blur": "25px",
290
+ "spread": "0px",
291
+ "offsetX": "0px",
292
+ "offsetY": "15px"
293
+ },
294
+ "$type": "shadow"
295
+ },
296
+ "4": {
297
+ "$value": {
298
+ "color": "#000000",
299
+ "blur": "40px",
300
+ "spread": "0px",
301
+ "offsetX": "0px",
302
+ "offsetY": "20px"
303
+ }
304
+ },
305
+ "color": {
306
+ "$value": "#000000",
307
+ "$type": "color"
308
+ },
309
+ "$type": "shadow"
310
+ },
311
+ "spacing scale": {
312
+ "1": {
313
+ "$value": "2px"
314
+ },
315
+ "2": {
316
+ "$value": "4px"
317
+ },
318
+ "3": {
319
+ "$value": "8px"
320
+ },
321
+ "4": {
322
+ "$value": "12px"
323
+ },
324
+ "5": {
325
+ "$value": "16px"
326
+ },
327
+ "6": {
328
+ "$value": "24px"
329
+ },
330
+ "7": {
331
+ "$value": "32px"
332
+ },
333
+ "8": {
334
+ "$value": "40px"
335
+ },
336
+ "9": {
337
+ "$value": "48px"
338
+ },
339
+ "10": {
340
+ "$value": "64px"
341
+ },
342
+ "11": {
343
+ "$value": "80px"
344
+ },
345
+ "12": {
346
+ "$value": "96px"
347
+ },
348
+ "13": {
349
+ "$value": "160px"
350
+ },
351
+ "$type": "dimension"
352
+ },
353
+ "ungrouped-token": {
354
+ "$value": "Im Not Part of Any Group",
355
+ "$type": "string"
356
+ },
357
+ "transition": {
358
+ "a": {
359
+ "$type": "transition",
360
+ "$description": "",
361
+ "$value": {
362
+ "delay": "100ms",
363
+ "duration": "250ms",
364
+ "timingFunction": [0, 0, 1, 1]
365
+ }
366
+ },
367
+ "b": {
368
+ "$type": "transition",
369
+ "$description": "",
370
+ "$value": {
371
+ "delay": "10ms",
372
+ "duration": "500ms",
373
+ "timingFunction": [0.1, 1, 0.3, 1]
374
+ }
375
+ }
376
+ },
377
+ "collections": {
378
+ "brands": {
379
+ "$extensions": {
380
+ "cloud.knapsack": {
381
+ "group": {
382
+ "collectionInfo": {
383
+ "type": "collection",
384
+ "modes": [
385
+ {
386
+ "id": "brandALight"
387
+ },
388
+ {
389
+ "id": "brandADark"
390
+ },
391
+ {
392
+ "id": "brandBLight"
393
+ },
394
+ {
395
+ "id": "brandBDark"
396
+ }
397
+ ]
398
+ }
399
+ }
400
+ }
401
+ },
402
+ "foo": {
403
+ "bar": {
404
+ "$type": "dimension",
405
+ "$extensions": {
406
+ "cloud.knapsack": {
407
+ "group": {
408
+ "collectionInfo": {
409
+ "type": "var"
410
+ }
411
+ }
412
+ }
413
+ },
414
+ "brandALight": {
415
+ "$value": "1px"
416
+ },
417
+ "brandADark": {
418
+ "$value": "1px"
419
+ },
420
+ "brandBLight": {
421
+ "$value": "1px"
422
+ },
423
+ "brandBDark": {
424
+ "$value": "1px"
425
+ }
426
+ }
427
+ },
428
+ "color": {
429
+ "$type": "color",
430
+ "primary": {
431
+ "$description": "The main, consistent color used in all graphics, publications, signage, etc. ",
432
+ "$extensions": {
433
+ "cloud.knapsack": {
434
+ "group": {
435
+ "collectionInfo": {
436
+ "type": "var"
437
+ }
438
+ }
439
+ }
440
+ },
441
+ "brandALight": {
442
+ "$value": "#3ed93f"
443
+ },
444
+ "brandADark": {
445
+ "$value": "#0a13f7"
446
+ },
447
+ "brandBLight": {
448
+ "$value": "{color.pink.400}"
449
+ },
450
+ "brandBDark": {
451
+ "$value": "{color.pink.800}"
452
+ }
453
+ },
454
+ "secondary": {
455
+ "$type": "color",
456
+ "$description": "Complimentary color to the primary brand color",
457
+ "$extensions": {
458
+ "cloud.knapsack": {
459
+ "group": {
460
+ "collectionInfo": {
461
+ "type": "var"
462
+ }
463
+ }
464
+ }
465
+ },
466
+ "brandALight": {
467
+ "$value": "{color.pink.500}"
468
+ },
469
+ "brandBLight": {
470
+ "$value": "{color.purple.500}"
471
+ },
472
+ "brandADark": {
473
+ "$value": "{color.pink.500}"
474
+ },
475
+ "brandBDark": {
476
+ "$value": "{color.purple.500}"
477
+ }
478
+ },
479
+ "color": {
480
+ "$type": "color",
481
+ "$extensions": {
482
+ "cloud.knapsack": {
483
+ "group": {
484
+ "collectionInfo": {
485
+ "type": "var"
486
+ }
487
+ }
488
+ }
489
+ },
490
+ "brandALight": {
491
+ "$value": "#000000"
492
+ },
493
+ "brandADark": {
494
+ "$value": "#000000"
495
+ },
496
+ "brandBLight": {
497
+ "$value": "#000000"
498
+ },
499
+ "brandBDark": {
500
+ "$value": "#000000"
501
+ }
502
+ },
503
+ "color 1": {
504
+ "$type": "color",
505
+ "$extensions": {
506
+ "cloud.knapsack": {
507
+ "group": {
508
+ "collectionInfo": {
509
+ "type": "var"
510
+ }
511
+ }
512
+ }
513
+ },
514
+ "brandALight": {
515
+ "$value": "#000000"
516
+ },
517
+ "brandADark": {
518
+ "$value": "#000000"
519
+ },
520
+ "brandBLight": {
521
+ "$value": "#000000"
522
+ },
523
+ "brandBDark": {
524
+ "$value": "#000000"
525
+ }
526
+ },
527
+ "fontWeight": {
528
+ "$type": "fontWeight",
529
+ "$extensions": {
530
+ "cloud.knapsack": {
531
+ "group": {
532
+ "collectionInfo": {
533
+ "type": "var"
534
+ }
535
+ }
536
+ }
537
+ }
538
+ }
539
+ },
540
+ "test": {
541
+ "$type": "dimension",
542
+ "primary": {
543
+ "$description": "The main, consistent color used in all graphics, publications, signage, etc. ",
544
+ "$extensions": {
545
+ "cloud.knapsack": {
546
+ "group": {
547
+ "collectionInfo": {
548
+ "type": "var"
549
+ }
550
+ }
551
+ }
552
+ },
553
+ "brandALight": {
554
+ "$value": "{spacing scale.8}"
555
+ },
556
+ "brandADark": {
557
+ "$value": "{collections.density.spacing.small.compact}"
558
+ }
559
+ },
560
+ "secondary": {
561
+ "$type": "color",
562
+ "$description": "Complimentary color to the primary brand color",
563
+ "$extensions": {
564
+ "cloud.knapsack": {
565
+ "group": {
566
+ "collectionInfo": {
567
+ "type": "var"
568
+ }
569
+ }
570
+ }
571
+ },
572
+ "brandALight": {
573
+ "$value": "#cc2020"
574
+ },
575
+ "brandBLight": {
576
+ "$value": "{color.neutral.300}"
577
+ },
578
+ "brandBDark": {
579
+ "$value": "{color.neutral.600}"
580
+ },
581
+ "brandADark": {
582
+ "$value": "#cc2020"
583
+ }
584
+ },
585
+ "dimension": {
586
+ "$type": "dimension",
587
+ "$extensions": {
588
+ "cloud.knapsack": {
589
+ "group": {
590
+ "collectionInfo": {
591
+ "type": "var"
592
+ }
593
+ }
594
+ }
595
+ },
596
+ "brandALight": {
597
+ "$value": "2px",
598
+ "$type": "dimension"
599
+ }
600
+ }
601
+ }
602
+ },
603
+ "density": {
604
+ "$extensions": {
605
+ "cloud.knapsack": {
606
+ "group": {
607
+ "collectionInfo": {
608
+ "type": "collection",
609
+ "modes": [
610
+ {
611
+ "id": "comfortable"
612
+ },
613
+ {
614
+ "id": "compact"
615
+ }
616
+ ]
617
+ }
618
+ }
619
+ }
620
+ },
621
+ "spacing": {
622
+ "large": {
623
+ "$type": "dimension",
624
+ "$extensions": {
625
+ "cloud.knapsack": {
626
+ "group": {
627
+ "collectionInfo": {
628
+ "type": "var"
629
+ }
630
+ }
631
+ }
632
+ },
633
+ "comfortable": {
634
+ "$value": "{spacing scale.8}"
635
+ },
636
+ "compact": {
637
+ "$value": "{spacing scale.5}"
638
+ }
639
+ },
640
+ "medium": {
641
+ "$type": "dimension",
642
+ "$extensions": {
643
+ "cloud.knapsack": {
644
+ "group": {
645
+ "collectionInfo": {
646
+ "type": "var"
647
+ }
648
+ }
649
+ }
650
+ },
651
+ "comfortable": {
652
+ "$value": "{spacing scale.6}"
653
+ },
654
+ "compact": {
655
+ "$value": "{spacing scale.5}"
656
+ }
657
+ },
658
+ "small": {
659
+ "$type": "dimension",
660
+ "$extensions": {
661
+ "cloud.knapsack": {
662
+ "group": {
663
+ "collectionInfo": {
664
+ "type": "var"
665
+ }
666
+ }
667
+ }
668
+ },
669
+ "comfortable": {
670
+ "$value": "{spacing scale.3}"
671
+ },
672
+ "compact": {
673
+ "$value": "{spacing scale.2}"
674
+ }
675
+ }
676
+ }
677
+ }
678
+ }
679
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "extends": "@knapsack/typescript-config-starter/tsconfig.test-only.json",
3
+ "compilerOptions": {
4
+ "noImplicitAny": true,
5
+ "outDir": "./dist"
6
+ },
7
+ "include": ["./knapsack.config.cjs"]
8
+ }