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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-theming",
3
- "version": "14.1.0",
3
+ "version": "14.1.1",
4
4
  "description": "A set of Sass variables, mixins, and functions for generating palettes, typography, and elevations used by Ignite UI components.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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
  }
@@ -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 map.remove($shades, 'raw') {
47
- @include _shade($color, $shade, $value, $contrast);
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
  }