@lumx/core 2.1.7 → 2.1.8-alpha.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/css/design-tokens.css +73 -73
- package/js/constants/design-tokens.js +190 -190
- package/js/constants/design-tokens.min.js +1 -1
- package/js/constants/design-tokens.min.js.map +1 -1
- package/js/constants/design-tokens.ts +190 -190
- package/js/custom-colors.min.js.map +1 -1
- package/js/date-picker.min.js.map +1 -1
- package/js/utils.min.js.map +1 -1
- package/lumx.css +1 -1
- package/lumx.min.css +1 -1
- package/package.json +2 -2
- package/scss/_design-tokens.scss +73 -73
- package/scss/components/badge/_index.scss +5 -1
- package/scss/components/flag/_index.scss +3 -3
- package/scss/components/icon/_index.scss +22 -0
- package/scss/components/icon/_mixins.scss +7 -2
- package/scss/components/message/_index.scss +1 -5
- package/scss/components/notification/_index.scss +6 -1
- package/scss/core/state/_mixins.scss +12 -2
package/package.json
CHANGED
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"version": "yarn version-changelog ../../CHANGELOG.md && yarn changelog-verify ../../CHANGELOG.md && git add ../../CHANGELOG.md"
|
|
43
43
|
},
|
|
44
44
|
"sideEffects": false,
|
|
45
|
-
"version": "2.1.
|
|
45
|
+
"version": "2.1.8-alpha.0",
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@babel/core": "^7.8.3",
|
|
48
48
|
"@babel/plugin-proposal-class-properties": "^7.8.3",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"moment": "^2.24.0",
|
|
83
83
|
"moment-range": "^4.0.2"
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "6cbc4962664dd018c884f1006c1c6b20f7ae183a"
|
|
86
86
|
}
|
package/scss/_design-tokens.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 08 Dec 2021 08:10:59 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
$lumx-button-height: 36px !default;
|
|
@@ -765,7 +765,7 @@ $lumx-text-field-state-focus-theme-light-input-border-color: rgba(
|
|
|
765
765
|
150,
|
|
766
766
|
243,
|
|
767
767
|
0.6
|
|
768
|
-
) !default; // Base
|
|
768
|
+
) !default; // Base primary color with 60% opacity
|
|
769
769
|
$lumx-text-field-state-focus-theme-light-input-content-color: rgba(0, 0, 0, 0.87) !default; // Neutral dark color
|
|
770
770
|
$lumx-text-field-state-focus-theme-light-input-placeholder-color: rgba(
|
|
771
771
|
0,
|
|
@@ -803,42 +803,42 @@ $lumx-color-light-L3: rgba(255, 255, 255, 0.6) !default; // Base light color wit
|
|
|
803
803
|
$lumx-color-light-L4: rgba(255, 255, 255, 0.4) !default; // Base light color with 40% opacity
|
|
804
804
|
$lumx-color-light-L5: rgba(255, 255, 255, 0.2) !default; // Base light color with 20% opacity
|
|
805
805
|
$lumx-color-light-L6: rgba(255, 255, 255, 0.1) !default; // Base light color with 10% opacity
|
|
806
|
-
$lumx-color-blue-D2: #
|
|
807
|
-
$lumx-color-blue-D1: #
|
|
808
|
-
$lumx-color-blue-N: #
|
|
809
|
-
$lumx-color-blue-L1: rgba(
|
|
810
|
-
$lumx-color-blue-L2: rgba(
|
|
811
|
-
$lumx-color-blue-L3: rgba(
|
|
812
|
-
$lumx-color-blue-L4: rgba(
|
|
813
|
-
$lumx-color-blue-L5: rgba(
|
|
814
|
-
$lumx-color-blue-L6: rgba(
|
|
815
|
-
$lumx-color-green-D2: #
|
|
816
|
-
$lumx-color-green-D1: #
|
|
817
|
-
$lumx-color-green-N: #
|
|
818
|
-
$lumx-color-green-L1: rgba(
|
|
819
|
-
$lumx-color-green-L2: rgba(
|
|
820
|
-
$lumx-color-green-L3: rgba(
|
|
821
|
-
$lumx-color-green-L4: rgba(
|
|
822
|
-
$lumx-color-green-L5: rgba(
|
|
823
|
-
$lumx-color-green-L6: rgba(
|
|
824
|
-
$lumx-color-yellow-D2: #
|
|
825
|
-
$lumx-color-yellow-D1: #
|
|
826
|
-
$lumx-color-yellow-N: #
|
|
827
|
-
$lumx-color-yellow-L1: rgba(255,
|
|
828
|
-
$lumx-color-yellow-L2: rgba(255,
|
|
829
|
-
$lumx-color-yellow-L3: rgba(255,
|
|
830
|
-
$lumx-color-yellow-L4: rgba(255,
|
|
831
|
-
$lumx-color-yellow-L5: rgba(255,
|
|
832
|
-
$lumx-color-yellow-L6: rgba(255,
|
|
833
|
-
$lumx-color-red-D2: #
|
|
834
|
-
$lumx-color-red-D1: #
|
|
835
|
-
$lumx-color-red-N: #
|
|
836
|
-
$lumx-color-red-L1: rgba(
|
|
837
|
-
$lumx-color-red-L2: rgba(
|
|
838
|
-
$lumx-color-red-L3: rgba(
|
|
839
|
-
$lumx-color-red-L4: rgba(
|
|
840
|
-
$lumx-color-red-L5: rgba(
|
|
841
|
-
$lumx-color-red-L6: rgba(
|
|
806
|
+
$lumx-color-blue-D2: #1546c1 !default; // Darkest blue color
|
|
807
|
+
$lumx-color-blue-D1: #184ed8 !default; // Dark blue color
|
|
808
|
+
$lumx-color-blue-N: #245be7 !default; // Neutral blue color
|
|
809
|
+
$lumx-color-blue-L1: rgba(36, 91, 231, 0.8) !default; // Base blue color with 80% opacity
|
|
810
|
+
$lumx-color-blue-L2: rgba(36, 91, 231, 0.6) !default; // Base blue color with 60% opacity
|
|
811
|
+
$lumx-color-blue-L3: rgba(36, 91, 231, 0.4) !default; // Base blue color with 40% opacity
|
|
812
|
+
$lumx-color-blue-L4: rgba(36, 91, 231, 0.2) !default; // Base blue color with 20% opacity
|
|
813
|
+
$lumx-color-blue-L5: rgba(36, 91, 231, 0.1) !default; // Base blue color with 10% opacity
|
|
814
|
+
$lumx-color-blue-L6: rgba(36, 91, 231, 0.05) !default; // Base blue color with 5% opacity
|
|
815
|
+
$lumx-color-green-D2: #1a6e59 !default; // Darkest green color
|
|
816
|
+
$lumx-color-green-D1: #177a61 !default; // Dark green color
|
|
817
|
+
$lumx-color-green-N: #138669 !default; // Neutral green color
|
|
818
|
+
$lumx-color-green-L1: rgba(19, 134, 105, 0.8) !default; // Base green color with 80% opacity
|
|
819
|
+
$lumx-color-green-L2: rgba(19, 134, 105, 0.6) !default; // Base green color with 60% opacity
|
|
820
|
+
$lumx-color-green-L3: rgba(19, 134, 105, 0.4) !default; // Base green color with 40% opacity
|
|
821
|
+
$lumx-color-green-L4: rgba(19, 134, 105, 0.2) !default; // Base green color with 20% opacity
|
|
822
|
+
$lumx-color-green-L5: rgba(19, 134, 105, 0.1) !default; // Base green color with 10% opacity
|
|
823
|
+
$lumx-color-green-L6: rgba(19, 134, 105, 0.05) !default; // Base green color with 5% opacity
|
|
824
|
+
$lumx-color-yellow-D2: #ffa125 !default; // Darkest yellow color
|
|
825
|
+
$lumx-color-yellow-D1: #ffb325 !default; // Dark yellow color
|
|
826
|
+
$lumx-color-yellow-N: #ffc425 !default; // Neutral yellow color
|
|
827
|
+
$lumx-color-yellow-L1: rgba(255, 196, 37, 0.9) !default; // Base yellow color with 80% opacity
|
|
828
|
+
$lumx-color-yellow-L2: rgba(255, 196, 37, 0.8) !default; // Base yellow color with 70% opacity
|
|
829
|
+
$lumx-color-yellow-L3: rgba(255, 196, 37, 0.6) !default; // Base yellow color with 60% opacity
|
|
830
|
+
$lumx-color-yellow-L4: rgba(255, 196, 37, 0.48) !default; // Base yellow color with 40% opacity
|
|
831
|
+
$lumx-color-yellow-L5: rgba(255, 196, 37, 0.24) !default; // Base yellow color with 20% opacity
|
|
832
|
+
$lumx-color-yellow-L6: rgba(255, 196, 37, 0.12) !default; // Base yellow color with 10% opacity
|
|
833
|
+
$lumx-color-red-D2: #be1e46 !default; // Darkest red color
|
|
834
|
+
$lumx-color-red-D1: #d42148 !default; // Dark red color
|
|
835
|
+
$lumx-color-red-N: #df3050 !default; // Neutral red color
|
|
836
|
+
$lumx-color-red-L1: rgba(223, 48, 80, 0.8) !default; // Base red color with 80% opacity
|
|
837
|
+
$lumx-color-red-L2: rgba(223, 48, 80, 0.6) !default; // Base red color with 60% opacity
|
|
838
|
+
$lumx-color-red-L3: rgba(223, 48, 80, 0.4) !default; // Base red color with 40% opacity
|
|
839
|
+
$lumx-color-red-L4: rgba(223, 48, 80, 0.2) !default; // Base red color with 20% opacity
|
|
840
|
+
$lumx-color-red-L5: rgba(223, 48, 80, 0.1) !default; // Base red color with 10% opacity
|
|
841
|
+
$lumx-color-red-L6: rgba(223, 48, 80, 0.05) !default; // Base red color with 5% opacity
|
|
842
842
|
$lumx-color-grey-N: #757575 !default; // Neutral grey color
|
|
843
843
|
$lumx-color-grey-L1: rgba(117, 117, 117, 0.8) !default; // Base grey color with 80% opacity
|
|
844
844
|
$lumx-color-grey-L2: rgba(117, 117, 117, 0.6) !default; // Base grey color with 60% opacity
|
|
@@ -846,33 +846,33 @@ $lumx-color-grey-L3: rgba(117, 117, 117, 0.4) !default; // Base grey color with
|
|
|
846
846
|
$lumx-color-grey-L4: rgba(117, 117, 117, 0.2) !default; // Base grey color with 20% opacity
|
|
847
847
|
$lumx-color-grey-L5: rgba(117, 117, 117, 0.1) !default; // Base grey color with 10% opacity
|
|
848
848
|
$lumx-color-grey-L6: rgba(117, 117, 117, 0.05) !default; // Base grey color with 5% opacity
|
|
849
|
-
$lumx-color-primary-D2: #1976d2 !default; // Darkest
|
|
850
|
-
$lumx-color-primary-D1: #1e88e5 !default; // Dark
|
|
851
|
-
$lumx-color-primary-N: #2196f3 !default; // Neutral
|
|
852
|
-
$lumx-color-primary-L1: rgba(33, 150, 243, 0.8) !default; // Base
|
|
853
|
-
$lumx-color-primary-L2: rgba(33, 150, 243, 0.6) !default; // Base
|
|
854
|
-
$lumx-color-primary-L3: rgba(33, 150, 243, 0.4) !default; // Base
|
|
855
|
-
$lumx-color-primary-L4: rgba(33, 150, 243, 0.2) !default; // Base
|
|
856
|
-
$lumx-color-primary-L5: rgba(33, 150, 243, 0.1) !default; // Base
|
|
849
|
+
$lumx-color-primary-D2: #1976d2 !default; // Darkest primary color
|
|
850
|
+
$lumx-color-primary-D1: #1e88e5 !default; // Dark primary color
|
|
851
|
+
$lumx-color-primary-N: #2196f3 !default; // Neutral primary color
|
|
852
|
+
$lumx-color-primary-L1: rgba(33, 150, 243, 0.8) !default; // Base primary color with 80% opacity
|
|
853
|
+
$lumx-color-primary-L2: rgba(33, 150, 243, 0.6) !default; // Base primary color with 60% opacity
|
|
854
|
+
$lumx-color-primary-L3: rgba(33, 150, 243, 0.4) !default; // Base primary color with 40% opacity
|
|
855
|
+
$lumx-color-primary-L4: rgba(33, 150, 243, 0.2) !default; // Base primary color with 20% opacity
|
|
856
|
+
$lumx-color-primary-L5: rgba(33, 150, 243, 0.1) !default; // Base primary color with 10% opacity
|
|
857
857
|
$lumx-color-primary-L6: rgba(33, 150, 243, 0.05) !default; // Base blue color with 5% opacity
|
|
858
|
-
$lumx-color-secondary-D2: #388e3c !default; // Darkest
|
|
859
|
-
$lumx-color-secondary-D1: #43a047 !default; // Dark
|
|
860
|
-
$lumx-color-secondary-N: #4caf50 !default; // Neutral
|
|
861
|
-
$lumx-color-secondary-L1: rgba(76, 175, 80, 0.8) !default; // Base
|
|
862
|
-
$lumx-color-secondary-L2: rgba(76, 175, 80, 0.6) !default; // Base
|
|
863
|
-
$lumx-color-secondary-L3: rgba(76, 175, 80, 0.4) !default; // Base
|
|
864
|
-
$lumx-color-secondary-L4: rgba(76, 175, 80, 0.2) !default; // Base
|
|
865
|
-
$lumx-color-secondary-L5: rgba(76, 175, 80, 0.1) !default; // Base
|
|
866
|
-
$lumx-color-secondary-L6: rgba(76, 175, 80, 0.05) !default; // Base
|
|
867
|
-
$lumx-color-accent-D2: #388e3c !default; // Darkest
|
|
868
|
-
$lumx-color-accent-D1: #43a047 !default; // Dark
|
|
869
|
-
$lumx-color-accent-N: #4caf50 !default; // Neutral
|
|
870
|
-
$lumx-color-accent-L1: rgba(76, 175, 80, 0.8) !default; // Base
|
|
871
|
-
$lumx-color-accent-L2: rgba(76, 175, 80, 0.6) !default; // Base
|
|
872
|
-
$lumx-color-accent-L3: rgba(76, 175, 80, 0.4) !default; // Base
|
|
873
|
-
$lumx-color-accent-L4: rgba(76, 175, 80, 0.2) !default; // Base
|
|
874
|
-
$lumx-color-accent-L5: rgba(76, 175, 80, 0.1) !default; // Base
|
|
875
|
-
$lumx-color-accent-L6: rgba(76, 175, 80, 0.05) !default; // Base
|
|
858
|
+
$lumx-color-secondary-D2: #388e3c !default; // Darkest secondary color
|
|
859
|
+
$lumx-color-secondary-D1: #43a047 !default; // Dark secondary color
|
|
860
|
+
$lumx-color-secondary-N: #4caf50 !default; // Neutral secondary color
|
|
861
|
+
$lumx-color-secondary-L1: rgba(76, 175, 80, 0.8) !default; // Base secondary color with 80% opacity
|
|
862
|
+
$lumx-color-secondary-L2: rgba(76, 175, 80, 0.6) !default; // Base secondary color with 60% opacity
|
|
863
|
+
$lumx-color-secondary-L3: rgba(76, 175, 80, 0.4) !default; // Base secondary color with 40% opacity
|
|
864
|
+
$lumx-color-secondary-L4: rgba(76, 175, 80, 0.2) !default; // Base secondary color with 20% opacity
|
|
865
|
+
$lumx-color-secondary-L5: rgba(76, 175, 80, 0.1) !default; // Base secondary color with 10% opacity
|
|
866
|
+
$lumx-color-secondary-L6: rgba(76, 175, 80, 0.05) !default; // Base secondary color with 5% opacity
|
|
867
|
+
$lumx-color-accent-D2: #388e3c !default; // Darkest secondary color
|
|
868
|
+
$lumx-color-accent-D1: #43a047 !default; // Dark secondary color
|
|
869
|
+
$lumx-color-accent-N: #4caf50 !default; // Neutral secondary color
|
|
870
|
+
$lumx-color-accent-L1: rgba(76, 175, 80, 0.8) !default; // Base secondary color with 80% opacity
|
|
871
|
+
$lumx-color-accent-L2: rgba(76, 175, 80, 0.6) !default; // Base secondary color with 60% opacity
|
|
872
|
+
$lumx-color-accent-L3: rgba(76, 175, 80, 0.4) !default; // Base secondary color with 40% opacity
|
|
873
|
+
$lumx-color-accent-L4: rgba(76, 175, 80, 0.2) !default; // Base secondary color with 20% opacity
|
|
874
|
+
$lumx-color-accent-L5: rgba(76, 175, 80, 0.1) !default; // Base secondary color with 10% opacity
|
|
875
|
+
$lumx-color-accent-L6: rgba(76, 175, 80, 0.05) !default; // Base secondary color with 5% opacity
|
|
876
876
|
$lumx-color-black-N: rgba(0, 0, 0, 0.87) !default; // Neutral dark color
|
|
877
877
|
$lumx-color-black-L1: rgba(0, 0, 0, 0.7) !default; // Base dark color with 70% opacity
|
|
878
878
|
$lumx-color-black-L2: rgba(0, 0, 0, 0.54) !default; // Base dark color with 54% opacity
|
|
@@ -887,15 +887,15 @@ $lumx-color-white-L3: rgba(255, 255, 255, 0.6) !default; // Base light color wit
|
|
|
887
887
|
$lumx-color-white-L4: rgba(255, 255, 255, 0.4) !default; // Base light color with 40% opacity
|
|
888
888
|
$lumx-color-white-L5: rgba(255, 255, 255, 0.2) !default; // Base light color with 20% opacity
|
|
889
889
|
$lumx-color-white-L6: rgba(255, 255, 255, 0.1) !default; // Base light color with 10% opacity
|
|
890
|
-
$lumx-color-orange-D2: #
|
|
891
|
-
$lumx-color-orange-D1: #
|
|
892
|
-
$lumx-color-orange-N: #
|
|
893
|
-
$lumx-color-orange-L1: rgba(255,
|
|
894
|
-
$lumx-color-orange-L2: rgba(255,
|
|
895
|
-
$lumx-color-orange-L3: rgba(255,
|
|
896
|
-
$lumx-color-orange-L4: rgba(255,
|
|
897
|
-
$lumx-color-orange-L5: rgba(255,
|
|
898
|
-
$lumx-color-orange-L6: rgba(255,
|
|
890
|
+
$lumx-color-orange-D2: #ffa125 !default; // Darkest yellow color
|
|
891
|
+
$lumx-color-orange-D1: #ffb325 !default; // Dark yellow color
|
|
892
|
+
$lumx-color-orange-N: #ffc425 !default; // Neutral yellow color
|
|
893
|
+
$lumx-color-orange-L1: rgba(255, 196, 37, 0.9) !default; // Base yellow color with 80% opacity
|
|
894
|
+
$lumx-color-orange-L2: rgba(255, 196, 37, 0.8) !default; // Base yellow color with 70% opacity
|
|
895
|
+
$lumx-color-orange-L3: rgba(255, 196, 37, 0.6) !default; // Base yellow color with 60% opacity
|
|
896
|
+
$lumx-color-orange-L4: rgba(255, 196, 37, 0.48) !default; // Base yellow color with 40% opacity
|
|
897
|
+
$lumx-color-orange-L5: rgba(255, 196, 37, 0.24) !default; // Base yellow color with 20% opacity
|
|
898
|
+
$lumx-color-orange-L6: rgba(255, 196, 37, 0.12) !default; // Base yellow color with 10% opacity
|
|
899
899
|
$lumx-size-xxs: 14px !default;
|
|
900
900
|
$lumx-size-xs: 20px !default;
|
|
901
901
|
$lumx-size-s: 24px !default;
|
|
@@ -35,7 +35,11 @@
|
|
|
35
35
|
@if $key == 'light' {
|
|
36
36
|
@include lumx-elevation(2);
|
|
37
37
|
} @else {
|
|
38
|
-
|
|
38
|
+
@if $key == 'yellow' {
|
|
39
|
+
color: lumx-color-variant('dark', 'L1');
|
|
40
|
+
} @else {
|
|
41
|
+
color: lumx-color-variant('light', 'N');
|
|
42
|
+
}
|
|
39
43
|
}
|
|
40
44
|
}
|
|
41
45
|
}
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
|
|
29
29
|
.#{$lumx-base-prefix}-flag__label,
|
|
30
30
|
.#{$lumx-base-prefix}-flag__icon {
|
|
31
|
-
@if $key == 'dark' {
|
|
32
|
-
color: lumx-color-variant(
|
|
31
|
+
@if $key == 'dark' or $key == 'yellow' {
|
|
32
|
+
color: lumx-color-variant('dark', 'L1');
|
|
33
33
|
} @else {
|
|
34
|
-
color: lumx-color-variant($key, '
|
|
34
|
+
color: lumx-color-variant($key, 'N');
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -33,6 +33,28 @@
|
|
|
33
33
|
display: none;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
+
|
|
37
|
+
&--has-dark-layer {
|
|
38
|
+
position: relative;
|
|
39
|
+
|
|
40
|
+
&::after {
|
|
41
|
+
position: absolute;
|
|
42
|
+
z-index: 0;
|
|
43
|
+
top: $lumx-spacing-unit / 2;
|
|
44
|
+
right: $lumx-spacing-unit / 2;
|
|
45
|
+
bottom: $lumx-spacing-unit / 2;
|
|
46
|
+
left: $lumx-spacing-unit / 2;
|
|
47
|
+
background-color: lumx-color-variant('dark', 'L1');
|
|
48
|
+
border-radius: 50%;
|
|
49
|
+
content: '';
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&::before,
|
|
53
|
+
svg {
|
|
54
|
+
position: relative;
|
|
55
|
+
z-index: 1;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
36
58
|
}
|
|
37
59
|
|
|
38
60
|
/* Icon sizes
|
|
@@ -13,8 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
@mixin lumx-icon-color($color, $has-shape: false) {
|
|
15
15
|
@if $has-shape == true {
|
|
16
|
-
background-color: lumx-color-variant($color, '
|
|
17
|
-
|
|
16
|
+
background-color: lumx-color-variant($color, 'L6');
|
|
17
|
+
|
|
18
|
+
@if $color == 'yellow' {
|
|
19
|
+
color: lumx-color-variant('dark', 'L1');
|
|
20
|
+
} @else {
|
|
21
|
+
color: lumx-color-variant($color, 'N');
|
|
22
|
+
}
|
|
18
23
|
} @else if $has-shape == false {
|
|
19
24
|
@if $color == 'dark' {
|
|
20
25
|
color: lumx-color-variant('dark', 'L1');
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
@include lumx-typography('body1');
|
|
21
21
|
|
|
22
22
|
flex: 1 1 auto;
|
|
23
|
+
color: lumx-color-variant('dark', 'N');
|
|
23
24
|
}
|
|
24
25
|
}
|
|
25
26
|
|
|
@@ -31,10 +32,5 @@
|
|
|
31
32
|
&.#{$lumx-base-prefix}-message--has-background {
|
|
32
33
|
background-color: lumx-color-variant($color, 'L6');
|
|
33
34
|
}
|
|
34
|
-
|
|
35
|
-
.#{$lumx-base-prefix}-message__icon,
|
|
36
|
-
.#{$lumx-base-prefix}-message__text {
|
|
37
|
-
color: lumx-color-variant($color, 'D2');
|
|
38
|
-
}
|
|
39
35
|
}
|
|
40
36
|
}
|
|
@@ -29,7 +29,6 @@
|
|
|
29
29
|
height: $lumx-notification-height;
|
|
30
30
|
align-items: center;
|
|
31
31
|
justify-content: center;
|
|
32
|
-
color: lumx-color-variant('light', 'L3');
|
|
33
32
|
}
|
|
34
33
|
|
|
35
34
|
&__content {
|
|
@@ -62,5 +61,11 @@
|
|
|
62
61
|
@each $color in $lumx-notification-color-palette {
|
|
63
62
|
.#{$lumx-base-prefix}-notification--color-#{$color} .#{$lumx-base-prefix}-notification__icon {
|
|
64
63
|
background-color: lumx-color-variant($color, 'N');
|
|
64
|
+
|
|
65
|
+
@if $color == 'yellow' {
|
|
66
|
+
color: lumx-color-variant('dark', 'L1');
|
|
67
|
+
} @else {
|
|
68
|
+
color: lumx-color-variant('light', 'N');
|
|
69
|
+
}
|
|
65
70
|
}
|
|
66
71
|
}
|
|
@@ -2,7 +2,12 @@
|
|
|
2
2
|
@if $state == lumx-base-const('state', 'DEFAULT') {
|
|
3
3
|
@if $theme == lumx-base-const('theme', 'LIGHT') {
|
|
4
4
|
background-color: lumx-color-variant($color, 'N');
|
|
5
|
-
|
|
5
|
+
|
|
6
|
+
@if $color == 'yellow' {
|
|
7
|
+
color: lumx-color-variant('dark', 'L1');
|
|
8
|
+
} @else {
|
|
9
|
+
color: lumx-color-variant('light', 'N');
|
|
10
|
+
}
|
|
6
11
|
} @else if $theme == lumx-base-const('theme', 'DARK') {
|
|
7
12
|
background-color: lumx-color-variant('light', 'N');
|
|
8
13
|
color: lumx-color-variant($color, 'N');
|
|
@@ -31,7 +36,12 @@
|
|
|
31
36
|
@mixin lumx-state-medium($state, $color, $has-focus-inset: false) {
|
|
32
37
|
@if $state == lumx-base-const('state', 'DEFAULT') {
|
|
33
38
|
background-color: lumx-color-variant($color, 'L5');
|
|
34
|
-
|
|
39
|
+
|
|
40
|
+
@if $color == 'yellow' {
|
|
41
|
+
color: lumx-color-variant('dark', 'L1');
|
|
42
|
+
} @else {
|
|
43
|
+
color: lumx-color-variant($color, 'N');
|
|
44
|
+
}
|
|
35
45
|
|
|
36
46
|
@if $color == 'dark' {
|
|
37
47
|
.#{$lumx-base-prefix}-icon {
|