@telus-uds/theme-koodo 3.5.0 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{schema.json → android/schema.json} +1019 -441
- package/build/android/theme.json +4804 -0
- package/build/ios/schema.json +10872 -0
- package/build/ios/theme.json +4804 -0
- package/build/rn/schema.json +10872 -0
- package/build/{theme.js → rn/theme.js} +252 -11
- package/package.json +5 -5
- package/theme.json +235 -4
package/theme.json
CHANGED
|
@@ -43,7 +43,8 @@
|
|
|
43
43
|
}
|
|
44
44
|
],
|
|
45
45
|
"tokens": {
|
|
46
|
-
"backgroundColor": "{system.color.none}"
|
|
46
|
+
"backgroundColor": "{system.color.none}",
|
|
47
|
+
"gradient": "{system.gradient.none}"
|
|
47
48
|
}
|
|
48
49
|
},
|
|
49
50
|
"Button": {
|
|
@@ -249,6 +250,140 @@
|
|
|
249
250
|
"width": "{system.size.none}"
|
|
250
251
|
}
|
|
251
252
|
},
|
|
253
|
+
"ButtonDropdown": {
|
|
254
|
+
"appearances": {
|
|
255
|
+
"focus": "{appearances.ButtonDropdown.focus}",
|
|
256
|
+
"hover": "{appearances.ButtonDropdown.hover}",
|
|
257
|
+
"inactive": "{appearances.ButtonDropdown.inactive}",
|
|
258
|
+
"open": "{appearances.ButtonDropdown.open}",
|
|
259
|
+
"pressed": "{appearances.ButtonDropdown.pressed}",
|
|
260
|
+
"selected": "{appearances.ButtonDropdown.selected}"
|
|
261
|
+
},
|
|
262
|
+
"rules": [
|
|
263
|
+
{
|
|
264
|
+
"if": {
|
|
265
|
+
"open": true
|
|
266
|
+
},
|
|
267
|
+
"tokens": {
|
|
268
|
+
"icon": "{palette.icon.ChevronUp}"
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"if": {
|
|
273
|
+
"pressed": true
|
|
274
|
+
},
|
|
275
|
+
"tokens": {
|
|
276
|
+
"backgroundColor": "{palette.color.mosque}",
|
|
277
|
+
"borderColor": "{palette.color.mosque}",
|
|
278
|
+
"color": "{palette.color.white}"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"if": {
|
|
283
|
+
"focus": true
|
|
284
|
+
},
|
|
285
|
+
"tokens": {
|
|
286
|
+
"outerBorderColor": "{palette.color.mosque}"
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"if": {
|
|
291
|
+
"hover": true
|
|
292
|
+
},
|
|
293
|
+
"tokens": {
|
|
294
|
+
"backgroundColor": "{palette.color.darkMosque}",
|
|
295
|
+
"iconColor": "{palette.color.darkMosque}"
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"if": {
|
|
300
|
+
"selected": true
|
|
301
|
+
},
|
|
302
|
+
"tokens": {
|
|
303
|
+
"opacity": "{palette.opacity.opacity8}",
|
|
304
|
+
"outerBorderColor": "{palette.color.mosque}",
|
|
305
|
+
"outerBorderGap": "{palette.size.size1}",
|
|
306
|
+
"outerBorderWidth": "{palette.border.border4}"
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"if": {
|
|
311
|
+
"focus": true,
|
|
312
|
+
"pressed": true
|
|
313
|
+
},
|
|
314
|
+
"tokens": {
|
|
315
|
+
"outerBorderColor": "{palette.color.mosque}"
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"if": {
|
|
320
|
+
"inactive": true
|
|
321
|
+
},
|
|
322
|
+
"tokens": {
|
|
323
|
+
"backgroundColor": "{palette.color.dove}",
|
|
324
|
+
"borderWidth": "{system.border.zero}",
|
|
325
|
+
"color": "{palette.color.white}",
|
|
326
|
+
"iconColor": "{palette.color.dove}"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"if": {
|
|
331
|
+
"selected": true
|
|
332
|
+
},
|
|
333
|
+
"tokens": {
|
|
334
|
+
"opacity": "{palette.opacity.opacity8}",
|
|
335
|
+
"outerBorderColor": "{palette.color.mosque}",
|
|
336
|
+
"outerBorderGap": "{palette.size.size1}",
|
|
337
|
+
"outerBorderWidth": "{palette.border.border4}"
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"if": {
|
|
342
|
+
"focus": true,
|
|
343
|
+
"selected": true
|
|
344
|
+
},
|
|
345
|
+
"tokens": {
|
|
346
|
+
"outerBorderColor": "{palette.color.darkMosque}"
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
],
|
|
350
|
+
"tokens": {
|
|
351
|
+
"alignSelf": "{system.flexAlign.flexStart}",
|
|
352
|
+
"backgroundColor": "{palette.color.mosque}",
|
|
353
|
+
"borderColor": "{palette.color.darkMosque}",
|
|
354
|
+
"borderRadius": "{palette.radius.radius4}",
|
|
355
|
+
"borderWidth": "{palette.border.none}",
|
|
356
|
+
"color": "{palette.color.white}",
|
|
357
|
+
"fontName": "{palette.fontName.StagSans}",
|
|
358
|
+
"fontSize": "{palette.fontSize.size14}",
|
|
359
|
+
"fontWeight": "{palette.fontWeight.weight600}",
|
|
360
|
+
"icon": "{palette.icon.ChevronDown}",
|
|
361
|
+
"iconAlignSelf": "{system.flexAlign.center}",
|
|
362
|
+
"iconBackground": "{palette.color.white}",
|
|
363
|
+
"iconBorderRadius": "{palette.radius.pill32}",
|
|
364
|
+
"iconColor": "{palette.color.mosque}",
|
|
365
|
+
"iconPadding": "{palette.size.size4}",
|
|
366
|
+
"iconPosition": "{system.position.right}",
|
|
367
|
+
"iconSize": "{palette.size.size20}",
|
|
368
|
+
"iconSpace": "{system.integer.3}",
|
|
369
|
+
"iconTranslateX": "{palette.size.size0}",
|
|
370
|
+
"iconTranslateY": "{palette.size.size0}",
|
|
371
|
+
"lineHeight": "{palette.lineHeight.multiply150}",
|
|
372
|
+
"minWidth": "{system.size.zero}",
|
|
373
|
+
"opacity": "{system.opacity.opaque}",
|
|
374
|
+
"outerBackgroundColor": "{palette.color.transparent}",
|
|
375
|
+
"outerBorderColor": "{palette.color.transparent}",
|
|
376
|
+
"outerBorderGap": "{palette.size.size2}",
|
|
377
|
+
"outerBorderWidth": "{palette.border.border2}",
|
|
378
|
+
"paddingBottom": "{palette.size.size8}",
|
|
379
|
+
"paddingLeft": "{palette.size.size24}",
|
|
380
|
+
"paddingRight": "{palette.size.size16}",
|
|
381
|
+
"paddingTop": "{palette.size.size8}",
|
|
382
|
+
"shadow": "{system.shadow.none}",
|
|
383
|
+
"textAlign": "{system.flexJustifyContent.center}",
|
|
384
|
+
"width": "{system.size.none}"
|
|
385
|
+
}
|
|
386
|
+
},
|
|
252
387
|
"ButtonGroup": {
|
|
253
388
|
"appearances": {},
|
|
254
389
|
"rules": [],
|
|
@@ -358,6 +493,8 @@
|
|
|
358
493
|
"fontName": "{palette.fontName.StagSans}",
|
|
359
494
|
"fontSize": "{palette.fontSize.size14}",
|
|
360
495
|
"fontWeight": "{palette.fontWeight.weight600}",
|
|
496
|
+
"iconSize": "{palette.size.size20}",
|
|
497
|
+
"iconSpace": "{system.integer.3}",
|
|
361
498
|
"lineHeight": "{palette.lineHeight.multiply150}",
|
|
362
499
|
"minWidth": "{system.size.zero}",
|
|
363
500
|
"opacity": "{system.opacity.opaque}",
|
|
@@ -408,6 +545,7 @@
|
|
|
408
545
|
}
|
|
409
546
|
],
|
|
410
547
|
"tokens": {
|
|
548
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
411
549
|
"nextIcon": "{palette.icon.ChevronRight}",
|
|
412
550
|
"previousIcon": "{palette.icon.ChevronLeft}",
|
|
413
551
|
"showPanelNavigation": "{system.show.true}",
|
|
@@ -620,6 +758,7 @@
|
|
|
620
758
|
"icon": "{palette.icon.ChevronDown}",
|
|
621
759
|
"iconColor": "{palette.color.mosque}",
|
|
622
760
|
"iconGap": "{palette.size.size16}",
|
|
761
|
+
"iconPaddingTop": "{palette.size.size4}",
|
|
623
762
|
"iconPosition": "{system.position.left}",
|
|
624
763
|
"iconSize": "{palette.size.size16}",
|
|
625
764
|
"justifyContent": "{system.flexJustifyContent.flexStart}",
|
|
@@ -843,12 +982,26 @@
|
|
|
843
982
|
},
|
|
844
983
|
"IconButton": {
|
|
845
984
|
"appearances": {
|
|
985
|
+
"compact": {
|
|
986
|
+
"description": "Without the outer border gap",
|
|
987
|
+
"type": "variant",
|
|
988
|
+
"values": [true]
|
|
989
|
+
},
|
|
846
990
|
"focus": "{appearances.Button.focus}",
|
|
847
991
|
"hover": "{appearances.Button.hover}",
|
|
848
992
|
"inactive": "{appearances.Button.inactive}",
|
|
849
993
|
"pressed": "{appearances.Button.pressed}"
|
|
850
994
|
},
|
|
851
|
-
"rules": [
|
|
995
|
+
"rules": [
|
|
996
|
+
{
|
|
997
|
+
"if": {
|
|
998
|
+
"compact": true
|
|
999
|
+
},
|
|
1000
|
+
"tokens": {
|
|
1001
|
+
"outerBorderGap": "{system.size.zero}"
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
],
|
|
852
1005
|
"tokens": {
|
|
853
1006
|
"backgroundColor": "{system.color.transparent}",
|
|
854
1007
|
"borderColor": "{palette.color.mosque}",
|
|
@@ -1542,6 +1695,60 @@
|
|
|
1542
1695
|
"shadow": "{system.shadow.none}"
|
|
1543
1696
|
}
|
|
1544
1697
|
},
|
|
1698
|
+
"QuickLinksFeature": {
|
|
1699
|
+
"appearances": {},
|
|
1700
|
+
"rules": [],
|
|
1701
|
+
"tokens": {
|
|
1702
|
+
"stackGap": "{system.integer.5}",
|
|
1703
|
+
"stackJustify": "{system.flexJustifyContent.center}",
|
|
1704
|
+
"stackSpace": "{system.integer.5}"
|
|
1705
|
+
}
|
|
1706
|
+
},
|
|
1707
|
+
"QuickLinksFeatureItem": {
|
|
1708
|
+
"appearances": {
|
|
1709
|
+
"hover": "{appearances.Link.hover}",
|
|
1710
|
+
"viewport": "{appearances.system.viewport}"
|
|
1711
|
+
},
|
|
1712
|
+
"rules": [
|
|
1713
|
+
{
|
|
1714
|
+
"if": {
|
|
1715
|
+
"viewport": "xl"
|
|
1716
|
+
},
|
|
1717
|
+
"tokens": {
|
|
1718
|
+
"contentMaxDimension": "{palette.size.size184}",
|
|
1719
|
+
"imageDimension": "{palette.size.size168}"
|
|
1720
|
+
}
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
"if": {
|
|
1724
|
+
"hover": true
|
|
1725
|
+
},
|
|
1726
|
+
"tokens": {
|
|
1727
|
+
"imageDimension": "{palette.size.size140}"
|
|
1728
|
+
}
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
"if": {
|
|
1732
|
+
"hover": true,
|
|
1733
|
+
"viewport": "xl"
|
|
1734
|
+
},
|
|
1735
|
+
"tokens": {
|
|
1736
|
+
"imageDimension": "{palette.size.size184}"
|
|
1737
|
+
}
|
|
1738
|
+
}
|
|
1739
|
+
],
|
|
1740
|
+
"tokens": {
|
|
1741
|
+
"color": "{palette.color.mosque}",
|
|
1742
|
+
"contentAlignItems": "{system.flexAlign.center}",
|
|
1743
|
+
"contentDirection": "{system.direction.column}",
|
|
1744
|
+
"contentMaxDimension": "{palette.size.size140}",
|
|
1745
|
+
"contentSpace": "{system.integer.3}",
|
|
1746
|
+
"imageDimension": "{palette.size.size128}",
|
|
1747
|
+
"outerBorderColor": "{palette.color.transparent}",
|
|
1748
|
+
"textAlign": "{system.textAlign.center}",
|
|
1749
|
+
"textLine": "{system.textLine.underline}"
|
|
1750
|
+
}
|
|
1751
|
+
},
|
|
1545
1752
|
"QuickLinksList": {
|
|
1546
1753
|
"appearances": {
|
|
1547
1754
|
"focus": "{appearances.QuickLinksList.focus}",
|
|
@@ -2192,6 +2399,11 @@
|
|
|
2192
2399
|
},
|
|
2193
2400
|
"StepTracker": {
|
|
2194
2401
|
"appearances": {
|
|
2402
|
+
"inverse": {
|
|
2403
|
+
"description": "Styles the step tracker for using on dark backgrounds.",
|
|
2404
|
+
"type": "variant",
|
|
2405
|
+
"values": [true]
|
|
2406
|
+
},
|
|
2195
2407
|
"viewport": "{appearances.system.viewport}"
|
|
2196
2408
|
},
|
|
2197
2409
|
"rules": [
|
|
@@ -2203,6 +2415,24 @@
|
|
|
2203
2415
|
"showStepLabel": "{system.show.true}",
|
|
2204
2416
|
"showStepTrackerLabel": "{system.show.false}"
|
|
2205
2417
|
}
|
|
2418
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
"if": {
|
|
2421
|
+
"inverse": true
|
|
2422
|
+
},
|
|
2423
|
+
"tokens": {
|
|
2424
|
+
"connectorColor": "{palette.color.white}",
|
|
2425
|
+
"connectorCompletedColor": "{palette.color.white}",
|
|
2426
|
+
"knobBackgroundColor": "{palette.color.transparent}",
|
|
2427
|
+
"knobBorderColor": "{palette.color.white}",
|
|
2428
|
+
"knobCompletedBackgroundColor": "{palette.color.white}",
|
|
2429
|
+
"knobCompletedBorderColor": "{palette.color.white}",
|
|
2430
|
+
"knobCurrentBackgroundColor": "{palette.color.white}",
|
|
2431
|
+
"knobCurrentBorderColor": "{palette.color.white}",
|
|
2432
|
+
"knobCurrentInnerColor": "{palette.color.white}",
|
|
2433
|
+
"labelColor": "{palette.color.white}",
|
|
2434
|
+
"labelCurrentColor": "{palette.color.white}"
|
|
2435
|
+
}
|
|
2206
2436
|
}
|
|
2207
2437
|
],
|
|
2208
2438
|
"tokens": {
|
|
@@ -2538,6 +2768,7 @@
|
|
|
2538
2768
|
"buttonSize": "{palette.size.size32}",
|
|
2539
2769
|
"buttonsGap": "{palette.size.size1}",
|
|
2540
2770
|
"buttonsPaddingRight": "{palette.size.size8}",
|
|
2771
|
+
"clearButtonIcon": "{palette.icon.Times}",
|
|
2541
2772
|
"color": "{palette.color.dove}",
|
|
2542
2773
|
"fontName": "{palette.fontName.StagSans}",
|
|
2543
2774
|
"fontSize": "{palette.fontSize.size16}",
|
|
@@ -2707,8 +2938,8 @@
|
|
|
2707
2938
|
"opacity": "{system.opacity.opaque}",
|
|
2708
2939
|
"outerBackgroundColor": "{palette.color.transparent}",
|
|
2709
2940
|
"outerBorderColor": "{palette.color.transparent}",
|
|
2710
|
-
"outerBorderGap": "{palette.size.
|
|
2711
|
-
"outerBorderWidth": "{palette.border.
|
|
2941
|
+
"outerBorderGap": "{palette.size.size2}",
|
|
2942
|
+
"outerBorderWidth": "{palette.border.border2}",
|
|
2712
2943
|
"paddingBottom": "{palette.size.size4}",
|
|
2713
2944
|
"paddingLeft": "{palette.size.size8}",
|
|
2714
2945
|
"paddingRight": "{palette.size.size8}",
|