@dialpad/dialtone-tokens 1.8.0 → 1.9.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.
@@ -1,7 +1,7 @@
1
1
 
2
2
 
3
3
  // Do not edit directly
4
- // Generated on Fri, 14 Apr 2023 23:49:08 GMT
4
+ // Generated on Fri, 14 Apr 2023 23:54:34 GMT
5
5
 
6
6
 
7
7
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  <!--
4
4
  Do not edit directly
5
- Generated on Fri, 14 Apr 2023 23:49:08 GMT
5
+ Generated on Fri, 14 Apr 2023 23:54:34 GMT
6
6
  -->
7
7
  <resources>
8
8
  <color name="dt_color_foreground_primary">#ff000000</color>
@@ -2,7 +2,7 @@
2
2
 
3
3
  <!--
4
4
  Do not edit directly
5
- Generated on Fri, 14 Apr 2023 23:49:08 GMT
5
+ Generated on Fri, 14 Apr 2023 23:54:34 GMT
6
6
  -->
7
7
  <resources>
8
8
  <dimen name="dt_typography_body_small_font_size">12px</dimen>
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 14 Apr 2023 23:49:08 GMT
3
+ * Generated on Fri, 14 Apr 2023 23:54:34 GMT
4
4
  */
5
5
 
6
6
  :root {
package/dist/doc.json CHANGED
@@ -110,91 +110,111 @@
110
110
  "color/foreground/critical": {
111
111
  "css/variables": {
112
112
  "name": "var(--dt-color-foreground-critical)",
113
- "value": "#ec0e0e"
113
+ "value": "#ec0e0e",
114
+ "description": "critical, danger, error, alert"
114
115
  },
115
116
  "android/resources": {
116
117
  "name": "dt_color_foreground_critical",
117
- "value": "#ffec0e0e"
118
+ "value": "#ffec0e0e",
119
+ "description": "critical, danger, error, alert"
118
120
  },
119
121
  "compose/object": {
120
122
  "name": "dtColorForegroundCritical",
121
- "value": "Color(0xffec0e0e)"
123
+ "value": "Color(0xffec0e0e)",
124
+ "description": "critical, danger, error, alert"
122
125
  },
123
126
  "ios-swift/enum.swift": {
124
127
  "name": "dtColorForegroundCritical",
125
- "value": "UIColor(red: 0.925, green: 0.055, blue: 0.055, alpha: 1)"
128
+ "value": "UIColor(red: 0.925, green: 0.055, blue: 0.055, alpha: 1)",
129
+ "description": "critical, danger, error, alert"
126
130
  }
127
131
  },
128
132
  "color/foreground/critical-strong": {
129
133
  "css/variables": {
130
134
  "name": "var(--dt-color-foreground-critical-strong)",
131
- "value": "#b70b0b"
135
+ "value": "#b70b0b",
136
+ "description": "critical, danger, error, alert"
132
137
  },
133
138
  "android/resources": {
134
139
  "name": "dt_color_foreground_critical_strong",
135
- "value": "#ffb70b0b"
140
+ "value": "#ffb70b0b",
141
+ "description": "critical, danger, error, alert"
136
142
  },
137
143
  "compose/object": {
138
144
  "name": "dtColorForegroundCriticalStrong",
139
- "value": "Color(0xffb70b0b)"
145
+ "value": "Color(0xffb70b0b)",
146
+ "description": "critical, danger, error, alert"
140
147
  },
141
148
  "ios-swift/enum.swift": {
142
149
  "name": "dtColorForegroundCriticalStrong",
143
- "value": "UIColor(red: 0.718, green: 0.043, blue: 0.043, alpha: 1)"
150
+ "value": "UIColor(red: 0.718, green: 0.043, blue: 0.043, alpha: 1)",
151
+ "description": "critical, danger, error, alert"
144
152
  }
145
153
  },
146
154
  "color/foreground/success": {
147
155
  "css/variables": {
148
156
  "name": "var(--dt-color-foreground-success)",
149
- "value": "#1aa340"
157
+ "value": "#1aa340",
158
+ "description": "positive"
150
159
  },
151
160
  "android/resources": {
152
161
  "name": "dt_color_foreground_success",
153
- "value": "#ff1aa340"
162
+ "value": "#ff1aa340",
163
+ "description": "positive"
154
164
  },
155
165
  "compose/object": {
156
166
  "name": "dtColorForegroundSuccess",
157
- "value": "Color(0xff1aa340)"
167
+ "value": "Color(0xff1aa340)",
168
+ "description": "positive"
158
169
  },
159
170
  "ios-swift/enum.swift": {
160
171
  "name": "dtColorForegroundSuccess",
161
- "value": "UIColor(red: 0.102, green: 0.639, blue: 0.251, alpha: 1)"
172
+ "value": "UIColor(red: 0.102, green: 0.639, blue: 0.251, alpha: 1)",
173
+ "description": "positive"
162
174
  }
163
175
  },
164
176
  "color/foreground/success-strong": {
165
177
  "css/variables": {
166
178
  "name": "var(--dt-color-foreground-success-strong)",
167
- "value": "#124620"
179
+ "value": "#124620",
180
+ "description": "positive"
168
181
  },
169
182
  "android/resources": {
170
183
  "name": "dt_color_foreground_success_strong",
171
- "value": "#ff124620"
184
+ "value": "#ff124620",
185
+ "description": "positive"
172
186
  },
173
187
  "compose/object": {
174
188
  "name": "dtColorForegroundSuccessStrong",
175
- "value": "Color(0xff124620)"
189
+ "value": "Color(0xff124620)",
190
+ "description": "positive"
176
191
  },
177
192
  "ios-swift/enum.swift": {
178
193
  "name": "dtColorForegroundSuccessStrong",
179
- "value": "UIColor(red: 0.071, green: 0.275, blue: 0.125, alpha: 1)"
194
+ "value": "UIColor(red: 0.071, green: 0.275, blue: 0.125, alpha: 1)",
195
+ "description": "positive"
180
196
  }
181
197
  },
182
198
  "color/foreground/warning": {
183
199
  "css/variables": {
184
200
  "name": "var(--dt-color-foreground-warning)",
185
- "value": "#815008"
201
+ "value": "#815008",
202
+ "description": "alert"
186
203
  },
187
204
  "android/resources": {
188
205
  "name": "dt_color_foreground_warning",
189
- "value": "#ff815008"
206
+ "value": "#ff815008",
207
+ "description": "alert"
190
208
  },
191
209
  "compose/object": {
192
210
  "name": "dtColorForegroundWarning",
193
- "value": "Color(0xff815008)"
211
+ "value": "Color(0xff815008)",
212
+ "description": "alert"
194
213
  },
195
214
  "ios-swift/enum.swift": {
196
215
  "name": "dtColorForegroundWarning",
197
- "value": "UIColor(red: 0.506, green: 0.314, blue: 0.031, alpha: 1)"
216
+ "value": "UIColor(red: 0.506, green: 0.314, blue: 0.031, alpha: 1)",
217
+ "description": "alert"
198
218
  }
199
219
  },
200
220
  "color/foreground/primary-inverted": {
@@ -308,91 +328,111 @@
308
328
  "color/foreground/critical-inverted": {
309
329
  "css/variables": {
310
330
  "name": "var(--dt-color-foreground-critical-inverted)",
311
- "value": "#ff8585"
331
+ "value": "#ff8585",
332
+ "description": "critical, danger, error, alert"
312
333
  },
313
334
  "android/resources": {
314
335
  "name": "dt_color_foreground_critical_inverted",
315
- "value": "#ffff8585"
336
+ "value": "#ffff8585",
337
+ "description": "critical, danger, error, alert"
316
338
  },
317
339
  "compose/object": {
318
340
  "name": "dtColorForegroundCriticalInverted",
319
- "value": "Color(0xffff8585)"
341
+ "value": "Color(0xffff8585)",
342
+ "description": "critical, danger, error, alert"
320
343
  },
321
344
  "ios-swift/enum.swift": {
322
345
  "name": "dtColorForegroundCriticalInverted",
323
- "value": "UIColor(red: 1.000, green: 0.522, blue: 0.522, alpha: 1)"
346
+ "value": "UIColor(red: 1.000, green: 0.522, blue: 0.522, alpha: 1)",
347
+ "description": "critical, danger, error, alert"
324
348
  }
325
349
  },
326
350
  "color/foreground/critical-strong-inverted": {
327
351
  "css/variables": {
328
352
  "name": "var(--dt-color-foreground-critical-strong-inverted)",
329
- "value": "#ffa4a4"
353
+ "value": "#ffa4a4",
354
+ "description": "critical, danger, error, alert"
330
355
  },
331
356
  "android/resources": {
332
357
  "name": "dt_color_foreground_critical_strong_inverted",
333
- "value": "#ffffa4a4"
358
+ "value": "#ffffa4a4",
359
+ "description": "critical, danger, error, alert"
334
360
  },
335
361
  "compose/object": {
336
362
  "name": "dtColorForegroundCriticalStrongInverted",
337
- "value": "Color(0xffffa4a4)"
363
+ "value": "Color(0xffffa4a4)",
364
+ "description": "critical, danger, error, alert"
338
365
  },
339
366
  "ios-swift/enum.swift": {
340
367
  "name": "dtColorForegroundCriticalStrongInverted",
341
- "value": "UIColor(red: 1.000, green: 0.643, blue: 0.643, alpha: 1)"
368
+ "value": "UIColor(red: 1.000, green: 0.643, blue: 0.643, alpha: 1)",
369
+ "description": "critical, danger, error, alert"
342
370
  }
343
371
  },
344
372
  "color/foreground/success-inverted": {
345
373
  "css/variables": {
346
374
  "name": "var(--dt-color-foreground-success-inverted)",
347
- "value": "#b0ffa3"
375
+ "value": "#b0ffa3",
376
+ "description": "positive"
348
377
  },
349
378
  "android/resources": {
350
379
  "name": "dt_color_foreground_success_inverted",
351
- "value": "#ffb0ffa3"
380
+ "value": "#ffb0ffa3",
381
+ "description": "positive"
352
382
  },
353
383
  "compose/object": {
354
384
  "name": "dtColorForegroundSuccessInverted",
355
- "value": "Color(0xffb0ffa3)"
385
+ "value": "Color(0xffb0ffa3)",
386
+ "description": "positive"
356
387
  },
357
388
  "ios-swift/enum.swift": {
358
389
  "name": "dtColorForegroundSuccessInverted",
359
- "value": "UIColor(red: 0.690, green: 1.000, blue: 0.639, alpha: 1)"
390
+ "value": "UIColor(red: 0.690, green: 1.000, blue: 0.639, alpha: 1)",
391
+ "description": "positive"
360
392
  }
361
393
  },
362
394
  "color/foreground/success-strong-inverted": {
363
395
  "css/variables": {
364
396
  "name": "var(--dt-color-foreground-success-strong-inverted)",
365
- "value": "#d3ffcd"
397
+ "value": "#d3ffcd",
398
+ "description": "positive"
366
399
  },
367
400
  "android/resources": {
368
401
  "name": "dt_color_foreground_success_strong_inverted",
369
- "value": "#ffd3ffcd"
402
+ "value": "#ffd3ffcd",
403
+ "description": "positive"
370
404
  },
371
405
  "compose/object": {
372
406
  "name": "dtColorForegroundSuccessStrongInverted",
373
- "value": "Color(0xffd3ffcd)"
407
+ "value": "Color(0xffd3ffcd)",
408
+ "description": "positive"
374
409
  },
375
410
  "ios-swift/enum.swift": {
376
411
  "name": "dtColorForegroundSuccessStrongInverted",
377
- "value": "UIColor(red: 0.827, green: 1.000, blue: 0.804, alpha: 1)"
412
+ "value": "UIColor(red: 0.827, green: 1.000, blue: 0.804, alpha: 1)",
413
+ "description": "positive"
378
414
  }
379
415
  },
380
416
  "color/foreground/warning-inverted": {
381
417
  "css/variables": {
382
418
  "name": "var(--dt-color-foreground-warning-inverted)",
383
- "value": "#fff4cc"
419
+ "value": "#fff4cc",
420
+ "description": "alert"
384
421
  },
385
422
  "android/resources": {
386
423
  "name": "dt_color_foreground_warning_inverted",
387
- "value": "#fffff4cc"
424
+ "value": "#fffff4cc",
425
+ "description": "alert"
388
426
  },
389
427
  "compose/object": {
390
428
  "name": "dtColorForegroundWarningInverted",
391
- "value": "Color(0xfffff4cc)"
429
+ "value": "Color(0xfffff4cc)",
430
+ "description": "alert"
392
431
  },
393
432
  "ios-swift/enum.swift": {
394
433
  "name": "dtColorForegroundWarningInverted",
395
- "value": "UIColor(red: 1.000, green: 0.957, blue: 0.800, alpha: 1)"
434
+ "value": "UIColor(red: 1.000, green: 0.957, blue: 0.800, alpha: 1)",
435
+ "description": "alert"
396
436
  }
397
437
  },
398
438
  "color/link/primary": {
@@ -434,73 +474,89 @@
434
474
  "color/link/success": {
435
475
  "css/variables": {
436
476
  "name": "var(--dt-color-link-success)",
437
- "value": "#1aa340"
477
+ "value": "#1aa340",
478
+ "description": "positive"
438
479
  },
439
480
  "android/resources": {
440
481
  "name": "dt_color_link_success",
441
- "value": "#ff1aa340"
482
+ "value": "#ff1aa340",
483
+ "description": "positive"
442
484
  },
443
485
  "compose/object": {
444
486
  "name": "dtColorLinkSuccess",
445
- "value": "Color(0xff1aa340)"
487
+ "value": "Color(0xff1aa340)",
488
+ "description": "positive"
446
489
  },
447
490
  "ios-swift/enum.swift": {
448
491
  "name": "dtColorLinkSuccess",
449
- "value": "UIColor(red: 0.102, green: 0.639, blue: 0.251, alpha: 1)"
492
+ "value": "UIColor(red: 0.102, green: 0.639, blue: 0.251, alpha: 1)",
493
+ "description": "positive"
450
494
  }
451
495
  },
452
496
  "color/link/warning": {
453
497
  "css/variables": {
454
498
  "name": "var(--dt-color-link-warning)",
455
- "value": "#815008"
499
+ "value": "#815008",
500
+ "description": "positive"
456
501
  },
457
502
  "android/resources": {
458
503
  "name": "dt_color_link_warning",
459
- "value": "#ff815008"
504
+ "value": "#ff815008",
505
+ "description": "positive"
460
506
  },
461
507
  "compose/object": {
462
508
  "name": "dtColorLinkWarning",
463
- "value": "Color(0xff815008)"
509
+ "value": "Color(0xff815008)",
510
+ "description": "positive"
464
511
  },
465
512
  "ios-swift/enum.swift": {
466
513
  "name": "dtColorLinkWarning",
467
- "value": "UIColor(red: 0.506, green: 0.314, blue: 0.031, alpha: 1)"
514
+ "value": "UIColor(red: 0.506, green: 0.314, blue: 0.031, alpha: 1)",
515
+ "description": "positive"
468
516
  }
469
517
  },
470
518
  "color/link/muted": {
471
519
  "css/variables": {
472
520
  "name": "var(--dt-color-link-muted)",
473
- "value": "rgba(34, 34, 34, 0.5)"
521
+ "value": "rgba(34, 34, 34, 0.5)",
522
+ "description": "positive"
474
523
  },
475
524
  "android/resources": {
476
525
  "name": "dt_color_link_muted",
477
- "value": "#80222222"
526
+ "value": "#80222222",
527
+ "description": "positive"
478
528
  },
479
529
  "compose/object": {
480
530
  "name": "dtColorLinkMuted",
481
- "value": "Color(0x80222222)"
531
+ "value": "Color(0x80222222)",
532
+ "description": "positive"
482
533
  },
483
534
  "ios-swift/enum.swift": {
484
535
  "name": "dtColorLinkMuted",
485
- "value": "UIColor(red: 0.133, green: 0.133, blue: 0.133, alpha: 0.5019607843137255)"
536
+ "value": "UIColor(red: 0.133, green: 0.133, blue: 0.133, alpha: 0.5019607843137255)",
537
+ "description": "positive"
486
538
  }
487
539
  },
488
540
  "color/link/disabled": {
489
541
  "css/variables": {
490
542
  "name": "var(--dt-color-link-disabled)",
491
- "value": "#808080"
543
+ "value": "#808080",
544
+ "description": "positive"
492
545
  },
493
546
  "android/resources": {
494
547
  "name": "dt_color_link_disabled",
495
- "value": "#ff808080"
548
+ "value": "#ff808080",
549
+ "description": "positive"
496
550
  },
497
551
  "compose/object": {
498
552
  "name": "dtColorLinkDisabled",
499
- "value": "Color(0xff808080)"
553
+ "value": "Color(0xff808080)",
554
+ "description": "positive"
500
555
  },
501
556
  "ios-swift/enum.swift": {
502
557
  "name": "dtColorLinkDisabled",
503
- "value": "UIColor(red: 0.502, green: 0.502, blue: 0.502, alpha: 1)"
558
+ "value": "UIColor(red: 0.502, green: 0.502, blue: 0.502, alpha: 1)",
559
+ "description": "positive"
504
560
  }
505
561
  },
506
562
  "color/link/primary-inverted": {
@@ -542,73 +598,89 @@
542
598
  "color/link/success-inverted": {
543
599
  "css/variables": {
544
600
  "name": "var(--dt-color-link-success-inverted)",
545
- "value": "#b0ffa3"
601
+ "value": "#b0ffa3",
602
+ "description": "positive"
546
603
  },
547
604
  "android/resources": {
548
605
  "name": "dt_color_link_success_inverted",
549
- "value": "#ffb0ffa3"
606
+ "value": "#ffb0ffa3",
607
+ "description": "positive"
550
608
  },
551
609
  "compose/object": {
552
610
  "name": "dtColorLinkSuccessInverted",
553
- "value": "Color(0xffb0ffa3)"
611
+ "value": "Color(0xffb0ffa3)",
612
+ "description": "positive"
554
613
  },
555
614
  "ios-swift/enum.swift": {
556
615
  "name": "dtColorLinkSuccessInverted",
557
- "value": "UIColor(red: 0.690, green: 1.000, blue: 0.639, alpha: 1)"
616
+ "value": "UIColor(red: 0.690, green: 1.000, blue: 0.639, alpha: 1)",
617
+ "description": "positive"
558
618
  }
559
619
  },
560
620
  "color/link/warning-inverted": {
561
621
  "css/variables": {
562
622
  "name": "var(--dt-color-link-warning-inverted)",
563
- "value": "#fff4cc"
623
+ "value": "#fff4cc",
624
+ "description": "positive"
564
625
  },
565
626
  "android/resources": {
566
627
  "name": "dt_color_link_warning_inverted",
567
- "value": "#fffff4cc"
628
+ "value": "#fffff4cc",
629
+ "description": "positive"
568
630
  },
569
631
  "compose/object": {
570
632
  "name": "dtColorLinkWarningInverted",
571
- "value": "Color(0xfffff4cc)"
633
+ "value": "Color(0xfffff4cc)",
634
+ "description": "positive"
572
635
  },
573
636
  "ios-swift/enum.swift": {
574
637
  "name": "dtColorLinkWarningInverted",
575
- "value": "UIColor(red: 1.000, green: 0.957, blue: 0.800, alpha: 1)"
638
+ "value": "UIColor(red: 1.000, green: 0.957, blue: 0.800, alpha: 1)",
639
+ "description": "positive"
576
640
  }
577
641
  },
578
642
  "color/link/muted-inverted": {
579
643
  "css/variables": {
580
644
  "name": "var(--dt-color-link-muted-inverted)",
581
- "value": "rgba(233, 233, 233, 0.6)"
645
+ "value": "rgba(233, 233, 233, 0.6)",
646
+ "description": "positive"
582
647
  },
583
648
  "android/resources": {
584
649
  "name": "dt_color_link_muted_inverted",
585
- "value": "#99e9e9e9"
650
+ "value": "#99e9e9e9",
651
+ "description": "positive"
586
652
  },
587
653
  "compose/object": {
588
654
  "name": "dtColorLinkMutedInverted",
589
- "value": "Color(0x99e9e9e9)"
655
+ "value": "Color(0x99e9e9e9)",
656
+ "description": "positive"
590
657
  },
591
658
  "ios-swift/enum.swift": {
592
659
  "name": "dtColorLinkMutedInverted",
593
- "value": "UIColor(red: 0.914, green: 0.914, blue: 0.914, alpha: 0.6)"
660
+ "value": "UIColor(red: 0.914, green: 0.914, blue: 0.914, alpha: 0.6)",
661
+ "description": "positive"
594
662
  }
595
663
  },
596
664
  "color/link/disabled-inverted": {
597
665
  "css/variables": {
598
666
  "name": "var(--dt-color-link-disabled-inverted)",
599
- "value": "#808080"
667
+ "value": "#808080",
668
+ "description": "positive"
600
669
  },
601
670
  "android/resources": {
602
671
  "name": "dt_color_link_disabled_inverted",
603
- "value": "#ff808080"
672
+ "value": "#ff808080",
673
+ "description": "positive"
604
674
  },
605
675
  "compose/object": {
606
676
  "name": "dtColorLinkDisabledInverted",
607
- "value": "Color(0xff808080)"
677
+ "value": "Color(0xff808080)",
678
+ "description": "positive"
608
679
  },
609
680
  "ios-swift/enum.swift": {
610
681
  "name": "dtColorLinkDisabledInverted",
611
- "value": "UIColor(red: 0.502, green: 0.502, blue: 0.502, alpha: 1)"
682
+ "value": "UIColor(red: 0.502, green: 0.502, blue: 0.502, alpha: 1)",
683
+ "description": "positive"
612
684
  }
613
685
  },
614
686
  "color/link/primary-hover": {
@@ -920,37 +992,45 @@
920
992
  "color/surface/critical-opaque": {
921
993
  "css/variables": {
922
994
  "name": "var(--dt-color-surface-critical-opaque)",
923
- "value": "rgba(236, 14, 14, 0.11)"
995
+ "value": "rgba(236, 14, 14, 0.11)",
996
+ "description": "danger, error"
924
997
  },
925
998
  "android/resources": {
926
999
  "name": "dt_color_surface_critical_opaque",
927
- "value": "#1cec0e0e"
1000
+ "value": "#1cec0e0e",
1001
+ "description": "danger, error"
928
1002
  },
929
1003
  "compose/object": {
930
1004
  "name": "dtColorSurfaceCriticalOpaque",
931
- "value": "Color(0x1cec0e0e)"
1005
+ "value": "Color(0x1cec0e0e)",
1006
+ "description": "danger, error"
932
1007
  },
933
1008
  "ios-swift/enum.swift": {
934
1009
  "name": "dtColorSurfaceCriticalOpaque",
935
- "value": "UIColor(red: 0.925, green: 0.055, blue: 0.055, alpha: 0.10980392156862745)"
1010
+ "value": "UIColor(red: 0.925, green: 0.055, blue: 0.055, alpha: 0.10980392156862745)",
1011
+ "description": "danger, error"
936
1012
  }
937
1013
  },
938
1014
  "color/surface/critical-subtle-opaque": {
939
1015
  "css/variables": {
940
1016
  "name": "var(--dt-color-surface-critical-subtle-opaque)",
941
- "value": "rgba(236, 14, 14, 0.05)"
1017
+ "value": "rgba(236, 14, 14, 0.05)",
1018
+ "description": "danger, error"
942
1019
  },
943
1020
  "android/resources": {
944
1021
  "name": "dt_color_surface_critical_subtle_opaque",
945
- "value": "#0dec0e0e"
1022
+ "value": "#0dec0e0e",
1023
+ "description": "danger, error"
946
1024
  },
947
1025
  "compose/object": {
948
1026
  "name": "dtColorSurfaceCriticalSubtleOpaque",
949
- "value": "Color(0x0dec0e0e)"
1027
+ "value": "Color(0x0dec0e0e)",
1028
+ "description": "danger, error"
950
1029
  },
951
1030
  "ios-swift/enum.swift": {
952
1031
  "name": "dtColorSurfaceCriticalSubtleOpaque",
953
- "value": "UIColor(red: 0.925, green: 0.055, blue: 0.055, alpha: 0.050980392156862744)"
1032
+ "value": "UIColor(red: 0.925, green: 0.055, blue: 0.055, alpha: 0.050980392156862744)",
1033
+ "description": "danger, error"
954
1034
  }
955
1035
  },
956
1036
  "color/surface/warning-opaque": {
@@ -1172,55 +1252,67 @@
1172
1252
  "color/surface/critical": {
1173
1253
  "css/variables": {
1174
1254
  "name": "var(--dt-color-surface-critical)",
1175
- "value": "#ffe5e6"
1255
+ "value": "#ffe5e6",
1256
+ "description": "danger, error"
1176
1257
  },
1177
1258
  "android/resources": {
1178
1259
  "name": "dt_color_surface_critical",
1179
- "value": "#ffffe5e6"
1260
+ "value": "#ffffe5e6",
1261
+ "description": "danger, error"
1180
1262
  },
1181
1263
  "compose/object": {
1182
1264
  "name": "dtColorSurfaceCritical",
1183
- "value": "Color(0xffffe5e6)"
1265
+ "value": "Color(0xffffe5e6)",
1266
+ "description": "danger, error"
1184
1267
  },
1185
1268
  "ios-swift/enum.swift": {
1186
1269
  "name": "dtColorSurfaceCritical",
1187
- "value": "UIColor(red: 1.000, green: 0.898, blue: 0.902, alpha: 1)"
1270
+ "value": "UIColor(red: 1.000, green: 0.898, blue: 0.902, alpha: 1)",
1271
+ "description": "danger, error"
1188
1272
  }
1189
1273
  },
1190
1274
  "color/surface/critical-subtle": {
1191
1275
  "css/variables": {
1192
1276
  "name": "var(--dt-color-surface-critical-subtle)",
1193
- "value": "#fff2f3"
1277
+ "value": "#fff2f3",
1278
+ "description": "danger, error"
1194
1279
  },
1195
1280
  "android/resources": {
1196
1281
  "name": "dt_color_surface_critical_subtle",
1197
- "value": "#fffff2f3"
1282
+ "value": "#fffff2f3",
1283
+ "description": "danger, error"
1198
1284
  },
1199
1285
  "compose/object": {
1200
1286
  "name": "dtColorSurfaceCriticalSubtle",
1201
- "value": "Color(0xfffff2f3)"
1287
+ "value": "Color(0xfffff2f3)",
1288
+ "description": "danger, error"
1202
1289
  },
1203
1290
  "ios-swift/enum.swift": {
1204
1291
  "name": "dtColorSurfaceCriticalSubtle",
1205
- "value": "UIColor(red: 1.000, green: 0.949, blue: 0.953, alpha: 1)"
1292
+ "value": "UIColor(red: 1.000, green: 0.949, blue: 0.953, alpha: 1)",
1293
+ "description": "danger, error"
1206
1294
  }
1207
1295
  },
1208
1296
  "color/surface/critical-strong": {
1209
1297
  "css/variables": {
1210
1298
  "name": "var(--dt-color-surface-critical-strong)",
1211
- "value": "#b70b0b"
1299
+ "value": "#b70b0b",
1300
+ "description": "danger, error"
1212
1301
  },
1213
1302
  "android/resources": {
1214
1303
  "name": "dt_color_surface_critical_strong",
1215
- "value": "#ffb70b0b"
1304
+ "value": "#ffb70b0b",
1305
+ "description": "danger, error"
1216
1306
  },
1217
1307
  "compose/object": {
1218
1308
  "name": "dtColorSurfaceCriticalStrong",
1219
- "value": "Color(0xffb70b0b)"
1309
+ "value": "Color(0xffb70b0b)",
1310
+ "description": "danger, error"
1220
1311
  },
1221
1312
  "ios-swift/enum.swift": {
1222
1313
  "name": "dtColorSurfaceCriticalStrong",
1223
- "value": "UIColor(red: 0.718, green: 0.043, blue: 0.043, alpha: 1)"
1314
+ "value": "UIColor(red: 0.718, green: 0.043, blue: 0.043, alpha: 1)",
1315
+ "description": "danger, error"
1224
1316
  }
1225
1317
  },
1226
1318
  "color/surface/warning": {
@@ -2432,181 +2524,221 @@
2432
2524
  "color/magenta/100": {
2433
2525
  "css/variables": {
2434
2526
  "name": "var(--dt-color-magenta-100)",
2435
- "value": "#ffe0f2"
2527
+ "value": "#ffe0f2",
2528
+ "description": "aka pink"
2436
2529
  },
2437
2530
  "android/resources": {
2438
2531
  "name": "dt_color_magenta_100",
2439
- "value": "#ffffe0f2"
2532
+ "value": "#ffffe0f2",
2533
+ "description": "aka pink"
2440
2534
  },
2441
2535
  "compose/object": {
2442
2536
  "name": "dtColorMagenta100",
2443
- "value": "Color(0xffffe0f2)"
2537
+ "value": "Color(0xffffe0f2)",
2538
+ "description": "aka pink"
2444
2539
  },
2445
2540
  "ios-swift/enum.swift": {
2446
2541
  "name": "dtColorMagenta100",
2447
- "value": "UIColor(red: 1.000, green: 0.878, blue: 0.949, alpha: 1)"
2542
+ "value": "UIColor(red: 1.000, green: 0.878, blue: 0.949, alpha: 1)",
2543
+ "description": "aka pink"
2448
2544
  }
2449
2545
  },
2450
2546
  "color/magenta/200": {
2451
2547
  "css/variables": {
2452
2548
  "name": "var(--dt-color-magenta-200)",
2453
- "value": "#f985c7"
2549
+ "value": "#f985c7",
2550
+ "description": "aka pink"
2454
2551
  },
2455
2552
  "android/resources": {
2456
2553
  "name": "dt_color_magenta_200",
2457
- "value": "#fff985c7"
2554
+ "value": "#fff985c7",
2555
+ "description": "aka pink"
2458
2556
  },
2459
2557
  "compose/object": {
2460
2558
  "name": "dtColorMagenta200",
2461
- "value": "Color(0xfff985c7)"
2559
+ "value": "Color(0xfff985c7)",
2560
+ "description": "aka pink"
2462
2561
  },
2463
2562
  "ios-swift/enum.swift": {
2464
2563
  "name": "dtColorMagenta200",
2465
- "value": "UIColor(red: 0.976, green: 0.522, blue: 0.780, alpha: 1)"
2564
+ "value": "UIColor(red: 0.976, green: 0.522, blue: 0.780, alpha: 1)",
2565
+ "description": "aka pink"
2466
2566
  }
2467
2567
  },
2468
2568
  "color/magenta/300": {
2469
2569
  "css/variables": {
2470
2570
  "name": "var(--dt-color-magenta-300)",
2471
- "value": "#f9008e"
2571
+ "value": "#f9008e",
2572
+ "description": "aka pink"
2472
2573
  },
2473
2574
  "android/resources": {
2474
2575
  "name": "dt_color_magenta_300",
2475
- "value": "#fff9008e"
2576
+ "value": "#fff9008e",
2577
+ "description": "aka pink"
2476
2578
  },
2477
2579
  "compose/object": {
2478
2580
  "name": "dtColorMagenta300",
2479
- "value": "Color(0xfff9008e)"
2581
+ "value": "Color(0xfff9008e)",
2582
+ "description": "aka pink"
2480
2583
  },
2481
2584
  "ios-swift/enum.swift": {
2482
2585
  "name": "dtColorMagenta300",
2483
- "value": "UIColor(red: 0.976, green: 0.000, blue: 0.557, alpha: 1)"
2586
+ "value": "UIColor(red: 0.976, green: 0.000, blue: 0.557, alpha: 1)",
2587
+ "description": "aka pink"
2484
2588
  }
2485
2589
  },
2486
2590
  "color/magenta/400": {
2487
2591
  "css/variables": {
2488
2592
  "name": "var(--dt-color-magenta-400)",
2489
- "value": "#8c0e56"
2593
+ "value": "#8c0e56",
2594
+ "description": "aka pink"
2490
2595
  },
2491
2596
  "android/resources": {
2492
2597
  "name": "dt_color_magenta_400",
2493
- "value": "#ff8c0e56"
2598
+ "value": "#ff8c0e56",
2599
+ "description": "aka pink"
2494
2600
  },
2495
2601
  "compose/object": {
2496
2602
  "name": "dtColorMagenta400",
2497
- "value": "Color(0xff8c0e56)"
2603
+ "value": "Color(0xff8c0e56)",
2604
+ "description": "aka pink"
2498
2605
  },
2499
2606
  "ios-swift/enum.swift": {
2500
2607
  "name": "dtColorMagenta400",
2501
- "value": "UIColor(red: 0.549, green: 0.055, blue: 0.337, alpha: 1)"
2608
+ "value": "UIColor(red: 0.549, green: 0.055, blue: 0.337, alpha: 1)",
2609
+ "description": "aka pink"
2502
2610
  }
2503
2611
  },
2504
2612
  "color/magenta/500": {
2505
2613
  "css/variables": {
2506
2614
  "name": "var(--dt-color-magenta-500)",
2507
- "value": "#541a3b"
2615
+ "value": "#541a3b",
2616
+ "description": "aka pink"
2508
2617
  },
2509
2618
  "android/resources": {
2510
2619
  "name": "dt_color_magenta_500",
2511
- "value": "#ff541a3b"
2620
+ "value": "#ff541a3b",
2621
+ "description": "aka pink"
2512
2622
  },
2513
2623
  "compose/object": {
2514
2624
  "name": "dtColorMagenta500",
2515
- "value": "Color(0xff541a3b)"
2625
+ "value": "Color(0xff541a3b)",
2626
+ "description": "aka pink"
2516
2627
  },
2517
2628
  "ios-swift/enum.swift": {
2518
2629
  "name": "dtColorMagenta500",
2519
- "value": "UIColor(red: 0.329, green: 0.102, blue: 0.231, alpha: 1)"
2630
+ "value": "UIColor(red: 0.329, green: 0.102, blue: 0.231, alpha: 1)",
2631
+ "description": "aka pink"
2520
2632
  }
2521
2633
  },
2522
2634
  "color/gold/100": {
2523
2635
  "css/variables": {
2524
2636
  "name": "var(--dt-color-gold-100)",
2525
- "value": "#fff4cc"
2637
+ "value": "#fff4cc",
2638
+ "description": "aka yellow"
2526
2639
  },
2527
2640
  "android/resources": {
2528
2641
  "name": "dt_color_gold_100",
2529
- "value": "#fffff4cc"
2642
+ "value": "#fffff4cc",
2643
+ "description": "aka yellow"
2530
2644
  },
2531
2645
  "compose/object": {
2532
2646
  "name": "dtColorGold100",
2533
- "value": "Color(0xfffff4cc)"
2647
+ "value": "Color(0xfffff4cc)",
2648
+ "description": "aka yellow"
2534
2649
  },
2535
2650
  "ios-swift/enum.swift": {
2536
2651
  "name": "dtColorGold100",
2537
- "value": "UIColor(red: 1.000, green: 0.957, blue: 0.800, alpha: 1)"
2652
+ "value": "UIColor(red: 1.000, green: 0.957, blue: 0.800, alpha: 1)",
2653
+ "description": "aka yellow"
2538
2654
  }
2539
2655
  },
2540
2656
  "color/gold/200": {
2541
2657
  "css/variables": {
2542
2658
  "name": "var(--dt-color-gold-200)",
2543
- "value": "#ffdb80"
2659
+ "value": "#ffdb80",
2660
+ "description": "aka yellow"
2544
2661
  },
2545
2662
  "android/resources": {
2546
2663
  "name": "dt_color_gold_200",
2547
- "value": "#ffffdb80"
2664
+ "value": "#ffffdb80",
2665
+ "description": "aka yellow"
2548
2666
  },
2549
2667
  "compose/object": {
2550
2668
  "name": "dtColorGold200",
2551
- "value": "Color(0xffffdb80)"
2669
+ "value": "Color(0xffffdb80)",
2670
+ "description": "aka yellow"
2552
2671
  },
2553
2672
  "ios-swift/enum.swift": {
2554
2673
  "name": "dtColorGold200",
2555
- "value": "UIColor(red: 1.000, green: 0.859, blue: 0.502, alpha: 1)"
2674
+ "value": "UIColor(red: 1.000, green: 0.859, blue: 0.502, alpha: 1)",
2675
+ "description": "aka yellow"
2556
2676
  }
2557
2677
  },
2558
2678
  "color/gold/300": {
2559
2679
  "css/variables": {
2560
2680
  "name": "var(--dt-color-gold-300)",
2561
- "value": "#f6ab3c"
2681
+ "value": "#f6ab3c",
2682
+ "description": "aka yellow"
2562
2683
  },
2563
2684
  "android/resources": {
2564
2685
  "name": "dt_color_gold_300",
2565
- "value": "#fff6ab3c"
2686
+ "value": "#fff6ab3c",
2687
+ "description": "aka yellow"
2566
2688
  },
2567
2689
  "compose/object": {
2568
2690
  "name": "dtColorGold300",
2569
- "value": "Color(0xfff6ab3c)"
2691
+ "value": "Color(0xfff6ab3c)",
2692
+ "description": "aka yellow"
2570
2693
  },
2571
2694
  "ios-swift/enum.swift": {
2572
2695
  "name": "dtColorGold300",
2573
- "value": "UIColor(red: 0.965, green: 0.671, blue: 0.235, alpha: 1)"
2696
+ "value": "UIColor(red: 0.965, green: 0.671, blue: 0.235, alpha: 1)",
2697
+ "description": "aka yellow"
2574
2698
  }
2575
2699
  },
2576
2700
  "color/gold/400": {
2577
2701
  "css/variables": {
2578
2702
  "name": "var(--dt-color-gold-400)",
2579
- "value": "#d28f2b"
2703
+ "value": "#d28f2b",
2704
+ "description": "aka yellow"
2580
2705
  },
2581
2706
  "android/resources": {
2582
2707
  "name": "dt_color_gold_400",
2583
- "value": "#ffd28f2b"
2708
+ "value": "#ffd28f2b",
2709
+ "description": "aka yellow"
2584
2710
  },
2585
2711
  "compose/object": {
2586
2712
  "name": "dtColorGold400",
2587
- "value": "Color(0xffd28f2b)"
2713
+ "value": "Color(0xffd28f2b)",
2714
+ "description": "aka yellow"
2588
2715
  },
2589
2716
  "ios-swift/enum.swift": {
2590
2717
  "name": "dtColorGold400",
2591
- "value": "UIColor(red: 0.824, green: 0.561, blue: 0.169, alpha: 1)"
2718
+ "value": "UIColor(red: 0.824, green: 0.561, blue: 0.169, alpha: 1)",
2719
+ "description": "aka yellow"
2592
2720
  }
2593
2721
  },
2594
2722
  "color/gold/500": {
2595
2723
  "css/variables": {
2596
2724
  "name": "var(--dt-color-gold-500)",
2597
- "value": "#815008"
2725
+ "value": "#815008",
2726
+ "description": "aka yellow"
2598
2727
  },
2599
2728
  "android/resources": {
2600
2729
  "name": "dt_color_gold_500",
2601
- "value": "#ff815008"
2730
+ "value": "#ff815008",
2731
+ "description": "aka yellow"
2602
2732
  },
2603
2733
  "compose/object": {
2604
2734
  "name": "dtColorGold500",
2605
- "value": "Color(0xff815008)"
2735
+ "value": "Color(0xff815008)",
2736
+ "description": "aka yellow"
2606
2737
  },
2607
2738
  "ios-swift/enum.swift": {
2608
2739
  "name": "dtColorGold500",
2609
- "value": "UIColor(red: 0.506, green: 0.314, blue: 0.031, alpha: 1)"
2740
+ "value": "UIColor(red: 0.506, green: 0.314, blue: 0.031, alpha: 1)",
2741
+ "description": "aka yellow"
2610
2742
  }
2611
2743
  },
2612
2744
  "color/green/100": {
@@ -8012,109 +8144,133 @@
8012
8144
  "font/size/100": {
8013
8145
  "css/variables": {
8014
8146
  "name": "var(--dt-font-size-100)",
8015
- "value": "1.2rem"
8147
+ "value": "1.2rem",
8148
+ "description": "small"
8016
8149
  },
8017
8150
  "android/resources": {
8018
8151
  "name": "dt_font_size_100",
8019
- "value": "12px"
8152
+ "value": "12px",
8153
+ "description": "small"
8020
8154
  },
8021
8155
  "compose/object": {
8022
8156
  "name": "dtFontSize100",
8023
- "value": "12.sp"
8157
+ "value": "12.sp",
8158
+ "description": "small"
8024
8159
  },
8025
8160
  "ios-swift/enum.swift": {
8026
8161
  "name": "dtFontSize100",
8027
- "value": "CGFloat(12.00)"
8162
+ "value": "CGFloat(12.00)",
8163
+ "description": "small"
8028
8164
  }
8029
8165
  },
8030
8166
  "font/size/200": {
8031
8167
  "css/variables": {
8032
8168
  "name": "var(--dt-font-size-200)",
8033
- "value": "1.5rem"
8169
+ "value": "1.5rem",
8170
+ "description": "medium / base"
8034
8171
  },
8035
8172
  "android/resources": {
8036
8173
  "name": "dt_font_size_200",
8037
- "value": "15px"
8174
+ "value": "15px",
8175
+ "description": "medium / base"
8038
8176
  },
8039
8177
  "compose/object": {
8040
8178
  "name": "dtFontSize200",
8041
- "value": "15.sp"
8179
+ "value": "15.sp",
8180
+ "description": "medium / base"
8042
8181
  },
8043
8182
  "ios-swift/enum.swift": {
8044
8183
  "name": "dtFontSize200",
8045
- "value": "CGFloat(15.00)"
8184
+ "value": "CGFloat(15.00)",
8185
+ "description": "medium / base"
8046
8186
  }
8047
8187
  },
8048
8188
  "font/size/300": {
8049
8189
  "css/variables": {
8050
8190
  "name": "var(--dt-font-size-300)",
8051
- "value": "1.9rem"
8191
+ "value": "1.9rem",
8192
+ "description": "large"
8052
8193
  },
8053
8194
  "android/resources": {
8054
8195
  "name": "dt_font_size_300",
8055
- "value": "19px"
8196
+ "value": "19px",
8197
+ "description": "large"
8056
8198
  },
8057
8199
  "compose/object": {
8058
8200
  "name": "dtFontSize300",
8059
- "value": "19.sp"
8201
+ "value": "19.sp",
8202
+ "description": "large"
8060
8203
  },
8061
8204
  "ios-swift/enum.swift": {
8062
8205
  "name": "dtFontSize300",
8063
- "value": "CGFloat(19.00)"
8206
+ "value": "CGFloat(19.00)",
8207
+ "description": "large"
8064
8208
  }
8065
8209
  },
8066
8210
  "font/size/400": {
8067
8211
  "css/variables": {
8068
8212
  "name": "var(--dt-font-size-400)",
8069
- "value": "2.7rem"
8213
+ "value": "2.7rem",
8214
+ "description": "extra large / xl"
8070
8215
  },
8071
8216
  "android/resources": {
8072
8217
  "name": "dt_font_size_400",
8073
- "value": "27px"
8218
+ "value": "27px",
8219
+ "description": "extra large / xl"
8074
8220
  },
8075
8221
  "compose/object": {
8076
8222
  "name": "dtFontSize400",
8077
- "value": "27.sp"
8223
+ "value": "27.sp",
8224
+ "description": "extra large / xl"
8078
8225
  },
8079
8226
  "ios-swift/enum.swift": {
8080
8227
  "name": "dtFontSize400",
8081
- "value": "CGFloat(27.00)"
8228
+ "value": "CGFloat(27.00)",
8229
+ "description": "extra large / xl"
8082
8230
  }
8083
8231
  },
8084
8232
  "font/size/500": {
8085
8233
  "css/variables": {
8086
8234
  "name": "var(--dt-font-size-500)",
8087
- "value": "3.8rem"
8235
+ "value": "3.8rem",
8236
+ "description": "extra large / xxl"
8088
8237
  },
8089
8238
  "android/resources": {
8090
8239
  "name": "dt_font_size_500",
8091
- "value": "38px"
8240
+ "value": "38px",
8241
+ "description": "extra large / xxl"
8092
8242
  },
8093
8243
  "compose/object": {
8094
8244
  "name": "dtFontSize500",
8095
- "value": "38.sp"
8245
+ "value": "38.sp",
8246
+ "description": "extra large / xxl"
8096
8247
  },
8097
8248
  "ios-swift/enum.swift": {
8098
8249
  "name": "dtFontSize500",
8099
- "value": "CGFloat(38.00)"
8250
+ "value": "CGFloat(38.00)",
8251
+ "description": "extra large / xxl"
8100
8252
  }
8101
8253
  },
8102
8254
  "font/size/root": {
8103
8255
  "css/variables": {
8104
8256
  "name": "var(--dt-font-size-root)",
8105
- "value": "1rem"
8257
+ "value": "1rem",
8258
+ "description": ""
8106
8259
  },
8107
8260
  "android/resources": {
8108
8261
  "name": "dt_font_size_root",
8109
- "value": "10px"
8262
+ "value": "10px",
8263
+ "description": ""
8110
8264
  },
8111
8265
  "compose/object": {
8112
8266
  "name": "dtFontSizeRoot",
8113
- "value": "10.sp"
8267
+ "value": "10.sp",
8268
+ "description": ""
8114
8269
  },
8115
8270
  "ios-swift/enum.swift": {
8116
8271
  "name": "dtFontSizeRoot",
8117
- "value": "CGFloat(10.00)"
8272
+ "value": "CGFloat(10.00)",
8273
+ "description": ""
8118
8274
  }
8119
8275
  },
8120
8276
  "font/lineHeight/100": {
@@ -4,7 +4,7 @@
4
4
  //
5
5
 
6
6
  // Do not edit directly
7
- // Generated on Fri, 14 Apr 2023 23:49:08 GMT
7
+ // Generated on Fri, 14 Apr 2023 23:54:34 GMT
8
8
 
9
9
 
10
10
  import UIKit
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Fri, 14 Apr 2023 23:49:08 GMT
3
+ // Generated on Fri, 14 Apr 2023 23:54:33 GMT
4
4
 
5
5
  @dt-color-foreground-primary: #000000;
6
6
  @dt-color-foreground-secondary: #3a3a3a;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dialpad/dialtone-tokens",
3
- "version": "1.8.0",
3
+ "version": "1.9.0",
4
4
  "description": "Design tokens for Dialtone.",
5
5
  "main": "index.js",
6
6
  "scripts": {