matcha-theme 20.186.0 → 20.188.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 +50 -0
- package/components/matcha-page-builder.scss +4057 -43
- package/main.scss +3 -2
- package/package.json +1 -1
|
@@ -202,6 +202,50 @@ 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
|
+
&[size="tiny"]::after {
|
|
221
|
+
width: 0.75rem;
|
|
222
|
+
height: 0.75rem;
|
|
223
|
+
top: -0.15rem;
|
|
224
|
+
right: -0.15rem;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
&[size="small"]::after {
|
|
228
|
+
width: 1rem;
|
|
229
|
+
height: 1rem;
|
|
230
|
+
top: -0.2rem;
|
|
231
|
+
right: -0.2rem;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
&[size="large"]::after {
|
|
235
|
+
width: 1.5rem;
|
|
236
|
+
height: 1.5rem;
|
|
237
|
+
top: -0.3rem;
|
|
238
|
+
right: -0.3rem;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
&[size="huge"]::after {
|
|
242
|
+
width: 1.65rem;
|
|
243
|
+
height: 1.65rem;
|
|
244
|
+
top: -0.34rem;
|
|
245
|
+
right: -0.34rem;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
205
249
|
.ripple {
|
|
206
250
|
position: absolute;
|
|
207
251
|
border-radius: 999px;
|
|
@@ -263,6 +307,12 @@ a[matcha-button] {
|
|
|
263
307
|
background: getForegroundAlpha($theme)
|
|
264
308
|
}
|
|
265
309
|
|
|
310
|
+
&[badge]:not([badge="false"]) {
|
|
311
|
+
&::after {
|
|
312
|
+
background: getAccent($theme);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
266
316
|
@each $colorName, $colorFn in $color-functions {
|
|
267
317
|
|
|
268
318
|
// Background do ripple para outline e basic
|