matcha-theme 19.63.0 → 19.65.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.
@@ -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
 
@@ -122,20 +122,20 @@
122
122
  );
123
123
 
124
124
  @each $colorName, $colorFn in $color-functions {
125
- &[color='"" + $colorName'][alpha]:not([alpha="false"]) {
125
+ &[color="#{$colorName}"][alpha]:not([alpha="false"]) {
126
126
  background: call(#{$colorFn}Alpha, $theme);
127
- color: call(#{$colorFn}Contrast, $theme);
127
+ color: getForeground($theme);
128
128
  }
129
- &[color='"" + $colorName'][tint]:not([tint="false"]) {
129
+ &[color="#{$colorName}"][tint]:not([tint="false"]) {
130
130
  background: call(#{$colorFn}Alpha, $theme);
131
- color: call(#{$colorFn}Contrast, $theme);
131
+ color: call(#{$colorFn}, $theme);
132
132
  }
133
- &[color='"" + $colorName'][outline]:not([outline="false"]),
134
- &[color='"" + $colorName'][link]:not([link="false"]),
135
- &[color='"" + $colorName'][basic]:not([basic="false"]) {
136
- color: call(#{$colorFn}Contrast, $theme)!important
133
+ &[color="#{$colorName}"][outline]:not([outline="false"]),
134
+ &[color="#{$colorName}"][link]:not([link="false"]),
135
+ &[color="#{$colorName}"][basic]:not([basic="false"]) {
136
+ color: call(#{$colorFn}, $theme);
137
137
  }
138
- &[color='"" + $colorName'] {
138
+ &[color="#{$colorName}"] {
139
139
  background: call(#{$colorFn}, $theme);
140
140
  color: call(#{$colorFn}Contrast, $theme);
141
141
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-theme",
3
- "version": "19.63.0",
3
+ "version": "19.65.0",
4
4
  "description": "Themes for matcha-design-system",
5
5
  "main": "main.scss",
6
6
  "scripts": {