matcha-theme 19.64.0 → 19.66.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.
@@ -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
  }
@@ -0,0 +1,9 @@
1
+ @use 'sass:map';
2
+
3
+ @mixin matcha-tip-text($theme) {
4
+ matcha-tip-text{
5
+ display: flex;
6
+ height: px-to-rem(80px);
7
+ width: px-to-rem(500px);
8
+ }
9
+ }
package/main.scss CHANGED
@@ -43,6 +43,7 @@
43
43
  @import "./components/matcha-hint-text.scss"; // matcha-hint-theme($theme)
44
44
  @import "./components/matcha-tabs.scss"; // matcha-tabs($theme)
45
45
  @import "./components/matcha-modal.scss"; // matcha-modal($theme)
46
+ @import "./components/matcha-tip-text.scss"; // matcha-tip-text($theme)
46
47
  // VENDORS
47
48
  @import "./vendors/angular-editor.scss";
48
49
  @import "./vendors/angular-material-fixes.scss";
@@ -145,4 +146,6 @@
145
146
  @include matcha-hint-text($theme);
146
147
  @include matcha-tabs($theme);
147
148
  @include matcha-modal-theme($theme);
149
+
150
+ @include matcha-tip-text($theme);
148
151
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-theme",
3
- "version": "19.64.0",
3
+ "version": "19.66.0",
4
4
  "description": "Themes for matcha-design-system",
5
5
  "main": "main.scss",
6
6
  "scripts": {