@telus-uds/theme-koodo 3.5.0 → 3.6.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} +453 -128
- package/build/android/theme.json +4673 -0
- package/build/ios/schema.json +10619 -0
- package/build/ios/theme.json +4673 -0
- package/build/rn/schema.json +10619 -0
- package/build/{theme.js → rn/theme.js} +186 -11
- package/package.json +3 -3
- package/theme.json +155 -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": [],
|
|
@@ -408,6 +543,7 @@
|
|
|
408
543
|
}
|
|
409
544
|
],
|
|
410
545
|
"tokens": {
|
|
546
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
411
547
|
"nextIcon": "{palette.icon.ChevronRight}",
|
|
412
548
|
"previousIcon": "{palette.icon.ChevronLeft}",
|
|
413
549
|
"showPanelNavigation": "{system.show.true}",
|
|
@@ -843,12 +979,26 @@
|
|
|
843
979
|
},
|
|
844
980
|
"IconButton": {
|
|
845
981
|
"appearances": {
|
|
982
|
+
"compact": {
|
|
983
|
+
"description": "Without the outer border gap",
|
|
984
|
+
"type": "variant",
|
|
985
|
+
"values": [true]
|
|
986
|
+
},
|
|
846
987
|
"focus": "{appearances.Button.focus}",
|
|
847
988
|
"hover": "{appearances.Button.hover}",
|
|
848
989
|
"inactive": "{appearances.Button.inactive}",
|
|
849
990
|
"pressed": "{appearances.Button.pressed}"
|
|
850
991
|
},
|
|
851
|
-
"rules": [
|
|
992
|
+
"rules": [
|
|
993
|
+
{
|
|
994
|
+
"if": {
|
|
995
|
+
"compact": true
|
|
996
|
+
},
|
|
997
|
+
"tokens": {
|
|
998
|
+
"outerBorderGap": "{system.size.zero}"
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
],
|
|
852
1002
|
"tokens": {
|
|
853
1003
|
"backgroundColor": "{system.color.transparent}",
|
|
854
1004
|
"borderColor": "{palette.color.mosque}",
|
|
@@ -2538,6 +2688,7 @@
|
|
|
2538
2688
|
"buttonSize": "{palette.size.size32}",
|
|
2539
2689
|
"buttonsGap": "{palette.size.size1}",
|
|
2540
2690
|
"buttonsPaddingRight": "{palette.size.size8}",
|
|
2691
|
+
"clearButtonIcon": "{palette.icon.Times}",
|
|
2541
2692
|
"color": "{palette.color.dove}",
|
|
2542
2693
|
"fontName": "{palette.fontName.StagSans}",
|
|
2543
2694
|
"fontSize": "{palette.fontSize.size16}",
|
|
@@ -2707,8 +2858,8 @@
|
|
|
2707
2858
|
"opacity": "{system.opacity.opaque}",
|
|
2708
2859
|
"outerBackgroundColor": "{palette.color.transparent}",
|
|
2709
2860
|
"outerBorderColor": "{palette.color.transparent}",
|
|
2710
|
-
"outerBorderGap": "{palette.size.
|
|
2711
|
-
"outerBorderWidth": "{palette.border.
|
|
2861
|
+
"outerBorderGap": "{palette.size.size2}",
|
|
2862
|
+
"outerBorderWidth": "{palette.border.border2}",
|
|
2712
2863
|
"paddingBottom": "{palette.size.size4}",
|
|
2713
2864
|
"paddingLeft": "{palette.size.size8}",
|
|
2714
2865
|
"paddingRight": "{palette.size.size8}",
|