matcha-theme 19.62.0 → 19.64.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.
@@ -196,8 +196,8 @@
196
196
  // #D4DDE3 50%
197
197
  @function getDisabledAlpha($theme) {
198
198
  $background: map.get($theme, background);
199
- $disabled-color: map.get($background, disabled);
200
- @return color.change($disabled-color, $alpha: 0.5);
199
+ $disabled-color: map.get($background, disabled-alpha);
200
+ @return $disabled-color;
201
201
  }
202
202
  // rgba(0, 0, 0, 0.13)
203
203
  @function getDisabledContrastAlpha($theme){
@@ -344,12 +344,12 @@ a[matcha-button] {
344
344
 
345
345
  &[alpha]:not([alpha="false"]){
346
346
  &:not([color]){
347
- background: rgba(getForeground($theme), 0.2);
347
+ background: getForegroundAlpha($theme);
348
348
  border-color: getForeground($theme);
349
349
  color: getForeground($theme);
350
350
  }
351
351
  &[disabled] {
352
- background: rgba(getDisabled($theme), 0.2);
352
+ background: getDisabledAlpha($theme);
353
353
  }
354
354
  }
355
355
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-theme",
3
- "version": "19.62.0",
3
+ "version": "19.64.0",
4
4
  "description": "Themes for matcha-design-system",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -1080,7 +1080,7 @@ $light-theme-background-palette: (
1080
1080
  card-alpha-inverse: rgba($color-base-dark-grey-500, 0.5),
1081
1081
 
1082
1082
  disabled: $color-base-blue-grey-100,
1083
-
1083
+ disabled-alpha: rgba($color-base-blue-grey-100, 0.5),
1084
1084
  // Precisa Remover
1085
1085
  sidebar: $color-base-blue-grey-50,
1086
1086
  sidebar-hover: $color-base-blue-grey-100,
@@ -1100,7 +1100,7 @@ $dark-theme-background-palette: (
1100
1100
  card-alpha-inverse: rgba($color-base-blue-grey-50, 0.5),
1101
1101
 
1102
1102
  disabled: $color-base-dark-grey-700,
1103
-
1103
+ disabled-alpha: rgba($color-base-dark-grey-700, 0.5),
1104
1104
  // Precisa Remover
1105
1105
  sidebar: $color-base-dark-grey-700,
1106
1106
  sidebar-hover: $color-base-blue-grey-800,