@alea-design/tokens 0.10.9 → 0.10.10

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.
package/src/semantic.json DELETED
@@ -1,1561 +0,0 @@
1
- {
2
- "$description": "What components use. $value is Dark (the default); every token also lists Dark and Light under $extensions.com.figma.modes, the format Token Converter and the Figma generator read.",
3
- "bg": {
4
- "$type": "color",
5
- "default": {
6
- "$value": "#272625",
7
- "$description": "Page background",
8
- "$extensions": {
9
- "com.figma": {
10
- "modes": {
11
- "Dark": "#272625",
12
- "Light": "{color.gray.300}"
13
- }
14
- }
15
- }
16
- },
17
- "deep": {
18
- "$value": "#1f1e1d",
19
- "$description": "Sunken areas, footers",
20
- "$extensions": {
21
- "com.figma": {
22
- "modes": {
23
- "Dark": "#1f1e1d",
24
- "Light": "#efebe7"
25
- }
26
- }
27
- }
28
- }
29
- },
30
- "surface": {
31
- "$type": "color",
32
- "default": {
33
- "$value": "{color.gray.700}",
34
- "$description": "Cards, panels, dialogs",
35
- "$extensions": {
36
- "com.figma": {
37
- "modes": {
38
- "Dark": "{color.gray.700}",
39
- "Light": "{color.white}"
40
- }
41
- }
42
- }
43
- },
44
- "deep": {
45
- "$value": "{color.gray.800}",
46
- "$description": "Fields, wells, segmented tracks",
47
- "$extensions": {
48
- "com.figma": {
49
- "modes": {
50
- "Dark": "{color.gray.800}",
51
- "Light": "#f3f0ec"
52
- }
53
- }
54
- }
55
- },
56
- "raised": {
57
- "$value": "#262829",
58
- "$description": "Hover rows, neutral badges",
59
- "$extensions": {
60
- "com.figma": {
61
- "modes": {
62
- "Dark": "#262829",
63
- "Light": "#ebe7e2"
64
- }
65
- }
66
- }
67
- },
68
- "sunken": {
69
- "$value": "#1c1b1a",
70
- "$description": "A well sunk into a surface: the surface with a little black in it. Follows the surface of the theme and the look. For inputs inside cards, code blocks, the groove of a track",
71
- "$extensions": {
72
- "com.figma": { "modes": { "Dark": "#1c1b1a", "Light": "#f1f1f1" } },
73
- "fun.lab": { "css": "color-mix(in srgb, var(--alea-surface) 94%, var(--alea-black))" }
74
- }
75
- },
76
- "tint": {
77
- "$value": "#2b212d",
78
- "$description": "A surface with a whisper of the accent (8 %): a selected card, a highlighted block. Follows the accent of the look and of a brand",
79
- "$extensions": {
80
- "com.figma": { "modes": { "Dark": "#2b212d", "Light": "#faf0fe" } },
81
- "fun.lab": { "css": "color-mix(in srgb, var(--alea-surface) 92%, var(--alea-accent))" }
82
- }
83
- },
84
- "glass": {
85
- "$value": "#1d1c1be0",
86
- "$description": "The surface at 88 % opacity, for bars that let the page show through (a sticky header, a bottom bar). Pair it with a backdrop blur",
87
- "$extensions": {
88
- "com.figma": { "modes": { "Dark": { "alias": "{color.gray.700}", "opacity": 88 }, "Light": { "alias": "{color.white}", "opacity": 88 } } },
89
- "fun.lab": { "css": "color-mix(in srgb, var(--alea-surface) 88%, transparent)" }
90
- }
91
- },
92
- "hover": {
93
- "$value": "{color.neutral.950}",
94
- "$extensions": {
95
- "com.figma": {
96
- "modes": {
97
- "Dark": "{color.neutral.950}",
98
- "Light": "#faf8f6"
99
- }
100
- }
101
- }
102
- },
103
- "overlay": {
104
- "$value": "#000000b8",
105
- "$description": "Behind dialogs and drawers",
106
- "$extensions": {
107
- "com.figma": {
108
- "modes": {
109
- "Dark": {
110
- "alias": "{color.gray.1000}",
111
- "opacity": 72.16
112
- },
113
- "Light": {
114
- "alias": "{color.black}",
115
- "opacity": 36.08
116
- }
117
- }
118
- }
119
- }
120
- }
121
- },
122
- "border": {
123
- "$type": "color",
124
- "default": {
125
- "$value": "#ffffff14",
126
- "$extensions": {
127
- "com.figma": {
128
- "modes": {
129
- "Dark": {
130
- "alias": "{color.white}",
131
- "opacity": 7.84
132
- },
133
- "Light": {
134
- "alias": "{color.black}",
135
- "opacity": 9.02
136
- }
137
- }
138
- }
139
- }
140
- },
141
- "strong": {
142
- "$value": "#ffffff2e",
143
- "$description": "Ghost buttons, hovered fields",
144
- "$extensions": {
145
- "com.figma": {
146
- "modes": {
147
- "Dark": {
148
- "alias": "{color.white}",
149
- "opacity": 18.04
150
- },
151
- "Light": {
152
- "alias": "{color.black}",
153
- "opacity": 20
154
- }
155
- }
156
- }
157
- }
158
- },
159
- "control": {
160
- "$value": "#ffffff5c",
161
- "$description": "Checkbox, radio and switch outlines: 3:1 on surfaces (WCAG 1.4.11)",
162
- "$extensions": {
163
- "com.figma": {
164
- "modes": {
165
- "Dark": {
166
- "alias": "{color.white}",
167
- "opacity": 36.08
168
- },
169
- "Light": {
170
- "alias": "{color.black}",
171
- "opacity": 50.2
172
- }
173
- }
174
- }
175
- }
176
- }
177
- },
178
- "text": {
179
- "$type": "color",
180
- "default": {
181
- "$value": "{color.gray.100}",
182
- "$extensions": {
183
- "com.figma": {
184
- "modes": {
185
- "Dark": "{color.gray.100}",
186
- "Light": "{color.black}"
187
- }
188
- }
189
- }
190
- },
191
- "soft": {
192
- "$value": "{color.gray.50}",
193
- "$extensions": {
194
- "com.figma": {
195
- "modes": {
196
- "Dark": "{color.gray.50}",
197
- "Light": "{color.gray.700}"
198
- }
199
- }
200
- }
201
- },
202
- "muted": {
203
- "$value": "#dbdbdbd1",
204
- "$description": "Secondary text, 4.5:1 on surfaces",
205
- "$extensions": {
206
- "com.figma": {
207
- "modes": {
208
- "Dark": {
209
- "alias": "{color.gray.400}",
210
- "opacity": 81.96
211
- },
212
- "Light": {
213
- "alias": "{color.black}",
214
- "opacity": 74.12
215
- }
216
- }
217
- }
218
- }
219
- },
220
- "faint": {
221
- "$value": "#dbdbdb99",
222
- "$description": "Help text and placeholders: the quietest text that still passes 4.5:1 on surfaces",
223
- "$extensions": {
224
- "com.figma": {
225
- "modes": {
226
- "Dark": {
227
- "alias": "{color.gray.400}",
228
- "opacity": 60
229
- },
230
- "Light": {
231
- "alias": "{color.black}",
232
- "opacity": 61.96
233
- }
234
- }
235
- }
236
- }
237
- }
238
- },
239
- "accent": {
240
- "$type": "color",
241
- "default": {
242
- "$value": "{color.purple.400}",
243
- "$description": "The accent for fills, borders, glows and decoration. It is not a text color: on light surfaces it is under 4.5:1. Text and links use accent.strong",
244
- "$extensions": {
245
- "com.figma": {
246
- "modes": {
247
- "Dark": "{color.purple.400}",
248
- "Light": "{color.purple.500}"
249
- }
250
- }
251
- }
252
- },
253
- "strong": {
254
- "$value": "{color.purple.300}",
255
- "$description": "Accent as text or links: 4.5:1 on every surface and tint",
256
- "$extensions": {
257
- "com.figma": {
258
- "modes": {
259
- "Dark": "{color.purple.300}",
260
- "Light": "{color.purple.700}"
261
- }
262
- }
263
- }
264
- },
265
- "second": {
266
- "$value": "{color.yellow.200}",
267
- "$description": "accent-b",
268
- "$extensions": {
269
- "com.figma": {
270
- "modes": {
271
- "Dark": "{color.yellow.200}",
272
- "Light": "{color.yellow.200}"
273
- }
274
- }
275
- }
276
- },
277
- "third": {
278
- "$value": "{color.violet.500}",
279
- "$description": "accent-c",
280
- "$extensions": {
281
- "com.figma": {
282
- "modes": {
283
- "Dark": "{color.violet.500}",
284
- "Light": "{color.violet.500}"
285
- }
286
- }
287
- }
288
- },
289
- "subtle": {
290
- "$value": "#cd57ff24",
291
- "$description": "Selected rows, active menu items",
292
- "$extensions": {
293
- "com.figma": {
294
- "modes": {
295
- "Dark": {
296
- "alias": "{color.purple.400}",
297
- "opacity": 14.12
298
- },
299
- "Light": {
300
- "alias": "{color.purple.400}",
301
- "opacity": 12.16
302
- }
303
- }
304
- }
305
- }
306
- },
307
- "on": {
308
- "$value": "{color.black}",
309
- "$description": "Text on the accent",
310
- "$extensions": {
311
- "com.figma": {
312
- "modes": {
313
- "Dark": "{color.black}",
314
- "Light": "{color.black}"
315
- }
316
- }
317
- }
318
- },
319
- "solid": {
320
- "$value": "{accent.default}",
321
- "$description": "Filled accent surfaces that carry text (solid badges, counts, ribbons); text on it is accent.on",
322
- "$extensions": {
323
- "com.figma": {
324
- "modes": {
325
- "Dark": "{accent.default}",
326
- "Light": "{color.purple.400}"
327
- }
328
- }
329
- }
330
- }
331
- },
332
- "focus": {
333
- "$type": "color",
334
- "default": {
335
- "$value": "{color.purple.400}",
336
- "$description": "Focus rings",
337
- "$extensions": {
338
- "com.figma": {
339
- "modes": {
340
- "Dark": "{color.purple.400}",
341
- "Light": "{color.purple.650}"
342
- }
343
- }
344
- }
345
- },
346
- "halo": {
347
- "$value": "#cd57ff33",
348
- "$description": "Soft glow around focused fields",
349
- "$extensions": {
350
- "com.figma": {
351
- "modes": {
352
- "Dark": {
353
- "alias": "{color.purple.400}",
354
- "opacity": 20
355
- },
356
- "Light": {
357
- "alias": "{color.purple.650}",
358
- "opacity": 18.04
359
- }
360
- }
361
- }
362
- }
363
- }
364
- },
365
- "chip": {
366
- "$type": "color",
367
- "bg": {
368
- "$value": "{color.white}",
369
- "$description": "The inverted pill: chip buttons, selected segments",
370
- "$extensions": {
371
- "com.figma": {
372
- "modes": {
373
- "Dark": "{color.white}",
374
- "Light": "{color.black}"
375
- }
376
- }
377
- }
378
- },
379
- "text": {
380
- "$value": "{color.black}",
381
- "$extensions": {
382
- "com.figma": {
383
- "modes": {
384
- "Dark": "{color.black}",
385
- "Light": "{color.gray.50}"
386
- }
387
- }
388
- }
389
- }
390
- },
391
- "button": {
392
- "$type": "color",
393
- "ring": {
394
- "$value": "#242628",
395
- "$extensions": {
396
- "com.figma": {
397
- "modes": {
398
- "Dark": "#242628",
399
- "Light": "#e3dfda"
400
- }
401
- }
402
- }
403
- },
404
- "top": {
405
- "$value": "{color.blue-gray.550}",
406
- "$description": "Primary button gradient, top",
407
- "$extensions": {
408
- "com.figma": {
409
- "modes": {
410
- "Dark": "{color.blue-gray.550}",
411
- "Light": "{color.blue-gray.550}"
412
- }
413
- }
414
- }
415
- },
416
- "bottom": {
417
- "$value": "{color.gray.950}",
418
- "$description": "Primary button gradient, bottom",
419
- "$extensions": {
420
- "com.figma": {
421
- "modes": {
422
- "Dark": "{color.gray.950}",
423
- "Light": "{color.gray.950}"
424
- }
425
- }
426
- }
427
- },
428
- "text": {
429
- "$value": "{color.gray.100}",
430
- "$extensions": {
431
- "com.figma": {
432
- "modes": {
433
- "Dark": "{color.gray.100}",
434
- "Light": "{color.gray.100}"
435
- }
436
- }
437
- }
438
- }
439
- },
440
- "effect": {
441
- "$type": "color",
442
- "top-light": {
443
- "$value": "#ffffff2e",
444
- "$description": "The highlight along the top edge of a primary button: white at 18 %, fading to clear by 48 % of the height. Used by every primary button (sizes, states, shapes)",
445
- "$extensions": {
446
- "com.figma": {
447
- "modes": {
448
- "Dark": {
449
- "alias": "{color.white}",
450
- "opacity": 18.04
451
- },
452
- "Light": {
453
- "alias": "{color.white}",
454
- "opacity": 18.04
455
- }
456
- }
457
- },
458
- "fun.lab": {
459
- "css": "rgb(255 255 255 / 0.18)"
460
- }
461
- }
462
- },
463
- "glow": {
464
- "$value": "#cd57ff8c",
465
- "$description": "The glow of a hovered primary: the accent at 55 % (0 10 30 -10). Follows the accent of the look and of a brand",
466
- "$extensions": {
467
- "com.figma": {
468
- "modes": {
469
- "Dark": {
470
- "alias": "{color.purple.400}",
471
- "opacity": 54.9
472
- },
473
- "Light": {
474
- "alias": "{color.purple.500}",
475
- "opacity": 54.9
476
- }
477
- }
478
- },
479
- "fun.lab": {
480
- "css": "color-mix(in srgb, var(--alea-accent) 55%, transparent)"
481
- }
482
- }
483
- },
484
- "glow-soft": {
485
- "$value": "#cd57ffb3",
486
- "$description": "The accent glow of a hovered secondary button, an effect card and a preset surface: the accent at 70 % (0 10 26 -12). Follows the accent of the look and of a brand",
487
- "$extensions": {
488
- "com.figma": {
489
- "modes": {
490
- "Dark": {
491
- "alias": "{color.purple.400}",
492
- "opacity": 70.2
493
- },
494
- "Light": {
495
- "alias": "{color.purple.500}",
496
- "opacity": 70.2
497
- }
498
- }
499
- },
500
- "fun.lab": {
501
- "css": "color-mix(in srgb, var(--alea-accent) 70%, transparent)"
502
- }
503
- }
504
- }
505
- },
506
- "field": {
507
- "$type": "color",
508
- "bg": {
509
- "$value": "{color.gray.800}",
510
- "$extensions": {
511
- "com.figma": {
512
- "modes": {
513
- "Dark": "{color.gray.800}",
514
- "Light": "{color.gray.300}"
515
- }
516
- }
517
- }
518
- }
519
- },
520
- "status": {
521
- "$type": "color",
522
- "success": {
523
- "$value": "{color.green.300}",
524
- "$extensions": {
525
- "com.figma": {
526
- "modes": {
527
- "Dark": "{color.green.300}",
528
- "Light": "{color.green.800}"
529
- }
530
- }
531
- }
532
- },
533
- "success-bg": {
534
- "$value": "#3ddc841f",
535
- "$extensions": {
536
- "com.figma": {
537
- "modes": {
538
- "Dark": {
539
- "alias": "{color.green.300}",
540
- "opacity": 12.16
541
- },
542
- "Light": "#11804a1a"
543
- }
544
- }
545
- }
546
- },
547
- "danger": {
548
- "$value": "#ff9595",
549
- "$extensions": {
550
- "com.figma": {
551
- "modes": {
552
- "Dark": "#ff9595",
553
- "Light": "#a22020"
554
- }
555
- }
556
- }
557
- },
558
- "danger-bg": {
559
- "$value": "#ff7a7a1f",
560
- "$extensions": {
561
- "com.figma": {
562
- "modes": {
563
- "Dark": "#ff7a7a1f",
564
- "Light": {
565
- "alias": "{color.red.650}",
566
- "opacity": 7.84
567
- }
568
- }
569
- }
570
- }
571
- },
572
- "warning": {
573
- "$value": "{color.amber.300}",
574
- "$extensions": {
575
- "com.figma": {
576
- "modes": {
577
- "Dark": "{color.amber.300}",
578
- "Light": "#7a4e00"
579
- }
580
- }
581
- }
582
- },
583
- "warning-bg": {
584
- "$value": "#f5a5241f",
585
- "$extensions": {
586
- "com.figma": {
587
- "modes": {
588
- "Dark": {
589
- "alias": "{color.amber.300}",
590
- "opacity": 12.16
591
- },
592
- "Light": {
593
- "alias": "{color.amber.300}",
594
- "opacity": 12.16
595
- }
596
- }
597
- }
598
- }
599
- },
600
- "info": {
601
- "$value": "{color.blue.300}",
602
- "$extensions": {
603
- "com.figma": {
604
- "modes": {
605
- "Dark": "{color.blue.300}",
606
- "Light": "#1752b0"
607
- }
608
- }
609
- }
610
- },
611
- "info-bg": {
612
- "$value": "#3b82f61f",
613
- "$extensions": {
614
- "com.figma": {
615
- "modes": {
616
- "Dark": {
617
- "alias": "{color.blue.500}",
618
- "opacity": 12.16
619
- },
620
- "Light": {
621
- "alias": "{color.blue.500}",
622
- "opacity": 10.2
623
- }
624
- }
625
- }
626
- }
627
- },
628
- "on": {
629
- "$value": "{color.black}",
630
- "$description": "Text on a solid status color: dark on the light dark-theme tones, white on the deep light-theme tones.",
631
- "$extensions": {
632
- "com.figma": {
633
- "modes": {
634
- "Dark": "{color.black}",
635
- "Light": "{color.white}"
636
- }
637
- }
638
- }
639
- },
640
- "success-solid": {
641
- "$value": "{color.green.300}",
642
- "$description": "Filled success surfaces: solid badges, progress, timeline dots",
643
- "$extensions": {
644
- "com.figma": {
645
- "modes": {
646
- "Dark": "{color.green.300}",
647
- "Light": "{color.green.300}"
648
- }
649
- }
650
- }
651
- },
652
- "success-on-solid": {
653
- "$value": "{color.black}",
654
- "$description": "Text and icons on success-solid",
655
- "$extensions": {
656
- "com.figma": {
657
- "modes": {
658
- "Dark": "{color.black}",
659
- "Light": "{color.black}"
660
- }
661
- }
662
- }
663
- },
664
- "warning-solid": {
665
- "$value": "{color.amber.300}",
666
- "$description": "Filled warning surfaces",
667
- "$extensions": {
668
- "com.figma": {
669
- "modes": {
670
- "Dark": "{color.amber.300}",
671
- "Light": "{color.amber.300}"
672
- }
673
- }
674
- }
675
- },
676
- "warning-on-solid": {
677
- "$value": "{color.black}",
678
- "$description": "Text and icons on warning-solid",
679
- "$extensions": {
680
- "com.figma": {
681
- "modes": {
682
- "Dark": "{color.black}",
683
- "Light": "{color.black}"
684
- }
685
- }
686
- }
687
- },
688
- "danger-solid": {
689
- "$value": "{color.red.600}",
690
- "$description": "Filled danger surfaces: destructive buttons, solid alerts, notification counts. Dark uses a lighter red with dark text, so status.on and status.danger-on-solid both pass 4.5:1 on it",
691
- "$extensions": {
692
- "com.figma": {
693
- "modes": {
694
- "Dark": "{color.red.500}",
695
- "Light": "{color.red.600}"
696
- }
697
- }
698
- }
699
- },
700
- "danger-solid-hover": {
701
- "$value": "{color.red.700}",
702
- "$description": "danger-solid while hovered",
703
- "$extensions": {
704
- "com.figma": {
705
- "modes": {
706
- "Dark": "{color.red.400}",
707
- "Light": "{color.red.700}"
708
- }
709
- }
710
- }
711
- },
712
- "danger-on-solid": {
713
- "$value": "{color.white}",
714
- "$description": "Text and icons on danger-solid: dark in Dark, white in Light",
715
- "$extensions": {
716
- "com.figma": {
717
- "modes": {
718
- "Dark": "{color.black}",
719
- "Light": "{color.white}"
720
- }
721
- }
722
- }
723
- },
724
- "info-solid": {
725
- "$value": "{color.blue.700}",
726
- "$description": "Filled info surfaces",
727
- "$extensions": {
728
- "com.figma": {
729
- "modes": {
730
- "Dark": "{color.blue.700}",
731
- "Light": "{color.blue.700}"
732
- }
733
- }
734
- }
735
- },
736
- "info-on-solid": {
737
- "$value": "{color.white}",
738
- "$description": "Text and icons on info-solid",
739
- "$extensions": {
740
- "com.figma": {
741
- "modes": {
742
- "Dark": "{color.white}",
743
- "Light": "{color.white}"
744
- }
745
- }
746
- }
747
- }
748
- },
749
- "shadow": {
750
- "$type": "shadow",
751
- "card": {
752
- "$value": [
753
- {
754
- "color": "#c6c6c62e",
755
- "offsetX": "0px",
756
- "offsetY": "0.5px",
757
- "blur": "0px",
758
- "spread": "1px",
759
- "inset": true
760
- },
761
- {
762
- "color": {
763
- "alias": "{color.gray.1000}",
764
- "opacity": 25.1
765
- },
766
- "offsetX": "0px",
767
- "offsetY": "18px",
768
- "blur": "40px",
769
- "spread": "-18px"
770
- }
771
- ],
772
- "$extensions": {
773
- "com.figma": {
774
- "modes": {
775
- "Dark": [
776
- {
777
- "color": "#c6c6c62e",
778
- "offsetX": "0px",
779
- "offsetY": "0.5px",
780
- "blur": "0px",
781
- "spread": "1px",
782
- "inset": true
783
- },
784
- {
785
- "color": {
786
- "alias": "{color.gray.1000}",
787
- "opacity": 25.1
788
- },
789
- "offsetX": "0px",
790
- "offsetY": "18px",
791
- "blur": "40px",
792
- "spread": "-18px"
793
- }
794
- ],
795
- "Light": [
796
- {
797
- "color": {
798
- "alias": "{color.black}",
799
- "opacity": 5.88
800
- },
801
- "offsetX": "0px",
802
- "offsetY": "0px",
803
- "blur": "0px",
804
- "spread": "1px",
805
- "inset": true
806
- },
807
- {
808
- "color": {
809
- "alias": "{color.warm-gray.350}",
810
- "opacity": 7.84
811
- },
812
- "offsetX": "0px",
813
- "offsetY": "18px",
814
- "blur": "40px",
815
- "spread": "-20px"
816
- }
817
- ]
818
- }
819
- }
820
- }
821
- },
822
- "pop": {
823
- "$value": [
824
- {
825
- "color": {
826
- "alias": "{color.gray.1000}",
827
- "opacity": 70.2
828
- },
829
- "offsetX": "0px",
830
- "offsetY": "24px",
831
- "blur": "60px",
832
- "spread": "-24px"
833
- }
834
- ],
835
- "$description": "Popovers, menus, dialogs",
836
- "$extensions": {
837
- "com.figma": {
838
- "modes": {
839
- "Dark": [
840
- {
841
- "color": {
842
- "alias": "{color.gray.1000}",
843
- "opacity": 70.2
844
- },
845
- "offsetX": "0px",
846
- "offsetY": "24px",
847
- "blur": "60px",
848
- "spread": "-24px"
849
- }
850
- ],
851
- "Light": [
852
- {
853
- "color": {
854
- "alias": "{color.warm-gray.350}",
855
- "opacity": 25.1
856
- },
857
- "offsetX": "0px",
858
- "offsetY": "24px",
859
- "blur": "60px",
860
- "spread": "-24px"
861
- }
862
- ]
863
- }
864
- }
865
- }
866
- },
867
- "glow": {
868
- "$value": [
869
- {
870
- "color": "#cd57ff8c",
871
- "offsetX": "0px",
872
- "offsetY": "10px",
873
- "blur": "30px",
874
- "spread": "-10px"
875
- }
876
- ],
877
- "$description": "Primary button hover"
878
- }
879
- },
880
- "gradient": {
881
- "$type": "string",
882
- "accent": {
883
- "$value": "radial-gradient(100% 100% at 25% 100%, #cd57ff 0%, #ffce1f 100%)",
884
- "$description": "The AV logo gradient: purple from the bottom left into yellow. Dots, marks, avatars",
885
- "$extensions": {
886
- "fun.lab": {
887
- "kind": "radial",
888
- "stops": [
889
- [
890
- "#cd57ff",
891
- 0
892
- ],
893
- [
894
- "#ffce1f",
895
- 1
896
- ]
897
- ]
898
- }
899
- }
900
- },
901
- "accent-linear": {
902
- "$value": "linear-gradient(120deg, #cd57ff 0%, #ffce1f 100%)",
903
- "$description": "Progress, gradient text, indicators: the AV logo's purple to yellow, straight",
904
- "$extensions": {
905
- "fun.lab": {
906
- "kind": "linear",
907
- "angle": 120,
908
- "stops": [
909
- [
910
- "#cd57ff",
911
- 0
912
- ],
913
- [
914
- "#ffce1f",
915
- 1
916
- ]
917
- ]
918
- }
919
- }
920
- },
921
- "text": {
922
- "$value": "radial-gradient(100% 100% at 25% 100%, #cd57ff 0%, #ffce1f 100%)",
923
- "$description": "The accent gradient as a text fill (--alea-gradient-text). Same as accent in Dark; in Light the yellow end is a dark amber so large text keeps 3:1 or more against the page (the yellow was 1.4:1)",
924
- "$extensions": {
925
- "com.figma": {
926
- "modes": {
927
- "Dark": "radial-gradient(100% 100% at 25% 100%, #cd57ff 0%, #ffce1f 100%)",
928
- "Light": "radial-gradient(100% 100% at 25% 100%, #b83fe6 0%, #b45309 100%)"
929
- }
930
- },
931
- "fun.lab": {
932
- "kind": "radial",
933
- "stops": [
934
- [
935
- "#cd57ff",
936
- 0
937
- ],
938
- [
939
- "#ffce1f",
940
- 1
941
- ]
942
- ],
943
- "stopsLight": [
944
- [
945
- "#b83fe6",
946
- 0
947
- ],
948
- [
949
- "#b45309",
950
- 1
951
- ]
952
- ]
953
- }
954
- }
955
- },
956
- "text-linear": {
957
- "$value": "linear-gradient(120deg, #cd57ff 0%, #ffce1f 100%)",
958
- "$description": "Gradient text, straight (--alea-gradient-text-linear). Same as accent-linear in Dark; in Light the yellow end is a dark amber, 3:1 or more over the whole gradient",
959
- "$extensions": {
960
- "com.figma": {
961
- "modes": {
962
- "Dark": "linear-gradient(120deg, #cd57ff 0%, #ffce1f 100%)",
963
- "Light": "linear-gradient(120deg, #b83fe6 0%, #b45309 100%)"
964
- }
965
- },
966
- "fun.lab": {
967
- "kind": "linear",
968
- "angle": 120,
969
- "stops": [
970
- [
971
- "#cd57ff",
972
- 0
973
- ],
974
- [
975
- "#ffce1f",
976
- 1
977
- ]
978
- ],
979
- "stopsLight": [
980
- [
981
- "#b83fe6",
982
- 0
983
- ],
984
- [
985
- "#b45309",
986
- 1
987
- ]
988
- ]
989
- }
990
- }
991
- },
992
- "button": {
993
- "$value": "linear-gradient(180deg, #33363f 0%, #020202 100%)",
994
- "$description": "Primary buttons",
995
- "$extensions": {
996
- "fun.lab": {
997
- "kind": "linear",
998
- "angle": 180,
999
- "stops": [
1000
- [
1001
- "#33363f",
1002
- 0
1003
- ],
1004
- [
1005
- "#020202",
1006
- 1
1007
- ]
1008
- ]
1009
- }
1010
- }
1011
- }
1012
- },
1013
- "presence": {
1014
- "$type": "color",
1015
- "online": {
1016
- "$value": "{color.green.300}",
1017
- "$description": "Presence dot: online",
1018
- "$extensions": {
1019
- "com.figma": {
1020
- "modes": {
1021
- "Dark": "{color.green.300}",
1022
- "Light": "{color.green.600}"
1023
- }
1024
- }
1025
- }
1026
- },
1027
- "away": {
1028
- "$value": "{color.amber.300}",
1029
- "$description": "Presence dot: away",
1030
- "$extensions": {
1031
- "com.figma": {
1032
- "modes": {
1033
- "Dark": "{color.amber.300}",
1034
- "Light": "{color.amber.500}"
1035
- }
1036
- }
1037
- }
1038
- },
1039
- "busy": {
1040
- "$value": "{color.red.500}",
1041
- "$description": "Presence dot: busy",
1042
- "$extensions": {
1043
- "com.figma": {
1044
- "modes": {
1045
- "Dark": "{color.red.500}",
1046
- "Light": "{color.red.600}"
1047
- }
1048
- }
1049
- }
1050
- },
1051
- "offline": {
1052
- "$value": "{color.neutral.500}",
1053
- "$description": "Presence dot: offline",
1054
- "$extensions": {
1055
- "com.figma": {
1056
- "modes": {
1057
- "Dark": "{color.neutral.500}",
1058
- "Light": "{color.neutral.500}"
1059
- }
1060
- }
1061
- }
1062
- }
1063
- },
1064
- "rating": {
1065
- "$type": "color",
1066
- "fill": {
1067
- "$value": "{color.yellow.200}",
1068
- "$description": "Filled rating icons (3:1 on the surface in both themes)",
1069
- "$extensions": {
1070
- "com.figma": {
1071
- "modes": {
1072
- "Dark": "{color.yellow.200}",
1073
- "Light": "{color.amber.500}"
1074
- }
1075
- }
1076
- }
1077
- }
1078
- },
1079
- "control": {
1080
- "$type": "color",
1081
- "thumb": {
1082
- "$value": "{color.white}",
1083
- "$description": "Thumbs of sliders and switches, and handles over media",
1084
- "$extensions": {
1085
- "com.figma": {
1086
- "modes": {
1087
- "Dark": "{color.white}",
1088
- "Light": "{color.white}"
1089
- }
1090
- }
1091
- }
1092
- }
1093
- },
1094
- "on-media": {
1095
- "$type": "color",
1096
- "$value": "{color.white}",
1097
- "$description": "Text and icons on images, video and dark scrims",
1098
- "$extensions": {
1099
- "com.figma": {
1100
- "modes": {
1101
- "Dark": "{color.white}",
1102
- "Light": "{color.white}"
1103
- }
1104
- }
1105
- }
1106
- },
1107
- "media-backdrop": {
1108
- "$type": "color",
1109
- "$value": "{color.gray.1000}",
1110
- "$description": "Behind video and letterboxing: stays black in both themes",
1111
- "$extensions": {
1112
- "com.figma": {
1113
- "modes": {
1114
- "Dark": "{color.gray.1000}",
1115
- "Light": "{color.gray.1000}"
1116
- }
1117
- }
1118
- }
1119
- },
1120
- "media-scrim": {
1121
- "$type": "color",
1122
- "$value": "#000000bf",
1123
- "$description": "Behind captions and text laid over video",
1124
- "$extensions": {
1125
- "com.figma": {
1126
- "modes": {
1127
- "Dark": {
1128
- "alias": "{color.gray.1000}",
1129
- "opacity": 74.9
1130
- },
1131
- "Light": {
1132
- "alias": "{color.gray.1000}",
1133
- "opacity": 74.9
1134
- }
1135
- }
1136
- }
1137
- }
1138
- },
1139
- "chart": {
1140
- "2": {
1141
- "$value": "{color.yellow.200}",
1142
- "$description": "Series 2",
1143
- "$extensions": {
1144
- "com.figma": {
1145
- "modes": {
1146
- "Dark": "{color.yellow.200}",
1147
- "Light": "{color.amber.500}"
1148
- }
1149
- }
1150
- }
1151
- },
1152
- "3": {
1153
- "$value": "{color.violet.500}",
1154
- "$description": "Series 3",
1155
- "$extensions": {
1156
- "com.figma": {
1157
- "modes": {
1158
- "Dark": "{color.violet.500}",
1159
- "Light": "{color.violet.600}"
1160
- }
1161
- }
1162
- }
1163
- },
1164
- "4": {
1165
- "$value": "{color.green.300}",
1166
- "$description": "Series 4",
1167
- "$extensions": {
1168
- "com.figma": {
1169
- "modes": {
1170
- "Dark": "{color.green.300}",
1171
- "Light": "{color.green.600}"
1172
- }
1173
- }
1174
- }
1175
- },
1176
- "5": {
1177
- "$value": "{color.blue.400}",
1178
- "$description": "Series 5",
1179
- "$extensions": {
1180
- "com.figma": {
1181
- "modes": {
1182
- "Dark": "{color.blue.400}",
1183
- "Light": "{color.blue.600}"
1184
- }
1185
- }
1186
- }
1187
- },
1188
- "6": {
1189
- "$value": "{color.red.400}",
1190
- "$description": "Series 6",
1191
- "$extensions": {
1192
- "com.figma": {
1193
- "modes": {
1194
- "Dark": "{color.red.400}",
1195
- "Light": "{color.red.600}"
1196
- }
1197
- }
1198
- }
1199
- },
1200
- "7": {
1201
- "$value": "{color.amber.300}",
1202
- "$description": "Series 7",
1203
- "$extensions": {
1204
- "com.figma": {
1205
- "modes": {
1206
- "Dark": "{color.amber.300}",
1207
- "Light": "{color.amber.700}"
1208
- }
1209
- }
1210
- }
1211
- },
1212
- "8": {
1213
- "$value": "{color.neutral.500}",
1214
- "$description": "Series 8",
1215
- "$extensions": {
1216
- "com.figma": {
1217
- "modes": {
1218
- "Dark": "{color.neutral.500}",
1219
- "Light": "{color.neutral.600}"
1220
- }
1221
- }
1222
- }
1223
- },
1224
- "$type": "color",
1225
- "$description": "Data series 2 to 8 (series 1 follows the accent). Light uses darker steps so marks keep 3:1 on light surfaces."
1226
- },
1227
- "reaction": {
1228
- "$type": "color",
1229
- "like": {
1230
- "$value": "#f43f5e",
1231
- "$description": "A filled like (heart) and its burst",
1232
- "$extensions": {
1233
- "com.figma": {
1234
- "modes": {
1235
- "Dark": "#f43f5e",
1236
- "Light": "#e11d48"
1237
- }
1238
- }
1239
- }
1240
- }
1241
- },
1242
- "icon": {
1243
- "$type": "color",
1244
- "$description": "Icon colors. One token per context an icon sits in; each is an alias of the text, accent or status token of that context, so every look, brand and theme (also high contrast) follows. In Figma a glyph has ONE variable, icon/color, and the color of a nested Icon is two variable modes picked on the instance: its tone (collection Icon color) and its surface (collection Icon surface: normal, solid or button), so a swapped glyph keeps its color. 17 of the tokens are a (tone, surface) cell (fun.lab tone and surface); brand, rating, control and like have no cell and are bound as an override.",
1245
- "default": {
1246
- "$value": "{text.default}",
1247
- "$extensions": {
1248
- "com.figma": {
1249
- "modes": {
1250
- "Dark": "{text.default}",
1251
- "Light": "{text.default}"
1252
- }
1253
- },
1254
- "fun.lab": {
1255
- "tone": "default",
1256
- "surface": "normal"
1257
- }
1258
- },
1259
- "$description": "The default icon: follows the text color"
1260
- },
1261
- "muted": {
1262
- "$value": "{text.muted}",
1263
- "$extensions": {
1264
- "com.figma": {
1265
- "modes": {
1266
- "Dark": "{text.muted}",
1267
- "Light": "{text.muted}"
1268
- }
1269
- },
1270
- "fun.lab": {
1271
- "tone": "muted",
1272
- "surface": "normal"
1273
- }
1274
- },
1275
- "$description": "Icons next to secondary text"
1276
- },
1277
- "soft": {
1278
- "$value": "{text.soft}",
1279
- "$extensions": {
1280
- "com.figma": {
1281
- "modes": {
1282
- "Dark": "{text.soft}",
1283
- "Light": "{text.soft}"
1284
- }
1285
- },
1286
- "fun.lab": {
1287
- "tone": "soft",
1288
- "surface": "normal"
1289
- }
1290
- }
1291
- },
1292
- "faint": {
1293
- "$value": "{text.faint}",
1294
- "$extensions": {
1295
- "com.figma": {
1296
- "modes": {
1297
- "Dark": "{text.faint}",
1298
- "Light": "{text.faint}"
1299
- }
1300
- },
1301
- "fun.lab": {
1302
- "tone": "faint",
1303
- "surface": "normal"
1304
- }
1305
- },
1306
- "$description": "Icons in placeholders and help text"
1307
- },
1308
- "accent": {
1309
- "$value": "{accent.strong}",
1310
- "$extensions": {
1311
- "com.figma": {
1312
- "modes": {
1313
- "Dark": "{accent.strong}",
1314
- "Light": "{accent.strong}"
1315
- }
1316
- },
1317
- "fun.lab": {
1318
- "tone": "accent",
1319
- "surface": "normal"
1320
- }
1321
- },
1322
- "$description": "Icons in accent text (links, selected items)"
1323
- },
1324
- "brand": {
1325
- "$value": "{accent.default}",
1326
- "$extensions": {
1327
- "com.figma": {
1328
- "modes": {
1329
- "Dark": "{accent.default}",
1330
- "Light": "{accent.default}"
1331
- }
1332
- }
1333
- },
1334
- "$description": "The brand tone, as in the active item of a nav"
1335
- },
1336
- "on-accent": {
1337
- "$value": "{accent.on}",
1338
- "$extensions": {
1339
- "com.figma": {
1340
- "modes": {
1341
- "Dark": "{accent.on}",
1342
- "Light": "{accent.on}"
1343
- }
1344
- },
1345
- "fun.lab": {
1346
- "tone": "accent",
1347
- "surface": "solid"
1348
- }
1349
- },
1350
- "$description": "Icons on a solid accent surface"
1351
- },
1352
- "button": {
1353
- "$value": "{button.text}",
1354
- "$extensions": {
1355
- "com.figma": {
1356
- "modes": {
1357
- "Dark": "{button.text}",
1358
- "Light": "{button.text}"
1359
- }
1360
- },
1361
- "fun.lab": {
1362
- "tone": "default",
1363
- "surface": "button"
1364
- }
1365
- },
1366
- "$description": "Icons on a primary button"
1367
- },
1368
- "chip": {
1369
- "$value": "{chip.text}",
1370
- "$extensions": {
1371
- "com.figma": {
1372
- "modes": {
1373
- "Dark": "{chip.text}",
1374
- "Light": "{chip.text}"
1375
- }
1376
- },
1377
- "fun.lab": {
1378
- "tone": "default",
1379
- "surface": "solid"
1380
- }
1381
- },
1382
- "$description": "Icons on an inverted chip or selected segment"
1383
- },
1384
- "danger": {
1385
- "$value": "{status.danger}",
1386
- "$extensions": {
1387
- "com.figma": {
1388
- "modes": {
1389
- "Dark": "{status.danger}",
1390
- "Light": "{status.danger}"
1391
- }
1392
- },
1393
- "fun.lab": {
1394
- "tone": "danger",
1395
- "surface": "normal"
1396
- }
1397
- }
1398
- },
1399
- "success": {
1400
- "$value": "{status.success}",
1401
- "$extensions": {
1402
- "com.figma": {
1403
- "modes": {
1404
- "Dark": "{status.success}",
1405
- "Light": "{status.success}"
1406
- }
1407
- },
1408
- "fun.lab": {
1409
- "tone": "success",
1410
- "surface": "normal"
1411
- }
1412
- }
1413
- },
1414
- "warning": {
1415
- "$value": "{status.warning}",
1416
- "$extensions": {
1417
- "com.figma": {
1418
- "modes": {
1419
- "Dark": "{status.warning}",
1420
- "Light": "{status.warning}"
1421
- }
1422
- },
1423
- "fun.lab": {
1424
- "tone": "warning",
1425
- "surface": "normal"
1426
- }
1427
- }
1428
- },
1429
- "info": {
1430
- "$value": "{status.info}",
1431
- "$extensions": {
1432
- "com.figma": {
1433
- "modes": {
1434
- "Dark": "{status.info}",
1435
- "Light": "{status.info}"
1436
- }
1437
- },
1438
- "fun.lab": {
1439
- "tone": "info",
1440
- "surface": "normal"
1441
- }
1442
- }
1443
- },
1444
- "on-danger": {
1445
- "$value": "{status.danger-on-solid}",
1446
- "$extensions": {
1447
- "com.figma": {
1448
- "modes": {
1449
- "Dark": "{status.danger-on-solid}",
1450
- "Light": "{status.danger-on-solid}"
1451
- }
1452
- },
1453
- "fun.lab": {
1454
- "tone": "danger",
1455
- "surface": "solid"
1456
- }
1457
- },
1458
- "$description": "Icons on a solid danger surface"
1459
- },
1460
- "on-success": {
1461
- "$value": "{status.success-on-solid}",
1462
- "$extensions": {
1463
- "com.figma": {
1464
- "modes": {
1465
- "Dark": "{status.success-on-solid}",
1466
- "Light": "{status.success-on-solid}"
1467
- }
1468
- },
1469
- "fun.lab": {
1470
- "tone": "success",
1471
- "surface": "solid"
1472
- }
1473
- },
1474
- "$description": "Icons on a solid success surface"
1475
- },
1476
- "on-warning": {
1477
- "$value": "{status.warning-on-solid}",
1478
- "$extensions": {
1479
- "com.figma": {
1480
- "modes": {
1481
- "Dark": "{status.warning-on-solid}",
1482
- "Light": "{status.warning-on-solid}"
1483
- }
1484
- },
1485
- "fun.lab": {
1486
- "tone": "warning",
1487
- "surface": "solid"
1488
- }
1489
- },
1490
- "$description": "Icons on a solid warning surface"
1491
- },
1492
- "on-info": {
1493
- "$value": "{status.info-on-solid}",
1494
- "$extensions": {
1495
- "com.figma": {
1496
- "modes": {
1497
- "Dark": "{status.info-on-solid}",
1498
- "Light": "{status.info-on-solid}"
1499
- }
1500
- },
1501
- "fun.lab": {
1502
- "tone": "info",
1503
- "surface": "solid"
1504
- }
1505
- },
1506
- "$description": "Icons on a solid info surface"
1507
- },
1508
- "on-status": {
1509
- "$value": "{status.on}",
1510
- "$extensions": {
1511
- "com.figma": {
1512
- "modes": {
1513
- "Dark": "{status.on}",
1514
- "Light": "{status.on}"
1515
- }
1516
- },
1517
- "fun.lab": {
1518
- "tone": "status",
1519
- "surface": "solid"
1520
- }
1521
- },
1522
- "$description": "Icons on a solid status color"
1523
- },
1524
- "rating": {
1525
- "$value": "{rating.fill}",
1526
- "$extensions": {
1527
- "com.figma": {
1528
- "modes": {
1529
- "Dark": "{rating.fill}",
1530
- "Light": "{rating.fill}"
1531
- }
1532
- }
1533
- },
1534
- "$description": "Filled rating icons"
1535
- },
1536
- "control": {
1537
- "$value": "{border.control}",
1538
- "$extensions": {
1539
- "com.figma": {
1540
- "modes": {
1541
- "Dark": "{border.control}",
1542
- "Light": "{border.control}"
1543
- }
1544
- }
1545
- },
1546
- "$description": "Outline icons of controls"
1547
- },
1548
- "like": {
1549
- "$value": "{reaction.like}",
1550
- "$extensions": {
1551
- "com.figma": {
1552
- "modes": {
1553
- "Dark": "{reaction.like}",
1554
- "Light": "{reaction.like}"
1555
- }
1556
- }
1557
- },
1558
- "$description": "A filled like (heart)"
1559
- }
1560
- }
1561
- }