@carbon/themes 10.11.0-rc.0 → 10.11.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.
- package/docs/sass.md +521 -129
- package/package.json +7 -7
- package/scss/generated/_mixins.scss +520 -128
|
@@ -36,6 +36,8 @@
|
|
|
36
36
|
$emit-custom-properties: false,
|
|
37
37
|
$emit-difference: false
|
|
38
38
|
) {
|
|
39
|
+
$parent-carbon-theme: $carbon--theme;
|
|
40
|
+
$carbon--theme: $theme !global;
|
|
39
41
|
$interactive-01: map-get($theme, 'interactive-01') !global;
|
|
40
42
|
$interactive-02: map-get($theme, 'interactive-02') !global;
|
|
41
43
|
$interactive-03: map-get($theme, 'interactive-03') !global;
|
|
@@ -553,7 +555,12 @@
|
|
|
553
555
|
) !global;
|
|
554
556
|
}
|
|
555
557
|
@if $emit-custom-properties == true {
|
|
556
|
-
@if should-emit(
|
|
558
|
+
@if should-emit(
|
|
559
|
+
$theme,
|
|
560
|
+
$parent-carbon-theme,
|
|
561
|
+
'interactive-01',
|
|
562
|
+
$emit-difference
|
|
563
|
+
)
|
|
557
564
|
{
|
|
558
565
|
@include custom-property(
|
|
559
566
|
'interactive-01',
|
|
@@ -561,7 +568,12 @@
|
|
|
561
568
|
);
|
|
562
569
|
}
|
|
563
570
|
|
|
564
|
-
@if should-emit(
|
|
571
|
+
@if should-emit(
|
|
572
|
+
$theme,
|
|
573
|
+
$parent-carbon-theme,
|
|
574
|
+
'interactive-02',
|
|
575
|
+
$emit-difference
|
|
576
|
+
)
|
|
565
577
|
{
|
|
566
578
|
@include custom-property(
|
|
567
579
|
'interactive-02',
|
|
@@ -569,7 +581,12 @@
|
|
|
569
581
|
);
|
|
570
582
|
}
|
|
571
583
|
|
|
572
|
-
@if should-emit(
|
|
584
|
+
@if should-emit(
|
|
585
|
+
$theme,
|
|
586
|
+
$parent-carbon-theme,
|
|
587
|
+
'interactive-03',
|
|
588
|
+
$emit-difference
|
|
589
|
+
)
|
|
573
590
|
{
|
|
574
591
|
@include custom-property(
|
|
575
592
|
'interactive-03',
|
|
@@ -577,7 +594,12 @@
|
|
|
577
594
|
);
|
|
578
595
|
}
|
|
579
596
|
|
|
580
|
-
@if should-emit(
|
|
597
|
+
@if should-emit(
|
|
598
|
+
$theme,
|
|
599
|
+
$parent-carbon-theme,
|
|
600
|
+
'interactive-04',
|
|
601
|
+
$emit-difference
|
|
602
|
+
)
|
|
581
603
|
{
|
|
582
604
|
@include custom-property(
|
|
583
605
|
'interactive-04',
|
|
@@ -585,112 +607,168 @@
|
|
|
585
607
|
);
|
|
586
608
|
}
|
|
587
609
|
|
|
588
|
-
@if should-emit(
|
|
610
|
+
@if should-emit(
|
|
611
|
+
$theme,
|
|
612
|
+
$parent-carbon-theme,
|
|
613
|
+
'ui-background',
|
|
614
|
+
$emit-difference
|
|
615
|
+
)
|
|
616
|
+
{
|
|
589
617
|
@include custom-property(
|
|
590
618
|
'ui-background',
|
|
591
619
|
map-get($theme, 'ui-background')
|
|
592
620
|
);
|
|
593
621
|
}
|
|
594
622
|
|
|
595
|
-
@if should-emit($theme, $carbon
|
|
623
|
+
@if should-emit($theme, $parent-carbon-theme, 'ui-01', $emit-difference) {
|
|
596
624
|
@include custom-property('ui-01', map-get($theme, 'ui-01'));
|
|
597
625
|
}
|
|
598
626
|
|
|
599
|
-
@if should-emit($theme, $carbon
|
|
627
|
+
@if should-emit($theme, $parent-carbon-theme, 'ui-02', $emit-difference) {
|
|
600
628
|
@include custom-property('ui-02', map-get($theme, 'ui-02'));
|
|
601
629
|
}
|
|
602
630
|
|
|
603
|
-
@if should-emit($theme, $carbon
|
|
631
|
+
@if should-emit($theme, $parent-carbon-theme, 'ui-03', $emit-difference) {
|
|
604
632
|
@include custom-property('ui-03', map-get($theme, 'ui-03'));
|
|
605
633
|
}
|
|
606
634
|
|
|
607
|
-
@if should-emit($theme, $carbon
|
|
635
|
+
@if should-emit($theme, $parent-carbon-theme, 'ui-04', $emit-difference) {
|
|
608
636
|
@include custom-property('ui-04', map-get($theme, 'ui-04'));
|
|
609
637
|
}
|
|
610
638
|
|
|
611
|
-
@if should-emit($theme, $carbon
|
|
639
|
+
@if should-emit($theme, $parent-carbon-theme, 'ui-05', $emit-difference) {
|
|
612
640
|
@include custom-property('ui-05', map-get($theme, 'ui-05'));
|
|
613
641
|
}
|
|
614
642
|
|
|
615
|
-
@if should-emit($theme, $carbon
|
|
643
|
+
@if should-emit($theme, $parent-carbon-theme, 'text-01', $emit-difference) {
|
|
616
644
|
@include custom-property('text-01', map-get($theme, 'text-01'));
|
|
617
645
|
}
|
|
618
646
|
|
|
619
|
-
@if should-emit($theme, $carbon
|
|
647
|
+
@if should-emit($theme, $parent-carbon-theme, 'text-02', $emit-difference) {
|
|
620
648
|
@include custom-property('text-02', map-get($theme, 'text-02'));
|
|
621
649
|
}
|
|
622
650
|
|
|
623
|
-
@if should-emit($theme, $carbon
|
|
651
|
+
@if should-emit($theme, $parent-carbon-theme, 'text-03', $emit-difference) {
|
|
624
652
|
@include custom-property('text-03', map-get($theme, 'text-03'));
|
|
625
653
|
}
|
|
626
654
|
|
|
627
|
-
@if should-emit($theme, $carbon
|
|
655
|
+
@if should-emit($theme, $parent-carbon-theme, 'text-04', $emit-difference) {
|
|
628
656
|
@include custom-property('text-04', map-get($theme, 'text-04'));
|
|
629
657
|
}
|
|
630
658
|
|
|
631
|
-
@if should-emit($theme, $carbon
|
|
659
|
+
@if should-emit($theme, $parent-carbon-theme, 'text-05', $emit-difference) {
|
|
632
660
|
@include custom-property('text-05', map-get($theme, 'text-05'));
|
|
633
661
|
}
|
|
634
662
|
|
|
635
|
-
@if should-emit(
|
|
663
|
+
@if should-emit(
|
|
664
|
+
$theme,
|
|
665
|
+
$parent-carbon-theme,
|
|
666
|
+
'text-error',
|
|
667
|
+
$emit-difference
|
|
668
|
+
)
|
|
669
|
+
{
|
|
636
670
|
@include custom-property('text-error', map-get($theme, 'text-error'));
|
|
637
671
|
}
|
|
638
672
|
|
|
639
|
-
@if should-emit($theme, $carbon
|
|
673
|
+
@if should-emit($theme, $parent-carbon-theme, 'icon-01', $emit-difference) {
|
|
640
674
|
@include custom-property('icon-01', map-get($theme, 'icon-01'));
|
|
641
675
|
}
|
|
642
676
|
|
|
643
|
-
@if should-emit($theme, $carbon
|
|
677
|
+
@if should-emit($theme, $parent-carbon-theme, 'icon-02', $emit-difference) {
|
|
644
678
|
@include custom-property('icon-02', map-get($theme, 'icon-02'));
|
|
645
679
|
}
|
|
646
680
|
|
|
647
|
-
@if should-emit($theme, $carbon
|
|
681
|
+
@if should-emit($theme, $parent-carbon-theme, 'icon-03', $emit-difference) {
|
|
648
682
|
@include custom-property('icon-03', map-get($theme, 'icon-03'));
|
|
649
683
|
}
|
|
650
684
|
|
|
651
|
-
@if should-emit($theme, $carbon
|
|
685
|
+
@if should-emit($theme, $parent-carbon-theme, 'link-01', $emit-difference) {
|
|
652
686
|
@include custom-property('link-01', map-get($theme, 'link-01'));
|
|
653
687
|
}
|
|
654
688
|
|
|
655
|
-
@if should-emit(
|
|
689
|
+
@if should-emit(
|
|
690
|
+
$theme,
|
|
691
|
+
$parent-carbon-theme,
|
|
692
|
+
'inverse-link',
|
|
693
|
+
$emit-difference
|
|
694
|
+
)
|
|
695
|
+
{
|
|
656
696
|
@include custom-property('inverse-link', map-get($theme, 'inverse-link'));
|
|
657
697
|
}
|
|
658
698
|
|
|
659
|
-
@if should-emit($theme, $carbon
|
|
699
|
+
@if should-emit($theme, $parent-carbon-theme, 'field-01', $emit-difference)
|
|
700
|
+
{
|
|
660
701
|
@include custom-property('field-01', map-get($theme, 'field-01'));
|
|
661
702
|
}
|
|
662
703
|
|
|
663
|
-
@if should-emit($theme, $carbon
|
|
704
|
+
@if should-emit($theme, $parent-carbon-theme, 'field-02', $emit-difference)
|
|
705
|
+
{
|
|
664
706
|
@include custom-property('field-02', map-get($theme, 'field-02'));
|
|
665
707
|
}
|
|
666
708
|
|
|
667
|
-
@if should-emit(
|
|
709
|
+
@if should-emit(
|
|
710
|
+
$theme,
|
|
711
|
+
$parent-carbon-theme,
|
|
712
|
+
'inverse-01',
|
|
713
|
+
$emit-difference
|
|
714
|
+
)
|
|
715
|
+
{
|
|
668
716
|
@include custom-property('inverse-01', map-get($theme, 'inverse-01'));
|
|
669
717
|
}
|
|
670
718
|
|
|
671
|
-
@if should-emit(
|
|
719
|
+
@if should-emit(
|
|
720
|
+
$theme,
|
|
721
|
+
$parent-carbon-theme,
|
|
722
|
+
'inverse-02',
|
|
723
|
+
$emit-difference
|
|
724
|
+
)
|
|
725
|
+
{
|
|
672
726
|
@include custom-property('inverse-02', map-get($theme, 'inverse-02'));
|
|
673
727
|
}
|
|
674
728
|
|
|
675
|
-
@if should-emit(
|
|
729
|
+
@if should-emit(
|
|
730
|
+
$theme,
|
|
731
|
+
$parent-carbon-theme,
|
|
732
|
+
'support-01',
|
|
733
|
+
$emit-difference
|
|
734
|
+
)
|
|
735
|
+
{
|
|
676
736
|
@include custom-property('support-01', map-get($theme, 'support-01'));
|
|
677
737
|
}
|
|
678
738
|
|
|
679
|
-
@if should-emit(
|
|
739
|
+
@if should-emit(
|
|
740
|
+
$theme,
|
|
741
|
+
$parent-carbon-theme,
|
|
742
|
+
'support-02',
|
|
743
|
+
$emit-difference
|
|
744
|
+
)
|
|
745
|
+
{
|
|
680
746
|
@include custom-property('support-02', map-get($theme, 'support-02'));
|
|
681
747
|
}
|
|
682
748
|
|
|
683
|
-
@if should-emit(
|
|
749
|
+
@if should-emit(
|
|
750
|
+
$theme,
|
|
751
|
+
$parent-carbon-theme,
|
|
752
|
+
'support-03',
|
|
753
|
+
$emit-difference
|
|
754
|
+
)
|
|
755
|
+
{
|
|
684
756
|
@include custom-property('support-03', map-get($theme, 'support-03'));
|
|
685
757
|
}
|
|
686
758
|
|
|
687
|
-
@if should-emit(
|
|
759
|
+
@if should-emit(
|
|
760
|
+
$theme,
|
|
761
|
+
$parent-carbon-theme,
|
|
762
|
+
'support-04',
|
|
763
|
+
$emit-difference
|
|
764
|
+
)
|
|
765
|
+
{
|
|
688
766
|
@include custom-property('support-04', map-get($theme, 'support-04'));
|
|
689
767
|
}
|
|
690
768
|
|
|
691
769
|
@if should-emit(
|
|
692
770
|
$theme,
|
|
693
|
-
$carbon
|
|
771
|
+
$parent-carbon-theme,
|
|
694
772
|
'inverse-support-01',
|
|
695
773
|
$emit-difference
|
|
696
774
|
)
|
|
@@ -703,7 +781,7 @@
|
|
|
703
781
|
|
|
704
782
|
@if should-emit(
|
|
705
783
|
$theme,
|
|
706
|
-
$carbon
|
|
784
|
+
$parent-carbon-theme,
|
|
707
785
|
'inverse-support-02',
|
|
708
786
|
$emit-difference
|
|
709
787
|
)
|
|
@@ -716,7 +794,7 @@
|
|
|
716
794
|
|
|
717
795
|
@if should-emit(
|
|
718
796
|
$theme,
|
|
719
|
-
$carbon
|
|
797
|
+
$parent-carbon-theme,
|
|
720
798
|
'inverse-support-03',
|
|
721
799
|
$emit-difference
|
|
722
800
|
)
|
|
@@ -729,7 +807,7 @@
|
|
|
729
807
|
|
|
730
808
|
@if should-emit(
|
|
731
809
|
$theme,
|
|
732
|
-
$carbon
|
|
810
|
+
$parent-carbon-theme,
|
|
733
811
|
'inverse-support-04',
|
|
734
812
|
$emit-difference
|
|
735
813
|
)
|
|
@@ -740,21 +818,27 @@
|
|
|
740
818
|
);
|
|
741
819
|
}
|
|
742
820
|
|
|
743
|
-
@if should-emit(
|
|
821
|
+
@if should-emit(
|
|
822
|
+
$theme,
|
|
823
|
+
$parent-carbon-theme,
|
|
824
|
+
'overlay-01',
|
|
825
|
+
$emit-difference
|
|
826
|
+
)
|
|
827
|
+
{
|
|
744
828
|
@include custom-property('overlay-01', map-get($theme, 'overlay-01'));
|
|
745
829
|
}
|
|
746
830
|
|
|
747
|
-
@if should-emit($theme, $carbon
|
|
831
|
+
@if should-emit($theme, $parent-carbon-theme, 'danger', $emit-difference) {
|
|
748
832
|
@include custom-property('danger', map-get($theme, 'danger'));
|
|
749
833
|
}
|
|
750
834
|
|
|
751
|
-
@if should-emit($theme, $carbon
|
|
835
|
+
@if should-emit($theme, $parent-carbon-theme, 'focus', $emit-difference) {
|
|
752
836
|
@include custom-property('focus', map-get($theme, 'focus'));
|
|
753
837
|
}
|
|
754
838
|
|
|
755
839
|
@if should-emit(
|
|
756
840
|
$theme,
|
|
757
|
-
$carbon
|
|
841
|
+
$parent-carbon-theme,
|
|
758
842
|
'inverse-focus-ui',
|
|
759
843
|
$emit-difference
|
|
760
844
|
)
|
|
@@ -765,14 +849,25 @@
|
|
|
765
849
|
);
|
|
766
850
|
}
|
|
767
851
|
|
|
768
|
-
@if should-emit(
|
|
852
|
+
@if should-emit(
|
|
853
|
+
$theme,
|
|
854
|
+
$parent-carbon-theme,
|
|
855
|
+
'hover-primary',
|
|
856
|
+
$emit-difference
|
|
857
|
+
)
|
|
858
|
+
{
|
|
769
859
|
@include custom-property(
|
|
770
860
|
'hover-primary',
|
|
771
861
|
map-get($theme, 'hover-primary')
|
|
772
862
|
);
|
|
773
863
|
}
|
|
774
864
|
|
|
775
|
-
@if should-emit(
|
|
865
|
+
@if should-emit(
|
|
866
|
+
$theme,
|
|
867
|
+
$parent-carbon-theme,
|
|
868
|
+
'active-primary',
|
|
869
|
+
$emit-difference
|
|
870
|
+
)
|
|
776
871
|
{
|
|
777
872
|
@include custom-property(
|
|
778
873
|
'active-primary',
|
|
@@ -782,7 +877,7 @@
|
|
|
782
877
|
|
|
783
878
|
@if should-emit(
|
|
784
879
|
$theme,
|
|
785
|
-
$carbon
|
|
880
|
+
$parent-carbon-theme,
|
|
786
881
|
'hover-primary-text',
|
|
787
882
|
$emit-difference
|
|
788
883
|
)
|
|
@@ -793,7 +888,12 @@
|
|
|
793
888
|
);
|
|
794
889
|
}
|
|
795
890
|
|
|
796
|
-
@if should-emit(
|
|
891
|
+
@if should-emit(
|
|
892
|
+
$theme,
|
|
893
|
+
$parent-carbon-theme,
|
|
894
|
+
'hover-secondary',
|
|
895
|
+
$emit-difference
|
|
896
|
+
)
|
|
797
897
|
{
|
|
798
898
|
@include custom-property(
|
|
799
899
|
'hover-secondary',
|
|
@@ -803,7 +903,7 @@
|
|
|
803
903
|
|
|
804
904
|
@if should-emit(
|
|
805
905
|
$theme,
|
|
806
|
-
$carbon
|
|
906
|
+
$parent-carbon-theme,
|
|
807
907
|
'active-secondary',
|
|
808
908
|
$emit-difference
|
|
809
909
|
)
|
|
@@ -814,7 +914,12 @@
|
|
|
814
914
|
);
|
|
815
915
|
}
|
|
816
916
|
|
|
817
|
-
@if should-emit(
|
|
917
|
+
@if should-emit(
|
|
918
|
+
$theme,
|
|
919
|
+
$parent-carbon-theme,
|
|
920
|
+
'hover-tertiary',
|
|
921
|
+
$emit-difference
|
|
922
|
+
)
|
|
818
923
|
{
|
|
819
924
|
@include custom-property(
|
|
820
925
|
'hover-tertiary',
|
|
@@ -822,7 +927,12 @@
|
|
|
822
927
|
);
|
|
823
928
|
}
|
|
824
929
|
|
|
825
|
-
@if should-emit(
|
|
930
|
+
@if should-emit(
|
|
931
|
+
$theme,
|
|
932
|
+
$parent-carbon-theme,
|
|
933
|
+
'active-tertiary',
|
|
934
|
+
$emit-difference
|
|
935
|
+
)
|
|
826
936
|
{
|
|
827
937
|
@include custom-property(
|
|
828
938
|
'active-tertiary',
|
|
@@ -830,21 +940,29 @@
|
|
|
830
940
|
);
|
|
831
941
|
}
|
|
832
942
|
|
|
833
|
-
@if should-emit($theme, $carbon
|
|
943
|
+
@if should-emit($theme, $parent-carbon-theme, 'hover-ui', $emit-difference)
|
|
944
|
+
{
|
|
834
945
|
@include custom-property('hover-ui', map-get($theme, 'hover-ui'));
|
|
835
946
|
}
|
|
836
947
|
|
|
837
|
-
@if should-emit($theme, $carbon
|
|
948
|
+
@if should-emit($theme, $parent-carbon-theme, 'active-ui', $emit-difference)
|
|
949
|
+
{
|
|
838
950
|
@include custom-property('active-ui', map-get($theme, 'active-ui'));
|
|
839
951
|
}
|
|
840
952
|
|
|
841
|
-
@if should-emit(
|
|
953
|
+
@if should-emit(
|
|
954
|
+
$theme,
|
|
955
|
+
$parent-carbon-theme,
|
|
956
|
+
'selected-ui',
|
|
957
|
+
$emit-difference
|
|
958
|
+
)
|
|
959
|
+
{
|
|
842
960
|
@include custom-property('selected-ui', map-get($theme, 'selected-ui'));
|
|
843
961
|
}
|
|
844
962
|
|
|
845
963
|
@if should-emit(
|
|
846
964
|
$theme,
|
|
847
|
-
$carbon
|
|
965
|
+
$parent-carbon-theme,
|
|
848
966
|
'selected-light-ui',
|
|
849
967
|
$emit-difference
|
|
850
968
|
)
|
|
@@ -857,7 +975,7 @@
|
|
|
857
975
|
|
|
858
976
|
@if should-emit(
|
|
859
977
|
$theme,
|
|
860
|
-
$carbon
|
|
978
|
+
$parent-carbon-theme,
|
|
861
979
|
'hover-selected-ui',
|
|
862
980
|
$emit-difference
|
|
863
981
|
)
|
|
@@ -870,7 +988,7 @@
|
|
|
870
988
|
|
|
871
989
|
@if should-emit(
|
|
872
990
|
$theme,
|
|
873
|
-
$carbon
|
|
991
|
+
$parent-carbon-theme,
|
|
874
992
|
'inverse-hover-ui',
|
|
875
993
|
$emit-difference
|
|
876
994
|
)
|
|
@@ -881,85 +999,163 @@
|
|
|
881
999
|
);
|
|
882
1000
|
}
|
|
883
1001
|
|
|
884
|
-
@if should-emit(
|
|
1002
|
+
@if should-emit(
|
|
1003
|
+
$theme,
|
|
1004
|
+
$parent-carbon-theme,
|
|
1005
|
+
'hover-danger',
|
|
1006
|
+
$emit-difference
|
|
1007
|
+
)
|
|
1008
|
+
{
|
|
885
1009
|
@include custom-property('hover-danger', map-get($theme, 'hover-danger'));
|
|
886
1010
|
}
|
|
887
1011
|
|
|
888
|
-
@if should-emit(
|
|
1012
|
+
@if should-emit(
|
|
1013
|
+
$theme,
|
|
1014
|
+
$parent-carbon-theme,
|
|
1015
|
+
'active-danger',
|
|
1016
|
+
$emit-difference
|
|
1017
|
+
)
|
|
1018
|
+
{
|
|
889
1019
|
@include custom-property(
|
|
890
1020
|
'active-danger',
|
|
891
1021
|
map-get($theme, 'active-danger')
|
|
892
1022
|
);
|
|
893
1023
|
}
|
|
894
1024
|
|
|
895
|
-
@if should-emit($theme, $carbon
|
|
1025
|
+
@if should-emit($theme, $parent-carbon-theme, 'hover-row', $emit-difference)
|
|
1026
|
+
{
|
|
896
1027
|
@include custom-property('hover-row', map-get($theme, 'hover-row'));
|
|
897
1028
|
}
|
|
898
1029
|
|
|
899
|
-
@if should-emit(
|
|
1030
|
+
@if should-emit(
|
|
1031
|
+
$theme,
|
|
1032
|
+
$parent-carbon-theme,
|
|
1033
|
+
'visited-link',
|
|
1034
|
+
$emit-difference
|
|
1035
|
+
)
|
|
1036
|
+
{
|
|
900
1037
|
@include custom-property('visited-link', map-get($theme, 'visited-link'));
|
|
901
1038
|
}
|
|
902
1039
|
|
|
903
|
-
@if should-emit(
|
|
1040
|
+
@if should-emit(
|
|
1041
|
+
$theme,
|
|
1042
|
+
$parent-carbon-theme,
|
|
1043
|
+
'disabled-01',
|
|
1044
|
+
$emit-difference
|
|
1045
|
+
)
|
|
1046
|
+
{
|
|
904
1047
|
@include custom-property('disabled-01', map-get($theme, 'disabled-01'));
|
|
905
1048
|
}
|
|
906
1049
|
|
|
907
|
-
@if should-emit(
|
|
1050
|
+
@if should-emit(
|
|
1051
|
+
$theme,
|
|
1052
|
+
$parent-carbon-theme,
|
|
1053
|
+
'disabled-02',
|
|
1054
|
+
$emit-difference
|
|
1055
|
+
)
|
|
1056
|
+
{
|
|
908
1057
|
@include custom-property('disabled-02', map-get($theme, 'disabled-02'));
|
|
909
1058
|
}
|
|
910
1059
|
|
|
911
|
-
@if should-emit(
|
|
1060
|
+
@if should-emit(
|
|
1061
|
+
$theme,
|
|
1062
|
+
$parent-carbon-theme,
|
|
1063
|
+
'disabled-03',
|
|
1064
|
+
$emit-difference
|
|
1065
|
+
)
|
|
1066
|
+
{
|
|
912
1067
|
@include custom-property('disabled-03', map-get($theme, 'disabled-03'));
|
|
913
1068
|
}
|
|
914
1069
|
|
|
915
|
-
@if should-emit($theme, $carbon
|
|
1070
|
+
@if should-emit($theme, $parent-carbon-theme, 'highlight', $emit-difference)
|
|
1071
|
+
{
|
|
916
1072
|
@include custom-property('highlight', map-get($theme, 'highlight'));
|
|
917
1073
|
}
|
|
918
1074
|
|
|
919
|
-
@if should-emit(
|
|
1075
|
+
@if should-emit(
|
|
1076
|
+
$theme,
|
|
1077
|
+
$parent-carbon-theme,
|
|
1078
|
+
'decorative-01',
|
|
1079
|
+
$emit-difference
|
|
1080
|
+
)
|
|
1081
|
+
{
|
|
920
1082
|
@include custom-property(
|
|
921
1083
|
'decorative-01',
|
|
922
1084
|
map-get($theme, 'decorative-01')
|
|
923
1085
|
);
|
|
924
1086
|
}
|
|
925
1087
|
|
|
926
|
-
@if should-emit(
|
|
1088
|
+
@if should-emit(
|
|
1089
|
+
$theme,
|
|
1090
|
+
$parent-carbon-theme,
|
|
1091
|
+
'skeleton-01',
|
|
1092
|
+
$emit-difference
|
|
1093
|
+
)
|
|
1094
|
+
{
|
|
927
1095
|
@include custom-property('skeleton-01', map-get($theme, 'skeleton-01'));
|
|
928
1096
|
}
|
|
929
1097
|
|
|
930
|
-
@if should-emit(
|
|
1098
|
+
@if should-emit(
|
|
1099
|
+
$theme,
|
|
1100
|
+
$parent-carbon-theme,
|
|
1101
|
+
'skeleton-02',
|
|
1102
|
+
$emit-difference
|
|
1103
|
+
)
|
|
1104
|
+
{
|
|
931
1105
|
@include custom-property('skeleton-02', map-get($theme, 'skeleton-02'));
|
|
932
1106
|
}
|
|
933
1107
|
|
|
934
|
-
@if should-emit($theme, $carbon
|
|
1108
|
+
@if should-emit($theme, $parent-carbon-theme, 'brand-01', $emit-difference)
|
|
1109
|
+
{
|
|
935
1110
|
@include custom-property('brand-01', map-get($theme, 'brand-01'));
|
|
936
1111
|
}
|
|
937
1112
|
|
|
938
|
-
@if should-emit($theme, $carbon
|
|
1113
|
+
@if should-emit($theme, $parent-carbon-theme, 'brand-02', $emit-difference)
|
|
1114
|
+
{
|
|
939
1115
|
@include custom-property('brand-02', map-get($theme, 'brand-02'));
|
|
940
1116
|
}
|
|
941
1117
|
|
|
942
|
-
@if should-emit($theme, $carbon
|
|
1118
|
+
@if should-emit($theme, $parent-carbon-theme, 'brand-03', $emit-difference)
|
|
1119
|
+
{
|
|
943
1120
|
@include custom-property('brand-03', map-get($theme, 'brand-03'));
|
|
944
1121
|
}
|
|
945
1122
|
|
|
946
|
-
@if should-emit($theme, $carbon
|
|
1123
|
+
@if should-emit($theme, $parent-carbon-theme, 'active-01', $emit-difference)
|
|
1124
|
+
{
|
|
947
1125
|
@include custom-property('active-01', map-get($theme, 'active-01'));
|
|
948
1126
|
}
|
|
949
1127
|
|
|
950
|
-
@if should-emit(
|
|
1128
|
+
@if should-emit(
|
|
1129
|
+
$theme,
|
|
1130
|
+
$parent-carbon-theme,
|
|
1131
|
+
'hover-field',
|
|
1132
|
+
$emit-difference
|
|
1133
|
+
)
|
|
1134
|
+
{
|
|
951
1135
|
@include custom-property('hover-field', map-get($theme, 'hover-field'));
|
|
952
1136
|
}
|
|
953
1137
|
|
|
954
|
-
@if should-emit(
|
|
1138
|
+
@if should-emit(
|
|
1139
|
+
$theme,
|
|
1140
|
+
$parent-carbon-theme,
|
|
1141
|
+
'caption-01',
|
|
1142
|
+
$emit-difference
|
|
1143
|
+
)
|
|
1144
|
+
{
|
|
955
1145
|
@include custom-property('caption-01', map-get($theme, 'caption-01'));
|
|
956
1146
|
}
|
|
957
1147
|
|
|
958
|
-
@if should-emit($theme, $carbon
|
|
1148
|
+
@if should-emit($theme, $parent-carbon-theme, 'label-01', $emit-difference)
|
|
1149
|
+
{
|
|
959
1150
|
@include custom-property('label-01', map-get($theme, 'label-01'));
|
|
960
1151
|
}
|
|
961
1152
|
|
|
962
|
-
@if should-emit(
|
|
1153
|
+
@if should-emit(
|
|
1154
|
+
$theme,
|
|
1155
|
+
$parent-carbon-theme,
|
|
1156
|
+
'helper-text-01',
|
|
1157
|
+
$emit-difference
|
|
1158
|
+
)
|
|
963
1159
|
{
|
|
964
1160
|
@include custom-property(
|
|
965
1161
|
'helper-text-01',
|
|
@@ -967,43 +1163,73 @@
|
|
|
967
1163
|
);
|
|
968
1164
|
}
|
|
969
1165
|
|
|
970
|
-
@if should-emit(
|
|
1166
|
+
@if should-emit(
|
|
1167
|
+
$theme,
|
|
1168
|
+
$parent-carbon-theme,
|
|
1169
|
+
'body-short-01',
|
|
1170
|
+
$emit-difference
|
|
1171
|
+
)
|
|
1172
|
+
{
|
|
971
1173
|
@include custom-property(
|
|
972
1174
|
'body-short-01',
|
|
973
1175
|
map-get($theme, 'body-short-01')
|
|
974
1176
|
);
|
|
975
1177
|
}
|
|
976
1178
|
|
|
977
|
-
@if should-emit(
|
|
1179
|
+
@if should-emit(
|
|
1180
|
+
$theme,
|
|
1181
|
+
$parent-carbon-theme,
|
|
1182
|
+
'body-long-01',
|
|
1183
|
+
$emit-difference
|
|
1184
|
+
)
|
|
1185
|
+
{
|
|
978
1186
|
@include custom-property('body-long-01', map-get($theme, 'body-long-01'));
|
|
979
1187
|
}
|
|
980
1188
|
|
|
981
|
-
@if should-emit(
|
|
1189
|
+
@if should-emit(
|
|
1190
|
+
$theme,
|
|
1191
|
+
$parent-carbon-theme,
|
|
1192
|
+
'body-short-02',
|
|
1193
|
+
$emit-difference
|
|
1194
|
+
)
|
|
1195
|
+
{
|
|
982
1196
|
@include custom-property(
|
|
983
1197
|
'body-short-02',
|
|
984
1198
|
map-get($theme, 'body-short-02')
|
|
985
1199
|
);
|
|
986
1200
|
}
|
|
987
1201
|
|
|
988
|
-
@if should-emit(
|
|
1202
|
+
@if should-emit(
|
|
1203
|
+
$theme,
|
|
1204
|
+
$parent-carbon-theme,
|
|
1205
|
+
'body-long-02',
|
|
1206
|
+
$emit-difference
|
|
1207
|
+
)
|
|
1208
|
+
{
|
|
989
1209
|
@include custom-property('body-long-02', map-get($theme, 'body-long-02'));
|
|
990
1210
|
}
|
|
991
1211
|
|
|
992
|
-
@if should-emit($theme, $carbon
|
|
1212
|
+
@if should-emit($theme, $parent-carbon-theme, 'code-01', $emit-difference) {
|
|
993
1213
|
@include custom-property('code-01', map-get($theme, 'code-01'));
|
|
994
1214
|
}
|
|
995
1215
|
|
|
996
|
-
@if should-emit($theme, $carbon
|
|
1216
|
+
@if should-emit($theme, $parent-carbon-theme, 'code-02', $emit-difference) {
|
|
997
1217
|
@include custom-property('code-02', map-get($theme, 'code-02'));
|
|
998
1218
|
}
|
|
999
1219
|
|
|
1000
|
-
@if should-emit(
|
|
1220
|
+
@if should-emit(
|
|
1221
|
+
$theme,
|
|
1222
|
+
$parent-carbon-theme,
|
|
1223
|
+
'heading-01',
|
|
1224
|
+
$emit-difference
|
|
1225
|
+
)
|
|
1226
|
+
{
|
|
1001
1227
|
@include custom-property('heading-01', map-get($theme, 'heading-01'));
|
|
1002
1228
|
}
|
|
1003
1229
|
|
|
1004
1230
|
@if should-emit(
|
|
1005
1231
|
$theme,
|
|
1006
|
-
$carbon
|
|
1232
|
+
$parent-carbon-theme,
|
|
1007
1233
|
'productive-heading-01',
|
|
1008
1234
|
$emit-difference
|
|
1009
1235
|
)
|
|
@@ -1014,13 +1240,19 @@
|
|
|
1014
1240
|
);
|
|
1015
1241
|
}
|
|
1016
1242
|
|
|
1017
|
-
@if should-emit(
|
|
1243
|
+
@if should-emit(
|
|
1244
|
+
$theme,
|
|
1245
|
+
$parent-carbon-theme,
|
|
1246
|
+
'heading-02',
|
|
1247
|
+
$emit-difference
|
|
1248
|
+
)
|
|
1249
|
+
{
|
|
1018
1250
|
@include custom-property('heading-02', map-get($theme, 'heading-02'));
|
|
1019
1251
|
}
|
|
1020
1252
|
|
|
1021
1253
|
@if should-emit(
|
|
1022
1254
|
$theme,
|
|
1023
|
-
$carbon
|
|
1255
|
+
$parent-carbon-theme,
|
|
1024
1256
|
'productive-heading-02',
|
|
1025
1257
|
$emit-difference
|
|
1026
1258
|
)
|
|
@@ -1033,7 +1265,7 @@
|
|
|
1033
1265
|
|
|
1034
1266
|
@if should-emit(
|
|
1035
1267
|
$theme,
|
|
1036
|
-
$carbon
|
|
1268
|
+
$parent-carbon-theme,
|
|
1037
1269
|
'productive-heading-03',
|
|
1038
1270
|
$emit-difference
|
|
1039
1271
|
)
|
|
@@ -1046,7 +1278,7 @@
|
|
|
1046
1278
|
|
|
1047
1279
|
@if should-emit(
|
|
1048
1280
|
$theme,
|
|
1049
|
-
$carbon
|
|
1281
|
+
$parent-carbon-theme,
|
|
1050
1282
|
'productive-heading-04',
|
|
1051
1283
|
$emit-difference
|
|
1052
1284
|
)
|
|
@@ -1059,7 +1291,7 @@
|
|
|
1059
1291
|
|
|
1060
1292
|
@if should-emit(
|
|
1061
1293
|
$theme,
|
|
1062
|
-
$carbon
|
|
1294
|
+
$parent-carbon-theme,
|
|
1063
1295
|
'productive-heading-05',
|
|
1064
1296
|
$emit-difference
|
|
1065
1297
|
)
|
|
@@ -1072,7 +1304,7 @@
|
|
|
1072
1304
|
|
|
1073
1305
|
@if should-emit(
|
|
1074
1306
|
$theme,
|
|
1075
|
-
$carbon
|
|
1307
|
+
$parent-carbon-theme,
|
|
1076
1308
|
'productive-heading-06',
|
|
1077
1309
|
$emit-difference
|
|
1078
1310
|
)
|
|
@@ -1085,7 +1317,7 @@
|
|
|
1085
1317
|
|
|
1086
1318
|
@if should-emit(
|
|
1087
1319
|
$theme,
|
|
1088
|
-
$carbon
|
|
1320
|
+
$parent-carbon-theme,
|
|
1089
1321
|
'productive-heading-07',
|
|
1090
1322
|
$emit-difference
|
|
1091
1323
|
)
|
|
@@ -1098,7 +1330,7 @@
|
|
|
1098
1330
|
|
|
1099
1331
|
@if should-emit(
|
|
1100
1332
|
$theme,
|
|
1101
|
-
$carbon
|
|
1333
|
+
$parent-carbon-theme,
|
|
1102
1334
|
'expressive-heading-01',
|
|
1103
1335
|
$emit-difference
|
|
1104
1336
|
)
|
|
@@ -1111,7 +1343,7 @@
|
|
|
1111
1343
|
|
|
1112
1344
|
@if should-emit(
|
|
1113
1345
|
$theme,
|
|
1114
|
-
$carbon
|
|
1346
|
+
$parent-carbon-theme,
|
|
1115
1347
|
'expressive-heading-02',
|
|
1116
1348
|
$emit-difference
|
|
1117
1349
|
)
|
|
@@ -1124,7 +1356,7 @@
|
|
|
1124
1356
|
|
|
1125
1357
|
@if should-emit(
|
|
1126
1358
|
$theme,
|
|
1127
|
-
$carbon
|
|
1359
|
+
$parent-carbon-theme,
|
|
1128
1360
|
'expressive-heading-03',
|
|
1129
1361
|
$emit-difference
|
|
1130
1362
|
)
|
|
@@ -1137,7 +1369,7 @@
|
|
|
1137
1369
|
|
|
1138
1370
|
@if should-emit(
|
|
1139
1371
|
$theme,
|
|
1140
|
-
$carbon
|
|
1372
|
+
$parent-carbon-theme,
|
|
1141
1373
|
'expressive-heading-04',
|
|
1142
1374
|
$emit-difference
|
|
1143
1375
|
)
|
|
@@ -1150,7 +1382,7 @@
|
|
|
1150
1382
|
|
|
1151
1383
|
@if should-emit(
|
|
1152
1384
|
$theme,
|
|
1153
|
-
$carbon
|
|
1385
|
+
$parent-carbon-theme,
|
|
1154
1386
|
'expressive-heading-05',
|
|
1155
1387
|
$emit-difference
|
|
1156
1388
|
)
|
|
@@ -1163,7 +1395,7 @@
|
|
|
1163
1395
|
|
|
1164
1396
|
@if should-emit(
|
|
1165
1397
|
$theme,
|
|
1166
|
-
$carbon
|
|
1398
|
+
$parent-carbon-theme,
|
|
1167
1399
|
'expressive-heading-06',
|
|
1168
1400
|
$emit-difference
|
|
1169
1401
|
)
|
|
@@ -1176,7 +1408,7 @@
|
|
|
1176
1408
|
|
|
1177
1409
|
@if should-emit(
|
|
1178
1410
|
$theme,
|
|
1179
|
-
$carbon
|
|
1411
|
+
$parent-carbon-theme,
|
|
1180
1412
|
'expressive-paragraph-01',
|
|
1181
1413
|
$emit-difference
|
|
1182
1414
|
)
|
|
@@ -1187,81 +1419,189 @@
|
|
|
1187
1419
|
);
|
|
1188
1420
|
}
|
|
1189
1421
|
|
|
1190
|
-
@if should-emit(
|
|
1422
|
+
@if should-emit(
|
|
1423
|
+
$theme,
|
|
1424
|
+
$parent-carbon-theme,
|
|
1425
|
+
'quotation-01',
|
|
1426
|
+
$emit-difference
|
|
1427
|
+
)
|
|
1428
|
+
{
|
|
1191
1429
|
@include custom-property('quotation-01', map-get($theme, 'quotation-01'));
|
|
1192
1430
|
}
|
|
1193
1431
|
|
|
1194
|
-
@if should-emit(
|
|
1432
|
+
@if should-emit(
|
|
1433
|
+
$theme,
|
|
1434
|
+
$parent-carbon-theme,
|
|
1435
|
+
'quotation-02',
|
|
1436
|
+
$emit-difference
|
|
1437
|
+
)
|
|
1438
|
+
{
|
|
1195
1439
|
@include custom-property('quotation-02', map-get($theme, 'quotation-02'));
|
|
1196
1440
|
}
|
|
1197
1441
|
|
|
1198
|
-
@if should-emit(
|
|
1442
|
+
@if should-emit(
|
|
1443
|
+
$theme,
|
|
1444
|
+
$parent-carbon-theme,
|
|
1445
|
+
'display-01',
|
|
1446
|
+
$emit-difference
|
|
1447
|
+
)
|
|
1448
|
+
{
|
|
1199
1449
|
@include custom-property('display-01', map-get($theme, 'display-01'));
|
|
1200
1450
|
}
|
|
1201
1451
|
|
|
1202
|
-
@if should-emit(
|
|
1452
|
+
@if should-emit(
|
|
1453
|
+
$theme,
|
|
1454
|
+
$parent-carbon-theme,
|
|
1455
|
+
'display-02',
|
|
1456
|
+
$emit-difference
|
|
1457
|
+
)
|
|
1458
|
+
{
|
|
1203
1459
|
@include custom-property('display-02', map-get($theme, 'display-02'));
|
|
1204
1460
|
}
|
|
1205
1461
|
|
|
1206
|
-
@if should-emit(
|
|
1462
|
+
@if should-emit(
|
|
1463
|
+
$theme,
|
|
1464
|
+
$parent-carbon-theme,
|
|
1465
|
+
'display-03',
|
|
1466
|
+
$emit-difference
|
|
1467
|
+
)
|
|
1468
|
+
{
|
|
1207
1469
|
@include custom-property('display-03', map-get($theme, 'display-03'));
|
|
1208
1470
|
}
|
|
1209
1471
|
|
|
1210
|
-
@if should-emit(
|
|
1472
|
+
@if should-emit(
|
|
1473
|
+
$theme,
|
|
1474
|
+
$parent-carbon-theme,
|
|
1475
|
+
'display-04',
|
|
1476
|
+
$emit-difference
|
|
1477
|
+
)
|
|
1478
|
+
{
|
|
1211
1479
|
@include custom-property('display-04', map-get($theme, 'display-04'));
|
|
1212
1480
|
}
|
|
1213
1481
|
|
|
1214
|
-
@if should-emit(
|
|
1482
|
+
@if should-emit(
|
|
1483
|
+
$theme,
|
|
1484
|
+
$parent-carbon-theme,
|
|
1485
|
+
'spacing-01',
|
|
1486
|
+
$emit-difference
|
|
1487
|
+
)
|
|
1488
|
+
{
|
|
1215
1489
|
@include custom-property('spacing-01', map-get($theme, 'spacing-01'));
|
|
1216
1490
|
}
|
|
1217
1491
|
|
|
1218
|
-
@if should-emit(
|
|
1492
|
+
@if should-emit(
|
|
1493
|
+
$theme,
|
|
1494
|
+
$parent-carbon-theme,
|
|
1495
|
+
'spacing-02',
|
|
1496
|
+
$emit-difference
|
|
1497
|
+
)
|
|
1498
|
+
{
|
|
1219
1499
|
@include custom-property('spacing-02', map-get($theme, 'spacing-02'));
|
|
1220
1500
|
}
|
|
1221
1501
|
|
|
1222
|
-
@if should-emit(
|
|
1502
|
+
@if should-emit(
|
|
1503
|
+
$theme,
|
|
1504
|
+
$parent-carbon-theme,
|
|
1505
|
+
'spacing-03',
|
|
1506
|
+
$emit-difference
|
|
1507
|
+
)
|
|
1508
|
+
{
|
|
1223
1509
|
@include custom-property('spacing-03', map-get($theme, 'spacing-03'));
|
|
1224
1510
|
}
|
|
1225
1511
|
|
|
1226
|
-
@if should-emit(
|
|
1512
|
+
@if should-emit(
|
|
1513
|
+
$theme,
|
|
1514
|
+
$parent-carbon-theme,
|
|
1515
|
+
'spacing-04',
|
|
1516
|
+
$emit-difference
|
|
1517
|
+
)
|
|
1518
|
+
{
|
|
1227
1519
|
@include custom-property('spacing-04', map-get($theme, 'spacing-04'));
|
|
1228
1520
|
}
|
|
1229
1521
|
|
|
1230
|
-
@if should-emit(
|
|
1522
|
+
@if should-emit(
|
|
1523
|
+
$theme,
|
|
1524
|
+
$parent-carbon-theme,
|
|
1525
|
+
'spacing-05',
|
|
1526
|
+
$emit-difference
|
|
1527
|
+
)
|
|
1528
|
+
{
|
|
1231
1529
|
@include custom-property('spacing-05', map-get($theme, 'spacing-05'));
|
|
1232
1530
|
}
|
|
1233
1531
|
|
|
1234
|
-
@if should-emit(
|
|
1532
|
+
@if should-emit(
|
|
1533
|
+
$theme,
|
|
1534
|
+
$parent-carbon-theme,
|
|
1535
|
+
'spacing-06',
|
|
1536
|
+
$emit-difference
|
|
1537
|
+
)
|
|
1538
|
+
{
|
|
1235
1539
|
@include custom-property('spacing-06', map-get($theme, 'spacing-06'));
|
|
1236
1540
|
}
|
|
1237
1541
|
|
|
1238
|
-
@if should-emit(
|
|
1542
|
+
@if should-emit(
|
|
1543
|
+
$theme,
|
|
1544
|
+
$parent-carbon-theme,
|
|
1545
|
+
'spacing-07',
|
|
1546
|
+
$emit-difference
|
|
1547
|
+
)
|
|
1548
|
+
{
|
|
1239
1549
|
@include custom-property('spacing-07', map-get($theme, 'spacing-07'));
|
|
1240
1550
|
}
|
|
1241
1551
|
|
|
1242
|
-
@if should-emit(
|
|
1552
|
+
@if should-emit(
|
|
1553
|
+
$theme,
|
|
1554
|
+
$parent-carbon-theme,
|
|
1555
|
+
'spacing-08',
|
|
1556
|
+
$emit-difference
|
|
1557
|
+
)
|
|
1558
|
+
{
|
|
1243
1559
|
@include custom-property('spacing-08', map-get($theme, 'spacing-08'));
|
|
1244
1560
|
}
|
|
1245
1561
|
|
|
1246
|
-
@if should-emit(
|
|
1562
|
+
@if should-emit(
|
|
1563
|
+
$theme,
|
|
1564
|
+
$parent-carbon-theme,
|
|
1565
|
+
'spacing-09',
|
|
1566
|
+
$emit-difference
|
|
1567
|
+
)
|
|
1568
|
+
{
|
|
1247
1569
|
@include custom-property('spacing-09', map-get($theme, 'spacing-09'));
|
|
1248
1570
|
}
|
|
1249
1571
|
|
|
1250
|
-
@if should-emit(
|
|
1572
|
+
@if should-emit(
|
|
1573
|
+
$theme,
|
|
1574
|
+
$parent-carbon-theme,
|
|
1575
|
+
'spacing-10',
|
|
1576
|
+
$emit-difference
|
|
1577
|
+
)
|
|
1578
|
+
{
|
|
1251
1579
|
@include custom-property('spacing-10', map-get($theme, 'spacing-10'));
|
|
1252
1580
|
}
|
|
1253
1581
|
|
|
1254
|
-
@if should-emit(
|
|
1582
|
+
@if should-emit(
|
|
1583
|
+
$theme,
|
|
1584
|
+
$parent-carbon-theme,
|
|
1585
|
+
'spacing-11',
|
|
1586
|
+
$emit-difference
|
|
1587
|
+
)
|
|
1588
|
+
{
|
|
1255
1589
|
@include custom-property('spacing-11', map-get($theme, 'spacing-11'));
|
|
1256
1590
|
}
|
|
1257
1591
|
|
|
1258
|
-
@if should-emit(
|
|
1592
|
+
@if should-emit(
|
|
1593
|
+
$theme,
|
|
1594
|
+
$parent-carbon-theme,
|
|
1595
|
+
'spacing-12',
|
|
1596
|
+
$emit-difference
|
|
1597
|
+
)
|
|
1598
|
+
{
|
|
1259
1599
|
@include custom-property('spacing-12', map-get($theme, 'spacing-12'));
|
|
1260
1600
|
}
|
|
1261
1601
|
|
|
1262
1602
|
@if should-emit(
|
|
1263
1603
|
$theme,
|
|
1264
|
-
$carbon
|
|
1604
|
+
$parent-carbon-theme,
|
|
1265
1605
|
'fluid-spacing-01',
|
|
1266
1606
|
$emit-difference
|
|
1267
1607
|
)
|
|
@@ -1274,7 +1614,7 @@
|
|
|
1274
1614
|
|
|
1275
1615
|
@if should-emit(
|
|
1276
1616
|
$theme,
|
|
1277
|
-
$carbon
|
|
1617
|
+
$parent-carbon-theme,
|
|
1278
1618
|
'fluid-spacing-02',
|
|
1279
1619
|
$emit-difference
|
|
1280
1620
|
)
|
|
@@ -1287,7 +1627,7 @@
|
|
|
1287
1627
|
|
|
1288
1628
|
@if should-emit(
|
|
1289
1629
|
$theme,
|
|
1290
|
-
$carbon
|
|
1630
|
+
$parent-carbon-theme,
|
|
1291
1631
|
'fluid-spacing-03',
|
|
1292
1632
|
$emit-difference
|
|
1293
1633
|
)
|
|
@@ -1300,7 +1640,7 @@
|
|
|
1300
1640
|
|
|
1301
1641
|
@if should-emit(
|
|
1302
1642
|
$theme,
|
|
1303
|
-
$carbon
|
|
1643
|
+
$parent-carbon-theme,
|
|
1304
1644
|
'fluid-spacing-04',
|
|
1305
1645
|
$emit-difference
|
|
1306
1646
|
)
|
|
@@ -1311,66 +1651,118 @@
|
|
|
1311
1651
|
);
|
|
1312
1652
|
}
|
|
1313
1653
|
|
|
1314
|
-
@if should-emit($theme, $carbon
|
|
1654
|
+
@if should-emit($theme, $parent-carbon-theme, 'layout-01', $emit-difference)
|
|
1655
|
+
{
|
|
1315
1656
|
@include custom-property('layout-01', map-get($theme, 'layout-01'));
|
|
1316
1657
|
}
|
|
1317
1658
|
|
|
1318
|
-
@if should-emit($theme, $carbon
|
|
1659
|
+
@if should-emit($theme, $parent-carbon-theme, 'layout-02', $emit-difference)
|
|
1660
|
+
{
|
|
1319
1661
|
@include custom-property('layout-02', map-get($theme, 'layout-02'));
|
|
1320
1662
|
}
|
|
1321
1663
|
|
|
1322
|
-
@if should-emit($theme, $carbon
|
|
1664
|
+
@if should-emit($theme, $parent-carbon-theme, 'layout-03', $emit-difference)
|
|
1665
|
+
{
|
|
1323
1666
|
@include custom-property('layout-03', map-get($theme, 'layout-03'));
|
|
1324
1667
|
}
|
|
1325
1668
|
|
|
1326
|
-
@if should-emit($theme, $carbon
|
|
1669
|
+
@if should-emit($theme, $parent-carbon-theme, 'layout-04', $emit-difference)
|
|
1670
|
+
{
|
|
1327
1671
|
@include custom-property('layout-04', map-get($theme, 'layout-04'));
|
|
1328
1672
|
}
|
|
1329
1673
|
|
|
1330
|
-
@if should-emit($theme, $carbon
|
|
1674
|
+
@if should-emit($theme, $parent-carbon-theme, 'layout-05', $emit-difference)
|
|
1675
|
+
{
|
|
1331
1676
|
@include custom-property('layout-05', map-get($theme, 'layout-05'));
|
|
1332
1677
|
}
|
|
1333
1678
|
|
|
1334
|
-
@if should-emit($theme, $carbon
|
|
1679
|
+
@if should-emit($theme, $parent-carbon-theme, 'layout-06', $emit-difference)
|
|
1680
|
+
{
|
|
1335
1681
|
@include custom-property('layout-06', map-get($theme, 'layout-06'));
|
|
1336
1682
|
}
|
|
1337
1683
|
|
|
1338
|
-
@if should-emit($theme, $carbon
|
|
1684
|
+
@if should-emit($theme, $parent-carbon-theme, 'layout-07', $emit-difference)
|
|
1685
|
+
{
|
|
1339
1686
|
@include custom-property('layout-07', map-get($theme, 'layout-07'));
|
|
1340
1687
|
}
|
|
1341
1688
|
|
|
1342
|
-
@if should-emit(
|
|
1689
|
+
@if should-emit(
|
|
1690
|
+
$theme,
|
|
1691
|
+
$parent-carbon-theme,
|
|
1692
|
+
'container-01',
|
|
1693
|
+
$emit-difference
|
|
1694
|
+
)
|
|
1695
|
+
{
|
|
1343
1696
|
@include custom-property('container-01', map-get($theme, 'container-01'));
|
|
1344
1697
|
}
|
|
1345
1698
|
|
|
1346
|
-
@if should-emit(
|
|
1699
|
+
@if should-emit(
|
|
1700
|
+
$theme,
|
|
1701
|
+
$parent-carbon-theme,
|
|
1702
|
+
'container-02',
|
|
1703
|
+
$emit-difference
|
|
1704
|
+
)
|
|
1705
|
+
{
|
|
1347
1706
|
@include custom-property('container-02', map-get($theme, 'container-02'));
|
|
1348
1707
|
}
|
|
1349
1708
|
|
|
1350
|
-
@if should-emit(
|
|
1709
|
+
@if should-emit(
|
|
1710
|
+
$theme,
|
|
1711
|
+
$parent-carbon-theme,
|
|
1712
|
+
'container-03',
|
|
1713
|
+
$emit-difference
|
|
1714
|
+
)
|
|
1715
|
+
{
|
|
1351
1716
|
@include custom-property('container-03', map-get($theme, 'container-03'));
|
|
1352
1717
|
}
|
|
1353
1718
|
|
|
1354
|
-
@if should-emit(
|
|
1719
|
+
@if should-emit(
|
|
1720
|
+
$theme,
|
|
1721
|
+
$parent-carbon-theme,
|
|
1722
|
+
'container-04',
|
|
1723
|
+
$emit-difference
|
|
1724
|
+
)
|
|
1725
|
+
{
|
|
1355
1726
|
@include custom-property('container-04', map-get($theme, 'container-04'));
|
|
1356
1727
|
}
|
|
1357
1728
|
|
|
1358
|
-
@if should-emit(
|
|
1729
|
+
@if should-emit(
|
|
1730
|
+
$theme,
|
|
1731
|
+
$parent-carbon-theme,
|
|
1732
|
+
'container-05',
|
|
1733
|
+
$emit-difference
|
|
1734
|
+
)
|
|
1735
|
+
{
|
|
1359
1736
|
@include custom-property('container-05', map-get($theme, 'container-05'));
|
|
1360
1737
|
}
|
|
1361
1738
|
|
|
1362
|
-
@if should-emit(
|
|
1739
|
+
@if should-emit(
|
|
1740
|
+
$theme,
|
|
1741
|
+
$parent-carbon-theme,
|
|
1742
|
+
'icon-size-01',
|
|
1743
|
+
$emit-difference
|
|
1744
|
+
)
|
|
1745
|
+
{
|
|
1363
1746
|
@include custom-property('icon-size-01', map-get($theme, 'icon-size-01'));
|
|
1364
1747
|
}
|
|
1365
1748
|
|
|
1366
|
-
@if should-emit(
|
|
1749
|
+
@if should-emit(
|
|
1750
|
+
$theme,
|
|
1751
|
+
$parent-carbon-theme,
|
|
1752
|
+
'icon-size-02',
|
|
1753
|
+
$emit-difference
|
|
1754
|
+
)
|
|
1755
|
+
{
|
|
1367
1756
|
@include custom-property('icon-size-02', map-get($theme, 'icon-size-02'));
|
|
1368
1757
|
}
|
|
1369
1758
|
}
|
|
1370
1759
|
|
|
1371
1760
|
@content;
|
|
1761
|
+
|
|
1372
1762
|
// Reset to default theme after apply in content
|
|
1373
|
-
@if $theme != $carbon
|
|
1763
|
+
@if $carbon--theme != $parent-carbon-theme {
|
|
1764
|
+
$carbon--theme: $parent-carbon-theme !global;
|
|
1765
|
+
|
|
1374
1766
|
@include carbon--theme();
|
|
1375
1767
|
}
|
|
1376
1768
|
}
|