matcha-theme 20.186.0 → 20.187.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.
- package/components/matcha-buttons.scss +22 -0
- package/components/matcha-page-builder.scss +4057 -43
- package/main.scss +3 -2
- package/package.json +1 -1
|
@@ -202,6 +202,22 @@ a[matcha-button] {
|
|
|
202
202
|
justify-content: center;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
+
&[badge]:not([badge="false"]) {
|
|
206
|
+
overflow: visible;
|
|
207
|
+
position: relative;
|
|
208
|
+
|
|
209
|
+
&::after {
|
|
210
|
+
content: "";
|
|
211
|
+
position: absolute;
|
|
212
|
+
top: -0.25rem;
|
|
213
|
+
right: -0.25rem;
|
|
214
|
+
width: 1.32rem;
|
|
215
|
+
height: 1.32rem;
|
|
216
|
+
border-radius: 999px;
|
|
217
|
+
z-index: 2;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
205
221
|
.ripple {
|
|
206
222
|
position: absolute;
|
|
207
223
|
border-radius: 999px;
|
|
@@ -263,6 +279,12 @@ a[matcha-button] {
|
|
|
263
279
|
background: getForegroundAlpha($theme)
|
|
264
280
|
}
|
|
265
281
|
|
|
282
|
+
&[badge]:not([badge="false"]) {
|
|
283
|
+
&::after {
|
|
284
|
+
background: getAccent($theme);
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
|
|
266
288
|
@each $colorName, $colorFn in $color-functions {
|
|
267
289
|
|
|
268
290
|
// Background do ripple para outline e basic
|