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