@telus-uds/theme-koodo 3.15.0 → 3.17.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/android/schema.json +661 -430
- package/build/android/theme.json +567 -112
- package/build/ios/schema.json +661 -430
- package/build/ios/theme.json +567 -112
- package/build/rn/schema.json +661 -430
- package/build/rn/theme.js +418 -79
- package/package.json +4 -4
- package/theme.json +590 -74
package/theme.json
CHANGED
|
@@ -290,45 +290,68 @@
|
|
|
290
290
|
},
|
|
291
291
|
"Button": {
|
|
292
292
|
"appearances": {
|
|
293
|
-
"
|
|
294
|
-
"description": "
|
|
293
|
+
"danger": {
|
|
294
|
+
"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.",
|
|
295
295
|
"type": "variant",
|
|
296
296
|
"values": [true]
|
|
297
297
|
},
|
|
298
298
|
"focus": "{appearances.Button.focus}",
|
|
299
299
|
"hover": "{appearances.Button.hover}",
|
|
300
300
|
"inactive": "{appearances.Button.inactive}",
|
|
301
|
+
"inverse": {
|
|
302
|
+
"description": "Use inverse buttons on darker backgrounds. High and low priority buttons, and danger buttons, are available in inverse.",
|
|
303
|
+
"type": "variant",
|
|
304
|
+
"values": [true]
|
|
305
|
+
},
|
|
301
306
|
"pressed": "{appearances.Button.pressed}",
|
|
302
|
-
"
|
|
303
|
-
"description": "
|
|
307
|
+
"priority": {
|
|
308
|
+
"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.",
|
|
309
|
+
"type": "variant",
|
|
310
|
+
"values": ["high", "low"]
|
|
311
|
+
},
|
|
312
|
+
"size": {
|
|
304
313
|
"type": "variant",
|
|
305
|
-
"values": ["
|
|
314
|
+
"values": ["small"]
|
|
306
315
|
},
|
|
307
|
-
"
|
|
308
|
-
"description": "
|
|
316
|
+
"text": {
|
|
317
|
+
"description": "Text variant visually deprioritize the button styles",
|
|
309
318
|
"type": "variant",
|
|
310
319
|
"values": [true]
|
|
311
320
|
},
|
|
312
|
-
"
|
|
321
|
+
"width": {
|
|
322
|
+
"description": "Available in default or full-width. Default-width expands based on content Full-width expands to width of the container.",
|
|
323
|
+
"type": "variant",
|
|
324
|
+
"values": ["full"]
|
|
325
|
+
}
|
|
313
326
|
},
|
|
314
327
|
"rules": [
|
|
315
328
|
{
|
|
316
329
|
"if": {
|
|
317
|
-
"
|
|
330
|
+
"priority": "high"
|
|
318
331
|
},
|
|
319
332
|
"tokens": {
|
|
320
|
-
"
|
|
333
|
+
"backgroundColor": "{palette.color.mosque}",
|
|
334
|
+
"color": "{palette.color.white}"
|
|
321
335
|
}
|
|
322
336
|
},
|
|
323
337
|
{
|
|
324
338
|
"if": {
|
|
325
|
-
"
|
|
339
|
+
"danger": true
|
|
326
340
|
},
|
|
327
341
|
"tokens": {
|
|
328
|
-
"
|
|
329
|
-
"
|
|
330
|
-
|
|
331
|
-
|
|
342
|
+
"borderColor": "{palette.color.trinidad}",
|
|
343
|
+
"color": "{palette.color.trinidad}"
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"if": {
|
|
348
|
+
"inverse": true
|
|
349
|
+
},
|
|
350
|
+
"tokens": {
|
|
351
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
352
|
+
"borderColor": "{palette.color.white}",
|
|
353
|
+
"color": "{palette.color.white}",
|
|
354
|
+
"outerBackgroundColor": "{palette.color.transparent}"
|
|
332
355
|
}
|
|
333
356
|
},
|
|
334
357
|
{
|
|
@@ -337,153 +360,495 @@
|
|
|
337
360
|
},
|
|
338
361
|
"tokens": {
|
|
339
362
|
"backgroundColor": "{palette.color.mosqueDark}",
|
|
340
|
-
"borderColor": "{palette.color.mosqueDark}",
|
|
341
363
|
"color": "{palette.color.white}"
|
|
342
364
|
}
|
|
343
365
|
},
|
|
344
366
|
{
|
|
345
367
|
"if": {
|
|
346
|
-
"
|
|
368
|
+
"pressed": true
|
|
369
|
+
},
|
|
370
|
+
"tokens": {
|
|
371
|
+
"backgroundColor": "{palette.color.mortar}",
|
|
372
|
+
"color": "{palette.color.silver}"
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"if": {
|
|
377
|
+
"focus": true
|
|
378
|
+
},
|
|
379
|
+
"tokens": {
|
|
380
|
+
"outerBorderColor": "{palette.color.mosque}",
|
|
381
|
+
"outerBorderGap": "{palette.size.size2}"
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"if": {
|
|
386
|
+
"inverse": true,
|
|
387
|
+
"priority": "high"
|
|
388
|
+
},
|
|
389
|
+
"tokens": {
|
|
390
|
+
"backgroundColor": "{palette.color.white}",
|
|
391
|
+
"borderWidth": "{palette.border.none}",
|
|
392
|
+
"color": "{palette.color.mosque}"
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"if": {
|
|
397
|
+
"hover": true,
|
|
398
|
+
"priority": "high"
|
|
399
|
+
},
|
|
400
|
+
"tokens": {
|
|
401
|
+
"backgroundColor": "{palette.color.mosqueDark}",
|
|
402
|
+
"color": "{palette.color.white}"
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"if": {
|
|
407
|
+
"danger": true,
|
|
408
|
+
"focus": true
|
|
409
|
+
},
|
|
410
|
+
"tokens": {
|
|
411
|
+
"color": "{palette.color.trinidad}",
|
|
412
|
+
"outerBorderColor": "{palette.color.trinidad}",
|
|
413
|
+
"outerBorderGap": "{palette.size.size2}"
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"if": {
|
|
418
|
+
"danger": true,
|
|
347
419
|
"hover": true
|
|
348
420
|
},
|
|
349
421
|
"tokens": {
|
|
350
|
-
"backgroundColor": "{palette.color.
|
|
351
|
-
"
|
|
422
|
+
"backgroundColor": "{palette.color.trinidadDark}",
|
|
423
|
+
"color": "{palette.color.white}"
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"if": {
|
|
428
|
+
"hover": true,
|
|
429
|
+
"inverse": true
|
|
430
|
+
},
|
|
431
|
+
"tokens": {
|
|
432
|
+
"backgroundColor": "{palette.color.whiteDark}",
|
|
433
|
+
"borderColor": "{palette.color.whiteDark}",
|
|
434
|
+
"color": "{palette.color.mosque}"
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"if": {
|
|
439
|
+
"pressed": true,
|
|
440
|
+
"priority": "high"
|
|
441
|
+
},
|
|
442
|
+
"tokens": {
|
|
443
|
+
"backgroundColor": "{palette.color.mortar}",
|
|
444
|
+
"color": "{palette.color.silver}"
|
|
352
445
|
}
|
|
353
446
|
},
|
|
354
447
|
{
|
|
355
448
|
"if": {
|
|
449
|
+
"inverse": true,
|
|
356
450
|
"pressed": true
|
|
357
451
|
},
|
|
452
|
+
"tokens": {
|
|
453
|
+
"backgroundColor": "{palette.color.silver}",
|
|
454
|
+
"color": "{palette.color.dove}"
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"if": {
|
|
459
|
+
"focus": true,
|
|
460
|
+
"priority": "high"
|
|
461
|
+
},
|
|
358
462
|
"tokens": {
|
|
359
463
|
"backgroundColor": "{palette.color.mosque}",
|
|
464
|
+
"color": "{palette.color.white}",
|
|
465
|
+
"outerBorderGap": "{palette.size.size2}"
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"if": {
|
|
470
|
+
"focus": true,
|
|
471
|
+
"inverse": true
|
|
472
|
+
},
|
|
473
|
+
"tokens": {
|
|
474
|
+
"borderColor": "{palette.color.white}",
|
|
475
|
+
"color": "{palette.color.white}",
|
|
476
|
+
"outerBorderColor": "{palette.color.white}",
|
|
477
|
+
"outerBorderGap": "{palette.size.size2}"
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"if": {
|
|
482
|
+
"focus": true,
|
|
483
|
+
"pressed": true
|
|
484
|
+
},
|
|
485
|
+
"tokens": {
|
|
486
|
+
"backgroundColor": "{palette.color.mortar}",
|
|
360
487
|
"borderColor": "{palette.color.mosque}",
|
|
361
|
-
"color": "{palette.color.
|
|
488
|
+
"color": "{palette.color.silver}",
|
|
489
|
+
"outerBorderGap": "{palette.size.size2}"
|
|
362
490
|
}
|
|
363
491
|
},
|
|
364
492
|
{
|
|
365
493
|
"if": {
|
|
366
|
-
"
|
|
494
|
+
"danger": true,
|
|
495
|
+
"pressed": true,
|
|
496
|
+
"priority": "high"
|
|
367
497
|
},
|
|
368
498
|
"tokens": {
|
|
369
|
-
"
|
|
499
|
+
"backgroundColor": "{palette.color.mortar}",
|
|
500
|
+
"color": "{palette.color.silver}"
|
|
370
501
|
}
|
|
371
502
|
},
|
|
372
503
|
{
|
|
373
504
|
"if": {
|
|
374
|
-
"
|
|
505
|
+
"hover": true,
|
|
506
|
+
"inverse": true,
|
|
507
|
+
"priority": "high"
|
|
375
508
|
},
|
|
376
509
|
"tokens": {
|
|
377
|
-
"backgroundColor": "{palette.color.
|
|
378
|
-
"
|
|
379
|
-
"color": "{palette.color.white}"
|
|
510
|
+
"backgroundColor": "{palette.color.whiteDark}",
|
|
511
|
+
"color": "{palette.color.mosque}"
|
|
380
512
|
}
|
|
381
513
|
},
|
|
382
514
|
{
|
|
383
515
|
"if": {
|
|
384
|
-
"
|
|
385
|
-
"
|
|
516
|
+
"focus": true,
|
|
517
|
+
"inverse": true,
|
|
518
|
+
"priority": "high"
|
|
386
519
|
},
|
|
387
520
|
"tokens": {
|
|
388
521
|
"backgroundColor": "{palette.color.white}",
|
|
389
|
-
"borderColor": "{palette.color.
|
|
390
|
-
"color": "{palette.color.
|
|
522
|
+
"borderColor": "{palette.color.white}",
|
|
523
|
+
"color": "{palette.color.mosque}",
|
|
524
|
+
"outerBorderColor": "{palette.color.white}",
|
|
525
|
+
"outerBorderGap": "{palette.size.size2}"
|
|
526
|
+
}
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"if": {
|
|
530
|
+
"danger": true,
|
|
531
|
+
"focus": true,
|
|
532
|
+
"pressed": true
|
|
533
|
+
},
|
|
534
|
+
"tokens": {
|
|
535
|
+
"backgroundColor": "{palette.color.mortar}",
|
|
536
|
+
"borderColor": "{palette.color.trinidad}",
|
|
537
|
+
"color": "{palette.color.silver}",
|
|
538
|
+
"outerBorderGap": "{palette.size.size2}"
|
|
539
|
+
}
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"if": {
|
|
543
|
+
"focus": true,
|
|
544
|
+
"inverse": true,
|
|
545
|
+
"pressed": true
|
|
546
|
+
},
|
|
547
|
+
"tokens": {
|
|
548
|
+
"backgroundColor": "{palette.color.silver}",
|
|
549
|
+
"borderColor": "{palette.color.silver}",
|
|
550
|
+
"color": "{palette.color.dove}",
|
|
551
|
+
"outerBorderGap": "{palette.size.size2}"
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"if": {
|
|
556
|
+
"width": "full"
|
|
557
|
+
},
|
|
558
|
+
"tokens": {
|
|
559
|
+
"width": "{system.size.full}"
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"if": {
|
|
564
|
+
"size": "small"
|
|
565
|
+
},
|
|
566
|
+
"tokens": {
|
|
567
|
+
"minWidth": "{system.size.zero}",
|
|
568
|
+
"paddingBottom": "{palette.size.size4}",
|
|
569
|
+
"paddingLeft": "{palette.size.size16}",
|
|
570
|
+
"paddingRight": "{palette.size.size16}",
|
|
571
|
+
"paddingTop": "{palette.size.size4}"
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"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.",
|
|
576
|
+
"if": {
|
|
577
|
+
"inactive": true
|
|
578
|
+
},
|
|
579
|
+
"tokens": {
|
|
580
|
+
"backgroundColor": "{palette.color.silver}",
|
|
581
|
+
"borderColor": "{palette.color.silver}",
|
|
582
|
+
"borderWidth": "{palette.border.none}",
|
|
583
|
+
"color": "{palette.color.gallery}"
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"if": {
|
|
588
|
+
"text": true
|
|
589
|
+
},
|
|
590
|
+
"tokens": {
|
|
591
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
592
|
+
"borderColor": "{palette.color.transparent}",
|
|
593
|
+
"borderWidth": "{system.border.zero}",
|
|
594
|
+
"color": "{palette.color.chathamsBlue}",
|
|
595
|
+
"minWidth": "{system.size.zero}",
|
|
596
|
+
"paddingLeft": "{palette.size.size0}",
|
|
597
|
+
"paddingRight": "{palette.size.size0}",
|
|
598
|
+
"textLine": "{system.textLine.underline}"
|
|
391
599
|
}
|
|
392
600
|
},
|
|
393
601
|
{
|
|
394
602
|
"if": {
|
|
395
603
|
"hover": true,
|
|
396
|
-
"
|
|
604
|
+
"text": true
|
|
397
605
|
},
|
|
398
606
|
"tokens": {
|
|
399
|
-
"
|
|
400
|
-
"
|
|
401
|
-
|
|
607
|
+
"color": "{palette.color.chathamsBlueDark}",
|
|
608
|
+
"textLine": "{system.textLine.none}"
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"if": {
|
|
613
|
+
"priority": "high",
|
|
614
|
+
"text": true
|
|
615
|
+
},
|
|
616
|
+
"tokens": {
|
|
617
|
+
"color": "{palette.color.mosque}"
|
|
618
|
+
}
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"if": {
|
|
622
|
+
"danger": true,
|
|
623
|
+
"text": true
|
|
624
|
+
},
|
|
625
|
+
"tokens": {
|
|
626
|
+
"color": "{palette.color.trinidad}"
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
"if": {
|
|
631
|
+
"focus": true,
|
|
632
|
+
"text": true
|
|
633
|
+
},
|
|
634
|
+
"tokens": {
|
|
635
|
+
"borderColor": "{palette.color.transparent}",
|
|
636
|
+
"borderRadius": "{palette.radius.none}",
|
|
637
|
+
"color": "{palette.color.chathamsBlue}",
|
|
638
|
+
"outerBorderColor": "{palette.color.chathamsBlue}"
|
|
639
|
+
}
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"if": {
|
|
643
|
+
"focus": true,
|
|
644
|
+
"priority": "high",
|
|
645
|
+
"text": true
|
|
646
|
+
},
|
|
647
|
+
"tokens": {
|
|
648
|
+
"borderColor": "{palette.color.transparent}",
|
|
649
|
+
"borderRadius": "{palette.radius.none}",
|
|
650
|
+
"color": "{palette.color.mosque}",
|
|
651
|
+
"outerBorderColor": "{palette.color.mosque}"
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"if": {
|
|
656
|
+
"danger": true,
|
|
657
|
+
"focus": true,
|
|
658
|
+
"text": true
|
|
659
|
+
},
|
|
660
|
+
"tokens": {
|
|
661
|
+
"borderColor": "{palette.color.transparent}",
|
|
662
|
+
"borderRadius": "{palette.radius.none}",
|
|
663
|
+
"color": "{palette.color.trinidad}",
|
|
664
|
+
"outerBorderColor": "{palette.color.trinidad}"
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"if": {
|
|
669
|
+
"hover": true,
|
|
670
|
+
"priority": "high",
|
|
671
|
+
"text": true
|
|
672
|
+
},
|
|
673
|
+
"tokens": {
|
|
674
|
+
"color": "{palette.color.mosqueDark}"
|
|
675
|
+
}
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"if": {
|
|
679
|
+
"hover": true,
|
|
680
|
+
"priority": null,
|
|
681
|
+
"text": true
|
|
682
|
+
},
|
|
683
|
+
"tokens": {
|
|
684
|
+
"color": "{palette.color.chathamsBlueDark}"
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"if": {
|
|
689
|
+
"hover": true,
|
|
690
|
+
"priority": "low",
|
|
691
|
+
"text": true
|
|
692
|
+
},
|
|
693
|
+
"tokens": {
|
|
694
|
+
"color": "{palette.color.chathamsBlueDark}"
|
|
695
|
+
}
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"if": {
|
|
699
|
+
"danger": true,
|
|
700
|
+
"hover": true,
|
|
701
|
+
"text": true
|
|
702
|
+
},
|
|
703
|
+
"tokens": {
|
|
704
|
+
"color": "{palette.color.trinidadDark}"
|
|
402
705
|
}
|
|
403
706
|
},
|
|
404
707
|
{
|
|
405
708
|
"if": {
|
|
406
709
|
"pressed": true,
|
|
407
|
-
"
|
|
710
|
+
"text": true
|
|
408
711
|
},
|
|
409
712
|
"tokens": {
|
|
410
|
-
"
|
|
411
|
-
"
|
|
412
|
-
"
|
|
713
|
+
"borderColor": "{palette.color.transparent}",
|
|
714
|
+
"color": "{palette.color.mortar}",
|
|
715
|
+
"textLine": "{system.textLine.none}"
|
|
413
716
|
}
|
|
414
717
|
},
|
|
415
718
|
{
|
|
416
719
|
"if": {
|
|
417
720
|
"focus": true,
|
|
418
|
-
"
|
|
721
|
+
"pressed": true,
|
|
722
|
+
"text": true
|
|
419
723
|
},
|
|
420
724
|
"tokens": {
|
|
421
|
-
"
|
|
725
|
+
"borderColor": "{palette.color.transparent}",
|
|
726
|
+
"color": "{palette.color.mortar}",
|
|
727
|
+
"outerBorderColor": "{palette.color.chathamsBlue}",
|
|
728
|
+
"textLine": "{system.textLine.none}"
|
|
422
729
|
}
|
|
423
730
|
},
|
|
424
731
|
{
|
|
425
732
|
"if": {
|
|
426
733
|
"focus": true,
|
|
427
734
|
"pressed": true,
|
|
428
|
-
"
|
|
735
|
+
"priority": "high",
|
|
736
|
+
"text": true
|
|
429
737
|
},
|
|
430
738
|
"tokens": {
|
|
431
|
-
"
|
|
739
|
+
"borderColor": "{palette.color.transparent}",
|
|
740
|
+
"color": "{palette.color.mortar}",
|
|
741
|
+
"outerBorderColor": "{palette.color.mortar}",
|
|
742
|
+
"textLine": "{system.textLine.none}"
|
|
432
743
|
}
|
|
433
744
|
},
|
|
434
745
|
{
|
|
435
746
|
"if": {
|
|
436
|
-
"
|
|
747
|
+
"danger": true,
|
|
748
|
+
"focus": true,
|
|
749
|
+
"pressed": true,
|
|
750
|
+
"text": true
|
|
437
751
|
},
|
|
438
752
|
"tokens": {
|
|
439
|
-
"
|
|
753
|
+
"borderColor": "{palette.color.transparent}",
|
|
754
|
+
"color": "{palette.color.mortar}",
|
|
755
|
+
"outerBorderColor": "{palette.color.trinidad}",
|
|
756
|
+
"textLine": "{system.textLine.none}"
|
|
440
757
|
}
|
|
441
758
|
},
|
|
442
759
|
{
|
|
443
760
|
"if": {
|
|
444
|
-
"
|
|
761
|
+
"inactive": true,
|
|
762
|
+
"text": true
|
|
445
763
|
},
|
|
446
764
|
"tokens": {
|
|
447
|
-
"
|
|
448
|
-
"
|
|
449
|
-
"
|
|
450
|
-
"
|
|
765
|
+
"borderColor": "{palette.color.transparent}",
|
|
766
|
+
"color": "{palette.color.silver}",
|
|
767
|
+
"outerBorderColor": "{palette.color.transparent}",
|
|
768
|
+
"textLine": "{system.textLine.none}"
|
|
769
|
+
}
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"if": {
|
|
773
|
+
"inverse": true,
|
|
774
|
+
"text": true
|
|
775
|
+
},
|
|
776
|
+
"tokens": {
|
|
777
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
778
|
+
"color": "{palette.color.white}"
|
|
779
|
+
}
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
"if": {
|
|
783
|
+
"hover": true,
|
|
784
|
+
"inverse": true,
|
|
785
|
+
"text": true
|
|
786
|
+
},
|
|
787
|
+
"tokens": {
|
|
788
|
+
"color": "{palette.color.silver}"
|
|
451
789
|
}
|
|
452
790
|
},
|
|
453
791
|
{
|
|
454
792
|
"if": {
|
|
455
793
|
"focus": true,
|
|
456
|
-
"
|
|
794
|
+
"inverse": true,
|
|
795
|
+
"text": true
|
|
457
796
|
},
|
|
458
797
|
"tokens": {
|
|
459
|
-
"
|
|
798
|
+
"borderColor": "{palette.color.transparent}",
|
|
799
|
+
"color": "{palette.color.white}",
|
|
800
|
+
"outerBorderColor": "{palette.color.white}"
|
|
801
|
+
}
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"if": {
|
|
805
|
+
"focus": true,
|
|
806
|
+
"inverse": true,
|
|
807
|
+
"pressed": true,
|
|
808
|
+
"text": true
|
|
809
|
+
},
|
|
810
|
+
"tokens": {
|
|
811
|
+
"borderColor": "{palette.color.transparent}",
|
|
812
|
+
"color": "{palette.color.dove}",
|
|
813
|
+
"outerBorderColor": "{palette.color.dove}"
|
|
814
|
+
}
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
"if": {
|
|
818
|
+
"inactive": true,
|
|
819
|
+
"inverse": true,
|
|
820
|
+
"text": true
|
|
821
|
+
},
|
|
822
|
+
"tokens": {
|
|
823
|
+
"borderColor": "{palette.color.transparent}",
|
|
824
|
+
"color": "{palette.color.silver}"
|
|
460
825
|
}
|
|
461
826
|
}
|
|
462
827
|
],
|
|
463
828
|
"tokens": {
|
|
464
829
|
"alignSelf": "{system.flexAlign.flexStart}",
|
|
465
|
-
"backgroundColor": "{palette.color.
|
|
466
|
-
"borderColor": "{palette.color.
|
|
830
|
+
"backgroundColor": "{palette.color.white}",
|
|
831
|
+
"borderColor": "{palette.color.mosque}",
|
|
467
832
|
"borderRadius": "{palette.radius.radius4}",
|
|
468
|
-
"borderWidth": "{palette.border.
|
|
469
|
-
"color": "{palette.color.
|
|
833
|
+
"borderWidth": "{palette.border.border1}",
|
|
834
|
+
"color": "{palette.color.mosque}",
|
|
470
835
|
"fontName": "{palette.fontName.StagSans}",
|
|
471
836
|
"fontSize": "{palette.fontSize.size16}",
|
|
472
837
|
"fontWeight": "{palette.fontWeight.weight600}",
|
|
473
838
|
"icon": "{system.icon.none}",
|
|
474
839
|
"iconSize": "{palette.size.size24}",
|
|
475
840
|
"iconSpace": "{system.integer.2}",
|
|
476
|
-
"lineHeight": "{palette.lineHeight.
|
|
477
|
-
"minWidth": "{
|
|
841
|
+
"lineHeight": "{palette.lineHeight.ratio3to2}",
|
|
842
|
+
"minWidth": "{palette.size.size144}",
|
|
478
843
|
"opacity": "{system.opacity.opaque}",
|
|
479
|
-
"outerBackgroundColor": "{palette.color.
|
|
480
|
-
"outerBorderColor": "{palette.color.
|
|
481
|
-
"outerBorderGap": "{
|
|
482
|
-
"outerBorderWidth": "{palette.border.
|
|
483
|
-
"paddingBottom": "{palette.size.
|
|
484
|
-
"paddingLeft": "{palette.size.
|
|
485
|
-
"paddingRight": "{palette.size.
|
|
486
|
-
"paddingTop": "{palette.size.
|
|
844
|
+
"outerBackgroundColor": "{palette.color.white}",
|
|
845
|
+
"outerBorderColor": "{palette.color.transparent}",
|
|
846
|
+
"outerBorderGap": "{system.size.none}",
|
|
847
|
+
"outerBorderWidth": "{palette.border.border1}",
|
|
848
|
+
"paddingBottom": "{palette.size.size12}",
|
|
849
|
+
"paddingLeft": "{palette.size.size32}",
|
|
850
|
+
"paddingRight": "{palette.size.size32}",
|
|
851
|
+
"paddingTop": "{palette.size.size12}",
|
|
487
852
|
"shadow": "{system.shadow.none}",
|
|
488
853
|
"textAlign": "{system.flexJustifyContent.center}",
|
|
489
854
|
"textLine": "{system.textLine.none}",
|
|
@@ -1246,7 +1611,17 @@
|
|
|
1246
1611
|
"decorative": true
|
|
1247
1612
|
},
|
|
1248
1613
|
"tokens": {
|
|
1249
|
-
"color": "{palette.color.
|
|
1614
|
+
"color": "{palette.color.mosque}"
|
|
1615
|
+
}
|
|
1616
|
+
},
|
|
1617
|
+
{
|
|
1618
|
+
"if": {
|
|
1619
|
+
"decorative": true,
|
|
1620
|
+
"weight": "thick"
|
|
1621
|
+
},
|
|
1622
|
+
"tokens": {
|
|
1623
|
+
"color": "{palette.color.mosque}",
|
|
1624
|
+
"width": "{palette.size.size2}"
|
|
1250
1625
|
}
|
|
1251
1626
|
},
|
|
1252
1627
|
{
|
|
@@ -1256,6 +1631,16 @@
|
|
|
1256
1631
|
"tokens": {
|
|
1257
1632
|
"color": "{palette.color.white}"
|
|
1258
1633
|
}
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
"if": {
|
|
1637
|
+
"inverse": true,
|
|
1638
|
+
"weight": "thick"
|
|
1639
|
+
},
|
|
1640
|
+
"tokens": {
|
|
1641
|
+
"color": "{palette.color.white}",
|
|
1642
|
+
"width": "{palette.size.size2}"
|
|
1643
|
+
}
|
|
1259
1644
|
}
|
|
1260
1645
|
],
|
|
1261
1646
|
"tokens": {
|
|
@@ -1600,7 +1985,18 @@
|
|
|
1600
1985
|
"pressed": true
|
|
1601
1986
|
},
|
|
1602
1987
|
"tokens": {
|
|
1603
|
-
"backgroundColor": "{palette.color.
|
|
1988
|
+
"backgroundColor": "{palette.color.mosqueDark}",
|
|
1989
|
+
"borderColor": "{palette.color.mosqueDark}",
|
|
1990
|
+
"iconColor": "{palette.color.white}"
|
|
1991
|
+
}
|
|
1992
|
+
},
|
|
1993
|
+
{
|
|
1994
|
+
"if": {
|
|
1995
|
+
"pressed": true
|
|
1996
|
+
},
|
|
1997
|
+
"tokens": {
|
|
1998
|
+
"backgroundColor": "{palette.color.mosqueDark}",
|
|
1999
|
+
"borderColor": "{palette.color.mosqueDark}",
|
|
1604
2000
|
"iconColor": "{palette.color.white}"
|
|
1605
2001
|
}
|
|
1606
2002
|
},
|
|
@@ -1611,7 +2007,8 @@
|
|
|
1611
2007
|
},
|
|
1612
2008
|
"tokens": {
|
|
1613
2009
|
"borderColor": "{palette.color.mosque}",
|
|
1614
|
-
"borderWidth": "{palette.border.border3}"
|
|
2010
|
+
"borderWidth": "{palette.border.border3}",
|
|
2011
|
+
"iconColor": "{palette.color.mosque}"
|
|
1615
2012
|
}
|
|
1616
2013
|
},
|
|
1617
2014
|
{
|
|
@@ -1638,7 +2035,7 @@
|
|
|
1638
2035
|
"backgroundColor": "{system.color.transparent}",
|
|
1639
2036
|
"borderColor": "{palette.color.mosque}",
|
|
1640
2037
|
"borderRadius": "{system.radius.round}",
|
|
1641
|
-
"borderWidth": "{palette.border.
|
|
2038
|
+
"borderWidth": "{palette.border.border3}",
|
|
1642
2039
|
"iconColor": "{palette.color.mosque}",
|
|
1643
2040
|
"iconScale": "{system.iconScale.scale1}",
|
|
1644
2041
|
"iconSize": "{palette.size.size24}",
|
|
@@ -2587,6 +2984,7 @@
|
|
|
2587
2984
|
"itemBulletContainerWidth": "{palette.size.size0}",
|
|
2588
2985
|
"itemBulletHeight": "{palette.size.size0}",
|
|
2589
2986
|
"itemBulletWidth": "{palette.size.size0}",
|
|
2987
|
+
"itemFontColor": "{palette.color.black}",
|
|
2590
2988
|
"itemFontName": "{palette.fontName.StagSans}",
|
|
2591
2989
|
"itemFontSize": "{palette.fontSize.size16}",
|
|
2592
2990
|
"itemFontWeight": "{palette.fontWeight.weight600}",
|
|
@@ -2609,19 +3007,106 @@
|
|
|
2609
3007
|
"inactive": "{appearances.Radio.inactive}"
|
|
2610
3008
|
},
|
|
2611
3009
|
"rules": [
|
|
3010
|
+
{
|
|
3011
|
+
"if": {
|
|
3012
|
+
"error": true
|
|
3013
|
+
},
|
|
3014
|
+
"tokens": {
|
|
3015
|
+
"inputBackgroundColor": "{palette.color.white}",
|
|
3016
|
+
"inputBorderColor": "{palette.color.white}",
|
|
3017
|
+
"inputOutlineColor": "{palette.color.mosque}",
|
|
3018
|
+
"outerBorderColor": "{palette.color.transparent}",
|
|
3019
|
+
"outerBorderGap": "{system.size.zero}",
|
|
3020
|
+
"outerBorderWidth": "{system.border.zero}"
|
|
3021
|
+
}
|
|
3022
|
+
},
|
|
2612
3023
|
{
|
|
2613
3024
|
"if": {
|
|
2614
3025
|
"focus": true
|
|
2615
3026
|
},
|
|
2616
3027
|
"tokens": {
|
|
3028
|
+
"outerBorderColor": "{palette.color.chathamsBlue}",
|
|
3029
|
+
"outerBorderGap": "{palette.size.size5}",
|
|
3030
|
+
"outerBorderWidth": "{palette.border.border1}"
|
|
3031
|
+
}
|
|
3032
|
+
},
|
|
3033
|
+
{
|
|
3034
|
+
"if": {
|
|
3035
|
+
"checked": true,
|
|
3036
|
+
"focus": true
|
|
3037
|
+
},
|
|
3038
|
+
"tokens": {
|
|
3039
|
+
"inputBackgroundColor": "{palette.color.mosque}",
|
|
3040
|
+
"inputBorderColor": "{palette.color.white}",
|
|
3041
|
+
"inputOutlineColor": "{palette.color.mosque}",
|
|
3042
|
+
"outerBorderColor": "{palette.color.chathamsBlue}",
|
|
3043
|
+
"outerBorderGap": "{palette.size.size5}",
|
|
3044
|
+
"outerBorderWidth": "{palette.border.border1}"
|
|
3045
|
+
}
|
|
3046
|
+
},
|
|
3047
|
+
{
|
|
3048
|
+
"if": {
|
|
3049
|
+
"hover": true
|
|
3050
|
+
},
|
|
3051
|
+
"tokens": {
|
|
3052
|
+
"outerBorderColor": "{palette.color.chathamsBlue}",
|
|
3053
|
+
"outerBorderGap": "{palette.size.size5}",
|
|
3054
|
+
"outerBorderWidth": "{palette.border.border1}"
|
|
3055
|
+
}
|
|
3056
|
+
},
|
|
3057
|
+
{
|
|
3058
|
+
"if": {
|
|
3059
|
+
"checked": true,
|
|
3060
|
+
"hover": true
|
|
3061
|
+
},
|
|
3062
|
+
"tokens": {
|
|
3063
|
+
"inputBackgroundColor": "{palette.color.mosque}",
|
|
3064
|
+
"inputBorderColor": "{palette.color.white}",
|
|
3065
|
+
"inputOutlineColor": "{palette.color.mosque}",
|
|
3066
|
+
"outerBorderColor": "{palette.color.chathamsBlue}",
|
|
3067
|
+
"outerBorderGap": "{palette.size.size5}",
|
|
3068
|
+
"outerBorderWidth": "{palette.border.border1}"
|
|
3069
|
+
}
|
|
3070
|
+
},
|
|
3071
|
+
{
|
|
3072
|
+
"if": {
|
|
3073
|
+
"checked": true
|
|
3074
|
+
},
|
|
3075
|
+
"tokens": {
|
|
3076
|
+
"inputBackgroundColor": "{palette.color.mosque}",
|
|
3077
|
+
"inputOutlineColor": "{palette.color.mosque}"
|
|
3078
|
+
}
|
|
3079
|
+
},
|
|
3080
|
+
{
|
|
3081
|
+
"if": {
|
|
3082
|
+
"inactive": true
|
|
3083
|
+
},
|
|
3084
|
+
"tokens": {
|
|
3085
|
+
"inputBackgroundColor": "{palette.color.silver}",
|
|
3086
|
+
"inputBorderColor": "{palette.color.silver}",
|
|
3087
|
+
"inputOutlineColor": "{palette.color.silver}",
|
|
3088
|
+
"labelColor": "{palette.color.dove}"
|
|
3089
|
+
}
|
|
3090
|
+
},
|
|
3091
|
+
{
|
|
3092
|
+
"if": {
|
|
3093
|
+
"checked": true,
|
|
3094
|
+
"inactive": true
|
|
3095
|
+
},
|
|
3096
|
+
"tokens": {
|
|
3097
|
+
"checkedBackgroundColor": "{palette.color.silver}",
|
|
3098
|
+
"inputBackgroundColor": "{palette.color.silver}",
|
|
3099
|
+
"inputBorderColor": "{palette.color.white}",
|
|
3100
|
+
"inputBorderWidth": "{palette.border.border3}",
|
|
2617
3101
|
"inputOutlineColor": "{palette.color.silver}",
|
|
2618
|
-
"inputOutlineWidth": "{palette.border.
|
|
3102
|
+
"inputOutlineWidth": "{palette.border.border1}",
|
|
3103
|
+
"labelColor": "{palette.color.dove}"
|
|
2619
3104
|
}
|
|
2620
3105
|
}
|
|
2621
3106
|
],
|
|
2622
3107
|
"tokens": {
|
|
2623
3108
|
"checkedBackgroundColor": "{palette.color.mosque}",
|
|
2624
|
-
"checkedSize": "{palette.size.
|
|
3109
|
+
"checkedSize": "{palette.size.size16}",
|
|
2625
3110
|
"containerBackgroundColor": "{palette.color.transparent}",
|
|
2626
3111
|
"containerBorderRadius": "{palette.radius.none}",
|
|
2627
3112
|
"containerOpacity": "{system.opacity.opaque}",
|
|
@@ -2634,10 +3119,10 @@
|
|
|
2634
3119
|
"descriptionLineHeight": "{palette.lineHeight.multiply140}",
|
|
2635
3120
|
"descriptionMarginLeft": "{system.size.none}",
|
|
2636
3121
|
"inputBackgroundColor": "{palette.color.white}",
|
|
2637
|
-
"inputBorderColor": "{palette.color.
|
|
3122
|
+
"inputBorderColor": "{palette.color.white}",
|
|
2638
3123
|
"inputBorderWidth": "{palette.border.border2}",
|
|
2639
|
-
"inputOutlineColor": "{palette.color.
|
|
2640
|
-
"inputOutlineWidth": "{palette.border.
|
|
3124
|
+
"inputOutlineColor": "{palette.color.mosque}",
|
|
3125
|
+
"inputOutlineWidth": "{palette.border.border2}",
|
|
2641
3126
|
"inputSize": "{palette.size.size20}",
|
|
2642
3127
|
"labelColor": "{palette.color.black}",
|
|
2643
3128
|
"labelFontName": "{palette.fontName.StagSans}",
|
|
@@ -2795,6 +3280,37 @@
|
|
|
2795
3280
|
"space": "{system.integer.2}"
|
|
2796
3281
|
}
|
|
2797
3282
|
},
|
|
3283
|
+
"Ribbon": {
|
|
3284
|
+
"appearances": {
|
|
3285
|
+
"purpose": {
|
|
3286
|
+
"type": "variant",
|
|
3287
|
+
"values": ["offer", "default", "editorial"]
|
|
3288
|
+
}
|
|
3289
|
+
},
|
|
3290
|
+
"rules": [],
|
|
3291
|
+
"tokens": {
|
|
3292
|
+
"backgroundColor": "{palette.color.black}",
|
|
3293
|
+
"borderRadius": "{palette.size.size4}",
|
|
3294
|
+
"boxShadowColor": "{palette.color.black}",
|
|
3295
|
+
"boxShadowPaddingBottom": "{palette.size.size2}",
|
|
3296
|
+
"boxShadowPaddingLeft": "{palette.size.size2}",
|
|
3297
|
+
"boxShadowPaddingRight": "{palette.size.size2}",
|
|
3298
|
+
"boxShadowPaddingTop": "{palette.size.size2}",
|
|
3299
|
+
"curveAfterBackgroundColor": "{palette.color.black}",
|
|
3300
|
+
"curveAfterHeight": "{palette.size.size4}",
|
|
3301
|
+
"curveAfterRadius": "{palette.size.size8}",
|
|
3302
|
+
"curveAfterWidth": "{palette.size.size8}",
|
|
3303
|
+
"curveBackgroundColor": "{palette.color.black}",
|
|
3304
|
+
"curveHeight": "{palette.size.size10}",
|
|
3305
|
+
"curveMarginTop": "{palette.size.size4}",
|
|
3306
|
+
"curveWidth": "{palette.size.size8}",
|
|
3307
|
+
"gradient": "{system.gradient.none}",
|
|
3308
|
+
"paddingBottom": "{palette.size.size4}",
|
|
3309
|
+
"paddingLeft": "{palette.size.size8}",
|
|
3310
|
+
"paddingRight": "{palette.size.size8}",
|
|
3311
|
+
"paddingTop": "{palette.size.size4}"
|
|
3312
|
+
}
|
|
3313
|
+
},
|
|
2798
3314
|
"Search": {
|
|
2799
3315
|
"appearances": {
|
|
2800
3316
|
"focus": "{appearances.Search.focus}",
|