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