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