matcha-theme 18.1.46 → 18.1.48

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.
@@ -249,285 +249,356 @@ $index: 0;
249
249
 
250
250
  $get-shade: if($is-dark, 100, 500); // Define $red-shade com base no valor de $is-dark
251
251
 
252
- .red.matcha-button-outline .ripple, .background-red-alpha {background: rgba(map-get($red, $get-shade), 0.2)}
252
+ .red[outline]:not([outline="false"]) .ripple, .background-red-alpha {background: rgba(map-get($red, $get-shade), 0.2)}
253
253
  .red .ripple{background: rgba(map-get($red-contrast, $get-shade), 0.2)}
254
254
  .background-red{background: map-get($red, $get-shade)}
255
255
  .border-color-red{border-color: map-get($red, $get-shade)}
256
- .red.matcha-button-outline, .color-red{color: map-get($red, $get-shade)}
256
+ .red[outline]:not([outline="false"]),
257
+ [color="red"][outline]:not([outline="false"]),
258
+ [color="red"][link]:not([link="false"]),
259
+ .color-red{color: map-get($red, $get-shade)!important}
257
260
  .fill-red{fill: map-get($red, $get-shade)}
258
261
  .stroke-red{stroke: map-get($red, $get-shade)}
259
- .color-red-alpha{color: rgba(map-get($red, $get-shade),0.2)}
262
+ .color-red-alpha{color: rgba(map-get($red, $get-shade),0.2)!important}
260
263
  .red{
261
264
  background: map-get($red, $get-shade);
262
265
  color: map-get($red-contrast, $get-shade);
263
266
  }
264
- .pink.matcha-button-outline .ripple, .background-pink-alpha {background: rgba(map-get($pink, $get-shade), 0.2)}
267
+ .pink[outline]:not([outline="false"]) .ripple, .background-pink-alpha {background: rgba(map-get($pink, $get-shade), 0.2)}
265
268
  .pink .ripple{background: rgba(map-get($pink-contrast, $get-shade), 0.2)}
266
269
  .background-pink{background: map-get($pink, $get-shade)}
267
270
  .border-color-pink{border-color: map-get($pink, $get-shade)}
268
- .pink.matcha-button-outline, .color-pink{color: map-get($pink, $get-shade)}
271
+ .pink[outline]:not([outline="false"]),
272
+ [color="pink"][outline]:not([outline="false"]),
273
+ [color="pink"][link]:not([link="false"]),
274
+ .color-pink{color: map-get($pink, $get-shade)!important}
269
275
  .fill-pink{fill: map-get($pink, $get-shade)}
270
276
  .stroke-pink{stroke: map-get($pink, $get-shade)}
271
- .color-pink-alpha{color: rgba(map-get($pink, $get-shade),0.2)}
277
+ .color-pink-alpha{color: rgba(map-get($pink, $get-shade),0.2)!important}
272
278
  .pink{
273
279
  background: map-get($pink, $get-shade);
274
280
  color: map-get($pink-contrast, $get-shade);
275
281
  }
276
- .purple.matcha-button-outline .ripple, .background-purple-alpha {background: rgba(map-get($purple, $get-shade), 0.2)}
282
+ .purple[outline]:not([outline="false"]) .ripple, .background-purple-alpha {background: rgba(map-get($purple, $get-shade), 0.2)}
277
283
  .purple .ripple{background: rgba(map-get($purple-contrast, $get-shade), 0.2)}
278
284
  .background-purple{background: map-get($purple, $get-shade)}
279
285
  .border-color-purple{border-color: map-get($purple, $get-shade)}
280
- .purple.matcha-button-outline, .color-purple{color: map-get($purple, $get-shade)}
286
+ .purple[outline]:not([outline="false"]),
287
+ [color="purple"][outline]:not([outline="false"]),
288
+ [color="purple"][link]:not([link="false"]),
289
+ .color-purple{color: map-get($purple, $get-shade)!important}
281
290
  .fill-purple{fill: map-get($purple, $get-shade)}
282
291
  .stroke-purple{stroke: map-get($purple, $get-shade)}
283
- .color-purple-alpha{color: rgba(map-get($purple, $get-shade),0.2)}
292
+ .color-purple-alpha{color: rgba(map-get($purple, $get-shade),0.2)!important}
284
293
  .purple{
285
294
  background: map-get($purple, $get-shade);
286
295
  color: map-get($purple-contrast, $get-shade);
287
296
  }
288
- .deep-purple.matcha-button-outline .ripple, .background-deep-purple-alpha {background: rgba(map-get($deep-purple, $get-shade), 0.2)}
297
+ .deep-purple[outline]:not([outline="false"]) .ripple, .background-deep-purple-alpha {background: rgba(map-get($deep-purple, $get-shade), 0.2)}
289
298
  .deep-purple .ripple{background: rgba(map-get($deep-purple-contrast, $get-shade), 0.2)}
290
299
  .background-deep-purple{background: map-get($deep-purple, $get-shade)}
291
300
  .border-color-deep-purple{border-color: map-get($deep-purple, $get-shade)}
292
- .deep-purple.matcha-button-outline, .color-deep-purple{color: map-get($deep-purple, $get-shade)}
301
+ .deep-purple[outline]:not([outline="false"]),
302
+ [color="deep-purple"][outline]:not([outline="false"]),
303
+ [color="deep-purple"][link]:not([link="false"]),
304
+ .color-deep-purple{color: map-get($deep-purple, $get-shade)!important}
293
305
  .fill-deep-purple{fill: map-get($deep-purple, $get-shade)}
294
306
  .stroke-deep-purple{stroke: map-get($deep-purple, $get-shade)}
295
- .color-deep-purple-alpha{color: rgba(map-get($deep-purple, $get-shade),0.2)}
307
+ .color-deep-purple-alpha{color: rgba(map-get($deep-purple, $get-shade),0.2)!important}
296
308
  .deep-purple{
297
309
  background: map-get($deep-purple, $get-shade);
298
310
  color: map-get($deep-purple-contrast, $get-shade);
299
311
  }
300
- .indigo.matcha-button-outline .ripple, .background-indigo-alpha {background: rgba(map-get($indigo, $get-shade), 0.2)}
312
+ .indigo[outline]:not([outline="false"]) .ripple, .background-indigo-alpha {background: rgba(map-get($indigo, $get-shade), 0.2)}
301
313
  .indigo .ripple{background: rgba(map-get($indigo-contrast, $get-shade), 0.2)}
302
314
  .background-indigo{background: map-get($indigo, $get-shade)}
303
315
  .border-color-indigo{border-color: map-get($indigo, $get-shade)}
304
- .indigo.matcha-button-outline, .color-indigo{color: map-get($indigo, $get-shade)}
316
+ .indigo[outline]:not([outline="false"]),
317
+ [color="indigo"][outline]:not([outline="false"]),
318
+ [color="indigo"][link]:not([link="false"]),
319
+ .color-indigo{color: map-get($indigo, $get-shade)!important}
305
320
  .fill-indigo{fill: map-get($indigo, $get-shade)}
306
321
  .stroke-indigo{stroke: map-get($indigo, $get-shade)}
307
- .color-indigo-alpha{color: rgba(map-get($indigo, $get-shade),0.2)}
322
+ .color-indigo-alpha{color: rgba(map-get($indigo, $get-shade),0.2)!important}
308
323
  .indigo{
309
324
  background: map-get($indigo, $get-shade);
310
325
  color: map-get($indigo-contrast, $get-shade);
311
326
  }
312
- .blue.matcha-button-outline .ripple, .background-blue-alpha {background: rgba(map-get($blue, $get-shade), 0.2)}
327
+ .blue[outline]:not([outline="false"]) .ripple, .background-blue-alpha {background: rgba(map-get($blue, $get-shade), 0.2)}
313
328
  .blue .ripple{background: rgba(map-get($blue-contrast, $get-shade), 0.2)}
314
329
  .background-blue{background: map-get($blue, $get-shade)}
315
330
  .border-color-blue{border-color: map-get($blue, $get-shade)}
316
- .blue.matcha-button-outline, .color-blue{color: map-get($blue, $get-shade)}
331
+ .blue[outline]:not([outline="false"]),
332
+ [color="blue"][outline]:not([outline="false"]),
333
+ [color="blue"][link]:not([link="false"]),
334
+ .color-blue{color: map-get($blue, $get-shade)!important}
317
335
  .fill-blue{fill: map-get($blue, $get-shade)}
318
336
  .stroke-blue{stroke: map-get($blue, $get-shade)}
319
- .color-blue-alpha{color: rgba(map-get($blue, $get-shade),0.2)}
337
+ .color-blue-alpha{color: rgba(map-get($blue, $get-shade),0.2)!important}
320
338
  .blue{
321
339
  background: map-get($blue, $get-shade);
322
340
  color: map-get($blue-contrast, $get-shade);
323
341
  }
324
- .light-blue.matcha-button-outline .ripple, .background-light-blue-alpha {background: rgba(map-get($light-blue, $get-shade), 0.2)}
342
+ .light-blue[outline]:not([outline="false"]) .ripple, .background-light-blue-alpha {background: rgba(map-get($light-blue, $get-shade), 0.2)}
325
343
  .light-blue .ripple{background: rgba(map-get($light-blue-contrast, $get-shade), 0.2)}
326
344
  .background-light-blue{background: map-get($light-blue, $get-shade)}
327
345
  .border-color-light-blue{border-color: map-get($light-blue, $get-shade)}
328
- .light-blue.matcha-button-outline, .color-light-blue{color: map-get($light-blue, $get-shade)}
346
+ .light-blue[outline]:not([outline="false"]),
347
+ [color="light-blue"][outline]:not([outline="false"]),
348
+ [color="light-blue"][link]:not([link="false"]),
349
+ .color-light-blue{color: map-get($light-blue, $get-shade)!important}
329
350
  .fill-light-blue{fill: map-get($light-blue, $get-shade)}
330
351
  .stroke-light-blue{stroke: map-get($light-blue, $get-shade)}
331
- .color-light-blue-alpha{color: rgba(map-get($light-blue, $get-shade),0.2)}
352
+ .color-light-blue-alpha{color: rgba(map-get($light-blue, $get-shade),0.2)!important}
332
353
  .light-blue{
333
354
  background: map-get($light-blue, $get-shade);
334
355
  color: map-get($light-blue-contrast, $get-shade);
335
356
  }
336
- .cyan.matcha-button-outline .ripple, .background-cyan-alpha {background: rgba(map-get($cyan, $get-shade), 0.2)}
357
+ .cyan[outline]:not([outline="false"]) .ripple, .background-cyan-alpha {background: rgba(map-get($cyan, $get-shade), 0.2)}
337
358
  .cyan .ripple{background: rgba(map-get($cyan-contrast, $get-shade), 0.2)}
338
359
  .background-cyan{background: map-get($cyan, $get-shade)}
339
360
  .border-color-cyan{border-color: map-get($cyan, $get-shade)}
340
- .cyan.matcha-button-outline, .color-cyan{color: map-get($cyan, $get-shade)}
361
+ .cyan[outline]:not([outline="false"]),
362
+ [color="cyan"][outline]:not([outline="false"]),
363
+ [color="cyan"][link]:not([link="false"]),
364
+ .color-cyan{color: map-get($cyan, $get-shade)!important}
341
365
  .fill-cyan{fill: map-get($cyan, $get-shade)}
342
366
  .stroke-cyan{stroke: map-get($cyan, $get-shade)}
343
- .color-cyan-alpha{color: rgba(map-get($cyan, $get-shade),0.2)}
367
+ .color-cyan-alpha{color: rgba(map-get($cyan, $get-shade),0.2)!important}
344
368
  .cyan{
345
369
  background: map-get($cyan, $get-shade);
346
370
  color: map-get($cyan-contrast, $get-shade);
347
371
  }
348
- .teal.matcha-button-outline .ripple, .background-teal-alpha {background: rgba(map-get($teal, $get-shade), 0.2)}
372
+ .teal[outline]:not([outline="false"]) .ripple, .background-teal-alpha {background: rgba(map-get($teal, $get-shade), 0.2)}
349
373
  .teal .ripple{background: rgba(map-get($teal-contrast, $get-shade), 0.2)}
350
374
  .background-teal{background: map-get($teal, $get-shade)}
351
375
  .border-color-teal{border-color: map-get($teal, $get-shade)}
352
- .teal.matcha-button-outline, .color-teal{color: map-get($teal, $get-shade)}
376
+ .teal[outline]:not([outline="false"]),
377
+ [color="teal"][outline]:not([outline="false"]),
378
+ [color="teal"][link]:not([link="false"]),
379
+ .color-teal{color: map-get($teal, $get-shade)!important}
353
380
  .fill-teal{fill: map-get($teal, $get-shade)}
354
381
  .stroke-teal{stroke: map-get($teal, $get-shade)}
355
- .color-teal-alpha{color: rgba(map-get($teal, $get-shade),0.2)}
382
+ .color-teal-alpha{color: rgba(map-get($teal, $get-shade),0.2)!important}
356
383
  .teal{
357
384
  background: map-get($teal, $get-shade);
358
385
  color: map-get($teal-contrast, $get-shade);
359
386
  }
360
- .green.matcha-button-outline .ripple, .background-green-alpha {background: rgba(map-get($green, $get-shade), 0.2)}
387
+ .green[outline]:not([outline="false"]) .ripple, .background-green-alpha {background: rgba(map-get($green, $get-shade), 0.2)}
361
388
  .green .ripple{background: rgba(map-get($green-contrast, $get-shade), 0.2)}
362
389
  .background-green{background: map-get($green, $get-shade)}
363
390
  .border-color-green{border-color: map-get($green, $get-shade)}
364
- .green.matcha-button-outline, .color-green{color: map-get($green, $get-shade)}
391
+ .green[outline]:not([outline="false"]),
392
+ [color="green"][outline]:not([outline="false"]),
393
+ [color="green"][link]:not([link="false"]),
394
+ .color-green{color: map-get($green, $get-shade)!important}
365
395
  .fill-green{fill: map-get($green, $get-shade)}
366
396
  .stroke-green{stroke: map-get($green, $get-shade)}
367
- .color-green-alpha{color: rgba(map-get($green, $get-shade),0.2)}
397
+ .color-green-alpha{color: rgba(map-get($green, $get-shade),0.2)!important}
368
398
  .green{
369
399
  background: map-get($green, $get-shade);
370
400
  color: map-get($green-contrast, $get-shade);
371
401
  }
372
- .light-green.matcha-button-outline .ripple, .background-light-green-alpha {background: rgba(map-get($light-green, $get-shade), 0.2)}
402
+ .light-green[outline]:not([outline="false"]) .ripple, .background-light-green-alpha {background: rgba(map-get($light-green, $get-shade), 0.2)}
373
403
  .light-green .ripple{background: rgba(map-get($light-green-contrast, $get-shade), 0.2)}
374
404
  .background-light-green{background: map-get($light-green, $get-shade)}
375
405
  .border-color-light-green{border-color: map-get($light-green, $get-shade)}
376
- .light-green.matcha-button-outline, .color-light-green{color: map-get($light-green, $get-shade)}
406
+ .light-green[outline]:not([outline="false"]),
407
+ [color="light-green"][outline]:not([outline="false"]),
408
+ [color="light-green"][link]:not([link="false"]),
409
+ .color-light-green{color: map-get($light-green, $get-shade)!important}
377
410
  .fill-light-green{fill: map-get($light-green, $get-shade)}
378
411
  .stroke-light-green{stroke: map-get($light-green, $get-shade)}
379
- .color-light-green-alpha{color: rgba(map-get($light-green, $get-shade),0.2)}
412
+ .color-light-green-alpha{color: rgba(map-get($light-green, $get-shade),0.2)!important}
380
413
  .light-green{
381
414
  background: map-get($light-green, $get-shade);
382
415
  color: map-get($light-green-contrast, $get-shade);
383
416
  }
384
- .lime.matcha-button-outline .ripple, .background-lime-alpha {background: rgba(map-get($lime, $get-shade), 0.2)}
417
+ .lime[outline]:not([outline="false"]) .ripple, .background-lime-alpha {background: rgba(map-get($lime, $get-shade), 0.2)}
385
418
  .lime .ripple{background: rgba(map-get($lime-contrast, $get-shade), 0.2)}
386
419
  .background-lime{background: map-get($lime, $get-shade)}
387
420
  .border-color-lime{border-color: map-get($lime, $get-shade)}
388
- .lime.matcha-button-outline, .color-lime{color: map-get($lime, $get-shade)}
421
+ .lime[outline]:not([outline="false"]),
422
+ [color="lime"][outline]:not([outline="false"]),
423
+ [color="lime"][link]:not([link="false"]),
424
+ .color-lime{color: map-get($lime, $get-shade)!important}
389
425
  .fill-lime{fill: map-get($lime, $get-shade)}
390
426
  .stroke-lime{stroke: map-get($lime, $get-shade)}
391
- .color-lime-alpha{color: rgba(map-get($lime, $get-shade),0.2)}
427
+ .color-lime-alpha{color: rgba(map-get($lime, $get-shade),0.2)!important}
392
428
  .lime{
393
429
  background: map-get($lime, $get-shade);
394
430
  color: map-get($lime-contrast, $get-shade);
395
431
  }
396
- .yellow.matcha-button-outline .ripple, .background-yellow-alpha {background: rgba(map-get($yellow, $get-shade), 0.2)}
432
+ .yellow[outline]:not([outline="false"]) .ripple, .background-yellow-alpha {background: rgba(map-get($yellow, $get-shade), 0.2)}
397
433
  .yellow .ripple{background: rgba(map-get($yellow-contrast, $get-shade), 0.2)}
398
434
  .background-yellow{background: map-get($yellow, $get-shade)}
399
435
  .border-color-yellow{border-color: map-get($yellow, $get-shade)}
400
- .yellow.matcha-button-outline, .color-yellow{color: map-get($yellow, $get-shade)}
436
+ .yellow[outline]:not([outline="false"]),
437
+ [color="yellow"][outline]:not([outline="false"]),
438
+ [color="yellow"][link]:not([link="false"]),
439
+ .color-yellow{color: map-get($yellow, $get-shade)!important}
401
440
  .fill-yellow{fill: map-get($yellow, $get-shade)}
402
441
  .stroke-yellow{stroke: map-get($yellow, $get-shade)}
403
- .color-yellow-alpha{color: rgba(map-get($yellow, $get-shade),0.2)}
442
+ .color-yellow-alpha{color: rgba(map-get($yellow, $get-shade),0.2)!important}
404
443
  .yellow{
405
444
  background: map-get($yellow, $get-shade);
406
445
  color: map-get($yellow-contrast, $get-shade);
407
446
  }
408
- .amber.matcha-button-outline .ripple, .background-amber-alpha {background: rgba(map-get($amber, $get-shade), 0.2)}
447
+ .amber[outline]:not([outline="false"]) .ripple, .background-amber-alpha {background: rgba(map-get($amber, $get-shade), 0.2)}
409
448
  .amber .ripple{background: rgba(map-get($amber-contrast, $get-shade), 0.2)}
410
449
  .background-amber{background: map-get($amber, $get-shade)}
411
450
  .border-color-amber{border-color: map-get($amber, $get-shade)}
412
- .amber.matcha-button-outline, .color-amber{color: map-get($amber, $get-shade)}
451
+ .amber[outline]:not([outline="false"]),
452
+ [color="amber"][outline]:not([outline="false"]),
453
+ [color="amber"][link]:not([link="false"]),
454
+ .color-amber{color: map-get($amber, $get-shade)!important}
413
455
  .fill-amber{fill: map-get($amber, $get-shade)}
414
456
  .stroke-amber{stroke: map-get($amber, $get-shade)}
415
- .color-amber-alpha{color: rgba(map-get($amber, $get-shade),0.2)}
457
+ .color-amber-alpha{color: rgba(map-get($amber, $get-shade),0.2)!important}
416
458
  .amber{
417
459
  background: map-get($amber, $get-shade);
418
460
  color: map-get($amber-contrast, $get-shade);
419
461
  }
420
- .orange.matcha-button-outline .ripple, .background-orange-alpha {background: rgba(map-get($orange, $get-shade), 0.2)}
462
+ .orange[outline]:not([outline="false"]) .ripple, .background-orange-alpha {background: rgba(map-get($orange, $get-shade), 0.2)}
421
463
  .orange .ripple{background: rgba(map-get($orange-contrast, $get-shade), 0.2)}
422
464
  .background-orange{background: map-get($orange, $get-shade)}
423
465
  .border-color-orange{border-color: map-get($orange, $get-shade)}
424
- .orange.matcha-button-outline, .color-orange{color: map-get($orange, $get-shade)}
466
+ .orange[outline]:not([outline="false"]),
467
+ [color="orange"][outline]:not([outline="false"]),
468
+ [color="orange"][link]:not([link="false"]),
469
+ .color-orange{color: map-get($orange, $get-shade)!important}
425
470
  .fill-orange{fill: map-get($orange, $get-shade)}
426
471
  .stroke-orange{stroke: map-get($orange, $get-shade)}
427
- .color-orange-alpha{color: rgba(map-get($orange, $get-shade),0.2)}
472
+ .color-orange-alpha{color: rgba(map-get($orange, $get-shade),0.2)!important}
428
473
  .orange{
429
474
  background: map-get($orange, $get-shade);
430
475
  color: map-get($orange-contrast, $get-shade);
431
476
  }
432
- .deep-orange.matcha-button-outline .ripple, .background-deep-orange-alpha {background: rgba(map-get($deep-orange, $get-shade), 0.2)}
477
+ .deep-orange[outline]:not([outline="false"]) .ripple, .background-deep-orange-alpha {background: rgba(map-get($deep-orange, $get-shade), 0.2)}
433
478
  .deep-orange .ripple{background: rgba(map-get($deep-orange-contrast, $get-shade), 0.2)}
434
479
  .background-deep-orange{background: map-get($deep-orange, $get-shade)}
435
480
  .border-color-deep-orange{border-color: map-get($deep-orange, $get-shade)}
436
- .deep-orange.matcha-button-outline, .color-deep-orange{color: map-get($deep-orange, $get-shade)}
481
+ .deep-orange[outline]:not([outline="false"]),
482
+ [color="deep-orange"][outline]:not([outline="false"]),
483
+ [color="deep-orange"][link]:not([link="false"]),
484
+ .color-deep-orange{color: map-get($deep-orange, $get-shade)!important}
437
485
  .fill-deep-orange{fill: map-get($deep-orange, $get-shade)}
438
486
  .stroke-deep-orange{stroke: map-get($deep-orange, $get-shade)}
439
- .color-deep-orange-alpha{color: rgba(map-get($deep-orange, $get-shade),0.2)}
487
+ .color-deep-orange-alpha{color: rgba(map-get($deep-orange, $get-shade),0.2)!important}
440
488
  .deep-orange{
441
489
  background: map-get($deep-orange, $get-shade);
442
490
  color: map-get($deep-orange-contrast, $get-shade);
443
491
  }
444
- .brown.matcha-button-outline .ripple, .background-brown-alpha {background: rgba(map-get($brown, $get-shade), 0.2)}
492
+ .brown[outline]:not([outline="false"]) .ripple, .background-brown-alpha {background: rgba(map-get($brown, $get-shade), 0.2)}
445
493
  .brown .ripple{background: rgba(map-get($brown-contrast, $get-shade), 0.2)}
446
494
  .background-brown{background: map-get($brown, $get-shade)}
447
495
  .border-color-brown{border-color: map-get($brown, $get-shade)}
448
- .brown.matcha-button-outline, .color-brown{color: map-get($brown, $get-shade)}
496
+ .brown[outline]:not([outline="false"]),
497
+ [color="brown"][outline]:not([outline="false"]),
498
+ [color="brown"][link]:not([link="false"]),
499
+ .color-brown{color: map-get($brown, $get-shade)!important}
449
500
  .fill-brown{fill: map-get($brown, $get-shade)}
450
501
  .stroke-brown{stroke: map-get($brown, $get-shade)}
451
- .color-brown-alpha{color: rgba(map-get($brown, $get-shade),0.2)}
502
+ .color-brown-alpha{color: rgba(map-get($brown, $get-shade),0.2)!important}
452
503
  .brown{
453
504
  background: map-get($brown, $get-shade);
454
505
  color: map-get($brown-contrast, $get-shade);
455
506
  }
456
- .grey.matcha-button-outline .ripple, .background-grey-alpha {background: rgba(map-get($grey, $get-shade), 0.2)}
507
+ .grey[outline]:not([outline="false"]) .ripple, .background-grey-alpha {background: rgba(map-get($grey, $get-shade), 0.2)}
457
508
  .grey .ripple{background: rgba(map-get($grey-contrast, $get-shade), 0.2)}
458
509
  .background-grey{background: map-get($grey, $get-shade)}
459
510
  .border-color-grey{border-color: map-get($grey, $get-shade)}
460
- .grey.matcha-button-outline, .color-grey{color: map-get($grey, $get-shade)}
511
+ .grey[outline]:not([outline="false"]),
512
+ [color="grey"][outline]:not([outline="false"]),
513
+ [color="grey"][link]:not([link="false"]),
514
+ .color-grey{color: map-get($grey, $get-shade)!important}
461
515
  .fill-grey{fill: map-get($grey, $get-shade)}
462
516
  .stroke-grey{stroke: map-get($grey, $get-shade)}
463
- .color-grey-alpha{color: rgba(map-get($grey, $get-shade),0.2)}
517
+ .color-grey-alpha{color: rgba(map-get($grey, $get-shade),0.2)!important}
464
518
  .grey{
465
519
  background: map-get($grey, $get-shade);
466
520
  color: map-get($grey-contrast, $get-shade);
467
521
  }
468
- .blue-grey.matcha-button-outline .ripple, .background-blue-grey-alpha {background: rgba(map-get($blue-grey, $get-shade), 0.2)}
522
+ .blue-grey[outline]:not([outline="false"]) .ripple, .background-blue-grey-alpha {background: rgba(map-get($blue-grey, $get-shade), 0.2)}
469
523
  .blue-grey .ripple{background: rgba(map-get($blue-grey-contrast, $get-shade), 0.2)}
470
524
  .background-blue-grey{background: map-get($blue-grey, $get-shade)}
471
525
  .border-color-blue-grey{border-color: map-get($blue-grey, $get-shade)}
472
- .blue-grey.matcha-button-outline, .color-blue-grey{color: map-get($blue-grey, $get-shade)}
526
+ .blue-grey[outline]:not([outline="false"]),
527
+ [color="blue-grey"][outline]:not([outline="false"]),
528
+ [color="blue-grey"][link]:not([link="false"]),
529
+ .color-blue-grey{color: map-get($blue-grey, $get-shade)!important}
473
530
  .fill-blue-grey{fill: map-get($blue-grey, $get-shade)}
474
531
  .stroke-blue-grey{stroke: map-get($blue-grey, $get-shade)}
475
- .color-blue-grey-alpha{color: rgba(map-get($blue-grey, $get-shade),0.2)}
532
+ .color-blue-grey-alpha{color: rgba(map-get($blue-grey, $get-shade),0.2)!important}
476
533
  .blue-grey{
477
534
  background: map-get($blue-grey, $get-shade);
478
535
  color: map-get($blue-grey-contrast, $get-shade);
479
536
  }
480
537
 
481
- .primary.matcha-button-outline .ripple, .background-primary-alpha {background: rgba(map-get($primary, default), 0.2)}
538
+ .primary[outline]:not([outline="false"]) .ripple, .background-primary-alpha {background: rgba(map-get($primary, default), 0.2)}
482
539
  .primary .ripple{background: rgba(map-get($primary, default-contrast), 0.2)}
483
540
  .background-primary{background: map-get($primary, default)}
484
541
  .border-color-primary{border-color: map-get($primary, default)}
485
- .primary.matcha-button-outline, .color-primary{color: map-get($primary, default)}
542
+ .primary[outline]:not([outline="false"]),
543
+ [color="primary"][outline]:not([outline="false"]),
544
+ [color="primary"][link]:not([link="false"]),
545
+ .color-primary{color: map-get($primary, default)!important}
486
546
  .fill-primary{fill: map-get($primary, default)}
487
547
  .stroke-primary{stroke: map-get($primary, default)}
488
- .color-primary-alpha{color: rgba(map-get($primary, default),0.2)}
548
+ .color-primary-alpha{color: rgba(map-get($primary, default),0.2)!important}
489
549
  .primary{
490
550
  background: map-get($primary, default);
491
551
  color: map-get($primary, default-contrast);
492
552
  }
493
553
 
494
- .accent.matcha-button-outline .ripple, .background-accent-alpha {background: rgba(map-get($accent, default), 0.2)}
554
+ .accent[outline]:not([outline="false"]) .ripple, .background-accent-alpha {background: rgba(map-get($accent, default), 0.2)}
495
555
  .accent .ripple{background: rgba(map-get($accent, default-contrast), 0.2)}
496
556
  .background-accent{background: map-get($accent, default)}
497
557
  .border-color-accent{border-color: map-get($accent, default)}
498
- .accent.matcha-button-outline, .color-accent{color: map-get($accent, default)}
558
+ .accent[outline]:not([outline="false"]),
559
+ [color="accent"][outline]:not([outline="false"]),
560
+ [color="accent"][link]:not([link="false"]),
561
+ .color-accent{color: map-get($accent, default)!important}
499
562
  .fill-accent{fill: map-get($accent, default)}
500
563
  .stroke-accent{stroke: map-get($accent, default)}
501
- .color-accent-alpha{color: rgba(map-get($accent, default),0.2)}
564
+ .color-accent-alpha{color: rgba(map-get($accent, default),0.2)!important}
502
565
  .accent{
503
566
  background: map-get($accent, default);
504
567
  color: map-get($accent, default-contrast);
505
568
  }
506
569
 
507
- .warn.matcha-button-outline .ripple, .background-warn-alpha {background: rgba(map-get($warn, default), 0.2)}
570
+ .warn[outline]:not([outline="false"]) .ripple, .background-warn-alpha {background: rgba(map-get($warn, default), 0.2)}
508
571
  .warn .ripple{background: rgba(map-get($warn, default-contrast), 0.2)}
509
572
  .background-warn{background: map-get($warn, default)}
510
573
  .border-color-warn{border-color: map-get($warn, default)}
511
- .warn.matcha-button-outline, .color-warn{color: map-get($warn, default)}
574
+ .warn[outline]:not([outline="false"]),
575
+ [color="warn"][outline]:not([outline="false"]),
576
+ [color="warn"][link]:not([link="false"]),
577
+ .color-warn{color: map-get($warn, default)!important}
512
578
  .fill-warn{fill: map-get($warn, default)}
513
579
  .stroke-warn{stroke: map-get($warn, default)}
514
- .color-warn-alpha{color: rgba(map-get($warn, default),0.2)}
580
+ .color-warn-alpha{color: rgba(map-get($warn, default),0.2)!important}
515
581
  .warn{
516
582
  background: map-get($warn, default);
517
583
  color: map-get($warn, default-contrast);
518
584
  }
519
585
 
520
- .basic.matcha-button-outline .ripple, .background-basic-alpha {background: rgba(map-get($foreground, base), 0.2)}
586
+ .basic[outline]:not([outline="false"]) .ripple,.background-basic-alpha {background: rgba(map-get($foreground, base), 0.2)}
521
587
  .basic .ripple{background: rgba(map-get($foreground, base), 0.2)}
522
588
  .background-basic{background: map-get($background, card)}
523
589
  .border-color-basic{border-color: map-get($foreground, base)}
524
- .basic.matcha-button-outline, .color-basic{color: map-get($foreground, base)}
590
+ .basic[outline]:not([outline="false"]):not([color]),
591
+ [color="basic"][outline]:not([outline="false"]),
592
+ [color="basic"][link]:not([link="false"]),
593
+ .color-basic{color: map-get($foreground, base)!important}
525
594
  .fill-basic{fill: map-get($background, card)}
526
595
  .stroke-basic{stroke: map-get($foreground, base)}
527
- .color-basic-alpha{color: rgba(map-get($foreground, base),0.2)}
596
+ .color-basic-alpha{color: rgba(map-get($foreground, base),0.2)!important}
528
597
  .basic{
529
598
  background: map-get($background, card);
530
- color: map-get($foreground, base);
599
+ &:not([color]){
600
+ color: map-get($foreground, base);
601
+ }
531
602
  }
532
603
 
533
604
 
@@ -561,8 +632,7 @@ $index: 0;
561
632
  }
562
633
  }
563
634
 
564
- .background-transparent,
565
- .matcha-background-transparent {
635
+ .background-transparent {
566
636
  background: transparent;
567
637
  }
568
638
 
@@ -1,39 +1,58 @@
1
+ // TO-DO: Separar tudo o que for estilo estrutural do componente do que é estilo de tema
2
+ // levar todos os estilos estruturais para o arquivo de scss do componente
3
+ // na biblioteca matcha-components
4
+
5
+ // <button matcha-button size="tiny" color="primary">tiny</button>
6
+ // <button matcha-button size="small" color="primary">small</button>
7
+ // <button matcha-button size="medium" color="primary">medium</button>
8
+ // <button matcha-button size="large" color="primary">large</button>
9
+ // <button matcha-button size="huge" color="primary">huge</button>
10
+
11
+ // <button matcha-button
12
+ // [color]="color"
13
+ // [basic]="basic"
14
+ // [size]="size"
15
+ // [pill]="pill"
16
+ // [outline]="outline"
17
+ // [link]="link"
18
+ // [icon]="icon"
19
+ // [size-xs]="sizeXs"
20
+ // [size-sm]="sizeSm"
21
+ // [size-md]="sizeMd"
22
+ // [size-lg]="sizeLg"
23
+ // [size-xl]="sizeXl">
24
+
1
25
  @mixin generate-matcha-button-size-classes($helper-breakpoints){
2
26
  @each $breakpoint, $materialBreakpoint in $helper-breakpoints {
3
27
  @include media-breakpoint($materialBreakpoint) {
4
28
  $infix: if($materialBreakpoint == null, "", "-#{$breakpoint}");
5
29
 
6
- &#{$infix}-tiny {
30
+ &[size#{$infix}="tiny"] {
7
31
  padding: 0 px-to-rem(32px);
8
- border-radius: px-to-rem(8px);
9
32
  line-height: px-to-rem(32px);
10
33
  max-height: px-to-rem(32px);
11
34
  }
12
35
 
13
- &#{$infix}-small {
36
+ &[size#{$infix}="small"] {
14
37
  padding: 0 px-to-rem(32px);
15
- border-radius: px-to-rem(8px);
16
38
  line-height: px-to-rem(40px);
17
39
  max-height: px-to-rem(40px);
18
40
  }
19
41
 
20
- &#{$infix}-medium {
42
+ &[size#{$infix}="medium"] {
21
43
  padding: 0 px-to-rem(32px);
22
- border-radius: px-to-rem(8px);
23
44
  line-height: px-to-rem(48px);
24
45
  max-height: px-to-rem(48px);
25
46
  }
26
47
 
27
- &#{$infix}-large {
48
+ &[size#{$infix}="large"] {
28
49
  padding: 0 px-to-rem(32px);
29
- border-radius: px-to-rem(8px);
30
50
  line-height: px-to-rem(56px);
31
51
  max-height: px-to-rem(56px);
32
52
  }
33
53
 
34
- &#{$infix}-huge {
54
+ &[size#{$infix}="huge"] {
35
55
  padding: 0 px-to-rem(32px);
36
- border-radius: px-to-rem(8px);
37
56
  line-height: px-to-rem(56px);
38
57
  max-height: px-to-rem(56px);
39
58
  }
@@ -41,57 +60,155 @@
41
60
  }
42
61
  }
43
62
 
63
+ button[matcha-button],
64
+ a[matcha-button] {
65
+ transition: all 50ms linear;
66
+ overflow: hidden;
67
+ position: relative;
68
+ font-size: 16px;
69
+ font-weight: 700;
70
+ height: 56px;
71
+ appearance: auto;
72
+ text-rendering: auto;
73
+ letter-spacing: normal;
74
+ word-spacing: normal;
75
+ line-height: normal;
76
+ text-transform: none;
77
+ text-indent: 0px;
78
+ text-shadow: none;
79
+ text-align: center;
80
+ display: flex;
81
+ justify-content: center;
82
+ align-items: center;
83
+ cursor: pointer;
84
+ box-sizing: border-box;
85
+ border-radius: px-to-rem(8px);
86
+ *{
87
+ pointer-events: none;
88
+ }
44
89
 
45
- @mixin matcha-button-theme($theme) {
90
+ &[size="tiny"] {
91
+ line-height: px-to-rem(32px);
92
+ max-height: px-to-rem(32px);
93
+ }
94
+
95
+ &[size="small"] {
96
+ line-height: px-to-rem(40px);
97
+ max-height: px-to-rem(40px);
98
+ }
99
+
100
+ &[size="medium"] {
101
+ line-height: px-to-rem(48px);
102
+ max-height: px-to-rem(48px);
103
+ }
104
+
105
+ &[size="large"] {
106
+ line-height: px-to-rem(56px);
107
+ max-height: px-to-rem(56px);
108
+ }
109
+
110
+ &[size="huge"] {
111
+ line-height: px-to-rem(56px);
112
+ max-height: px-to-rem(56px);
113
+ }
114
+
115
+ &[size="tiny"],
116
+ &[size="small"],
117
+ &[size="medium"],
118
+ &[size="large"],
119
+ &[size="huge"] {
120
+ padding: 0 px-to-rem(32px);
121
+ min-width: 24px;
122
+ &.stroked {
123
+ box-shadow: 0px 0px 0px 2px inset;
124
+ }
125
+ }
126
+
127
+ @include generate-matcha-button-size-classes($helper-breakpoints);
128
+
129
+
130
+ &:hover{
131
+ filter: brightness(1.05);
132
+ }
133
+
134
+ &:active{
135
+ filter: brightness(1.1);
136
+ }
137
+
138
+ &[disabled] {
139
+ pointer-events: none;
140
+ }
141
+
142
+ &[basic]:not([basic="false"]) {
143
+ box-shadow: 0px 0px 0px 0px inset;
144
+ }
145
+
146
+ &[outline]:not([outline="false"]) {
147
+ box-shadow: 0px 0px 0px 2px inset;
148
+ }
149
+
150
+ &[pill]:not([pill="false"]) {
151
+ border-radius: 999px;
152
+ }
153
+
154
+ &[link]:not([link="false"]) {
155
+ text-transform: initial;
156
+ letter-spacing: 0;
157
+ text-decoration: underline;
158
+ padding: 0;
159
+ }
160
+
161
+ &[icon]:not([icon="false"]) {
162
+ aspect-ratio: 1;
163
+ padding: 0 !important;
164
+ display: flex;
165
+ align-items: center;
166
+ justify-content: center;
167
+ }
168
+
169
+ .ripple {
170
+ position: absolute;
171
+ border-radius: 999px;
172
+ transform: scale(0);
173
+ pointer-events: none;
174
+ }
175
+ .ripple.show {
176
+ animation: ripple 400ms ease-out;
177
+ }
178
+
179
+ @keyframes ripple {
180
+ 0% {
181
+ opacity: 0;
182
+ transform: scale(0);
183
+ }
184
+ 25% {
185
+ opacity: 1;
186
+ }
187
+ 100% {
188
+ opacity: 0;
189
+ transform: scale(2);
190
+ }
191
+ }
192
+ }
46
193
 
194
+ @mixin matcha-button-theme($theme) {
47
195
  $primary: map-get($theme, primary);
48
196
  $accent: map-get($theme, accent);
49
197
  $warn: map-get($theme, warn);
50
198
  $background: map-get($theme, background);
51
199
  $foreground: map-get($theme, foreground);
52
200
 
53
- .matcha-button {
201
+ button[matcha-button],
202
+ a[matcha-button] {
54
203
  border: 0px solid currentColor;
55
- transition: all 50ms linear;
56
- overflow: hidden;
57
- position: relative;
58
- font-size: 16px;
59
- font-weight: 700;
60
- height: 56px;
61
- appearance: auto;
62
- text-rendering: auto;
63
- letter-spacing: normal;
64
- word-spacing: normal;
65
- line-height: normal;
66
- text-transform: none;
67
- text-indent: 0px;
68
- text-shadow: none;
69
- display: inline-block;
70
- text-align: center;
71
- align-items: flex-start;
72
- cursor: pointer;
73
- box-sizing: border-box;
74
- *{
75
- pointer-events: none;
76
- }
77
204
 
78
- @include generate-matcha-button-size-classes($helper-breakpoints);
79
-
80
- &-main {
81
- background: map-get($background, background);
82
- line-height: px-to-rem(32px);
83
- padding: 0 px-to-rem(16px);
84
- }
85
-
86
- &-tiny,
87
- &-small,
88
- &-medium,
89
- &-large,
90
- &-huge {
91
- min-width: 24px;
205
+ &[size="tiny"],
206
+ &[size="small"],
207
+ &[size="medium"],
208
+ &[size="large"],
209
+ &[size="huge"] {
92
210
 
93
211
  &.stroked {
94
- box-shadow: 0px 0px 0px 2px inset;
95
212
 
96
213
  &.color-label {
97
214
  box-shadow: 0px 0px 0px 2px inset map-get($foreground, label);
@@ -105,79 +222,40 @@
105
222
  }
106
223
  }
107
224
 
108
- &:hover{
109
- filter: brightness(1.05);
110
- }
111
-
112
- &:active{
113
- filter: brightness(1.1);
114
- }
115
-
116
225
  &[disabled] {
117
226
  background-color: map-get($background, disabled);
118
227
  color: #b5bdc3 !important;
119
228
  border-color: map-get($foreground, disabled);
120
- pointer-events: none;
121
229
  }
122
230
 
123
- &-basic {
231
+ &[basic]:not([icon="false"]) {
124
232
  border: 0px solid currentColor;
125
- box-shadow: 0px 0px 0px 0px inset;
126
- background: transparent !important;
127
- color: map-get($foreground, base);
128
- border-color: map-get($foreground, base);
233
+ background: map-get($background, card);
234
+ &:not([color]){
235
+ border-color: map-get($foreground, base);
236
+ background: transparent !important;
237
+ }
238
+ &[color]:not([outline]){
239
+ background: map-get($background, card)!important;
240
+ }
129
241
  }
130
242
 
131
- &-outline {
243
+ &[outline]:not([outline="false"]) {
132
244
  border: 0px solid currentColor;
133
- box-shadow: 0px 0px 0px 2px inset;
134
245
  background: transparent !important;
135
- color: map-get($foreground, base);
136
- border-color: map-get($foreground, base);
246
+ &:not([color]){
247
+ border-color: map-get($foreground, base);
248
+ color: map-get($foreground, base);
249
+ }
137
250
  }
138
251
 
139
- &-pill {
140
- border-radius: 999px;
252
+ &[pill]:not([pill="false"]) {
141
253
  }
142
254
 
143
- &-link {
255
+ &[link]:not([link="false"]) {
144
256
  background-color: transparent;
145
- color: map-get($foreground, label);
146
- text-transform: initial;
147
- letter-spacing: 0;
148
- text-decoration: underline;
149
- padding: 0;
150
- }
151
-
152
- &-icon {
153
- aspect-ratio: 1;
154
- padding: 0 !important;
155
- display: flex;
156
- align-items: center;
157
- justify-content: center;
158
- }
159
-
160
- .ripple {
161
- position: absolute;
162
- border-radius: 999px;
163
- transform: scale(0);
164
- pointer-events: none;
165
- }
166
- .ripple.show {
167
- animation: ripple 400ms ease-out;
168
- }
169
-
170
- @keyframes ripple {
171
- 0% {
172
- opacity: 0;
173
- transform: scale(0);
174
- }
175
- 25% {
176
- opacity: 1;
177
- }
178
- 100% {
179
- opacity: 0;
180
- transform: scale(2);
257
+ &:not([color]){
258
+ color: map-get($foreground, label);
181
259
  }
182
260
  }
183
261
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-theme",
3
- "version": "18.1.46",
3
+ "version": "18.1.48",
4
4
  "description": "Themes for matcha-design-system",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -275,18 +275,18 @@
275
275
  }
276
276
 
277
277
  @media screen and (min-width: 600px) {
278
- .mat-stepper-horizontal {
279
- &.bullet-stepper-header-labeled {
280
- .mat-horizontal-stepper-header-container {
281
- padding-right: 72px;
282
- .mat-horizontal-stepper-header {
283
- .mat-step-label {
284
- margin-right: 72px;
285
- }
286
- }
287
- }
288
- }
289
- }
278
+ // .mat-stepper-horizontal {
279
+ // &.bullet-stepper-header-labeled {
280
+ // .mat-horizontal-stepper-header-container {
281
+ // padding-right: 72px;
282
+ // .mat-horizontal-stepper-header {
283
+ // .mat-step-label {
284
+ // margin-right: 72px;
285
+ // }
286
+ // }
287
+ // }
288
+ // }
289
+ // }
290
290
  }
291
291
  @media screen and (min-width: 1024px) {
292
292
  }