igniteui-theming 14.1.0 → 14.1.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/package.json
CHANGED
|
@@ -109,7 +109,7 @@ $_enhanced-accessibility: false;
|
|
|
109
109
|
$background: map.get($shade, 'raw'),
|
|
110
110
|
$contrast: 'AA',
|
|
111
111
|
),
|
|
112
|
-
raw: map.get($shade, 'raw'),
|
|
112
|
+
#{$variant}-raw: map.get($shade, 'raw'),
|
|
113
113
|
)
|
|
114
114
|
);
|
|
115
115
|
}
|
|
@@ -195,7 +195,7 @@ $_enhanced-accessibility: false;
|
|
|
195
195
|
@if $palette and not($contrast) {
|
|
196
196
|
$s: map.get($palette, $color);
|
|
197
197
|
$base: map.get($s, $variant);
|
|
198
|
-
$raw: map.get($s, raw);
|
|
198
|
+
$raw: map.get($s, #{$variant}-raw);
|
|
199
199
|
|
|
200
200
|
@return if($raw and $variant != 500, rgba($raw, $_alpha), rgba($base, $_alpha));
|
|
201
201
|
}
|
package/sass/color/_mixins.scss
CHANGED
|
@@ -43,8 +43,10 @@ $_added: () !default;
|
|
|
43
43
|
|
|
44
44
|
#{$scope} {
|
|
45
45
|
@each $color, $shades in map.remove($palette, '_meta') {
|
|
46
|
-
@each $shade, $value in
|
|
47
|
-
@
|
|
46
|
+
@each $shade, $value in $shades {
|
|
47
|
+
@if not(string.index(to-string($shade), raw)) {
|
|
48
|
+
@include _shade($color, $shade, $value, $contrast);
|
|
49
|
+
}
|
|
48
50
|
}
|
|
49
51
|
}
|
|
50
52
|
}
|