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:
|
|
347
|
+
background: getForegroundAlpha($theme);
|
|
348
348
|
border-color: getForeground($theme);
|
|
349
349
|
color: getForeground($theme);
|
|
350
350
|
}
|
|
351
351
|
&[disabled] {
|
|
352
|
-
background:
|
|
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=
|
|
125
|
+
&[color="#{$colorName}"][alpha]:not([alpha="false"]) {
|
|
126
126
|
background: call(#{$colorFn}Alpha, $theme);
|
|
127
|
-
color:
|
|
127
|
+
color: getForeground($theme);
|
|
128
128
|
}
|
|
129
|
-
&[color=
|
|
129
|
+
&[color="#{$colorName}"][tint]:not([tint="false"]) {
|
|
130
130
|
background: call(#{$colorFn}Alpha, $theme);
|
|
131
|
-
color: call(#{$colorFn}
|
|
131
|
+
color: call(#{$colorFn}, $theme);
|
|
132
132
|
}
|
|
133
|
-
&[color=
|
|
134
|
-
&[color=
|
|
135
|
-
&[color=
|
|
136
|
-
color: call(#{$colorFn}
|
|
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=
|
|
138
|
+
&[color="#{$colorName}"] {
|
|
139
139
|
background: call(#{$colorFn}, $theme);
|
|
140
140
|
color: call(#{$colorFn}Contrast, $theme);
|
|
141
141
|
}
|