@fluentui-react-native/theme-types 0.27.0 → 0.27.1

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.
@@ -451,152 +451,406 @@ export interface ControlColorTokens {
451
451
  }
452
452
 
453
453
  export interface AliasColorTokens {
454
- neutralForeground1: ColorValue;
455
- neutralForeground1Hover: ColorValue;
456
- neutralForeground1Pressed: ColorValue;
457
- neutralForeground1Selected: ColorValue;
458
- neutralForeground2: ColorValue;
459
- neutralForeground2Hover: ColorValue;
460
- neutralForeground2Pressed: ColorValue;
461
- neutralForeground2Selected: ColorValue;
462
- neutralForeground2BrandHover: ColorValue;
463
- neutralForeground2BrandPressed: ColorValue;
464
- neutralForeground2BrandSelected: ColorValue;
465
- neutralForeground3: ColorValue;
466
- neutralForeground3Hover: ColorValue;
467
- neutralForeground3Pressed: ColorValue;
468
- neutralForeground3Selected: ColorValue;
469
- neutralForeground3BrandHover: ColorValue;
470
- neutralForeground3BrandPressed: ColorValue;
471
- neutralForeground3BrandSelected: ColorValue;
454
+ /// Foreground colors
455
+
456
+ /** @platform android, iOS, macOS, win32, windows */
457
+ neutralForeground1?: ColorValue;
458
+
459
+ /** @platform macOS, win32, windows */
460
+ neutralForeground1Hover?: ColorValue;
461
+
462
+ /** @platform macOS, win32, windows */
463
+ neutralForeground1Pressed?: ColorValue;
464
+
465
+ /** @platform macOS, win32, windows */
466
+ neutralForeground1Selected?: ColorValue;
467
+
468
+ /** @platform android, iOS, macOS, win32, windows */
469
+ neutralForeground2?: ColorValue;
470
+
471
+ /** @platform macOS, win32, windows */
472
+ neutralForeground2Hover?: ColorValue;
473
+
474
+ /** @platform macOS, win32, windows */
475
+ neutralForeground2Pressed?: ColorValue;
476
+
477
+ /** @platform macOS, win32, windows */
478
+ neutralForeground2Selected?: ColorValue;
479
+
480
+ /** @platform macOS, win32, windows */
481
+ neutralForeground2BrandHover?: ColorValue;
482
+
483
+ /** @platform macOS, win32, windows */
484
+ neutralForeground2BrandPressed?: ColorValue;
485
+
486
+ /** @platform macOS, win32, windows */
487
+ neutralForeground2BrandSelected?: ColorValue;
488
+
489
+ /** @platform android, iOS, macOS, win32, windows */
490
+ neutralForeground3?: ColorValue;
491
+
492
+ /** @platform macOS, win32, windows */
493
+ neutralForeground3Hover?: ColorValue;
494
+
495
+ /** @platform macOS, win32, windows */
496
+ neutralForeground3Pressed?: ColorValue;
497
+
498
+ /** @platform macOS, win32, windows */
499
+ neutralForeground3Selected?: ColorValue;
500
+
501
+ /** @platform macOS, win32, windows */
502
+ neutralForeground3BrandHover?: ColorValue;
503
+
504
+ /** @platform macOS, win32, windows */
505
+ neutralForeground3BrandPressed?: ColorValue;
506
+
507
+ /** @platform macOS, win32, windows */
508
+ neutralForeground3BrandSelected?: ColorValue;
509
+
510
+ /** @platform macOS, win32, windows */
511
+ neutralForeground4?: ColorValue;
512
+
513
+ /** @platform macOS, win32, windows */
514
+ neutralForegroundDisabled?: ColorValue;
515
+
516
+ /** @platform android, iOS */
472
517
  neutralForegroundDisabled1?: ColorValue;
518
+
519
+ /** @platform android, iOS */
473
520
  neutralForegroundDisabled2?: ColorValue;
521
+
522
+ /** @platform android, iOS */
474
523
  neutralForegroundOnColor?: ColorValue;
475
524
 
476
- neutralForeground4?: ColorValue;
477
- neutralForegroundDisabled?: ColorValue;
525
+ /** @platform macOS, win32, windows */
526
+ neutralForegroundOnBrand?: ColorValue;
527
+
528
+ /** @platform macOS, win32, windows */
529
+ neutralForegroundOnBrandHover?: ColorValue;
530
+
531
+ /** @platform macOS, win32, windows */
532
+ neutralForegroundOnBrandPressed?: ColorValue;
533
+
534
+ /** @platform macOS, win32, windows */
535
+ neutralForegroundOnBrandSelected?: ColorValue;
536
+
537
+ // TODO: remove definition from Android
538
+ /** @platform android, macOS, win32, windows */
539
+ neutralForegroundInverted?: ColorValue;
540
+
541
+ /** @platform macOS, win32, windows */
542
+ neutralForegroundInvertedLink?: ColorValue;
543
+
544
+ /** @platform macOS, win32, windows */
545
+ neutralForegroundInvertedLinkHover?: ColorValue;
546
+
547
+ /** @platform macOS, win32, windows */
548
+ neutralForegroundInvertedLinkPressed?: ColorValue;
549
+
550
+ /** @platform macOS, win32, windows */
551
+ neutralForegroundInvertedLinkSelected?: ColorValue;
552
+
553
+ /** @platform macOS, win32, windows */
478
554
  brandForegroundLink?: ColorValue;
555
+
556
+ /** @platform macOS, win32, windows */
479
557
  brandForegroundLinkHover?: ColorValue;
558
+
559
+ /** @platform macOS, win32, windows */
480
560
  brandForegroundLinkPressed?: ColorValue;
561
+
562
+ /** @platform macOS, win32, windows */
481
563
  brandForegroundLinkSelected?: ColorValue;
564
+
565
+ /** @platform macOS, win32, windows */
482
566
  compoundBrandForeground1?: ColorValue;
567
+
568
+ /** @platform macOS, win32, windows */
483
569
  compoundBrandForeground1Hover?: ColorValue;
570
+
571
+ /** @platform macOS, win32, windows */
484
572
  compoundBrandForeground1Pressed?: ColorValue;
485
- neutralForegroundInverted: ColorValue;
486
573
 
487
- brandForeground1: ColorValue;
488
- brandForeground1Disabled?: ColorValue;
489
- brandForeground1Pressed: ColorValue;
574
+ /** @platform android, iOS, macOS, win32, windows */
575
+ brandForeground1?: ColorValue;
576
+
577
+ /** @platform android, iOS, macOS */
578
+ brandForeground1Pressed?: ColorValue;
579
+
580
+ /** @platform android, iOS, macOS */
490
581
  brandForeground1Selected?: ColorValue;
582
+
583
+ /** @platform macOS, win32, windows */
584
+ brandForeground2?: ColorValue;
585
+
586
+ /** @platform android, iOS */
491
587
  brandForegroundTint?: ColorValue;
588
+
589
+ // TODO: rename to brandForegroundDisabled1
590
+ /** @platform android, iOS */
591
+ brandForeground1Disabled?: ColorValue;
592
+
593
+ /** @platform android, iOS */
492
594
  brandForegroundDisabled1?: ColorValue;
595
+
596
+ /** @platform android, iOS */
493
597
  brandForegroundDisabled2?: ColorValue;
494
598
 
495
- brandForeground2?: ColorValue;
599
+ // Background colors
496
600
 
497
- neutralForegroundOnBrand?: ColorValue;
498
- neutralForegroundOnBrandHover?: ColorValue;
499
- neutralForegroundOnBrandPressed?: ColorValue;
500
- neutralForegroundOnBrandSelected?: ColorValue;
601
+ /** @platform android, iOS, macOS, win32, windows */
602
+ neutralBackground1?: ColorValue;
501
603
 
502
- neutralForegroundInvertedLink?: ColorValue;
503
- neutralForegroundInvertedLinkHover?: ColorValue;
504
- neutralForegroundInvertedLinkPressed?: ColorValue;
505
- neutralForegroundInvertedLinkSelected?: ColorValue;
604
+ /** @platform macOS, win32, windows */
605
+ neutralBackground1Hover?: ColorValue;
606
+
607
+ /** @platform android, iOS, macOS, win32, windows */
608
+ neutralBackground1Pressed?: ColorValue;
609
+
610
+ /** @platform android, iOS, macOS, win32, windows */
611
+ neutralBackground1Selected?: ColorValue;
612
+
613
+ /** @platform android, iOS, macOS, win32, windows */
614
+ neutralBackground2?: ColorValue;
615
+
616
+ /** @platform macOS, win32, windows */
617
+ neutralBackground2Hover?: ColorValue;
618
+
619
+ /** @platform android, iOS, macOS, win32, windows */
620
+ neutralBackground2Pressed?: ColorValue;
621
+
622
+ /** @platform android, iOS, macOS, win32, windows */
623
+ neutralBackground2Selected?: ColorValue;
506
624
 
507
- neutralBackground1: ColorValue;
508
- neutralBackground1Hover: ColorValue;
509
- neutralBackground1Pressed: ColorValue;
510
- neutralBackground1Selected: ColorValue;
511
- neutralBackground2: ColorValue;
512
- neutralBackground2Hover: ColorValue;
513
- neutralBackground2Pressed: ColorValue;
514
- neutralBackground2Selected: ColorValue;
515
- neutralBackground3: ColorValue;
516
- neutralBackground3Hover: ColorValue;
517
- neutralBackground3Pressed: ColorValue;
518
- neutralBackground3Selected: ColorValue;
519
- neutralBackground4: ColorValue;
520
- neutralBackground4Hover: ColorValue;
521
- neutralBackground4Pressed: ColorValue;
522
- neutralBackground4Selected: ColorValue;
523
- neutralBackground5: ColorValue;
524
- neutralBackground5Hover: ColorValue;
525
- neutralBackground5Pressed: ColorValue;
526
- neutralBackground5Selected: ColorValue;
527
- neutralBackground6: ColorValue;
528
- neutralBackgroundInverted: ColorValue;
625
+ /** @platform android, iOS, macOS, win32, windows */
626
+ neutralBackground3?: ColorValue;
627
+
628
+ /** @platform macOS, win32, windows */
629
+ neutralBackground3Hover?: ColorValue;
630
+
631
+ /** @platform android, iOS, macOS, win32, windows */
632
+ neutralBackground3Pressed?: ColorValue;
633
+
634
+ /** @platform android, iOS, macOS, win32, windows */
635
+ neutralBackground3Selected?: ColorValue;
636
+
637
+ /** @platform android, iOS, macOS, win32, windows */
638
+ neutralBackground4?: ColorValue;
639
+
640
+ /** @platform macOS, win32, windows */
641
+ neutralBackground4Hover?: ColorValue;
642
+
643
+ /** @platform android, iOS, macOS, win32, windows */
644
+ neutralBackground4Pressed?: ColorValue;
645
+
646
+ /** @platform android, iOS, macOS, win32, windows */
647
+ neutralBackground4Selected?: ColorValue;
648
+
649
+ /** @platform android, iOS, macOS, win32, windows */
650
+ neutralBackground5?: ColorValue;
651
+
652
+ /** @platform macOS, win32, windows */
653
+ neutralBackground5Hover?: ColorValue;
654
+
655
+ /** @platform android, iOS, macOS, win32, windows */
656
+ neutralBackground5Pressed?: ColorValue;
657
+
658
+ /** @platform android, iOS, macOS, win32, windows */
659
+ neutralBackground5Selected?: ColorValue;
660
+
661
+ /** @platform android, iOS, macOS, win32, windows */
662
+ neutralBackground6?: ColorValue;
663
+
664
+ /** @platform android, iOS, macOS, win32, windows */
665
+ neutralBackgroundInverted?: ColorValue;
666
+
667
+ /** @platform android, iOS, macOS, win32, windows */
668
+ neutralBackgroundDisabled?: ColorValue;
669
+
670
+ /** @platform android, iOS */
529
671
  neutralBackgroundLightStatic?: ColorValue;
672
+
673
+ /** @platform android, iOS */
530
674
  neutralBackgroundLightStaticDisabled?: ColorValue;
531
675
 
676
+ /** @platform macOS, win32, windows */
532
677
  subtleBackground?: ColorValue;
678
+
679
+ /** @platform macOS, win32, windows */
533
680
  subtleBackgroundHover?: ColorValue;
681
+
682
+ /** @platform macOS, win32, windows */
534
683
  subtleBackgroundPressed?: ColorValue;
684
+
685
+ /** @platform macOS, win32, windows */
535
686
  subtleBackgroundSelected?: ColorValue;
536
687
 
688
+ /** @platform macOS, win32, windows */
537
689
  transparentBackground?: ColorValue;
690
+
691
+ /** @platform macOS, win32, windows */
538
692
  transparentBackgroundHover?: ColorValue;
693
+
694
+ /** @platform macOS, win32, windows */
539
695
  transparentBackgroundPressed?: ColorValue;
696
+
697
+ /** @platform macOS, win32, windows */
540
698
  transparentBackgroundSelected?: ColorValue;
541
699
 
542
- neutralBackgroundDisabled: ColorValue;
700
+ /** @platform macOS, win32, windows */
701
+ brandBackground?: ColorValue;
543
702
 
544
- neutralStencil1: ColorValue;
545
- neutralStencil2: ColorValue;
703
+ /** @platform macOS, win32, windows */
704
+ brandBackgroundHover?: ColorValue;
546
705
 
547
- neutralStrokeAccessible: ColorValue;
548
- neutralStrokeAccessibleHover: ColorValue;
549
- neutralStrokeAccessiblePressed: ColorValue;
550
- neutralStrokeAccessibleSelected: ColorValue;
551
- neutralStroke1: ColorValue;
552
- neutralStroke1Hover: ColorValue;
553
- neutralStroke1Pressed: ColorValue;
554
- neutralStroke1Selected: ColorValue;
555
- neutralStroke2: ColorValue;
556
- neutralStroke3?: ColorValue;
706
+ /** @platform macOS, win32, windows */
707
+ brandBackgroundPressed?: ColorValue;
557
708
 
558
- neutralStrokeDisabled: ColorValue;
709
+ /** @platform macOS */
710
+ brandBackgroundDisabled?: ColorValue;
559
711
 
560
- strokeFocus1?: ColorValue;
561
- strokeFocus2?: ColorValue;
712
+ /** @platform macOS, win32, windows */
713
+ brandBackgroundSelected?: ColorValue;
562
714
 
563
- brandBackground: ColorValue;
564
- brandBackgroundHover?: ColorValue;
565
- brandBackgroundPressed: ColorValue;
566
- brandBackgroundDisabled?: ColorValue;
567
- brandBackgroundSelected: ColorValue;
715
+ /** @platform macOS, win32, windows */
568
716
  compoundBrandBackground1?: ColorValue;
717
+
718
+ /** @platform macOS, win32, windows */
569
719
  compoundBrandBackground1Hover?: ColorValue;
720
+
721
+ /** @platform macOS, win32, windows */
570
722
  compoundBrandBackground1Pressed?: ColorValue;
723
+
724
+ /** @platform macOS, win32, windows */
571
725
  brandBackgroundStatic?: ColorValue;
572
- brandBackground2: ColorValue;
726
+
727
+ /** @platform android, iOS, macOS, win32, windows */
728
+ brandBackground2?: ColorValue;
729
+
730
+ /** @platform android, iOS */
573
731
  brandBackground2Pressed?: ColorValue;
732
+
733
+ /** @platform android, iOS */
574
734
  brandBackground2Selected?: ColorValue;
575
735
 
736
+ /** @platform android, iOS */
576
737
  brandBackground3?: ColorValue;
738
+
739
+ /** @platform android, iOS */
577
740
  brandBackgroundTint?: ColorValue;
741
+
742
+ // TODO #2440: remove from Android and delete token defintion
743
+ /** @platform android */
578
744
  brandBackgroundInverted?: ColorValue;
745
+
746
+ // TODO #2440: remove from Android and delete token defintion
747
+ /** @platform android */
579
748
  brandBackgroundInvertedDisabled?: ColorValue;
580
749
 
581
- brandStroke1: ColorValue;
750
+ /** @platform android, iOS, macOS, win32, windows */
751
+ neutralStencil1?: ColorValue;
752
+
753
+ /** @platform android, iOS, macOS, win32, windows */
754
+ neutralStencil2?: ColorValue;
755
+
756
+ // Stroke
757
+
758
+ /** @platform android, iOS, macOS, win32, windows */
759
+ neutralStrokeAccessible?: ColorValue;
760
+
761
+ /** @platform macOS, win32, windows */
762
+ neutralStrokeAccessibleHover?: ColorValue;
763
+
764
+ /** @platform macOS, win32, windows */
765
+ neutralStrokeAccessiblePressed?: ColorValue;
766
+
767
+ /** @platform macOS, win32, windows */
768
+ neutralStrokeAccessibleSelected?: ColorValue;
769
+
770
+ /** @platform android, iOS, macOS, win32, windows */
771
+ neutralStroke1?: ColorValue;
772
+
773
+ /** @platform macOS, win32, windows */
774
+ neutralStroke1Hover?: ColorValue;
775
+
776
+ /** @platform macOS, win32, windows */
777
+ neutralStroke1Pressed?: ColorValue;
778
+
779
+ /** @platform macOS, win32, windows */
780
+ neutralStroke1Selected?: ColorValue;
781
+
782
+ /** @platform android, iOS, macOS, win32, windows */
783
+ neutralStroke2?: ColorValue;
784
+
785
+ /** @platform macOS, win32, windows */
786
+ neutralStroke3?: ColorValue;
787
+
788
+ /** @platform android, iOS, macOS, win32, windows */
789
+ neutralStrokeDisabled?: ColorValue;
790
+
791
+ /** @platform macOS, win32, windows */
792
+ strokeFocus1?: ColorValue;
793
+
794
+ /** @platform macOS, win32, windows*/
795
+ strokeFocus2?: ColorValue;
796
+
797
+ /** @platform android, iOS, macOS, win32, windows */
798
+ brandStroke1?: ColorValue;
799
+
800
+ /** @platform android, iOS, macOS */
582
801
  brandStroke1Pressed?: ColorValue;
802
+
803
+ /** @platform android, iOS, macOS */
583
804
  brandStroke1Selected?: ColorValue;
805
+
806
+ /** @platform macOS, win32, windows */
584
807
  brandStroke2?: ColorValue;
585
808
 
809
+ /** @platform macOS, win32, windows */
586
810
  compoundBrandStroke1?: ColorValue;
811
+
812
+ /** @platform macOS, win32, windows */
587
813
  compoundBrandStroke1Hover?: ColorValue;
814
+
815
+ /** @platform macOS, win32, windows */
588
816
  compoundBrandStroke1Pressed?: ColorValue;
817
+
818
+ /** @platform windows */
589
819
  transparentStroke?: ColorValue;
820
+
821
+ /** @platform */
590
822
  transparentStrokeInteractive?: ColorValue;
823
+
824
+ /** @platform */
591
825
  transparentStrokeDisabled?: ColorValue;
826
+
827
+ /// Red
828
+
829
+ /** @platform macOS, win32, windows */
592
830
  redBackground1?: ColorValue;
831
+
832
+ /** @platform macOS, win32, windows */
593
833
  redBackground2?: ColorValue;
834
+
835
+ /** @platform macOS, win32, windows */
594
836
  redBackground3?: ColorValue;
837
+
838
+ /** @platform macOS, win32, windows */
595
839
  redForeground1?: ColorValue;
840
+
841
+ /** @platform macOS, win32, windows */
596
842
  redForeground2?: ColorValue;
843
+
844
+ /** @platform macOS, win32, windows */
597
845
  redForeground3?: ColorValue;
846
+
847
+ /** @platform macOS, win32, windows */
598
848
  redBorderActive?: ColorValue;
849
+
850
+ /** @platform macOS, win32, windows */
599
851
  redBorder1?: ColorValue;
852
+
853
+ /** @platform macOS, win32, windows */
600
854
  redBorder2?: ColorValue;
601
855
  }
602
856