@telus-uds/theme-allium 0.0.2-prerelease.3 → 0.1.0-prerelease.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.
package/theme.json ADDED
@@ -0,0 +1,3714 @@
1
+ {
2
+ "metadata": {
3
+ "name": "allium",
4
+ "package": "@telus-uds/theme-allium"
5
+ },
6
+ "components": {
7
+ "ActivityIndicator": {
8
+ "appearances": {
9
+ "size": {
10
+ "values": ["large"],
11
+ "description": "used for full-screen spinners",
12
+ "type": "variant"
13
+ }
14
+ },
15
+ "tokens": {
16
+ "size": "{palette.size.size20}",
17
+ "thickness": "{palette.border.border2}",
18
+ "color": "{palette.color.greenAccessible}"
19
+ },
20
+ "rules": [
21
+ {
22
+ "if": {
23
+ "size": "large"
24
+ },
25
+ "tokens": {
26
+ "thickness": "{palette.border.border4}",
27
+ "size": "{palette.size.size40}"
28
+ }
29
+ }
30
+ ]
31
+ },
32
+ "Box": {
33
+ "appearances": {
34
+ "background": {
35
+ "description": "Background colour of box. Transparent if not specified.",
36
+ "values": [
37
+ "light",
38
+ "lightest",
39
+ "dark",
40
+ "darkest",
41
+ "critical",
42
+ "danger",
43
+ "warning",
44
+ "positive",
45
+ "brand"
46
+ ]
47
+ }
48
+ },
49
+ "tokens": {
50
+ "backgroundColor": "{system.color.none}"
51
+ },
52
+ "rules": [
53
+ {
54
+ "if": {
55
+ "background": "lightest"
56
+ },
57
+ "tokens": {
58
+ "backgroundColor": "{palette.color.white}"
59
+ }
60
+ },
61
+ {
62
+ "if": {
63
+ "background": "light"
64
+ },
65
+ "tokens": {
66
+ "backgroundColor": "{palette.color.greyAthens}"
67
+ }
68
+ },
69
+ {
70
+ "if": {
71
+ "background": "dark"
72
+ },
73
+ "tokens": {
74
+ "backgroundColor": "{palette.color.greyCharcoal}"
75
+ }
76
+ },
77
+ {
78
+ "if": {
79
+ "background": "darkest"
80
+ },
81
+ "tokens": {
82
+ "backgroundColor": "{palette.color.greyThunder}"
83
+ }
84
+ },
85
+ {
86
+ "if": {
87
+ "background": "critical"
88
+ },
89
+ "tokens": {
90
+ "backgroundColor": "{palette.color.redDark}"
91
+ }
92
+ },
93
+ {
94
+ "if": {
95
+ "background": "danger"
96
+ },
97
+ "tokens": {
98
+ "backgroundColor": "{palette.color.redLight}"
99
+ }
100
+ },
101
+ {
102
+ "if": {
103
+ "background": "warning"
104
+ },
105
+ "tokens": {
106
+ "backgroundColor": "{palette.color.amberLight}"
107
+ }
108
+ },
109
+ {
110
+ "if": {
111
+ "background": "positive"
112
+ },
113
+ "tokens": {
114
+ "backgroundColor": "{palette.color.greenPanache}"
115
+ }
116
+ },
117
+ {
118
+ "if": {
119
+ "background": "brand"
120
+ },
121
+ "tokens": {
122
+ "backgroundColor": "{palette.color.purpleTelus}"
123
+ }
124
+ }
125
+ ]
126
+ },
127
+ "Button": {
128
+ "appearances": {
129
+ "priority": {
130
+ "description": "Indicates the importance of the call-to-action. Limit the amount of high priority buttons on a page to prioritize meaningful user flows. Low priority styles are applied by default.",
131
+ "values": ["high"],
132
+ "type": "variant"
133
+ },
134
+ "danger": {
135
+ "description": "Indicates a user action that is destructive and will result in loss of information or cause significant monetary charges. Limit the use of the danger button whenever possible.",
136
+ "values": [true],
137
+ "type": "variant"
138
+ },
139
+ "inverse": {
140
+ "description": "Use inverse buttons on darker backgrounds. High and low priority buttons, and danger buttons, are available in inverse.",
141
+ "values": [true],
142
+ "type": "variant"
143
+ },
144
+ "size": {
145
+ "values": ["small"],
146
+ "type": "variant"
147
+ },
148
+ "width": {
149
+ "description": "Available in default or full-width. Default-width expands based on content Full-width expands to width of the container.",
150
+ "values": ["full"],
151
+ "type": "variant"
152
+ },
153
+ "hover": "{appearances.Button.hover}",
154
+ "focus": "{appearances.Button.focus}",
155
+ "pressed": "{appearances.Button.pressed}",
156
+ "inactive": "{appearances.Button.inactive}"
157
+ },
158
+ "tokens": {
159
+ "borderColor": "{palette.color.greenAccessible}",
160
+ "borderWidth": "{palette.border.border1}",
161
+ "borderRadius": "{palette.radius.pill32}",
162
+ "shadow": "{system.shadow.none}",
163
+ "fontSize": "{palette.fontSize.size16}",
164
+ "color": "{palette.color.greenAccessible}",
165
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
166
+ "textAlign": "{system.flexJustifyContent.center}",
167
+ "alignSelf": "{system.flexAlign.flexStart}",
168
+ "fontName": "{palette.fontName.HelveticaNow}",
169
+ "fontWeight": "{palette.fontWeight.weight700}",
170
+ "backgroundColor": "{palette.color.white}",
171
+ "opacity": "{system.opacity.opaque}",
172
+ "paddingLeft": "{palette.size.size32}",
173
+ "paddingRight": "{palette.size.size32}",
174
+ "paddingTop": "{palette.size.size12}",
175
+ "paddingBottom": "{palette.size.size12}",
176
+ "width": "{system.size.none}",
177
+ "minWidth": "{palette.size.size144}",
178
+ "outerBorderColor": "{palette.color.transparent}",
179
+ "outerBorderWidth": "{palette.border.border2}",
180
+ "outerBorderGap": "{palette.border.border2}",
181
+ "outerBackgroundColor": "{palette.color.transparent}"
182
+ },
183
+ "rules": [
184
+ {
185
+ "if": {
186
+ "hover": true
187
+ },
188
+ "tokens": {
189
+ "borderWidth": "{palette.border.border3}"
190
+ }
191
+ },
192
+ {
193
+ "if": {
194
+ "priority": "high"
195
+ },
196
+ "tokens": {
197
+ "backgroundColor": "{palette.color.greenAccessible}",
198
+ "color": "{palette.color.white}",
199
+ "borderWidth": "{palette.border.none}"
200
+ }
201
+ },
202
+ {
203
+ "if": {
204
+ "priority": "high",
205
+ "hover": true
206
+ },
207
+ "tokens": {
208
+ "backgroundColor": "{palette.color.greenSanFelix}"
209
+ }
210
+ },
211
+ {
212
+ "if": {
213
+ "pressed": true
214
+ },
215
+ "tokens": {
216
+ "borderWidth": "{system.size.zero}",
217
+ "backgroundColor": "{palette.color.greenDarkFern}",
218
+ "color": "{palette.color.white}"
219
+ }
220
+ },
221
+ {
222
+ "if": {
223
+ "focus": true
224
+ },
225
+ "tokens": {
226
+ "outerBorderColor": "{palette.color.greenAccessible}"
227
+ }
228
+ },
229
+ {
230
+ "if": {
231
+ "focus": true,
232
+ "pressed": true
233
+ },
234
+ "tokens": {
235
+ "outerBorderColor": "{palette.color.greenDarkFern}"
236
+ }
237
+ },
238
+ {
239
+ "if": {
240
+ "inverse": true
241
+ },
242
+ "tokens": {
243
+ "backgroundColor": "{system.color.none}",
244
+ "borderColor": "{palette.color.white}",
245
+ "color": "{palette.color.white}"
246
+ }
247
+ },
248
+ {
249
+ "if": {
250
+ "inverse": true,
251
+ "priority": "high"
252
+ },
253
+ "tokens": {
254
+ "backgroundColor": "{palette.color.white}",
255
+ "color": "{palette.color.greyCharcoal}"
256
+ }
257
+ },
258
+ {
259
+ "if": {
260
+ "inverse": true,
261
+ "priority": "high",
262
+ "hover": true
263
+ },
264
+ "tokens": {
265
+ "backgroundColor": "{palette.color.light80}"
266
+ }
267
+ },
268
+ {
269
+ "if": {
270
+ "inverse": true,
271
+ "pressed": true
272
+ },
273
+ "tokens": {
274
+ "color": "{palette.color.greyCharcoal}",
275
+ "backgroundColor": "{palette.color.light60}"
276
+ }
277
+ },
278
+ {
279
+ "if": {
280
+ "inverse": true,
281
+ "focus": true
282
+ },
283
+ "tokens": {
284
+ "outerBorderColor": "{palette.color.white}"
285
+ }
286
+ },
287
+ {
288
+ "if": {
289
+ "danger": true,
290
+ "priority": null
291
+ },
292
+ "tokens": {
293
+ "color": "{palette.color.red}",
294
+ "borderColor": "{palette.color.red}"
295
+ }
296
+ },
297
+ {
298
+ "if": {
299
+ "danger": true,
300
+ "priority": null,
301
+ "inverse": true
302
+ },
303
+ "tokens": {
304
+ "backgroundColor": "{palette.color.white}"
305
+ }
306
+ },
307
+ {
308
+ "if": {
309
+ "danger": true,
310
+ "priority": null,
311
+ "focus": true
312
+ },
313
+ "tokens": {
314
+ "outerBorderColor": "{palette.color.red}"
315
+ }
316
+ },
317
+ {
318
+ "if": {
319
+ "danger": true,
320
+ "priority": null,
321
+ "pressed": true
322
+ },
323
+ "tokens": {
324
+ "backgroundColor": "{palette.color.redDark}",
325
+ "color": "{palette.color.white}"
326
+ }
327
+ },
328
+ {
329
+ "if": {
330
+ "danger": true,
331
+ "priority": null,
332
+ "pressed": true,
333
+ "focus": true
334
+ },
335
+ "tokens": {
336
+ "outerBorderColor": "{palette.color.redDark}"
337
+ }
338
+ },
339
+ {
340
+ "if": {
341
+ "width": "full"
342
+ },
343
+ "tokens": {
344
+ "width": "{system.size.full}"
345
+ }
346
+ },
347
+ {
348
+ "if": {
349
+ "size": "small"
350
+ },
351
+ "tokens": {
352
+ "paddingTop": "{palette.size.size4}",
353
+ "paddingBottom": "{palette.size.size4}",
354
+ "minWidth": "{system.size.zero}"
355
+ }
356
+ },
357
+ {
358
+ "description": "Buttons should not be disabled or set as inactive. Use inline (on blur) error messaging to provide feedback when the form is invalid. In exceptional instances where disabled buttons are needed, it must be clear to the user why the button is disabled and what they need to do to enable it.",
359
+ "if": {
360
+ "inactive": true
361
+ },
362
+ "tokens": {
363
+ "backgroundColor": "{palette.color.greyCloud}",
364
+ "color": "{palette.color.white}",
365
+ "borderWidth": "{system.size.zero}"
366
+ }
367
+ },
368
+ {
369
+ "if": {
370
+ "inactive": true,
371
+ "inverse": true
372
+ },
373
+ "tokens": {
374
+ "backgroundColor": "{palette.color.light60}",
375
+ "color": "{palette.color.greyCharcoal}"
376
+ }
377
+ }
378
+ ]
379
+ },
380
+ "ButtonGroup": {
381
+ "appearances": {
382
+ "viewport": "{appearances.system.viewport}"
383
+ },
384
+ "tokens": {
385
+ "space": "{system.integer.1}",
386
+ "direction": "{system.direction.row}",
387
+ "alignItems": "{system.flexAlign.center}",
388
+ "justifyContent": "{system.flexJustifyContent.flexStart}",
389
+ "flexGrow": "{system.integer.0}"
390
+ },
391
+ "rules": [
392
+ {
393
+ "if": {
394
+ "viewport": ["lg", "xl"]
395
+ },
396
+ "tokens": {
397
+ "space": "{system.integer.3}"
398
+ }
399
+ }
400
+ ]
401
+ },
402
+ "ButtonGroupItem": {
403
+ "appearances": {
404
+ "hover": "{appearances.ButtonGroupItem.hover}",
405
+ "focus": "{appearances.ButtonGroupItem.focus}",
406
+ "pressed": "{appearances.ButtonGroupItem.pressed}",
407
+ "selected": "{appearances.ButtonGroupItem.selected}",
408
+ "inactive": "{appearances.ButtonGroupItem.inactive}"
409
+ },
410
+ "tokens": {
411
+ "borderColor": "{palette.color.greyCloud}",
412
+ "borderWidth": "{palette.border.border1}",
413
+ "borderRadius": "{palette.radius.pill32}",
414
+ "shadow": "{system.shadow.none}",
415
+ "fontSize": "{palette.fontSize.size14}",
416
+ "color": "{palette.color.greyShuttle}",
417
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
418
+ "textAlign": "{system.flexJustifyContent.center}",
419
+ "alignSelf": "{system.flexAlign.flexStart}",
420
+ "fontName": "{palette.fontName.HelveticaNow}",
421
+ "fontWeight": "{palette.fontWeight.weight700}",
422
+ "backgroundColor": "{palette.color.white}",
423
+ "opacity": "{system.opacity.opaque}",
424
+ "paddingLeft": "{palette.size.size16}",
425
+ "paddingRight": "{palette.size.size16}",
426
+ "paddingTop": "{palette.size.size8}",
427
+ "paddingBottom": "{palette.size.size8}",
428
+ "width": "{system.size.none}",
429
+ "minWidth": "{system.size.zero}",
430
+ "outerBorderColor": "{palette.color.transparent}",
431
+ "outerBorderWidth": "{palette.border.border2}",
432
+ "outerBorderGap": "{palette.border.border2}",
433
+ "outerBackgroundColor": "{palette.color.transparent}"
434
+ },
435
+ "rules": [
436
+ {
437
+ "if": {
438
+ "pressed": true
439
+ },
440
+ "tokens": {
441
+ "borderWidth": "{palette.border.none}",
442
+ "backgroundColor": "{palette.color.greyShuttle}",
443
+ "borderColor": "{palette.color.greyShuttle}",
444
+ "color": "{palette.color.white}"
445
+ }
446
+ },
447
+ {
448
+ "if": {
449
+ "focus": true
450
+ },
451
+ "tokens": {
452
+ "borderColor": "{palette.color.greyShuttle}",
453
+ "outerBorderColor": "{palette.color.greyShuttle}",
454
+ "outerBorderGap": "{palette.size.size2}",
455
+ "outerBorderWidth": "{palette.size.size2}"
456
+ }
457
+ },
458
+ {
459
+ "if": {
460
+ "hover": true
461
+ },
462
+ "tokens": {
463
+ "borderWidth": "{palette.border.border3}"
464
+ }
465
+ },
466
+ {
467
+ "if": {
468
+ "selected": true
469
+ },
470
+ "tokens": {
471
+ "borderWidth": "{palette.border.none}",
472
+ "backgroundColor": "{palette.color.purpleTelus}",
473
+ "color": "{palette.color.white}"
474
+ }
475
+ },
476
+ {
477
+ "if": {
478
+ "selected": true,
479
+ "hover": true
480
+ },
481
+ "tokens": {
482
+ "backgroundColor": "{palette.color.purpleDeluge}"
483
+ }
484
+ },
485
+ {
486
+ "if": {
487
+ "selected": true,
488
+ "pressed": true
489
+ },
490
+ "tokens": {
491
+ "backgroundColor": "{palette.color.purpleDark}"
492
+ }
493
+ },
494
+ {
495
+ "if": {
496
+ "selected": true,
497
+ "focus": true
498
+ },
499
+ "tokens": {
500
+ "outerBorderColor": "{palette.color.purpleTelus}"
501
+ }
502
+ },
503
+ {
504
+ "if": {
505
+ "selected": true,
506
+ "focus": true,
507
+ "pressed": true
508
+ },
509
+ "tokens": {
510
+ "outerBorderColor": "{palette.color.purpleDark}"
511
+ }
512
+ },
513
+ {
514
+ "if": {
515
+ "inactive": true
516
+ },
517
+ "tokens": {
518
+ "backgroundColor": "{palette.color.greyCloud}",
519
+ "color": "{palette.color.white}",
520
+ "borderWidth": "{system.border.zero}"
521
+ }
522
+ }
523
+ ]
524
+ },
525
+ "Card": {
526
+ "appearances": {
527
+ "background": {
528
+ "values": ["alternative"],
529
+ "type": "variant"
530
+ },
531
+ "padding": {
532
+ "values": ["narrow", "intermediate", "compact", "custom"],
533
+ "type": "variant"
534
+ },
535
+ "viewport": "{appearances.system.viewport}"
536
+ },
537
+ "tokens": {
538
+ "flex": "{system.integer.1}",
539
+ "backgroundColor": "{palette.color.white}",
540
+ "borderColor": "{palette.color.greyMystic}",
541
+ "borderRadius": "{palette.radius.radius6}",
542
+ "borderWidth": "{palette.border.border1}",
543
+ "paddingBottom": "{palette.size.size32}",
544
+ "paddingLeft": "{palette.size.size24}",
545
+ "paddingRight": "{palette.size.size24}",
546
+ "paddingTop": "{palette.size.size32}",
547
+ "minWidth": "{system.size.none}",
548
+ "shadow": "{system.shadow.none}"
549
+ },
550
+ "rules": [
551
+ {
552
+ "if": {
553
+ "background": "alternative"
554
+ },
555
+ "tokens": {
556
+ "backgroundColor": "{palette.color.greyAthens}"
557
+ }
558
+ },
559
+ {
560
+ "if": {
561
+ "viewport": ["md", "lg", "xl"]
562
+ },
563
+ "tokens": {
564
+ "paddingBottom": "{palette.size.size48}",
565
+ "paddingLeft": "{palette.size.size32}",
566
+ "paddingRight": "{palette.size.size32}",
567
+ "paddingTop": "{palette.size.size48}"
568
+ }
569
+ },
570
+ {
571
+ "if": {
572
+ "padding": "narrow"
573
+ },
574
+ "tokens": {
575
+ "paddingBottom": "{palette.size.size24}",
576
+ "paddingLeft": "{palette.size.size16}",
577
+ "paddingRight": "{palette.size.size16}",
578
+ "paddingTop": "{palette.size.size24}"
579
+ }
580
+ },
581
+ {
582
+ "if": {
583
+ "padding": "narrow",
584
+ "viewport": ["md", "lg", "xl"]
585
+ },
586
+ "tokens": {
587
+ "paddingBottom": "{palette.size.size32}",
588
+ "paddingLeft": "{palette.size.size16}",
589
+ "paddingRight": "{palette.size.size16}",
590
+ "paddingTop": "{palette.size.size32}"
591
+ }
592
+ },
593
+ {
594
+ "if": {
595
+ "padding": "intermediate"
596
+ },
597
+ "tokens": {
598
+ "paddingBottom": "{palette.size.size24}",
599
+ "paddingLeft": "{palette.size.size24}",
600
+ "paddingRight": "{palette.size.size24}",
601
+ "paddingTop": "{palette.size.size24}"
602
+ }
603
+ },
604
+ {
605
+ "if": {
606
+ "padding": "intermediate",
607
+ "viewport": ["md", "lg", "xl"]
608
+ },
609
+ "tokens": {
610
+ "paddingBottom": "{palette.size.size32}",
611
+ "paddingLeft": "{palette.size.size32}",
612
+ "paddingRight": "{palette.size.size32}",
613
+ "paddingTop": "{palette.size.size32}"
614
+ }
615
+ },
616
+ {
617
+ "if": {
618
+ "padding": "compact"
619
+ },
620
+ "tokens": {
621
+ "paddingBottom": "{palette.size.size16}",
622
+ "paddingLeft": "{palette.size.size16}",
623
+ "paddingRight": "{palette.size.size16}",
624
+ "paddingTop": "{palette.size.size16}"
625
+ }
626
+ },
627
+ {
628
+ "if": {
629
+ "padding": "custom"
630
+ },
631
+ "tokens": {
632
+ "paddingBottom": "{palette.size.size0}",
633
+ "paddingLeft": "{palette.size.size0}",
634
+ "paddingRight": "{palette.size.size0}",
635
+ "paddingTop": "{palette.size.size0}"
636
+ }
637
+ }
638
+ ]
639
+ },
640
+ "Checkbox": {
641
+ "appearances": {
642
+ "checked": "{appearances.Checkbox.checked}",
643
+ "error": "{appearances.Checkbox.error}",
644
+ "focus": "{appearances.Checkbox.focus}",
645
+ "hover": "{appearances.Checkbox.hover}",
646
+ "inactive": "{appearances.Checkbox.inactive}"
647
+ },
648
+ "tokens": {
649
+ "containerBackgroundColor": "{palette.color.transparent}",
650
+ "feedbackMarginBottom": "{system.size.zero}",
651
+ "feedbackMarginTop": "{palette.size.size2}",
652
+ "feedbackPosition": "{system.position.bottom}",
653
+ "icon": "{palette.icon.Checkmark}",
654
+ "iconBackgroundColor": "{palette.color.purpleDeluge}",
655
+ "iconColor": "{palette.color.white}",
656
+ "iconSize": "{palette.size.size16}",
657
+ "inputBackgroundColor": "{palette.color.white}",
658
+ "inputBorderColor": "{palette.color.greyShuttle}",
659
+ "inputBorderRadius": "{palette.radius.radius4}",
660
+ "inputBorderWidth": "{palette.border.border1}",
661
+ "inputHeight": "{palette.size.size20}",
662
+ "inputOutlineColor": "{system.color.none}",
663
+ "inputOutlineWidth": "{palette.border.none}",
664
+ "inputShadow": "{system.shadow.none}",
665
+ "inputWidth": "{palette.size.size20}",
666
+ "labelColor": "{palette.color.greyCharcoal}",
667
+ "labelFontName": "{palette.fontName.HelveticaNow}",
668
+ "labelFontSize": "{palette.fontSize.size16}",
669
+ "labelFontWeight": "{palette.fontWeight.weight400}",
670
+ "labelLineHeight": "{palette.lineHeight.ratio3to2}",
671
+ "labelMarginLeft": "{palette.size.size10}"
672
+ },
673
+ "rules": [
674
+ {
675
+ "if": {
676
+ "error": true
677
+ },
678
+ "tokens": {
679
+ "inputBorderColor": "{palette.color.red}"
680
+ }
681
+ },
682
+ {
683
+ "if": {
684
+ "focus": true
685
+ },
686
+ "tokens": {
687
+ "inputBorderColor": "{palette.color.purpleDeluge}",
688
+ "inputBorderWidth": "{palette.border.border3}"
689
+ }
690
+ },
691
+ {
692
+ "if": {
693
+ "inactive": true
694
+ },
695
+ "tokens": {
696
+ "inputBorderColor": "{palette.color.transparent}",
697
+ "inputBackgroundColor": "{palette.color.greyMystic}",
698
+ "iconBackgroundColor": "{palette.color.greyMystic}",
699
+ "iconColor": "{palette.color.greyShuttle}",
700
+ "labelColor": "{palette.color.greyShuttle}"
701
+ }
702
+ }
703
+ ]
704
+ },
705
+ "CheckboxGroup": {
706
+ "appearances": {},
707
+ "tokens": {
708
+ "space": "{system.integer.2}",
709
+ "fieldSpace": "{system.integer.2}"
710
+ },
711
+ "rules": []
712
+ },
713
+ "ChevronLink": {
714
+ "appearances": {
715
+ "hover": "{appearances.ChevronLink.hover}"
716
+ },
717
+ "tokens": {
718
+ "leftIcon": "{palette.icon.ArrowLeft}",
719
+ "rightIcon": "{palette.icon.ArrowRight}",
720
+ "iconDisplace": "{palette.size.size0}",
721
+ "iconSpace": "{system.integer.0}"
722
+ },
723
+ "rules": [
724
+ {
725
+ "if": {
726
+ "hover": true
727
+ },
728
+ "tokens": {
729
+ "iconDisplace": "{palette.size.size4}"
730
+ }
731
+ }
732
+ ]
733
+ },
734
+ "Divider": {
735
+ "appearances": {
736
+ "weight": {
737
+ "values": ["thick"],
738
+ "type": "variant"
739
+ },
740
+ "decorative": {
741
+ "description": "Use a decorative divider to highlight an element. Non-decorative dividers are for clearly identifying separation of content.",
742
+ "values": [true],
743
+ "type": "variant"
744
+ },
745
+ "inverse": {
746
+ "values": [true],
747
+ "type": "variant"
748
+ }
749
+ },
750
+ "tokens": {
751
+ "width": "{palette.border.border1}",
752
+ "color": "{palette.color.greyShuttle}"
753
+ },
754
+ "rules": [
755
+ {
756
+ "if": {
757
+ "weight": "thick"
758
+ },
759
+ "tokens": {
760
+ "width": "{palette.border.border2}"
761
+ }
762
+ },
763
+ {
764
+ "if": {
765
+ "decorative": true
766
+ },
767
+ "tokens": {
768
+ "color": "{palette.color.greyCloud}"
769
+ }
770
+ },
771
+ {
772
+ "if": {
773
+ "inverse": true
774
+ },
775
+ "tokens": {
776
+ "color": "{palette.color.white}"
777
+ }
778
+ }
779
+ ]
780
+ },
781
+ "ExpandCollapse": {
782
+ "appearances": {},
783
+ "tokens": {
784
+ "borderColor": "{palette.color.greyCloud}",
785
+ "borderWidth": "{palette.border.border1}",
786
+ "borderStyle": "{system.borderStyle.solid}"
787
+ },
788
+ "rules": []
789
+ },
790
+ "ExpandCollapseControl": {
791
+ "appearances": {
792
+ "expanded": "{appearances.ExpandCollapseControl.expanded}"
793
+ },
794
+ "tokens": {
795
+ "icon": "{palette.icon.CaretDown}",
796
+ "iconColor": "{palette.color.greenAccessible}",
797
+ "iconSize": "{palette.size.size24}",
798
+ "iconGap": "{palette.size.size8}",
799
+ "iconPosition": "{system.position.left}",
800
+ "verticalAlign": "{system.verticalAlign.top}",
801
+ "justifyContent": "{system.flexJustifyContent.flexStart}",
802
+ "paddingLeft": "{palette.size.size8}",
803
+ "paddingRight": "{palette.size.size16}",
804
+ "paddingTop": "{palette.size.size16}",
805
+ "paddingBottom": "{palette.size.size16}",
806
+ "borderWidth": "{system.border.zero}",
807
+ "borderColor": "{palette.color.transparent}",
808
+ "backgroundColor": "{palette.color.transparent}"
809
+ },
810
+ "rules": [
811
+ {
812
+ "if": {
813
+ "expanded": true
814
+ },
815
+ "tokens": {
816
+ "icon": "{palette.icon.CaretUp}"
817
+ }
818
+ }
819
+ ]
820
+ },
821
+ "ExpandCollapsePanel": {
822
+ "appearances": {},
823
+ "tokens": {
824
+ "expandDuration": "{palette.duration.duration300}",
825
+ "collapseDuration": "{palette.duration.duration250}",
826
+ "contentPaddingLeft": "{palette.size.size40}",
827
+ "contentPaddingRight": "{palette.size.size16}",
828
+ "contentPaddingTop": "{palette.size.size0}",
829
+ "contentPaddingBottom": "{palette.size.size16}"
830
+ },
831
+ "rules": []
832
+ },
833
+ "Feedback": {
834
+ "appearances": {
835
+ "validation": "{appearances.Feedback.validation}",
836
+ "icon": {
837
+ "values": [true],
838
+ "type": "variant"
839
+ }
840
+ },
841
+ "tokens": {
842
+ "backgroundColor": "{palette.color.greyAthens}",
843
+ "borderColor": "{palette.color.greyMystic}",
844
+ "borderWidth": "{palette.border.border1}",
845
+ "borderRadius": "{palette.radius.radius4}",
846
+ "paddingTop": "{palette.size.size12}",
847
+ "paddingBottom": "{palette.size.size12}",
848
+ "paddingLeft": "{palette.size.size16}",
849
+ "paddingRight": "{palette.size.size16}",
850
+ "space": "{system.integer.2}",
851
+ "color": "{palette.color.greyThunder}",
852
+ "fontName": "{palette.fontName.HelveticaNow}",
853
+ "fontWeight": "{palette.fontWeight.weight400}",
854
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
855
+ "titleFontSize": "{palette.fontSize.size16}",
856
+ "contentFontSize": "{palette.fontSize.size14}",
857
+ "icon": "{system.icon.none}",
858
+ "iconSize": "{palette.fontSize.size24}",
859
+ "iconColor": "{palette.color.transparent}",
860
+ "iconGap": "{palette.size.size8}"
861
+ },
862
+ "rules": [
863
+ {
864
+ "if": {
865
+ "validation": "success"
866
+ },
867
+ "tokens": {
868
+ "backgroundColor": "{palette.color.greenPanache}",
869
+ "borderColor": "{palette.color.greenPanache}",
870
+ "color": "{palette.color.greenDarkFern}"
871
+ }
872
+ },
873
+ {
874
+ "if": {
875
+ "validation": "error"
876
+ },
877
+ "tokens": {
878
+ "backgroundColor": "{palette.color.redLight}",
879
+ "borderColor": "{palette.color.redLight}",
880
+ "color": "{palette.color.red}"
881
+ }
882
+ },
883
+ {
884
+ "if": {
885
+ "validation": "success",
886
+ "icon": true
887
+ },
888
+ "tokens": {
889
+ "icon": "{palette.icon.StatusSuccess}",
890
+ "iconColor": "{palette.color.greenAccessible}"
891
+ }
892
+ },
893
+ {
894
+ "if": {
895
+ "validation": "error",
896
+ "icon": true
897
+ },
898
+ "tokens": {
899
+ "icon": "{palette.icon.StatusError}",
900
+ "iconColor": "{palette.color.red}"
901
+ }
902
+ }
903
+ ]
904
+ },
905
+ "Icon": {
906
+ "appearances": {
907
+ "size": {
908
+ "values": ["small"],
909
+ "type": "variant"
910
+ },
911
+ "rank": {
912
+ "values": ["primary"],
913
+ "type": "variant"
914
+ }
915
+ },
916
+ "tokens": {
917
+ "size": "{palette.size.size24}",
918
+ "color": "{palette.color.greyCharcoal}",
919
+ "translateX": "{system.size.zero}",
920
+ "translateY": "{system.size.zero}",
921
+ "scale": "{system.integer.1}"
922
+ },
923
+ "rules": [
924
+ {
925
+ "if": {
926
+ "size": "small"
927
+ },
928
+ "tokens": {
929
+ "size": "{palette.size.size20}"
930
+ }
931
+ },
932
+ {
933
+ "if": {
934
+ "rank": "primary"
935
+ },
936
+ "tokens": {
937
+ "color": "{palette.color.purpleTelus}"
938
+ }
939
+ }
940
+ ]
941
+ },
942
+ "IconButton": {
943
+ "appearances": {
944
+ "hover": "{appearances.IconButton.hover}",
945
+ "focus": "{appearances.IconButton.focus}",
946
+ "pressed": "{appearances.IconButton.pressed}",
947
+ "inverse": {
948
+ "description": "For use on dark backgrounds",
949
+ "type": "variant",
950
+ "values": [true]
951
+ },
952
+ "raised": {
953
+ "description": "Uses shadow and background colour to appear raised above the page",
954
+ "type": "variant",
955
+ "values": [true]
956
+ },
957
+ "size": {
958
+ "type": "variant",
959
+ "values": ["small", "large"]
960
+ }
961
+ },
962
+ "tokens": {
963
+ "outerBorderWidth": "{system.border.zero}",
964
+ "outerBorderColor": "{system.color.transparent}",
965
+ "outerBorderGap": "{system.size.zero}",
966
+ "backgroundColor": "{system.color.transparent}",
967
+ "shadow": "{system.shadow.none}",
968
+ "padding": "{palette.size.size8}",
969
+ "borderRadius": "{system.radius.round}",
970
+ "borderWidth": "{palette.border.border1}",
971
+ "borderColor": "{palette.color.greyShuttle}",
972
+ "iconColor": "{palette.color.greyShuttle}",
973
+ "iconSize": "{palette.size.size16}",
974
+ "iconScale": "{system.iconScale.scale1}",
975
+ "iconTranslateX": "{system.size.zero}",
976
+ "iconTranslateY": "{system.size.zero}"
977
+ },
978
+ "rules": [
979
+ {
980
+ "if": {
981
+ "inverse": true
982
+ },
983
+ "tokens": {
984
+ "iconColor": "{palette.color.white}",
985
+ "borderColor": "{palette.color.white}"
986
+ }
987
+ },
988
+ {
989
+ "if": {
990
+ "hover": true
991
+ },
992
+ "tokens": {
993
+ "borderColor": "{palette.color.greyCharcoal}",
994
+ "iconColor": "{palette.color.greyCharcoal}",
995
+ "iconScale": "{system.iconScale.scale1_10}"
996
+ }
997
+ },
998
+ {
999
+ "if": {
1000
+ "hover": true,
1001
+ "inverse": true
1002
+ },
1003
+ "tokens": {
1004
+ "borderColor": "{palette.color.white}",
1005
+ "iconColor": "{palette.color.white}"
1006
+ }
1007
+ },
1008
+ {
1009
+ "if": {
1010
+ "focus": true
1011
+ },
1012
+ "tokens": {
1013
+ "outerBorderWidth": "{palette.border.border1}",
1014
+ "outerBorderColor": "{palette.color.greyShuttle}",
1015
+ "outerBorderGap": "{palette.size.size4}"
1016
+ }
1017
+ },
1018
+ {
1019
+ "if": {
1020
+ "focus": true,
1021
+ "inverse": true
1022
+ },
1023
+ "tokens": {
1024
+ "outerBorderWidth": "{system.border.zero}",
1025
+ "borderColor": "{palette.color.greyCharcoal}",
1026
+ "iconColor": "{palette.color.greyCharcoal}",
1027
+ "backgroundColor": "{palette.color.light60}"
1028
+ }
1029
+ },
1030
+ {
1031
+ "if": {
1032
+ "pressed": true
1033
+ },
1034
+ "tokens": {
1035
+ "borderColor": "{palette.color.white}",
1036
+ "iconColor": "{palette.color.white}",
1037
+ "backgroundColor": "{palette.color.greyShuttle}",
1038
+ "outerBorderGap": "{palette.size.size4}"
1039
+ }
1040
+ },
1041
+ {
1042
+ "if": {
1043
+ "pressed": true,
1044
+ "inverse": true
1045
+ },
1046
+ "tokens": {
1047
+ "borderColor": "{palette.color.greyShuttle}",
1048
+ "iconColor": "{palette.color.greyShuttle}",
1049
+ "backgroundColor": "{palette.color.light40}"
1050
+ }
1051
+ },
1052
+ {
1053
+ "if": {
1054
+ "size": "large"
1055
+ },
1056
+ "tokens": {
1057
+ "iconSize": "{palette.size.size24}",
1058
+ "padding": "{palette.size.size12}"
1059
+ }
1060
+ },
1061
+ {
1062
+ "if": {
1063
+ "size": "small"
1064
+ },
1065
+ "tokens": {
1066
+ "padding": "{palette.size.size4}"
1067
+ }
1068
+ },
1069
+ {
1070
+ "if": {
1071
+ "raised": true
1072
+ },
1073
+ "description": "Raised IconButtons follow different design patterns to other variants",
1074
+ "tokens": {
1075
+ "backgroundColor": "{palette.color.white}",
1076
+ "borderWidth": "{palette.border.border1}",
1077
+ "borderColor": "{palette.color.greyCloud}",
1078
+ "shadow": "{palette.shadow.surfaceRaised}",
1079
+ "padding": "{palette.size.size12}",
1080
+ "outerBorderWidth": "{system.border.zero}",
1081
+ "outerBorderColor": "{system.color.transparent}",
1082
+ "outerBorderGap": "{system.size.zero}"
1083
+ }
1084
+ },
1085
+ {
1086
+ "if": {
1087
+ "raised": true,
1088
+ "size": "large"
1089
+ },
1090
+ "tokens": {
1091
+ "padding": "{palette.size.size16}"
1092
+ }
1093
+ },
1094
+ {
1095
+ "if": {
1096
+ "raised": true,
1097
+ "size": "small"
1098
+ },
1099
+ "tokens": {
1100
+ "padding": "{palette.size.size8}"
1101
+ }
1102
+ },
1103
+ {
1104
+ "if": {
1105
+ "raised": true,
1106
+ "pressed": true
1107
+ },
1108
+ "tokens": {
1109
+ "backgroundColor": "{palette.color.greyShuttle}",
1110
+ "borderWidth": "{system.border.zero}"
1111
+ }
1112
+ },
1113
+ {
1114
+ "if": {
1115
+ "raised": true,
1116
+ "pressed": true,
1117
+ "focus": true
1118
+ },
1119
+ "tokens": {
1120
+ "backgroundColor": "{palette.color.purpleTelus}",
1121
+ "borderWidth": "{system.border.zero}"
1122
+ }
1123
+ },
1124
+ {
1125
+ "if": {
1126
+ "hover": true,
1127
+ "raised": true
1128
+ },
1129
+ "tokens": {
1130
+ "borderColor": "{palette.color.greyCloud}",
1131
+ "borderWidth": "{palette.border.border3}"
1132
+ }
1133
+ },
1134
+ {
1135
+ "if": {
1136
+ "focus": true,
1137
+ "raised": true
1138
+ },
1139
+ "tokens": {
1140
+ "borderColor": "{palette.color.purpleTelus}",
1141
+ "borderWidth": "{palette.border.border3}"
1142
+ }
1143
+ }
1144
+ ]
1145
+ },
1146
+ "InputLabel": {
1147
+ "appearances": {},
1148
+ "tokens": {
1149
+ "gap": "{palette.size.size8}",
1150
+ "color": "{palette.color.greyCharcoal}",
1151
+ "fontName": "{palette.fontName.HelveticaNow}",
1152
+ "fontWeight": "{palette.fontWeight.weight700}",
1153
+ "fontSize": "{palette.fontSize.size16}",
1154
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
1155
+ "hintColor": "{palette.color.greyCharcoal}",
1156
+ "hintFontName": "{palette.fontName.HelveticaNow}",
1157
+ "hintFontWeight": "{palette.fontWeight.weight400}",
1158
+ "hintFontSize": "{palette.fontSize.size14}",
1159
+ "hintLineHeight": "{palette.lineHeight.ratio7to5}"
1160
+ },
1161
+ "rules": []
1162
+ },
1163
+ "InputSupports": {
1164
+ "appearances": {},
1165
+ "tokens": {
1166
+ "space": "{system.integer.1}"
1167
+ },
1168
+ "rules": []
1169
+ },
1170
+ "Link": {
1171
+ "appearances": {
1172
+ "size": {
1173
+ "description": "Text sizes for block links; similar but not always identical to Typography sizes.",
1174
+ "values": ["large", "small", "micro"],
1175
+ "type": "variant"
1176
+ },
1177
+ "alternative": {
1178
+ "description": "Replaces the default green colour with a more subtle grey.",
1179
+ "values": [true],
1180
+ "type": "variant"
1181
+ },
1182
+ "inverse": {
1183
+ "description": "Styles the link white for use on dark backgrounds.",
1184
+ "values": [true],
1185
+ "type": "variant"
1186
+ },
1187
+ "light": {
1188
+ "description": "A lighter grey variant, used to lower the emphasis on a given Link (e.g. in Breadcrumbs)",
1189
+ "values": [true],
1190
+ "type": "variant"
1191
+ },
1192
+ "iconPosition": "{appearances.Link.iconPosition}",
1193
+ "focus": "{appearances.Link.focus}",
1194
+ "hover": "{appearances.Link.hover}",
1195
+ "pressed": "{appearances.Link.pressed}"
1196
+ },
1197
+ "tokens": {
1198
+ "color": "{palette.color.greenAccessible}",
1199
+ "textLine": "{system.textLine.underline}",
1200
+ "textLineStyle": "{system.textLineStyle.solid}",
1201
+ "outerBorderColor": "{palette.color.transparent}",
1202
+ "outerBorderWidth": "{palette.border.border2}",
1203
+ "outerBorderGap": "{palette.border.border2}",
1204
+ "borderRadius": "{palette.radius.radius4}",
1205
+ "outerBorderOutline": "{system.borderStyle.none}",
1206
+ "blockFontWeight": "{palette.fontWeight.weight400}",
1207
+ "blockFontName": "{palette.fontName.HelveticaNow}",
1208
+ "blockFontSize": "{palette.fontSize.size16}",
1209
+ "blockLineHeight": "{palette.lineHeight.ratio3to2}",
1210
+ "alignSelf": "{system.flexAlign.flexStart}",
1211
+ "icon": "{system.icon.none}",
1212
+ "iconSize": "{palette.fontSize.size24}",
1213
+ "iconSpace": "{system.integer.1}",
1214
+ "iconTranslateX": "{system.size.zero}",
1215
+ "iconTranslateY": "{system.size.zero}"
1216
+ },
1217
+ "rules": [
1218
+ {
1219
+ "if": {
1220
+ "iconPosition": "left"
1221
+ },
1222
+ "tokens": {
1223
+ "iconSpace": "{system.integer.2}"
1224
+ }
1225
+ },
1226
+ {
1227
+ "if": {
1228
+ "focus": true
1229
+ },
1230
+ "tokens": {
1231
+ "outerBorderColor": "{palette.color.greenAccessible}",
1232
+ "outerBorderOutline": "{system.borderStyle.none}"
1233
+ }
1234
+ },
1235
+ {
1236
+ "if": {
1237
+ "hover": true
1238
+ },
1239
+ "tokens": {
1240
+ "textLine": "{system.textLine.none}",
1241
+ "color": "{palette.color.greenSanFelix}"
1242
+ }
1243
+ },
1244
+ {
1245
+ "if": {
1246
+ "pressed": true
1247
+ },
1248
+ "tokens": {
1249
+ "textLine": "{system.textLine.none}",
1250
+ "color": "{palette.color.greenDarkFern}"
1251
+ }
1252
+ },
1253
+ {
1254
+ "if": {
1255
+ "pressed": true,
1256
+ "focus": true
1257
+ },
1258
+ "tokens": {
1259
+ "outerBorderColor": "{palette.color.greenDarkFern}"
1260
+ }
1261
+ },
1262
+ {
1263
+ "if": {
1264
+ "size": "large"
1265
+ },
1266
+ "tokens": {
1267
+ "blockFontSize": "{palette.fontSize.size20}",
1268
+ "iconSize": "{palette.fontSize.size24}",
1269
+ "blockLineHeight": "{palette.lineHeight.ratio8to5}"
1270
+ }
1271
+ },
1272
+ {
1273
+ "if": {
1274
+ "size": "small"
1275
+ },
1276
+ "tokens": {
1277
+ "blockFontSize": "{palette.fontSize.size14}",
1278
+ "iconSize": "{palette.fontSize.size20}",
1279
+ "blockLineHeight": "{palette.lineHeight.ratio10to7}"
1280
+ }
1281
+ },
1282
+ {
1283
+ "if": {
1284
+ "size": "micro"
1285
+ },
1286
+ "tokens": {
1287
+ "blockFontSize": "{palette.fontSize.size12}",
1288
+ "blockFontWeight": "{palette.fontWeight.weight500}",
1289
+ "blockFontName": "{palette.fontName.HelveticaNow}",
1290
+ "iconSize": "{palette.fontSize.size16}",
1291
+ "blockLineHeight": "{palette.lineHeight.ratio4to3}"
1292
+ }
1293
+ },
1294
+ {
1295
+ "if": {
1296
+ "alternative": true
1297
+ },
1298
+ "tokens": {
1299
+ "color": "{palette.color.greyThunder}"
1300
+ }
1301
+ },
1302
+ {
1303
+ "if": {
1304
+ "alternative": true,
1305
+ "focus": true
1306
+ },
1307
+ "tokens": {
1308
+ "color": "{palette.color.greyCharcoal}",
1309
+ "outerBorderColor": "{palette.color.greyCharcoal}"
1310
+ }
1311
+ },
1312
+ {
1313
+ "if": {
1314
+ "alternative": true,
1315
+ "hover": true
1316
+ },
1317
+ "tokens": {
1318
+ "color": "{palette.color.greyThunder}"
1319
+ }
1320
+ },
1321
+ {
1322
+ "if": {
1323
+ "alternative": true,
1324
+ "pressed": true
1325
+ },
1326
+ "tokens": {
1327
+ "color": "{palette.color.greyThunder}"
1328
+ }
1329
+ },
1330
+ {
1331
+ "if": {
1332
+ "inverse": true
1333
+ },
1334
+ "tokens": {
1335
+ "color": "{palette.color.white}"
1336
+ }
1337
+ },
1338
+ {
1339
+ "if": {
1340
+ "inverse": true,
1341
+ "hover": true
1342
+ },
1343
+ "tokens": {
1344
+ "color": "{palette.color.greyAthens}"
1345
+ }
1346
+ },
1347
+ {
1348
+ "if": {
1349
+ "inverse": true,
1350
+ "focus": true
1351
+ },
1352
+ "tokens": {
1353
+ "outerBorderColor": "{palette.color.white}",
1354
+ "outerBorderOutline": "{system.borderStyle.none}"
1355
+ }
1356
+ },
1357
+ {
1358
+ "if": {
1359
+ "inverse": true,
1360
+ "pressed": true
1361
+ },
1362
+ "tokens": {
1363
+ "color": "{palette.color.greyMystic}"
1364
+ }
1365
+ },
1366
+ {
1367
+ "if": {
1368
+ "inverse": true,
1369
+ "pressed": true,
1370
+ "focus": true
1371
+ },
1372
+ "tokens": {
1373
+ "color": "{palette.color.greyMystic}",
1374
+ "outerBorderColor": "{palette.color.greyMystic}"
1375
+ }
1376
+ },
1377
+ {
1378
+ "if": {
1379
+ "light": true
1380
+ },
1381
+ "tokens": {
1382
+ "color": "{palette.color.greyShuttle}"
1383
+ }
1384
+ },
1385
+ {
1386
+ "if": {
1387
+ "light": true,
1388
+ "focus": true
1389
+ },
1390
+ "tokens": {
1391
+ "color": "{palette.color.greyShuttle}",
1392
+ "outerBorderColor": "{palette.color.greyShuttle}"
1393
+ }
1394
+ },
1395
+ {
1396
+ "if": {
1397
+ "light": true,
1398
+ "hover": true
1399
+ },
1400
+ "tokens": {
1401
+ "color": "{palette.color.greyCharcoal}",
1402
+ "textLine": "{system.textLine.none}"
1403
+ }
1404
+ }
1405
+ ]
1406
+ },
1407
+ "List": {
1408
+ "appearances": {
1409
+ "size": {
1410
+ "description": "Indicates list item text size.",
1411
+ "values": ["large", "small"],
1412
+ "type": "variant"
1413
+ },
1414
+ "compact": {
1415
+ "description": "When true it will reduce the line height of the list item.",
1416
+ "values": [true],
1417
+ "type": "variant"
1418
+ }
1419
+ },
1420
+ "tokens": {
1421
+ "itemFontWeight": "{palette.fontWeight.weight400}",
1422
+ "itemFontSize": "{palette.fontSize.size16}",
1423
+ "itemLineHeight": "{palette.lineHeight.ratio3to2}",
1424
+ "itemFontName": "{palette.fontName.HelveticaNow}",
1425
+ "interItemMargin": "{palette.size.size8}",
1426
+ "interItemMarginWithDivider": "{palette.size.size16}",
1427
+ "dividerColor": "{palette.color.greyCloud}",
1428
+ "dividerSize": "{palette.border.border1}",
1429
+ "itemBulletContainerWidth": "{palette.size.size16}",
1430
+ "itemBulletContainerAlign": "{system.textAlign.center}",
1431
+ "itemBulletWidth": "{palette.size.size4}",
1432
+ "itemBulletHeight": "{palette.size.size4}",
1433
+ "itemBulletColor": "{palette.color.purpleTelus}",
1434
+ "itemIconSize": "{palette.size.size16}",
1435
+ "itemIconColor": "{palette.color.purpleTelus}",
1436
+ "listGutter": "{palette.size.size12}"
1437
+ },
1438
+ "rules": [
1439
+ {
1440
+ "if": {
1441
+ "size": "large"
1442
+ },
1443
+ "tokens": {
1444
+ "itemFontSize": "{palette.fontSize.size20}",
1445
+ "itemLineHeight": "{palette.lineHeight.ratio8to5}",
1446
+ "listGutter": "{palette.size.size12}"
1447
+ }
1448
+ },
1449
+ {
1450
+ "if": {
1451
+ "size": "small"
1452
+ },
1453
+ "tokens": {
1454
+ "itemFontSize": "{palette.fontSize.size14}",
1455
+ "itemLineHeight": "{palette.lineHeight.ratio10to7}",
1456
+ "listGutter": "{palette.size.size12}"
1457
+ }
1458
+ },
1459
+ {
1460
+ "if": {
1461
+ "compact": true
1462
+ },
1463
+ "tokens": {
1464
+ "itemLineHeight": "{palette.lineHeight.ratio5to4}"
1465
+ }
1466
+ },
1467
+ {
1468
+ "if": {
1469
+ "compact": true,
1470
+ "size": "small"
1471
+ },
1472
+ "tokens": {
1473
+ "itemLineHeight": "{palette.lineHeight.ratio8to7}"
1474
+ }
1475
+ },
1476
+ {
1477
+ "if": {
1478
+ "compact": true,
1479
+ "size": "large"
1480
+ },
1481
+ "tokens": {
1482
+ "itemLineHeight": "{palette.lineHeight.ratio6to5}"
1483
+ }
1484
+ }
1485
+ ]
1486
+ },
1487
+ "Modal": {
1488
+ "appearances": {
1489
+ "maxWidth": "{appearances.Modal.maxWidth}",
1490
+ "viewport": "{appearances.system.viewport}"
1491
+ },
1492
+ "tokens": {
1493
+ "backdropColor": "{palette.color.bgModal}",
1494
+ "backdropOpacity": "{system.opacity.opaque}",
1495
+ "height": "{system.size.none}",
1496
+ "maxWidth": "{system.size.full}",
1497
+ "containerPaddingLeft": "{system.size.zero}",
1498
+ "containerPaddingRight": "{system.size.zero}",
1499
+ "containerPaddingTop": "{system.size.zero}",
1500
+ "containerPaddingBottom": "{system.size.zero}",
1501
+ "backgroundColor": "{palette.color.white}",
1502
+ "borderRadius": "{palette.radius.radius4}",
1503
+ "shadow": "{palette.shadow.elevation1}",
1504
+ "paddingLeft": "{palette.size.size24}",
1505
+ "paddingRight": "{palette.size.size24}",
1506
+ "paddingTop": "{palette.size.size24}",
1507
+ "paddingBottom": "{palette.size.size24}",
1508
+ "closeIcon": "{palette.icon.Close}",
1509
+ "closeIconSize": "{palette.size.size24}",
1510
+ "closeIconColor": "{palette.color.greyCharcoal}"
1511
+ },
1512
+ "rules": [
1513
+ {
1514
+ "if": {
1515
+ "viewport": ["xs", "sm"]
1516
+ },
1517
+ "tokens": {
1518
+ "height": "{system.size.full}"
1519
+ }
1520
+ },
1521
+ {
1522
+ "if": {
1523
+ "viewport": ["md", "lg", "xl"]
1524
+ },
1525
+ "tokens": {
1526
+ "maxWidth": "{system.integer.576}",
1527
+ "containerPaddingTop": "{palette.size.size32}",
1528
+ "containerPaddingBottom": "{palette.size.size32}"
1529
+ }
1530
+ },
1531
+ {
1532
+ "if": {
1533
+ "viewport": ["md", "lg", "xl"],
1534
+ "maxWidth": true
1535
+ },
1536
+ "tokens": {
1537
+ "maxWidth": "{system.size.twoThirds}",
1538
+ "containerPaddingLeft": "{palette.size.size16}",
1539
+ "containerPaddingRight": "{palette.size.size16}"
1540
+ }
1541
+ }
1542
+ ]
1543
+ },
1544
+ "Notification": {
1545
+ "appearances": {
1546
+ "system": "{appearances.Notification.system}",
1547
+ "style": "{appearances.Notification.style}"
1548
+ },
1549
+ "tokens": {
1550
+ "backgroundColor": "{palette.color.greyAthens}",
1551
+ "borderBottomWidth": "{palette.border.border1}",
1552
+ "borderTopWidth": "{palette.border.border1}",
1553
+ "borderLeftWidth": "{palette.border.border1}",
1554
+ "borderRightWidth": "{palette.border.border1}",
1555
+ "borderColor": "{palette.color.greyShuttle}",
1556
+ "borderRadius": "{palette.radius.radius6}",
1557
+ "paddingTop": "{palette.size.size12}",
1558
+ "paddingBottom": "{palette.size.size12}",
1559
+ "paddingLeft": "{palette.size.size12}",
1560
+ "paddingRight": "{palette.size.size12}",
1561
+ "color": "{palette.color.greyCharcoal}",
1562
+ "fontSize": "{palette.fontSize.size16}",
1563
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
1564
+ "fontName": "{palette.fontName.HelveticaNow}",
1565
+ "fontWeight": "{palette.fontWeight.weight400}",
1566
+ "icon": "{system.icon.none}",
1567
+ "iconColor": "{system.color.none}",
1568
+ "iconSize": "{palette.size.size24}",
1569
+ "iconGap": "{palette.size.size16}",
1570
+ "dismissIcon": "{palette.icon.Close}",
1571
+ "dismissIconColor": "{palette.color.greyCharcoal}",
1572
+ "dismissIconSize": "{palette.size.size24}",
1573
+ "dismissButtonGap": "{palette.size.size16}"
1574
+ },
1575
+ "rules": [
1576
+ {
1577
+ "if": {
1578
+ "system": true
1579
+ },
1580
+ "tokens": {
1581
+ "borderTopWidth": "{system.border.zero}",
1582
+ "borderLeftWidth": "{system.border.zero}",
1583
+ "borderRightWidth": "{system.border.zero}",
1584
+ "borderRadius": "{system.radius.zero}",
1585
+ "paddingTop": "{palette.size.size16}",
1586
+ "paddingBottom": "{palette.size.size16}",
1587
+ "paddingLeft": "{palette.size.size16}",
1588
+ "paddingRight": "{palette.size.size16}",
1589
+ "iconGap": "{palette.size.size12}"
1590
+ }
1591
+ },
1592
+ {
1593
+ "if": {
1594
+ "style": "success"
1595
+ },
1596
+ "tokens": {
1597
+ "backgroundColor": "{palette.color.greenPanache}",
1598
+ "borderColor": "{palette.color.greenAccessible}",
1599
+ "icon": "{palette.icon.StatusSuccess}",
1600
+ "iconColor": "{palette.color.greenAccessible}"
1601
+ }
1602
+ },
1603
+ {
1604
+ "if": {
1605
+ "style": "warning"
1606
+ },
1607
+ "tokens": {
1608
+ "backgroundColor": "{palette.color.amberLight}",
1609
+ "borderColor": "{palette.color.amberDark}",
1610
+ "icon": "{palette.icon.StatusWarning}",
1611
+ "iconColor": "{palette.color.amberDark}",
1612
+ "dismissIcon": "{system.icon.none}"
1613
+ }
1614
+ },
1615
+ {
1616
+ "if": {
1617
+ "style": "error"
1618
+ },
1619
+ "tokens": {
1620
+ "backgroundColor": "{palette.color.redLight}",
1621
+ "borderColor": "{palette.color.red}",
1622
+ "icon": "{palette.icon.StatusError}",
1623
+ "iconColor": "{palette.color.red}",
1624
+ "dismissIcon": "{system.icon.none}"
1625
+ }
1626
+ }
1627
+ ]
1628
+ },
1629
+ "Pagination": {
1630
+ "appearances": {
1631
+ "viewport": "{appearances.system.viewport}"
1632
+ },
1633
+ "tokens": {
1634
+ "gap": "{system.integer.2}",
1635
+ "truncateAbove": "{system.integer.4}",
1636
+ "color": "{palette.color.greyShuttle}",
1637
+ "fontName": "{palette.fontName.HelveticaNow}",
1638
+ "fontWeight": "{palette.fontWeight.weight400}",
1639
+ "fontSize": "{palette.fontSize.size16}",
1640
+ "lineHeight": "{palette.lineHeight.ratio3to2}"
1641
+ },
1642
+ "rules": [
1643
+ {
1644
+ "if": {
1645
+ "viewport": ["md", "lg", "xl"]
1646
+ },
1647
+ "tokens": {
1648
+ "truncateAbove": "{system.integer.6}"
1649
+ }
1650
+ }
1651
+ ]
1652
+ },
1653
+ "PaginationPageButton": {
1654
+ "appearances": {
1655
+ "focus": "{appearances.PaginationPageButton.focus}",
1656
+ "hover": "{appearances.PaginationPageButton.hover}",
1657
+ "pressed": "{appearances.PaginationPageButton.pressed}",
1658
+ "selected": "{appearances.PaginationPageButton.selected}"
1659
+ },
1660
+ "tokens": {
1661
+ "borderColor": "{palette.color.transparent}",
1662
+ "borderWidth": "{palette.border.border1}",
1663
+ "borderRadius": "{palette.radius.pill32}",
1664
+ "backgroundColor": "{palette.color.transparent}",
1665
+ "paddingLeft": "{palette.size.size8}",
1666
+ "paddingRight": "{palette.size.size8}",
1667
+ "paddingTop": "{palette.size.size4}",
1668
+ "paddingBottom": "{palette.size.size4}",
1669
+ "width": "{palette.size.size32}",
1670
+ "outerBorderColor": "{palette.color.transparent}",
1671
+ "outerBorderWidth": "{palette.border.border4}",
1672
+ "outerBorderGap": "{palette.border.border4}",
1673
+ "color": "{palette.color.greyShuttle}",
1674
+ "fontName": "{palette.fontName.HelveticaNow}",
1675
+ "fontWeight": "{palette.fontWeight.weight400}",
1676
+ "fontSize": "{palette.fontSize.size16}",
1677
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
1678
+ "textLine": "{system.textLine.underline}",
1679
+ "textAlign": "{system.flexJustifyContent.center}"
1680
+ },
1681
+ "rules": [
1682
+ {
1683
+ "if": {
1684
+ "hover": true
1685
+ },
1686
+ "tokens": {
1687
+ "borderColor": "{palette.color.greyShuttle}",
1688
+ "textLine": "{system.textLine.none}"
1689
+ }
1690
+ },
1691
+ {
1692
+ "if": {
1693
+ "focus": true
1694
+ },
1695
+ "tokens": {
1696
+ "borderColor": "{palette.color.greyShuttle}",
1697
+ "borderWidth": "{palette.border.border3}"
1698
+ }
1699
+ },
1700
+ {
1701
+ "if": {
1702
+ "selected": true
1703
+ },
1704
+ "tokens": {
1705
+ "backgroundColor": "{palette.color.greyShuttle}",
1706
+ "color": "{palette.color.white}",
1707
+ "textLine": "{system.textLine.none}"
1708
+ }
1709
+ },
1710
+ {
1711
+ "if": {
1712
+ "pressed": true
1713
+ },
1714
+ "tokens": {
1715
+ "backgroundColor": "{palette.color.greyShuttle}",
1716
+ "color": "{palette.color.white}"
1717
+ }
1718
+ }
1719
+ ]
1720
+ },
1721
+ "PaginationSideButton": {
1722
+ "appearances": {
1723
+ "viewport": "{appearances.system.viewport}",
1724
+ "focus": "{appearances.PaginationSideButton.focus}",
1725
+ "hover": "{appearances.PaginationSideButton.hover}",
1726
+ "pressed": "{appearances.PaginationSideButton.pressed}",
1727
+ "selected": "{appearances.PaginationSideButton.selected}",
1728
+ "direction": "{appearances.PaginationSideButton.direction}"
1729
+ },
1730
+ "tokens": {
1731
+ "borderColor": "{palette.color.transparent}",
1732
+ "borderWidth": "{palette.border.border1}",
1733
+ "borderRadius": "{palette.radius.radius4}",
1734
+ "backgroundColor": "{palette.color.transparent}",
1735
+ "paddingLeft": "{palette.size.size8}",
1736
+ "paddingRight": "{palette.size.size8}",
1737
+ "paddingTop": "{palette.size.size12}",
1738
+ "paddingBottom": "{palette.size.size12}",
1739
+ "outerBorderColor": "{palette.color.transparent}",
1740
+ "color": "{palette.color.greyShuttle}",
1741
+ "fontName": "{palette.fontName.HelveticaNow}",
1742
+ "fontWeight": "{palette.fontWeight.weight400}",
1743
+ "fontSize": "{palette.fontSize.size16}",
1744
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
1745
+ "textLine": "{system.textLine.underline}",
1746
+ "icon": "{system.icon.none}",
1747
+ "iconSize": "{palette.fontSize.size24}",
1748
+ "iconDisplace": "{palette.size.size0}",
1749
+ "width": "{system.size.none}",
1750
+ "textAlign": "{system.flexJustifyContent.center}"
1751
+ },
1752
+ "rules": [
1753
+ {
1754
+ "if": {
1755
+ "viewport": ["xs", "sm"]
1756
+ },
1757
+ "tokens": {
1758
+ "borderRadius": "{palette.radius.pill32}",
1759
+ "paddingTop": "{palette.size.size4}",
1760
+ "paddingBottom": "{palette.size.size4}",
1761
+ "width": "{palette.size.size32}"
1762
+ }
1763
+ },
1764
+ {
1765
+ "if": {
1766
+ "hover": true
1767
+ },
1768
+ "tokens": {
1769
+ "borderColor": "{palette.color.greyShuttle}",
1770
+ "textLine": "{system.textLine.none}",
1771
+ "iconDisplace": "{palette.size.size4}"
1772
+ }
1773
+ },
1774
+ {
1775
+ "if": {
1776
+ "focus": true
1777
+ },
1778
+ "tokens": {
1779
+ "borderColor": "{palette.color.greyShuttle}",
1780
+ "borderWidth": "{palette.border.border3}"
1781
+ }
1782
+ },
1783
+ {
1784
+ "if": {
1785
+ "selected": true
1786
+ },
1787
+ "tokens": {
1788
+ "backgroundColor": "{palette.color.greyShuttle}",
1789
+ "color": "{palette.color.white}",
1790
+ "textLine": "{system.textLine.none}"
1791
+ }
1792
+ },
1793
+ {
1794
+ "if": {
1795
+ "pressed": true
1796
+ },
1797
+ "tokens": {
1798
+ "backgroundColor": "{palette.color.greyShuttle}",
1799
+ "color": "{palette.color.white}"
1800
+ }
1801
+ },
1802
+ {
1803
+ "if": {
1804
+ "direction": "previous"
1805
+ },
1806
+ "tokens": {
1807
+ "icon": "{palette.icon.ArrowLeft}"
1808
+ }
1809
+ },
1810
+ {
1811
+ "if": {
1812
+ "direction": "next"
1813
+ },
1814
+ "tokens": {
1815
+ "icon": "{palette.icon.ArrowRight}"
1816
+ }
1817
+ }
1818
+ ]
1819
+ },
1820
+ "Progress": {
1821
+ "appearances": {
1822
+ "size": {
1823
+ "values": ["mini"],
1824
+ "type": "variant"
1825
+ }
1826
+ },
1827
+ "tokens": {
1828
+ "backgroundColor": "{palette.color.greyAthens}",
1829
+ "borderWidth": "{palette.border.border1}",
1830
+ "borderColor": "{palette.color.greyCloud}",
1831
+ "borderRadius": "{palette.radius.radius12}",
1832
+ "height": "{palette.size.size16}"
1833
+ },
1834
+ "rules": [
1835
+ {
1836
+ "if": {
1837
+ "size": "mini"
1838
+ },
1839
+ "tokens": {
1840
+ "height": "{palette.size.size8}"
1841
+ }
1842
+ }
1843
+ ]
1844
+ },
1845
+ "ProgressBar": {
1846
+ "appearances": {
1847
+ "inactive": "{appearances.ProgressBar.inactive}",
1848
+ "negative": {
1849
+ "values": [true],
1850
+ "type": "variant"
1851
+ }
1852
+ },
1853
+ "tokens": {
1854
+ "backgroundColor": "{palette.color.greenAccessible}",
1855
+ "borderRadius": "{palette.radius.radius12}",
1856
+ "gradient": "{palette.gradient.green}",
1857
+ "outlineWidth": "{palette.border.border1}",
1858
+ "outlineColor": "{palette.color.greenAccessible}"
1859
+ },
1860
+ "rules": [
1861
+ {
1862
+ "if": {
1863
+ "inactive": true
1864
+ },
1865
+ "tokens": {
1866
+ "backgroundColor": "{palette.color.greyCloud}",
1867
+ "gradient": "{system.gradient.none}",
1868
+ "outlineColor": "{palette.color.greyThunder}"
1869
+ }
1870
+ },
1871
+ {
1872
+ "if": {
1873
+ "negative": true
1874
+ },
1875
+ "tokens": {
1876
+ "backgroundColor": "{palette.color.redDark}",
1877
+ "gradient": "{system.gradient.none}",
1878
+ "outlineColor": "{palette.color.redDark}"
1879
+ }
1880
+ }
1881
+ ]
1882
+ },
1883
+ "Radio": {
1884
+ "appearances": {
1885
+ "checked": "{appearances.Radio.checked}",
1886
+ "error": "{appearances.Radio.error}",
1887
+ "focus": "{appearances.Radio.focus}",
1888
+ "hover": "{appearances.Radio.hover}",
1889
+ "inactive": "{appearances.Radio.inactive}"
1890
+ },
1891
+ "tokens": {
1892
+ "checkedBackgroundColor": "{palette.color.purpleDeluge}",
1893
+ "checkedSize": "{palette.size.size12}",
1894
+ "containerBackgroundColor": "{palette.color.transparent}",
1895
+ "containerBorderRadius": "{palette.radius.none}",
1896
+ "containerOpacity": "{system.opacity.opaque}",
1897
+ "containerPaddingBottom": "{palette.size.size0}",
1898
+ "containerPaddingLeft": "{palette.size.size0}",
1899
+ "containerPaddingRight": "{palette.size.size0}",
1900
+ "containerPaddingTop": "{palette.size.size0}",
1901
+ "containerShadow": "{system.shadow.none}",
1902
+ "descriptionFontSize": "{palette.fontSize.size14}",
1903
+ "descriptionLineHeight": "{palette.lineHeight.ratio10to7}",
1904
+ "descriptionMarginLeft": "{system.size.none}",
1905
+ "inputBackgroundColor": "{palette.color.white}",
1906
+ "inputBorderColor": "{palette.color.greyShuttle}",
1907
+ "inputBorderWidth": "{palette.border.border1}",
1908
+ "inputOutlineColor": "{palette.color.transparent}",
1909
+ "inputOutlineWidth": "{palette.border.none}",
1910
+ "inputSize": "{palette.size.size20}",
1911
+ "outerBorderWidth": "{system.border.zero}",
1912
+ "outerBorderColor": "{system.color.transparent}",
1913
+ "outerBorderGap": "{system.size.zero}",
1914
+ "labelColor": "{palette.color.greyCharcoal}",
1915
+ "labelFontName": "{palette.fontName.HelveticaNow}",
1916
+ "labelFontSize": "{palette.fontSize.size16}",
1917
+ "labelFontWeight": "{palette.fontWeight.weight400}",
1918
+ "labelLineHeight": "{palette.lineHeight.ratio3to2}",
1919
+ "labelMarginLeft": "{palette.size.size10}"
1920
+ },
1921
+ "rules": [
1922
+ {
1923
+ "if": {
1924
+ "error": true
1925
+ },
1926
+ "tokens": {
1927
+ "inputBorderColor": "{palette.color.red}"
1928
+ }
1929
+ },
1930
+ {
1931
+ "if": {
1932
+ "hover": true
1933
+ },
1934
+ "tokens": {
1935
+ "outerBorderWidth": "{palette.border.border2}",
1936
+ "outerBorderColor": "{palette.color.greyMystic}"
1937
+ }
1938
+ },
1939
+ {
1940
+ "if": {
1941
+ "focus": true
1942
+ },
1943
+ "tokens": {
1944
+ "inputBorderColor": "{palette.color.purpleDeluge}",
1945
+ "inputBorderWidth": "{palette.border.border3}"
1946
+ }
1947
+ },
1948
+ {
1949
+ "if": {
1950
+ "inactive": true
1951
+ },
1952
+ "tokens": {
1953
+ "inputBorderColor": "{palette.color.transparent}",
1954
+ "inputBackgroundColor": "{palette.color.greyMystic}",
1955
+ "labelColor": "{palette.color.greyShuttle}"
1956
+ }
1957
+ }
1958
+ ]
1959
+ },
1960
+ "RadioCard": {
1961
+ "appearances": {
1962
+ "pressed": "{appearances.RadioCard.pressed}",
1963
+ "hover": "{appearances.RadioCard.hover}",
1964
+ "focus": "{appearances.RadioCard.focus}",
1965
+ "checked": "{appearances.RadioCard.checked}",
1966
+ "inactive": "{appearances.RadioCard.inactive}",
1967
+ "error": "{appearances.RadioCard.error}",
1968
+ "viewport": "{appearances.system.viewport}"
1969
+ },
1970
+ "tokens": {
1971
+ "outerBorderColor": "{system.color.transparent}",
1972
+ "outerBorderWidth": "{system.border.zero}",
1973
+ "outerBorderGap": "{system.size.zero}",
1974
+ "flex": "{system.integer.1}",
1975
+ "backgroundColor": "{palette.color.white}",
1976
+ "borderColor": "{palette.color.greyCloud}",
1977
+ "borderRadius": "{palette.radius.radius6}",
1978
+ "borderWidth": "{palette.border.border1}",
1979
+ "paddingBottom": "{palette.size.size16}",
1980
+ "paddingLeft": "{palette.size.size10}",
1981
+ "paddingRight": "{palette.size.size16}",
1982
+ "paddingTop": "{palette.size.size16}",
1983
+ "minWidth": "{palette.size.size288}",
1984
+ "shadow": "{system.shadow.none}",
1985
+ "radioCheckedBackgroundColor": "{palette.color.purpleDeluge}",
1986
+ "radioCheckedSize": "{palette.size.size12}",
1987
+ "radioInputBackgroundColor": "{palette.color.white}",
1988
+ "radioInputBorderColor": "{palette.color.greyShuttle}",
1989
+ "radioInputBorderWidth": "{palette.border.border1}",
1990
+ "radioInputOutlineColor": "{palette.color.transparent}",
1991
+ "radioInputOutlineWidth": "{palette.border.none}",
1992
+ "radioInputSize": "{palette.size.size20}",
1993
+ "radioOuterBorderColor": "{system.color.transparent}",
1994
+ "radioOuterBorderWidth": "{system.border.zero}",
1995
+ "radioOuterBorderGap": "{system.size.zero}",
1996
+ "fontSize": "{palette.fontSize.size20}",
1997
+ "lineHeight": "{palette.lineHeight.ratio7to5}",
1998
+ "color": "{palette.color.greyThunder}",
1999
+ "letterSpacing": "{system.letterSpacing.none}",
2000
+ "textTransform": "{system.textTransform.none}",
2001
+ "fontWeight": "{palette.fontWeight.weight500}",
2002
+ "fontName": "{palette.fontName.HelveticaNow}",
2003
+ "radioSpace": "{system.integer.2}",
2004
+ "contentSpace": "{system.integer.2}"
2005
+ },
2006
+ "rules": [
2007
+ {
2008
+ "if": {
2009
+ "viewport": ["lg", "xl"]
2010
+ },
2011
+ "tokens": {
2012
+ "paddingBottom": "{palette.size.size24}",
2013
+ "paddingLeft": "{palette.size.size16}",
2014
+ "paddingRight": "{palette.size.size24}",
2015
+ "paddingTop": "{palette.size.size16}",
2016
+ "fontSize": "{palette.fontSize.size24}",
2017
+ "lineHeight": "{palette.lineHeight.ratio4to3}"
2018
+ }
2019
+ },
2020
+ {
2021
+ "if": {
2022
+ "hover": true
2023
+ },
2024
+ "tokens": {
2025
+ "borderColor": "{palette.color.greyShuttle}",
2026
+ "outerBorderColor": "{palette.color.greyMystic}",
2027
+ "outerBorderWidth": "{palette.border.border2}",
2028
+ "radioOuterBorderWidth": "{palette.border.border2}",
2029
+ "radioOuterBorderColor": "{palette.color.greyMystic}"
2030
+ }
2031
+ },
2032
+ {
2033
+ "if": {
2034
+ "pressed": true
2035
+ },
2036
+ "description": "Pressed state matches hover state plus light grey background",
2037
+ "tokens": {
2038
+ "backgroundColor": "{palette.color.greyAthens}",
2039
+ "borderColor": "{palette.color.greyShuttle}",
2040
+ "outerBorderColor": "{palette.color.greyMystic}",
2041
+ "outerBorderWidth": "{palette.border.border2}"
2042
+ }
2043
+ },
2044
+ {
2045
+ "if": {
2046
+ "focus": true
2047
+ },
2048
+ "tokens": {
2049
+ "outerBorderColor": "{palette.color.greyShuttle}",
2050
+ "outerBorderWidth": "{palette.border.border2}",
2051
+ "outerBorderGap": "{palette.size.size2}",
2052
+ "radioInputBorderColor": "{palette.color.purpleDeluge}",
2053
+ "radioInputBorderWidth": "{palette.border.border3}"
2054
+ }
2055
+ },
2056
+ {
2057
+ "if": {
2058
+ "inactive": true
2059
+ },
2060
+ "tokens": {
2061
+ "backgroundColor": "{palette.color.greyAthens}",
2062
+ "borderColor": "{system.color.transparent}",
2063
+ "radioInputBorderColor": "{palette.color.transparent}",
2064
+ "radioInputBackgroundColor": "{palette.color.greyMystic}",
2065
+ "color": "{palette.color.greyShuttle}"
2066
+ }
2067
+ },
2068
+ {
2069
+ "if": {
2070
+ "error": true
2071
+ },
2072
+ "tokens": {
2073
+ "borderColor": "{palette.color.red}",
2074
+ "radioInputBorderColor": "{palette.color.red}",
2075
+ "color": "{palette.color.red}"
2076
+ }
2077
+ }
2078
+ ]
2079
+ },
2080
+ "RadioCardGroup": {
2081
+ "appearances": {
2082
+ "viewport": "{appearances.system.viewport}",
2083
+ "fullWidth": {
2084
+ "description": "Makes cards always occupy the full width of the parent, regardless of viewport",
2085
+ "values": [true],
2086
+ "type": "variant"
2087
+ }
2088
+ },
2089
+ "tokens": {
2090
+ "direction": "{system.direction.column}",
2091
+ "space": "{system.integer.3}",
2092
+ "fieldSpace": "{system.integer.3}"
2093
+ },
2094
+ "rules": [
2095
+ {
2096
+ "if": {
2097
+ "viewport": ["lg", "xl"],
2098
+ "fullWidth": null
2099
+ },
2100
+ "tokens": {
2101
+ "direction": "{system.direction.row}",
2102
+ "space": "{system.integer.4}"
2103
+ }
2104
+ }
2105
+ ]
2106
+ },
2107
+ "RadioGroup": {
2108
+ "appearances": {},
2109
+ "tokens": {
2110
+ "space": "{system.integer.2}",
2111
+ "fieldSpace": "{system.integer.2}"
2112
+ },
2113
+ "rules": []
2114
+ },
2115
+ "Search": {
2116
+ "appearances": {
2117
+ "hover": "{appearances.Search.hover}",
2118
+ "focus": "{appearances.Search.focus}",
2119
+ "inactive": "{appearances.Search.inactive}"
2120
+ },
2121
+ "tokens": {
2122
+ "backgroundColor": "{palette.color.white}",
2123
+ "color": "{palette.color.greyCharcoal}",
2124
+ "borderWidth": "{palette.border.border1}",
2125
+ "borderColor": "{palette.color.greyShuttle}",
2126
+ "borderRadius": "{palette.radius.pill32}",
2127
+ "paddingTop": "{palette.size.size12}",
2128
+ "paddingBottom": "{palette.size.size12}",
2129
+ "paddingLeft": "{palette.size.size24}",
2130
+ "paddingRight": "{palette.size.size8}",
2131
+ "outerBackgroundColor": "{palette.color.transparent}",
2132
+ "outerBorderWidth": "{palette.border.border2}",
2133
+ "outerBorderColor": "{palette.color.transparent}",
2134
+ "outerBorderRadius": "{palette.radius.pill32}",
2135
+ "fontName": "{palette.fontName.HelveticaNow}",
2136
+ "fontWeight": "{palette.fontWeight.weight400}",
2137
+ "fontSize": "{palette.fontSize.size16}",
2138
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
2139
+ "placeholderColor": "{palette.color.greyCharcoal}",
2140
+ "buttonsGap": "{system.integer.1}",
2141
+ "clearButtonIcon": "{palette.icon.Times}",
2142
+ "submitButtonIcon": "{palette.icon.SearchBold}"
2143
+ },
2144
+ "rules": [
2145
+ {
2146
+ "if": {
2147
+ "hover": true,
2148
+ "inactive": null
2149
+ },
2150
+ "tokens": {
2151
+ "outerBorderColor": "{palette.color.greyMystic}",
2152
+ "outerBackgroundColor": "{palette.color.greyMystic}"
2153
+ }
2154
+ },
2155
+ {
2156
+ "if": {
2157
+ "focus": true
2158
+ },
2159
+ "tokens": {
2160
+ "borderColor": "{palette.color.purpleDeluge}",
2161
+ "borderWidth": "{palette.border.border3}"
2162
+ }
2163
+ },
2164
+ {
2165
+ "if": {
2166
+ "inactive": true
2167
+ },
2168
+ "tokens": {
2169
+ "backgroundColor": "{palette.color.greyAthens}",
2170
+ "borderColor": "{palette.color.greyAthens}"
2171
+ }
2172
+ }
2173
+ ]
2174
+ },
2175
+ "SearchButton": {
2176
+ "appearances": {
2177
+ "hover": "{appearances.SearchButton.hover}",
2178
+ "focus": "{appearances.SearchButton.focus}",
2179
+ "inactive": "{appearances.SearchButton.inactive}",
2180
+ "pressed": "{appearances.SearchButton.pressed}",
2181
+ "priority": {
2182
+ "description": "",
2183
+ "values": ["high"],
2184
+ "type": "variant"
2185
+ }
2186
+ },
2187
+ "tokens": {
2188
+ "borderColor": "{palette.color.transparent}",
2189
+ "borderWidth": "{system.border.zero}",
2190
+ "borderRadius": "{palette.radius.pill32}",
2191
+ "backgroundColor": "{system.color.none}",
2192
+ "opacity": "{system.opacity.opaque}",
2193
+ "paddingLeft": "{palette.size.size8}",
2194
+ "paddingRight": "{palette.size.size8}",
2195
+ "paddingBottom": "{palette.size.size8}",
2196
+ "paddingTop": "{palette.size.size8}",
2197
+ "shadow": "{system.shadow.none}",
2198
+ "iconSize": "{palette.size.size20}",
2199
+ "iconColor": "{palette.color.greyShuttle}"
2200
+ },
2201
+ "rules": [
2202
+ {
2203
+ "if": {
2204
+ "priority": "high"
2205
+ },
2206
+ "tokens": {
2207
+ "backgroundColor": "{palette.color.purpleTelus}",
2208
+ "iconColor": "{palette.color.white}"
2209
+ }
2210
+ },
2211
+ {
2212
+ "if": {
2213
+ "hover": true
2214
+ },
2215
+ "tokens": {
2216
+ "backgroundColor": "{palette.color.purpleDeluge}",
2217
+ "borderWidth": "{system.border.zero}",
2218
+ "iconColor": "{palette.color.white}"
2219
+ }
2220
+ },
2221
+ {
2222
+ "if": {
2223
+ "focus": true
2224
+ },
2225
+ "tokens": {
2226
+ "borderColor": "{palette.color.purpleTelus}",
2227
+ "borderWidth": "{palette.border.border3}",
2228
+ "iconColor": "{palette.color.purpleTelus}",
2229
+ "backgroundColor": "{system.color.transparent}"
2230
+ }
2231
+ },
2232
+ {
2233
+ "if": {
2234
+ "pressed": true
2235
+ },
2236
+ "tokens": {
2237
+ "borderWidth": "{system.size.zero}",
2238
+ "backgroundColor": "{palette.color.purpleDark}",
2239
+ "iconColor": "{palette.color.white}"
2240
+ }
2241
+ },
2242
+ {
2243
+ "if": {
2244
+ "inactive": true
2245
+ },
2246
+ "tokens": {
2247
+ "backgroundColor": "{palette.color.greyMystic}",
2248
+ "iconColor": "{palette.color.greyShuttle}",
2249
+ "borderWidth": "{system.size.zero}"
2250
+ }
2251
+ }
2252
+ ]
2253
+ },
2254
+ "StepTracker": {
2255
+ "appearances": {
2256
+ "viewport": "{appearances.system.viewport}"
2257
+ },
2258
+ "tokens": {
2259
+ "completedIcon": "{system.icon.none}",
2260
+ "completedIconColor": "{system.color.none}",
2261
+ "completedIconSize": "{system.size.none}",
2262
+ "connectorColor": "{palette.color.greyShuttle}",
2263
+ "connectorHeight": "{palette.border.border1}",
2264
+ "connectorMinWidth": "{palette.size.size16}",
2265
+ "connectorCompletedHeight": "{palette.border.border3}",
2266
+ "connectorCompletedColor": "{palette.color.purpleDeluge}",
2267
+ "containerPaddingBottom": "{system.size.none}",
2268
+ "containerPaddingLeft": "{system.size.none}",
2269
+ "containerPaddingRight": "{system.size.none}",
2270
+ "containerPaddingTop": "{system.size.none}",
2271
+ "knobBackgroundColor": "{palette.color.transparent}",
2272
+ "knobBorderWidth": "{palette.border.border1}",
2273
+ "knobBorderColor": "{palette.color.greyShuttle}",
2274
+ "knobCompletedBackgroundColor": "{palette.color.purpleDeluge}",
2275
+ "knobCompletedBorderColor": "{palette.color.purpleDeluge}",
2276
+ "knobCompletedPaddingLeft": "{system.size.none}",
2277
+ "knobCompletedPaddingTop": "{system.size.none}",
2278
+ "knobCurrentBackgroundColor": "{palette.color.transparent}",
2279
+ "knobCurrentBorderColor": "{palette.color.purpleDeluge}",
2280
+ "knobCurrentBorderWidth": "{palette.border.border2}",
2281
+ "knobCurrentInnerColor": "{palette.color.purpleDeluge}",
2282
+ "knobCurrentInnerSize": "{palette.size.size8}",
2283
+ "knobCurrentPaddingLeft": "{palette.size.size2}",
2284
+ "knobCurrentPaddingTop": "{palette.size.size2}",
2285
+ "knobSize": "{palette.size.size16}",
2286
+ "labelColor": "{palette.color.greyCharcoal}",
2287
+ "labelCurrentColor": "{palette.color.purpleDeluge}",
2288
+ "labelCurrentFontWeight": "{palette.fontWeight.weight700}",
2289
+ "labelCurrentFontName": "{palette.fontName.HelveticaNow}",
2290
+ "labelDirection": "{system.direction.column}",
2291
+ "labelFontSize": "{palette.fontSize.size16}",
2292
+ "labelFontWeight": "{palette.fontWeight.weight400}",
2293
+ "labelFontName": "{palette.fontName.HelveticaNow}",
2294
+ "labelGap": "{palette.size.size0}",
2295
+ "labelLineHeight": "{palette.lineHeight.ratio10to7}",
2296
+ "labelMarginTop": "{palette.size.size8}",
2297
+ "labelPaddingLeft": "{palette.size.size16}",
2298
+ "labelPaddingRight": "{palette.size.size16}",
2299
+ "showStepLabel": "{system.show.false}",
2300
+ "showStepName": "{system.show.true}",
2301
+ "showStepTrackerLabel": "{system.show.true}"
2302
+ },
2303
+ "rules": [
2304
+ {
2305
+ "if": {
2306
+ "viewport": ["lg", "xl"]
2307
+ },
2308
+ "tokens": {
2309
+ "showStepLabel": "{system.show.true}",
2310
+ "showStepTrackerLabel": "{system.show.false}"
2311
+ }
2312
+ }
2313
+ ]
2314
+ },
2315
+ "Tabs": {
2316
+ "appearances": {},
2317
+ "tokens": {
2318
+ "nextIcon": "{palette.icon.ArrowRight}",
2319
+ "previousIcon": "{palette.icon.ArrowLeft}",
2320
+ "space": "{system.integer.0}",
2321
+ "gutter": "{palette.size.size2}",
2322
+ "borderBottomWidth": "{palette.border.border1}",
2323
+ "borderBottomColor": "{palette.color.greyShuttle}",
2324
+ "buttonClearance": "{palette.size.size16}"
2325
+ },
2326
+ "rules": []
2327
+ },
2328
+ "TabsItem": {
2329
+ "appearances": {
2330
+ "pressed": "{appearances.TabsItem.pressed}",
2331
+ "hover": "{appearances.TabsItem.pressed}",
2332
+ "focus": "{appearances.TabsItem.pressed}",
2333
+ "selected": "{appearances.TabsItem.pressed}"
2334
+ },
2335
+ "tokens": {
2336
+ "highlightColor": "{system.color.transparent}",
2337
+ "highlightBarHeight": "{system.border.zero}",
2338
+ "highlightBarBorderRadius": "{system.radius.zero}",
2339
+ "highlightBarBorderWidth": "{system.border.zero}",
2340
+ "highlightTriangleSize": "{system.size.zero}",
2341
+ "backgroundColor": "{system.color.transparent}",
2342
+ "borderColor": "{system.color.transparent}",
2343
+ "borderWidth": "{system.border.zero}",
2344
+ "borderRadius": "{palette.radius.pill32}",
2345
+ "maxWidth": "{palette.size.size192}",
2346
+ "space": "{system.integer.1}",
2347
+ "paddingHorizontal": "{palette.size.size24}",
2348
+ "paddingVertical": "{palette.size.size8}",
2349
+ "textAlign": "{system.textAlign.center}",
2350
+ "lineHeight": "{palette.lineHeight.ratio8to7}",
2351
+ "color": "{palette.color.greyShuttle}",
2352
+ "fontSize": "{palette.fontSize.size14}",
2353
+ "letterSpacing": "{system.letterSpacing.none}",
2354
+ "textTransform": "{system.textTransform.none}",
2355
+ "fontScaleCap": "{palette.fontSize.size64}",
2356
+ "fontWeight": "{palette.fontWeight.weight700}",
2357
+ "fontName": "{palette.fontName.HelveticaNow}"
2358
+ },
2359
+ "rules": [
2360
+ {
2361
+ "if": {
2362
+ "selected": true
2363
+ },
2364
+ "description": "The design uses height of 3: there's (rightly) no '3' in the Allium palette but the effect is 1px above and below a 1px line",
2365
+ "tokens": {
2366
+ "highlightBarBorderWidth": "{palette.border.border1}",
2367
+ "highlightBarHeight": "{palette.border.border1}",
2368
+ "highlightColor": "{palette.color.purpleTelus}",
2369
+ "highlightBarBorderRadius": "{palette.radius.pill32}",
2370
+ "color": "{palette.color.purpleTelus}",
2371
+ "backgroundColor": "{palette.color.greyAthens}"
2372
+ }
2373
+ },
2374
+ {
2375
+ "if": {
2376
+ "hover": true
2377
+ },
2378
+ "tokens": {
2379
+ "borderColor": "{palette.color.greyCloud}",
2380
+ "borderWidth": "{palette.border.border2}"
2381
+ }
2382
+ },
2383
+ {
2384
+ "if": {
2385
+ "focus": true
2386
+ },
2387
+ "tokens": {
2388
+ "color": "{palette.color.purpleTelus}",
2389
+ "borderColor": "{palette.color.purpleTelus}",
2390
+ "borderWidth": "{palette.border.border2}"
2391
+ }
2392
+ },
2393
+ {
2394
+ "if": {
2395
+ "pressed": true
2396
+ },
2397
+ "tokens": {
2398
+ "color": "{palette.color.white}",
2399
+ "backgroundColor": "{palette.color.greyShuttle}",
2400
+ "borderColor": "{system.color.transparent}",
2401
+ "borderWidth": "{system.border.zero}"
2402
+ }
2403
+ },
2404
+ {
2405
+ "if": {
2406
+ "focus": true,
2407
+ "pressed": true
2408
+ },
2409
+ "tokens": {
2410
+ "backgroundColor": "{palette.color.purpleTelus}"
2411
+ }
2412
+ }
2413
+ ]
2414
+ },
2415
+ "TabsScrollButton": {
2416
+ "appearances": {
2417
+ "hover": "{appearances.TabsScrollButton.hover}",
2418
+ "focus": "{appearances.TabsScrollButton.focus}",
2419
+ "pressed": "{appearances.TabsScrollButton.pressed}"
2420
+ },
2421
+ "tokens": {
2422
+ "borderRadius": "{palette.radius.pill32}",
2423
+ "backgroundColor": "{palette.color.white}",
2424
+ "borderColor": "{palette.color.greyCloud}",
2425
+ "borderWidth": "{palette.border.border1}",
2426
+ "padding": "{system.size.zero}",
2427
+ "shadow": "{palette.shadow.surfaceRaised}",
2428
+ "iconSize": "{palette.size.size32}",
2429
+ "iconColor": "{palette.color.greyShuttle}"
2430
+ },
2431
+ "rules": [
2432
+ {
2433
+ "if": {
2434
+ "hover": true
2435
+ },
2436
+ "tokens": {
2437
+ "borderColor": "{palette.color.greyCharcoal}",
2438
+ "iconColor": "{palette.color.greyCharcoal}"
2439
+ }
2440
+ },
2441
+ {
2442
+ "if": {
2443
+ "pressed": true
2444
+ },
2445
+ "tokens": {
2446
+ "backgroundColor": "{palette.color.greyShuttle}",
2447
+ "iconColor": "{palette.color.white}"
2448
+ }
2449
+ }
2450
+ ]
2451
+ },
2452
+ "TextArea": {
2453
+ "appearances": {},
2454
+ "tokens": {
2455
+ "minLines": "{system.integer.5}",
2456
+ "maxLines": "{system.integer.8}"
2457
+ },
2458
+ "rules": []
2459
+ },
2460
+ "TextInput": {
2461
+ "appearances": {
2462
+ "validation": "{appearances.TextInput.validation}",
2463
+ "hover": "{appearances.TextInput.hover}",
2464
+ "focus": "{appearances.TextInput.focus}",
2465
+ "inactive": "{appearances.TextInput.inactive}"
2466
+ },
2467
+ "tokens": {
2468
+ "backgroundColor": "{palette.color.white}",
2469
+ "color": "{palette.color.greyCharcoal}",
2470
+ "borderWidth": "{palette.border.border1}",
2471
+ "borderColor": "{palette.color.greyShuttle}",
2472
+ "borderRadius": "{palette.radius.radius4}",
2473
+ "paddingTop": "{palette.size.size12}",
2474
+ "paddingBottom": "{palette.size.size12}",
2475
+ "paddingLeft": "{palette.size.size16}",
2476
+ "paddingRight": "{palette.size.size16}",
2477
+ "outerBackgroundColor": "{palette.color.transparent}",
2478
+ "outerBorderWidth": "{palette.border.border2}",
2479
+ "outerBorderColor": "{palette.color.transparent}",
2480
+ "fontName": "{palette.fontName.HelveticaNow}",
2481
+ "fontWeight": "{palette.fontWeight.weight400}",
2482
+ "fontSize": "{palette.fontSize.size16}",
2483
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
2484
+ "icon": "{system.icon.none}",
2485
+ "iconSize": "{palette.fontSize.size24}",
2486
+ "iconColor": "{palette.color.transparent}"
2487
+ },
2488
+ "rules": [
2489
+ {
2490
+ "if": {
2491
+ "hover": true,
2492
+ "inactive": null
2493
+ },
2494
+ "tokens": {
2495
+ "outerBorderColor": "{palette.color.greyMystic}",
2496
+ "outerBackgroundColor": "{palette.color.greyMystic}"
2497
+ }
2498
+ },
2499
+ {
2500
+ "if": {
2501
+ "validation": "success"
2502
+ },
2503
+ "tokens": {
2504
+ "borderColor": "{palette.color.greenAccessible}",
2505
+ "icon": "{palette.icon.StatusSuccess}",
2506
+ "iconColor": "{palette.color.greenAccessible}"
2507
+ }
2508
+ },
2509
+ {
2510
+ "if": {
2511
+ "validation": "error"
2512
+ },
2513
+ "tokens": {
2514
+ "borderColor": "{palette.color.red}",
2515
+ "icon": "{palette.icon.StatusError}",
2516
+ "iconColor": "{palette.color.red}"
2517
+ }
2518
+ },
2519
+ {
2520
+ "if": {
2521
+ "focus": true
2522
+ },
2523
+ "tokens": {
2524
+ "borderColor": "{palette.color.purpleDeluge}",
2525
+ "borderWidth": "{palette.border.border3}",
2526
+ "icon": "{system.icon.none}"
2527
+ }
2528
+ },
2529
+ {
2530
+ "if": {
2531
+ "inactive": true
2532
+ },
2533
+ "tokens": {
2534
+ "backgroundColor": "{palette.color.greyAthens}",
2535
+ "borderColor": "{palette.color.greyAthens}"
2536
+ }
2537
+ }
2538
+ ]
2539
+ },
2540
+ "ToggleSwitch": {
2541
+ "appearances": {
2542
+ "focus": "{appearances.ToggleSwitch.focus}",
2543
+ "hover": "{appearances.ToggleSwitch.hover}",
2544
+ "pressed": "{appearances.ToggleSwitch.pressed}",
2545
+ "inactive": "{appearances.ToggleSwitch.inactive}",
2546
+ "selected": "{appearances.ToggleSwitch.selected}"
2547
+ },
2548
+ "tokens": {
2549
+ "borderColor": "{palette.color.transparent}",
2550
+ "borderWidth": "{palette.border.none}",
2551
+ "borderRadius": "{palette.radius.pill32}",
2552
+ "outerBorderColor": "{palette.color.transparent}",
2553
+ "outerBorderWidth": "{palette.border.none}",
2554
+ "outerBorderGap": "{palette.size.size0}",
2555
+ "outerBackgroundColor": "{palette.color.transparent}",
2556
+ "backgroundColor": "{palette.color.greyShuttle}",
2557
+ "opacity": "{system.opacity.opaque}",
2558
+ "paddingLeft": "{system.size.zero}",
2559
+ "paddingRight": "{system.size.zero}",
2560
+ "paddingTop": "{system.size.zero}",
2561
+ "paddingBottom": "{system.size.zero}",
2562
+ "shadow": "{palette.shadow.surfaceInset}",
2563
+ "alignSelf": "{system.flexAlign.flexStart}",
2564
+ "icon": "{system.icon.none}",
2565
+ "width": "{palette.size.size40}",
2566
+ "trackBorderWidth": "{palette.border.border3}",
2567
+ "trackBorderColor": "{palette.color.transparent}",
2568
+ "trackBorderRadius": "{palette.radius.pill32}",
2569
+ "iconSize": "{palette.size.size12}",
2570
+ "iconColor": "{palette.color.greyShuttle}",
2571
+ "switchSize": "{palette.size.size16}",
2572
+ "switchColor": "{palette.color.white}",
2573
+ "switchBorderColor": "{palette.color.transparent}",
2574
+ "switchBorderWidth": "{palette.border.none}",
2575
+ "switchBorderRadius": "{palette.radius.pill32}",
2576
+ "switchShadow": "{palette.shadow.surfaceRaised}"
2577
+ },
2578
+ "rules": [
2579
+ {
2580
+ "if": {
2581
+ "hover": true
2582
+ },
2583
+ "tokens": {
2584
+ "backgroundColor": "{palette.color.greyCharcoal}"
2585
+ }
2586
+ },
2587
+ {
2588
+ "if": {
2589
+ "pressed": true
2590
+ },
2591
+ "tokens": {
2592
+ "backgroundColor": "{palette.color.greyThunder}"
2593
+ }
2594
+ },
2595
+ {
2596
+ "if": {
2597
+ "focus": true
2598
+ },
2599
+ "tokens": {
2600
+ "outerBackgroundColor": "{palette.color.white}",
2601
+ "outerBorderGap": "{palette.border.border3}",
2602
+ "outerBorderWidth": "{palette.border.border2}",
2603
+ "outerBorderColor": "{palette.color.greyShuttle}"
2604
+ }
2605
+ },
2606
+ {
2607
+ "if": {
2608
+ "focus": true,
2609
+ "pressed": true
2610
+ },
2611
+ "tokens": {
2612
+ "outerBorderColor": "{palette.color.greyThunder}"
2613
+ }
2614
+ },
2615
+ {
2616
+ "if": {
2617
+ "selected": true
2618
+ },
2619
+ "tokens": {
2620
+ "icon": "{palette.icon.Checkmark}",
2621
+ "backgroundColor": "{palette.color.greenAccessible}",
2622
+ "iconColor": "{palette.color.greenAccessible}"
2623
+ }
2624
+ },
2625
+ {
2626
+ "if": {
2627
+ "selected": true,
2628
+ "hover": true
2629
+ },
2630
+ "tokens": {
2631
+ "backgroundColor": "{palette.color.greenSanFelix}",
2632
+ "iconColor": "{palette.color.greenSanFelix}"
2633
+ }
2634
+ },
2635
+ {
2636
+ "if": {
2637
+ "selected": true,
2638
+ "pressed": true
2639
+ },
2640
+ "tokens": {
2641
+ "backgroundColor": "{palette.color.greenDarkFern}",
2642
+ "iconColor": "{palette.color.greenDarkFern}"
2643
+ }
2644
+ },
2645
+ {
2646
+ "if": {
2647
+ "selected": true,
2648
+ "focus": true
2649
+ },
2650
+ "tokens": {
2651
+ "outerBorderColor": "{palette.color.greenAccessible}"
2652
+ }
2653
+ },
2654
+ {
2655
+ "if": {
2656
+ "selected": true,
2657
+ "focus": true,
2658
+ "pressed": true
2659
+ },
2660
+ "tokens": {
2661
+ "outerBorderColor": "{palette.color.greenDarkFern}"
2662
+ }
2663
+ },
2664
+ {
2665
+ "if": {
2666
+ "inactive": true
2667
+ },
2668
+ "tokens": {
2669
+ "backgroundColor": "{palette.color.greyCloud}",
2670
+ "outerBorderColor": "{palette.color.greyCloud}",
2671
+ "iconColor": "{palette.color.greyShuttle}"
2672
+ }
2673
+ }
2674
+ ]
2675
+ },
2676
+ "Tooltip": {
2677
+ "appearances": {
2678
+ "inverse": {
2679
+ "values": [true],
2680
+ "type": "variant"
2681
+ }
2682
+ },
2683
+ "tokens": {
2684
+ "backgroundColor": "{palette.color.greyThunder}",
2685
+ "paddingTop": "{palette.size.size8}",
2686
+ "paddingBottom": "{palette.size.size8}",
2687
+ "paddingLeft": "{palette.size.size16}",
2688
+ "paddingRight": "{palette.size.size16}",
2689
+ "borderRadius": "{palette.radius.radius8}",
2690
+ "shadow": "{palette.shadow.elevation1}",
2691
+ "color": "{palette.color.white}",
2692
+ "fontSize": "{palette.fontSize.size14}",
2693
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
2694
+ "fontName": "{palette.fontName.HelveticaNow}",
2695
+ "fontWeight": "{palette.fontWeight.weight400}",
2696
+ "arrowWidth": "{palette.size.size16}",
2697
+ "arrowBorderRadius": "{palette.radius.radius1}",
2698
+ "arrowOffset": "{palette.size.size4}"
2699
+ },
2700
+ "rules": [
2701
+ {
2702
+ "if": {
2703
+ "inverse": true
2704
+ },
2705
+ "tokens": {
2706
+ "backgroundColor": "{palette.color.white}",
2707
+ "color": "{palette.color.greyCharcoal}"
2708
+ }
2709
+ }
2710
+ ]
2711
+ },
2712
+ "TooltipButton": {
2713
+ "appearances": {
2714
+ "focus": "{appearances.TooltipButton.focus}",
2715
+ "hover": "{appearances.TooltipButton.hover}",
2716
+ "pressed": "{appearances.TooltipButton.pressed}",
2717
+ "inverse": {
2718
+ "values": [true],
2719
+ "type": "variant"
2720
+ }
2721
+ },
2722
+ "tokens": {
2723
+ "outerBorderColor": "{palette.color.transparent}",
2724
+ "outerBorderWidth": "{palette.border.border1}",
2725
+ "outerBorderGap": "{palette.size.size4}",
2726
+ "borderRadius": "{palette.radius.pill32}",
2727
+ "width": "{palette.size.size16}",
2728
+ "icon": "{palette.icon.Question}",
2729
+ "iconScale": "{system.iconScale.scale1}",
2730
+ "iconSize": "{palette.size.size16}",
2731
+ "iconColor": "{palette.color.greyThunder}"
2732
+ },
2733
+ "rules": [
2734
+ {
2735
+ "if": {
2736
+ "inverse": true
2737
+ },
2738
+ "tokens": {
2739
+ "iconColor": "{palette.color.white}"
2740
+ }
2741
+ },
2742
+ {
2743
+ "if": {
2744
+ "hover": true
2745
+ },
2746
+ "tokens": {
2747
+ "iconScale": "{system.iconScale.scale1_25}"
2748
+ }
2749
+ },
2750
+ {
2751
+ "if": {
2752
+ "pressed": true
2753
+ },
2754
+ "tokens": {
2755
+ "iconColor": "{palette.color.greyShuttle}"
2756
+ }
2757
+ },
2758
+ {
2759
+ "if": {
2760
+ "inverse": true,
2761
+ "pressed": true
2762
+ },
2763
+ "tokens": {
2764
+ "iconColor": "{palette.color.greyCloud}"
2765
+ }
2766
+ },
2767
+ {
2768
+ "if": {
2769
+ "focus": true
2770
+ },
2771
+ "tokens": {
2772
+ "outerBorderColor": "{palette.color.greyShuttle}"
2773
+ }
2774
+ },
2775
+ {
2776
+ "if": {
2777
+ "inverse": true,
2778
+ "focus": true
2779
+ },
2780
+ "tokens": {
2781
+ "outerBorderColor": "{palette.color.greyCloud}"
2782
+ }
2783
+ }
2784
+ ]
2785
+ },
2786
+ "Typography": {
2787
+ "appearances": {
2788
+ "size": {
2789
+ "description": "Styles text as body or heading text with a given size. Smaller numbers indicate larger sizes,\n\"display\" headings are larger than \"h\" headings. Default is medium size body text. Does not change\naccessibility or SEO-related properties; use the heading prop if text should be treated semantically as a heading.",
2790
+ "values": [
2791
+ "micro",
2792
+ "small",
2793
+ "large",
2794
+ "eyebrow",
2795
+ "h1",
2796
+ "h2",
2797
+ "h3",
2798
+ "h4",
2799
+ "h5",
2800
+ "h6",
2801
+ "display1",
2802
+ "display2"
2803
+ ],
2804
+ "type": "variant"
2805
+ },
2806
+ "colour": {
2807
+ "description": "Each typography variant has a default color, and at least a secondary color variant. In exceptional cases where a different colour is needed,\n use the tokens prop.",
2808
+ "values": ["secondary", "tertiary"],
2809
+ "type": "variant"
2810
+ },
2811
+ "bold": {
2812
+ "description": "Sets the font weight, to bold on some body text styles. Does not change accessibility properties.",
2813
+ "values": [true],
2814
+ "type": "variant"
2815
+ },
2816
+ "inverse": {
2817
+ "description": "Styles the link white for use on dark backgrounds.",
2818
+ "values": [true],
2819
+ "type": "variant"
2820
+ },
2821
+ "compact": {
2822
+ "description": "Reduces line height on some body text styles. For data-rich content, not for flow content",
2823
+ "values": [true],
2824
+ "type": "variant"
2825
+ },
2826
+ "viewport": "{appearances.system.viewport}"
2827
+ },
2828
+ "tokens": {
2829
+ "fontName": "{palette.fontName.HelveticaNow}",
2830
+ "fontWeight": "{palette.fontWeight.weight400}",
2831
+ "fontSize": "{palette.fontSize.size16}",
2832
+ "color": "{palette.color.greyThunder}",
2833
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
2834
+ "letterSpacing": "{system.letterSpacing.none}",
2835
+ "textTransform": "{system.textTransform.none}",
2836
+ "fontScaleCap": "{palette.fontSize.size64}"
2837
+ },
2838
+ "rules": [
2839
+ {
2840
+ "if": {
2841
+ "colour": "secondary"
2842
+ },
2843
+ "tokens": {
2844
+ "color": "{palette.color.greyCharcoal}"
2845
+ }
2846
+ },
2847
+ {
2848
+ "if": {
2849
+ "size": ["display1", "display2", "h1", "h2", "h3"]
2850
+ },
2851
+ "tokens": {
2852
+ "color": "{palette.color.purpleTelus}"
2853
+ }
2854
+ },
2855
+ {
2856
+ "if": {
2857
+ "size": ["display1", "display2", "h1", "h2", "h3"],
2858
+ "colour": "secondary"
2859
+ },
2860
+ "tokens": {
2861
+ "color": "{palette.color.greyThunder}"
2862
+ }
2863
+ },
2864
+ {
2865
+ "if": {
2866
+ "size": "h6",
2867
+ "colour": "tertiary"
2868
+ },
2869
+ "tokens": {
2870
+ "color": "{palette.color.greyShuttle}"
2871
+ }
2872
+ },
2873
+ {
2874
+ "if": {
2875
+ "size": "eyebrow"
2876
+ },
2877
+ "tokens": {
2878
+ "color": "{palette.color.greyCharcoal}"
2879
+ }
2880
+ },
2881
+ {
2882
+ "if": {
2883
+ "size": "eyebrow",
2884
+ "colour": "secondary"
2885
+ },
2886
+ "tokens": {
2887
+ "color": "{palette.color.purpleTelus}"
2888
+ }
2889
+ },
2890
+ {
2891
+ "if": {
2892
+ "inverse": true
2893
+ },
2894
+ "tokens": {
2895
+ "color": "{palette.color.white}"
2896
+ }
2897
+ },
2898
+ {
2899
+ "if": {
2900
+ "size": "display1"
2901
+ },
2902
+ "tokens": {
2903
+ "fontSize": "{palette.fontSize.size40}",
2904
+ "fontWeight": "{palette.fontWeight.weight300}",
2905
+ "fontName": "{palette.fontName.HelveticaNow}",
2906
+ "lineHeight": "{palette.lineHeight.ratio6to5}",
2907
+ "letterSpacing": "{palette.letterSpacing.medium}"
2908
+ }
2909
+ },
2910
+ {
2911
+ "if": {
2912
+ "size": "display1",
2913
+ "viewport": ["lg", "xl"]
2914
+ },
2915
+ "tokens": {
2916
+ "fontSize": "{palette.fontSize.size64}",
2917
+ "lineHeight": "{palette.lineHeight.ratio9to8}"
2918
+ }
2919
+ },
2920
+ {
2921
+ "if": {
2922
+ "size": "display2"
2923
+ },
2924
+ "tokens": {
2925
+ "fontSize": "{palette.fontSize.size36}",
2926
+ "fontWeight": "{palette.fontWeight.weight400}",
2927
+ "fontName": "{palette.fontName.HelveticaNow}",
2928
+ "letterSpacing": "{palette.letterSpacing.medium}",
2929
+ "lineHeight": "{palette.lineHeight.ratio11to9}"
2930
+ }
2931
+ },
2932
+ {
2933
+ "if": {
2934
+ "size": "display2",
2935
+ "viewport": ["lg", "xl"]
2936
+ },
2937
+ "tokens": {
2938
+ "fontSize": "{palette.fontSize.size56}",
2939
+ "fontWeight": "{palette.fontWeight.weight300}",
2940
+ "fontName": "{palette.fontName.HelveticaNow}",
2941
+ "lineHeight": "{palette.lineHeight.ratio8to7}",
2942
+ "letterSpacing": "{palette.letterSpacing.condensed}"
2943
+ }
2944
+ },
2945
+ {
2946
+ "if": {
2947
+ "size": "h1"
2948
+ },
2949
+ "tokens": {
2950
+ "fontSize": "{palette.fontSize.size28}",
2951
+ "lineHeight": "{palette.lineHeight.ratio9to7}",
2952
+ "letterSpacing": "{palette.letterSpacing.loose}"
2953
+ }
2954
+ },
2955
+ {
2956
+ "if": {
2957
+ "size": "h1",
2958
+ "viewport": ["lg", "xl"]
2959
+ },
2960
+ "tokens": {
2961
+ "fontSize": "{palette.fontSize.size40}",
2962
+ "fontWeight": "{palette.fontWeight.weight300}",
2963
+ "fontName": "{palette.fontName.HelveticaNow}",
2964
+ "lineHeight": "{palette.lineHeight.ratio6to5}",
2965
+ "letterSpacing": "{palette.letterSpacing.medium}"
2966
+ }
2967
+ },
2968
+ {
2969
+ "if": {
2970
+ "size": "h2"
2971
+ },
2972
+ "tokens": {
2973
+ "fontSize": "{palette.fontSize.size24}",
2974
+ "fontWeight": "{palette.fontWeight.weight500}",
2975
+ "fontName": "{palette.fontName.HelveticaNow}",
2976
+ "lineHeight": "{palette.lineHeight.ratio4to3}"
2977
+ }
2978
+ },
2979
+ {
2980
+ "if": {
2981
+ "size": "h2",
2982
+ "viewport": ["lg", "xl"]
2983
+ },
2984
+ "tokens": {
2985
+ "fontSize": "{palette.fontSize.size28}",
2986
+ "lineHeight": "{palette.lineHeight.ratio9to7}",
2987
+ "letterSpacing": "{palette.letterSpacing.loose}"
2988
+ }
2989
+ },
2990
+ {
2991
+ "if": {
2992
+ "size": "h3"
2993
+ },
2994
+ "tokens": {
2995
+ "fontSize": "{palette.fontSize.size20}",
2996
+ "fontWeight": "{palette.fontWeight.weight500}",
2997
+ "fontName": "{palette.fontName.HelveticaNow}",
2998
+ "lineHeight": "{palette.lineHeight.ratio7to5}"
2999
+ }
3000
+ },
3001
+ {
3002
+ "if": {
3003
+ "size": "h3",
3004
+ "viewport": ["lg", "xl"]
3005
+ },
3006
+ "tokens": {
3007
+ "fontSize": "{palette.fontSize.size24}",
3008
+ "lineHeight": "{palette.lineHeight.ratio4to3}"
3009
+ }
3010
+ },
3011
+ {
3012
+ "if": {
3013
+ "size": "h4"
3014
+ },
3015
+ "tokens": {
3016
+ "fontSize": "{palette.fontSize.size16}",
3017
+ "fontWeight": "{palette.fontWeight.weight500}",
3018
+ "fontName": "{palette.fontName.HelveticaNow}",
3019
+ "lineHeight": "{palette.lineHeight.ratio3to2}"
3020
+ }
3021
+ },
3022
+ {
3023
+ "if": {
3024
+ "size": "h5"
3025
+ },
3026
+ "tokens": {
3027
+ "fontSize": "{palette.fontSize.size14}",
3028
+ "fontWeight": "{palette.fontWeight.weight500}",
3029
+ "fontName": "{palette.fontName.HelveticaNow}",
3030
+ "lineHeight": "{palette.lineHeight.ratio9to7}"
3031
+ }
3032
+ },
3033
+ {
3034
+ "if": {
3035
+ "size": "h6"
3036
+ },
3037
+ "tokens": {
3038
+ "fontSize": "{palette.fontSize.size12}",
3039
+ "fontWeight": "{palette.fontWeight.weight700}",
3040
+ "fontName": "{palette.fontName.HelveticaNow}",
3041
+ "lineHeight": "{palette.lineHeight.ratio4to3}"
3042
+ }
3043
+ },
3044
+ {
3045
+ "if": {
3046
+ "size": "large"
3047
+ },
3048
+ "tokens": {
3049
+ "fontSize": "{palette.fontSize.size20}",
3050
+ "lineHeight": "{palette.lineHeight.ratio8to5}"
3051
+ }
3052
+ },
3053
+ {
3054
+ "if": {
3055
+ "size": "large",
3056
+ "compact": true
3057
+ },
3058
+ "tokens": {
3059
+ "lineHeight": "{palette.lineHeight.ratio6to5}"
3060
+ }
3061
+ },
3062
+ {
3063
+ "if": {
3064
+ "size": null,
3065
+ "compact": true
3066
+ },
3067
+ "description": "The compact line height for the 'default' font size, but doesn't apply for any other styles",
3068
+ "tokens": {
3069
+ "lineHeight": "{palette.lineHeight.ratio5to4}"
3070
+ }
3071
+ },
3072
+ {
3073
+ "if": {
3074
+ "size": "small"
3075
+ },
3076
+ "tokens": {
3077
+ "fontSize": "{palette.fontSize.size14}",
3078
+ "lineHeight": "{palette.lineHeight.ratio10to7}"
3079
+ }
3080
+ },
3081
+ {
3082
+ "if": {
3083
+ "size": "small",
3084
+ "compact": true
3085
+ },
3086
+ "tokens": {
3087
+ "lineHeight": "{palette.lineHeight.ratio8to7}"
3088
+ }
3089
+ },
3090
+ {
3091
+ "if": {
3092
+ "size": "micro"
3093
+ },
3094
+ "tokens": {
3095
+ "fontSize": "{palette.fontSize.size12}",
3096
+ "fontWeight": "{palette.fontWeight.weight500}",
3097
+ "fontName": "{palette.fontName.HelveticaNow}",
3098
+ "lineHeight": "{palette.lineHeight.ratio4to3}"
3099
+ }
3100
+ },
3101
+ {
3102
+ "if": {
3103
+ "size": "eyebrow"
3104
+ },
3105
+ "tokens": {
3106
+ "fontSize": "{palette.fontSize.size14}",
3107
+ "fontWeight": "{palette.fontWeight.weight700}",
3108
+ "fontName": "{palette.fontName.HelveticaNow}",
3109
+ "textTransform": "{system.textTransform.uppercase}",
3110
+ "lineHeight": "{palette.lineHeight.ratio9to7}"
3111
+ }
3112
+ },
3113
+ {
3114
+ "if": {
3115
+ "size": ["large", null, "small", "micro"],
3116
+ "bold": true
3117
+ },
3118
+ "description": "Bold is only available on body text styles, not headings",
3119
+ "tokens": {
3120
+ "fontWeight": "{palette.fontWeight.weight700}",
3121
+ "fontName": "{palette.fontName.HelveticaNow}"
3122
+ }
3123
+ }
3124
+ ]
3125
+ },
3126
+ "Select": {
3127
+ "appearances": {
3128
+ "validation": "{appearances.Select.validation}",
3129
+ "hover": "{appearances.Select.hover}",
3130
+ "focus": "{appearances.Select.focus}",
3131
+ "inactive": "{appearances.Select.inactive}"
3132
+ },
3133
+ "tokens": {
3134
+ "backgroundColor": "{palette.color.white}",
3135
+ "color": "{palette.color.greyCharcoal}",
3136
+ "borderWidth": "{palette.border.border1}",
3137
+ "borderColor": "{palette.color.greyShuttle}",
3138
+ "borderRadius": "{palette.radius.radius4}",
3139
+ "paddingTop": "{palette.size.size12}",
3140
+ "paddingBottom": "{palette.size.size12}",
3141
+ "paddingLeft": "{palette.size.size16}",
3142
+ "paddingRight": "{palette.size.size16}",
3143
+ "height": "{palette.size.size48}",
3144
+ "outerBackgroundColor": "{palette.color.transparent}",
3145
+ "outerBorderWidth": "{palette.border.border2}",
3146
+ "outerBorderColor": "{palette.color.transparent}",
3147
+ "fontSize": "{palette.fontSize.size16}",
3148
+ "fontName": "{palette.fontName.HelveticaNow}",
3149
+ "fontWeight": "{palette.fontWeight.weight400}",
3150
+ "icon": "{palette.icon.CaretDown}",
3151
+ "iconSize": "{palette.fontSize.size24}",
3152
+ "iconColor": "{palette.color.greenAccessible}",
3153
+ "validationIcon": "{system.icon.none}",
3154
+ "validationIconSize": "{palette.fontSize.size24}",
3155
+ "validationIconColor": "{palette.color.transparent}"
3156
+ },
3157
+ "rules": [
3158
+ {
3159
+ "if": {
3160
+ "hover": true,
3161
+ "inactive": null
3162
+ },
3163
+ "tokens": {
3164
+ "outerBorderColor": "{palette.color.greyMystic}",
3165
+ "outerBackgroundColor": "{palette.color.greyMystic}"
3166
+ }
3167
+ },
3168
+ {
3169
+ "if": {
3170
+ "validation": "success"
3171
+ },
3172
+ "tokens": {
3173
+ "borderColor": "{palette.color.greenAccessible}",
3174
+ "validationIcon": "{palette.icon.StatusSuccess}",
3175
+ "validationIconColor": "{palette.color.greenAccessible}"
3176
+ }
3177
+ },
3178
+ {
3179
+ "if": {
3180
+ "validation": "error"
3181
+ },
3182
+ "tokens": {
3183
+ "borderColor": "{palette.color.red}",
3184
+ "validationIcon": "{palette.icon.StatusError}",
3185
+ "validationIconColor": "{palette.color.red}"
3186
+ }
3187
+ },
3188
+ {
3189
+ "if": {
3190
+ "focus": true
3191
+ },
3192
+ "tokens": {
3193
+ "borderColor": "{palette.color.purpleDeluge}",
3194
+ "borderWidth": "{palette.border.border3}",
3195
+ "validationIcon": "{system.icon.none}"
3196
+ }
3197
+ },
3198
+ {
3199
+ "if": {
3200
+ "inactive": true
3201
+ },
3202
+ "tokens": {
3203
+ "backgroundColor": "{palette.color.greyAthens}",
3204
+ "borderColor": "{palette.color.greyAthens}"
3205
+ }
3206
+ }
3207
+ ]
3208
+ },
3209
+ "SideNav": {
3210
+ "appearances": {},
3211
+ "tokens": {
3212
+ "borderColor": "{palette.color.greyCloud}",
3213
+ "borderWidth": "{palette.border.border1}",
3214
+ "borderStyle": "{system.borderStyle.solid}"
3215
+ },
3216
+ "rules": []
3217
+ },
3218
+ "SideNavItem": {
3219
+ "appearances": {
3220
+ "active": "{appearances.SideNavItem.active}",
3221
+ "type": "{appearances.SideNavItem.type}",
3222
+ "expanded": "{appearances.SideNavItem.expanded}",
3223
+ "hover": "{appearances.SideNavItem.hover}"
3224
+ },
3225
+ "tokens": {
3226
+ "borderColor": "{palette.color.greyCloud}",
3227
+ "borderWidth": "{palette.border.border1}",
3228
+ "borderStyle": "{system.borderStyle.solid}",
3229
+ "paddingLeft": "{palette.size.size16}",
3230
+ "paddingRight": "{palette.size.size16}",
3231
+ "paddingTop": "{palette.size.size16}",
3232
+ "paddingBottom": "{palette.size.size16}",
3233
+ "justifyContent": "{system.flexJustifyContent.spaceBetween}",
3234
+ "color": "{palette.color.greyCharcoal}",
3235
+ "accentOffset": "{system.size.zero}",
3236
+ "accentPadding": "{system.size.zero}",
3237
+ "accentWidth": "{palette.size.size4}",
3238
+ "accentBackgroundColor": "{palette.color.transparent}",
3239
+ "fontSize": "{palette.fontSize.size16}",
3240
+ "fontWeight": "{palette.fontWeight.weight400}",
3241
+ "fontName": "{palette.fontName.HelveticaNow}",
3242
+ "lineHeight": "{palette.lineHeight.ratio3to2}",
3243
+ "backgroundColor": "{palette.color.transparent}"
3244
+ },
3245
+ "rules": [
3246
+ {
3247
+ "if": {
3248
+ "active": true
3249
+ },
3250
+ "tokens": {
3251
+ "paddingLeft": "{palette.size.size12}",
3252
+ "accentBackgroundColor": "{palette.color.purpleTelus}",
3253
+ "color": "{palette.color.purpleTelus}",
3254
+ "fontWeight": "{palette.fontWeight.weight700}",
3255
+ "fontName": "{palette.fontName.HelveticaNow}"
3256
+ }
3257
+ },
3258
+ {
3259
+ "if": {
3260
+ "type": "child"
3261
+ },
3262
+ "tokens": {
3263
+ "paddingLeft": "{palette.size.size36}",
3264
+ "borderWidth": "{palette.border.none}",
3265
+ "accentBackgroundColor": "{palette.color.greyAthens}",
3266
+ "accentOffset": "{palette.size.size16}",
3267
+ "fontSize": "{palette.fontSize.size14}",
3268
+ "lineHeight": "{palette.lineHeight.ratio7to5}"
3269
+ }
3270
+ },
3271
+ {
3272
+ "if": {
3273
+ "type": "parent",
3274
+ "active": true
3275
+ },
3276
+ "tokens": {
3277
+ "paddingLeft": "{palette.size.size12}"
3278
+ }
3279
+ },
3280
+ {
3281
+ "if": {
3282
+ "type": "parent",
3283
+ "active": true,
3284
+ "expanded": true
3285
+ },
3286
+ "tokens": {
3287
+ "paddingLeft": "{palette.size.size16}",
3288
+ "accentBackgroundColor": "{palette.color.transparent}",
3289
+ "color": "{palette.color.greyCharcoal}"
3290
+ }
3291
+ },
3292
+ {
3293
+ "if": {
3294
+ "hover": true
3295
+ },
3296
+ "tokens": {
3297
+ "backgroundColor": "{palette.color.greyAthens}",
3298
+ "color": "{palette.color.purpleTelus}"
3299
+ }
3300
+ },
3301
+ {
3302
+ "if": {
3303
+ "type": "child",
3304
+ "active": true
3305
+ },
3306
+ "tokens": {
3307
+ "backgroundColor": "{palette.color.greyAthens}",
3308
+ "color": "{palette.color.purpleTelus}",
3309
+ "accentPadding": "{palette.size.size16}",
3310
+ "accentBackgroundColor": "{palette.color.purpleTelus}"
3311
+ }
3312
+ },
3313
+ {
3314
+ "if": {
3315
+ "type": "child",
3316
+ "active": false,
3317
+ "hover": true
3318
+ },
3319
+ "tokens": {
3320
+ "accentBackgroundColor": "{palette.color.white}",
3321
+ "color": "{palette.color.greyCharcoal}",
3322
+ "accentOffset": "{system.size.zero}",
3323
+ "accentWidth": "{palette.size.size16}"
3324
+ }
3325
+ }
3326
+ ]
3327
+ },
3328
+ "SideNavItemsGroup": {
3329
+ "appearances": {
3330
+ "expanded": "{appearances.SideNavItemGroup.expanded}"
3331
+ },
3332
+ "tokens": {
3333
+ "expandDuration": "{palette.duration.duration300}",
3334
+ "collapseDuration": "{palette.duration.duration250}",
3335
+ "contentPaddingLeft": "{palette.size.size0}",
3336
+ "contentPaddingRight": "{palette.size.size0}",
3337
+ "contentPaddingTop": "{palette.size.size0}",
3338
+ "contentPaddingBottom": "{palette.size.size0}",
3339
+ "icon": "{palette.icon.CaretDown}",
3340
+ "iconColor": "{palette.color.purpleTelus}",
3341
+ "iconGap": "{palette.size.size8}",
3342
+ "iconSize": "{palette.size.size24}",
3343
+ "iconPosition": "{system.position.right}",
3344
+ "verticalAlign": "{system.verticalAlign.middle}",
3345
+ "justifyContent": "{system.flexJustifyContent.spaceBetween}"
3346
+ },
3347
+ "rules": [
3348
+ {
3349
+ "if": {
3350
+ "expanded": true
3351
+ },
3352
+ "tokens": {
3353
+ "icon": "{palette.icon.CaretUp}"
3354
+ }
3355
+ }
3356
+ ]
3357
+ },
3358
+ "Skeleton": {
3359
+ "appearances": {},
3360
+ "tokens": {
3361
+ "color": "{palette.color.greyCloud}",
3362
+ "size": "{palette.border.border3}",
3363
+ "radius": "{palette.size.size120}",
3364
+ "baseWidth": "{palette.size.size40}",
3365
+ "characters": "{palette.size.size10}",
3366
+ "spaceBetweenLines": "{palette.size.size2}",
3367
+ "squareRadius": "{palette.size.size4}"
3368
+ },
3369
+ "rules": []
3370
+ },
3371
+ "StackView": {
3372
+ "appearances": {},
3373
+ "tokens": {
3374
+ "alignItems": "{system.flexAlign.stretch}",
3375
+ "justifyContent": "{system.flexJustifyContent.flexStart}",
3376
+ "flexGrow": "{system.integer.0}"
3377
+ },
3378
+ "rules": []
3379
+ },
3380
+ "Tags": {
3381
+ "appearances": {
3382
+ "viewport": "{appearances.system.viewport}"
3383
+ },
3384
+ "tokens": {
3385
+ "space": "{system.integer.1}",
3386
+ "direction": "{system.direction.row}",
3387
+ "alignItems": "{system.flexAlign.center}",
3388
+ "justifyContent": "{system.flexJustifyContent.flexStart}",
3389
+ "flexGrow": "{system.integer.0}"
3390
+ },
3391
+ "rules": [
3392
+ {
3393
+ "if": {
3394
+ "viewport": ["lg", "xl"]
3395
+ },
3396
+ "tokens": {
3397
+ "space": "{system.integer.3}"
3398
+ }
3399
+ }
3400
+ ]
3401
+ },
3402
+ "TagsItem": {
3403
+ "appearances": {
3404
+ "hover": "{appearances.TagsItem.hover}",
3405
+ "focus": "{appearances.TagsItem.focus}",
3406
+ "pressed": "{appearances.TagsItem.pressed}",
3407
+ "selected": "{appearances.TagsItem.selected}",
3408
+ "inactive": "{appearances.TagsItem.inactive}"
3409
+ },
3410
+ "tokens": {
3411
+ "iconSize": "{palette.size.size16}",
3412
+ "iconColor": "{palette.color.greyThunder}",
3413
+ "iconTranslateX": "{system.integer.0}",
3414
+ "iconTranslateY": "{system.integer.0}",
3415
+ "icon": "{palette.icon.Add}",
3416
+ "iconPosition": "{system.position.right}",
3417
+ "iconSpace": "{system.integer.2}",
3418
+ "iconBackground": "{palette.color.greyAthens}",
3419
+ "iconBorderRadius": "{palette.radius.pill32}",
3420
+ "iconAlignSelf": "{system.flexAlign.center}",
3421
+ "iconPadding": "{palette.size.size2}",
3422
+ "borderColor": "{palette.color.greyCloud}",
3423
+ "borderWidth": "{palette.border.border1}",
3424
+ "borderRadius": "{palette.radius.pill32}",
3425
+ "shadow": "{system.shadow.none}",
3426
+ "fontSize": "{palette.fontSize.size14}",
3427
+ "color": "{palette.color.greyShuttle}",
3428
+ "lineHeight": "{palette.lineHeight.ratio10to7}",
3429
+ "textAlign": "{system.flexJustifyContent.center}",
3430
+ "alignSelf": "{system.flexAlign.center}",
3431
+ "fontName": "{palette.fontName.HelveticaNow}",
3432
+ "fontWeight": "{palette.fontWeight.weight700}",
3433
+ "backgroundColor": "{palette.color.white}",
3434
+ "opacity": "{system.opacity.opaque}",
3435
+ "paddingLeft": "{palette.size.size16}",
3436
+ "paddingRight": "{palette.size.size8}",
3437
+ "paddingTop": "{palette.size.size8}",
3438
+ "paddingBottom": "{palette.size.size8}",
3439
+ "width": "{system.size.none}",
3440
+ "minWidth": "{system.size.zero}",
3441
+ "outerBorderColor": "{palette.color.transparent}",
3442
+ "outerBorderWidth": "{palette.border.border2}",
3443
+ "outerBorderGap": "{palette.border.border2}",
3444
+ "outerBackgroundColor": "{palette.color.transparent}"
3445
+ },
3446
+ "rules": [
3447
+ {
3448
+ "if": {
3449
+ "pressed": true
3450
+ },
3451
+ "tokens": {
3452
+ "borderWidth": "{palette.border.none}",
3453
+ "backgroundColor": "{palette.color.greyShuttle}",
3454
+ "borderColor": "{palette.color.greyShuttle}",
3455
+ "color": "{palette.color.white}",
3456
+ "iconColor": "{palette.color.white}",
3457
+ "iconBackground": "{palette.color.greyCharcoal}"
3458
+ }
3459
+ },
3460
+ {
3461
+ "if": {
3462
+ "focus": true
3463
+ },
3464
+ "tokens": {
3465
+ "borderColor": "{palette.color.greyShuttle}",
3466
+ "outerBorderColor": "{palette.color.greyShuttle}",
3467
+ "outerBorderGap": "{palette.size.size2}",
3468
+ "outerBorderWidth": "{palette.size.size2}"
3469
+ }
3470
+ },
3471
+ {
3472
+ "if": {
3473
+ "hover": true
3474
+ },
3475
+ "tokens": {
3476
+ "borderWidth": "{palette.border.border3}"
3477
+ }
3478
+ },
3479
+ {
3480
+ "if": {
3481
+ "selected": true
3482
+ },
3483
+ "tokens": {
3484
+ "borderWidth": "{palette.border.none}",
3485
+ "backgroundColor": "{palette.color.purpleTelus}",
3486
+ "color": "{palette.color.white}",
3487
+ "icon": "{palette.icon.Close}",
3488
+ "iconColor": "{palette.color.white}",
3489
+ "iconBackground": "{palette.color.purpleDeluge}"
3490
+ }
3491
+ },
3492
+ {
3493
+ "if": {
3494
+ "selected": true,
3495
+ "hover": true
3496
+ },
3497
+ "tokens": {
3498
+ "backgroundColor": "{palette.color.purpleDeluge}",
3499
+ "iconBackground": "{palette.color.purpleTelus}"
3500
+ }
3501
+ },
3502
+ {
3503
+ "if": {
3504
+ "selected": true,
3505
+ "pressed": true
3506
+ },
3507
+ "tokens": {
3508
+ "backgroundColor": "{palette.color.purpleDark}",
3509
+ "iconBackground": "{palette.color.purpleDeluge}"
3510
+ }
3511
+ },
3512
+ {
3513
+ "if": {
3514
+ "selected": true,
3515
+ "focus": true
3516
+ },
3517
+ "tokens": {
3518
+ "outerBorderColor": "{palette.color.purpleTelus}"
3519
+ }
3520
+ },
3521
+ {
3522
+ "if": {
3523
+ "selected": true,
3524
+ "focus": true,
3525
+ "pressed": true
3526
+ },
3527
+ "tokens": {
3528
+ "outerBorderColor": "{palette.color.purpleDark}",
3529
+ "iconBackground": "{palette.color.purpleDeluge}"
3530
+ }
3531
+ },
3532
+ {
3533
+ "if": {
3534
+ "inactive": true
3535
+ },
3536
+ "tokens": {
3537
+ "backgroundColor": "{palette.color.greyCloud}",
3538
+ "color": "{palette.color.white}",
3539
+ "borderWidth": "{system.border.zero}"
3540
+ }
3541
+ }
3542
+ ]
3543
+ },
3544
+ "spacingScale": {
3545
+ "appearances": {
3546
+ "space": "{appearances.spacingScale.space}",
3547
+ "viewport": "{appearances.system.viewport}"
3548
+ },
3549
+ "tokens": {
3550
+ "size": "{palette.size.size96}"
3551
+ },
3552
+ "rules": [
3553
+ {
3554
+ "if": {
3555
+ "viewport": ["lg", "xl"]
3556
+ },
3557
+ "tokens": {
3558
+ "size": "{palette.size.size120}"
3559
+ }
3560
+ },
3561
+ {
3562
+ "if": {
3563
+ "space": 11
3564
+ },
3565
+ "tokens": {
3566
+ "size": "{palette.size.size96}"
3567
+ }
3568
+ },
3569
+ {
3570
+ "if": {
3571
+ "space": 10
3572
+ },
3573
+ "tokens": {
3574
+ "size": "{palette.size.size80}"
3575
+ }
3576
+ },
3577
+ {
3578
+ "if": {
3579
+ "space": 9
3580
+ },
3581
+ "tokens": {
3582
+ "size": "{palette.size.size64}"
3583
+ }
3584
+ },
3585
+ {
3586
+ "if": {
3587
+ "space": 8
3588
+ },
3589
+ "tokens": {
3590
+ "size": "{palette.size.size48}"
3591
+ }
3592
+ },
3593
+ {
3594
+ "if": {
3595
+ "space": 7
3596
+ },
3597
+ "tokens": {
3598
+ "size": "{palette.size.size40}"
3599
+ }
3600
+ },
3601
+ {
3602
+ "if": {
3603
+ "space": 6
3604
+ },
3605
+ "tokens": {
3606
+ "size": "{palette.size.size36}"
3607
+ }
3608
+ },
3609
+ {
3610
+ "if": {
3611
+ "space": 5
3612
+ },
3613
+ "tokens": {
3614
+ "size": "{palette.size.size32}"
3615
+ }
3616
+ },
3617
+ {
3618
+ "if": {
3619
+ "space": 4
3620
+ },
3621
+ "tokens": {
3622
+ "size": "{palette.size.size24}"
3623
+ }
3624
+ },
3625
+ {
3626
+ "if": {
3627
+ "space": 3
3628
+ },
3629
+ "tokens": {
3630
+ "size": "{palette.size.size16}"
3631
+ }
3632
+ },
3633
+ {
3634
+ "if": {
3635
+ "space": 2
3636
+ },
3637
+ "tokens": {
3638
+ "size": "{palette.size.size8}"
3639
+ }
3640
+ },
3641
+ {
3642
+ "if": {
3643
+ "space": 1
3644
+ },
3645
+ "tokens": {
3646
+ "size": "{palette.size.size4}"
3647
+ }
3648
+ },
3649
+ {
3650
+ "if": {
3651
+ "space": 11,
3652
+ "viewport": ["lg", "xl"]
3653
+ },
3654
+ "tokens": {
3655
+ "size": "{palette.size.size120}"
3656
+ }
3657
+ },
3658
+ {
3659
+ "if": {
3660
+ "space": 10,
3661
+ "viewport": ["lg", "xl"]
3662
+ },
3663
+ "tokens": {
3664
+ "size": "{palette.size.size96}"
3665
+ }
3666
+ },
3667
+ {
3668
+ "if": {
3669
+ "space": 9,
3670
+ "viewport": ["lg", "xl"]
3671
+ },
3672
+ "tokens": {
3673
+ "size": "{palette.size.size72}"
3674
+ }
3675
+ },
3676
+ {
3677
+ "if": {
3678
+ "space": 8,
3679
+ "viewport": ["lg", "xl"]
3680
+ },
3681
+ "tokens": {
3682
+ "size": "{palette.size.size64}"
3683
+ }
3684
+ },
3685
+ {
3686
+ "if": {
3687
+ "space": 7,
3688
+ "viewport": ["lg", "xl"]
3689
+ },
3690
+ "tokens": {
3691
+ "size": "{palette.size.size48}"
3692
+ }
3693
+ },
3694
+ {
3695
+ "if": {
3696
+ "space": 6,
3697
+ "viewport": ["lg", "xl"]
3698
+ },
3699
+ "tokens": {
3700
+ "size": "{palette.size.size40}"
3701
+ }
3702
+ },
3703
+ {
3704
+ "if": {
3705
+ "space": 0
3706
+ },
3707
+ "tokens": {
3708
+ "size": "{palette.size.size0}"
3709
+ }
3710
+ }
3711
+ ]
3712
+ }
3713
+ }
3714
+ }