matcha-theme 19.19.0 → 19.21.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.
@@ -197,13 +197,10 @@ $index: 0;
197
197
 
198
198
  $get-shade: if($is-dark, 100, 500); // Define $red-shade com base no valor de $is-dark
199
199
 
200
- .red[outline]:not([outline="false"]) .ripple, .background-red-alpha {background: rgba(map-get($red, $get-shade), 0.2)}
200
+ .background-red-alpha {background: rgba(map-get($red, $get-shade), 0.2)}
201
201
  .red .ripple{background: rgba(map-get($red-contrast, $get-shade), 0.2)}
202
202
  .background-red{background: map-get($red, $get-shade)}
203
203
  .border-color-red{border-color: map-get($red, $get-shade)}
204
- .red[outline]:not([outline="false"]),
205
- [color="red"][outline]:not([outline="false"]),
206
- [color="red"][link]:not([link="false"]),
207
204
  .color-red{color: map-get($red, $get-shade)!important}
208
205
  .fill-red{fill: map-get($red, $get-shade)}
209
206
  .stroke-red{stroke: map-get($red, $get-shade)}
@@ -216,13 +213,10 @@ $index: 0;
216
213
  background: map-get($red, $get-shade);
217
214
  color: map-get($red-contrast, $get-shade);
218
215
  }
219
- .pink[outline]:not([outline="false"]) .ripple, .background-pink-alpha {background: rgba(map-get($pink, $get-shade), 0.2)}
216
+ .background-pink-alpha {background: rgba(map-get($pink, $get-shade), 0.2)}
220
217
  .pink .ripple{background: rgba(map-get($pink-contrast, $get-shade), 0.2)}
221
218
  .background-pink{background: map-get($pink, $get-shade)}
222
219
  .border-color-pink{border-color: map-get($pink, $get-shade)}
223
- .pink[outline]:not([outline="false"]),
224
- [color="pink"][outline]:not([outline="false"]),
225
- [color="pink"][link]:not([link="false"]),
226
220
  .color-pink{color: map-get($pink, $get-shade)!important}
227
221
  .fill-pink{fill: map-get($pink, $get-shade)}
228
222
  .stroke-pink{stroke: map-get($pink, $get-shade)}
@@ -235,13 +229,10 @@ $index: 0;
235
229
  background: map-get($pink, $get-shade);
236
230
  color: map-get($pink-contrast, $get-shade);
237
231
  }
238
- .purple[outline]:not([outline="false"]) .ripple, .background-purple-alpha {background: rgba(map-get($purple, $get-shade), 0.2)}
232
+ .background-purple-alpha {background: rgba(map-get($purple, $get-shade), 0.2)}
239
233
  .purple .ripple{background: rgba(map-get($purple-contrast, $get-shade), 0.2)}
240
234
  .background-purple{background: map-get($purple, $get-shade)}
241
235
  .border-color-purple{border-color: map-get($purple, $get-shade)}
242
- .purple[outline]:not([outline="false"]),
243
- [color="purple"][outline]:not([outline="false"]),
244
- [color="purple"][link]:not([link="false"]),
245
236
  .color-purple{color: map-get($purple, $get-shade)!important}
246
237
  .fill-purple{fill: map-get($purple, $get-shade)}
247
238
  .stroke-purple{stroke: map-get($purple, $get-shade)}
@@ -254,13 +245,10 @@ $index: 0;
254
245
  background: map-get($purple, $get-shade);
255
246
  color: map-get($purple-contrast, $get-shade);
256
247
  }
257
- .deep-purple[outline]:not([outline="false"]) .ripple, .background-deep-purple-alpha {background: rgba(map-get($deep-purple, $get-shade), 0.2)}
248
+ .background-deep-purple-alpha {background: rgba(map-get($deep-purple, $get-shade), 0.2)}
258
249
  .deep-purple .ripple{background: rgba(map-get($deep-purple-contrast, $get-shade), 0.2)}
259
250
  .background-deep-purple{background: map-get($deep-purple, $get-shade)}
260
251
  .border-color-deep-purple{border-color: map-get($deep-purple, $get-shade)}
261
- .deep-purple[outline]:not([outline="false"]),
262
- [color="deep-purple"][outline]:not([outline="false"]),
263
- [color="deep-purple"][link]:not([link="false"]),
264
252
  .color-deep-purple{color: map-get($deep-purple, $get-shade)!important}
265
253
  .fill-deep-purple{fill: map-get($deep-purple, $get-shade)}
266
254
  .stroke-deep-purple{stroke: map-get($deep-purple, $get-shade)}
@@ -273,13 +261,10 @@ $index: 0;
273
261
  background: map-get($deep-purple, $get-shade);
274
262
  color: map-get($deep-purple-contrast, $get-shade);
275
263
  }
276
- .indigo[outline]:not([outline="false"]) .ripple, .background-indigo-alpha {background: rgba(map-get($indigo, $get-shade), 0.2)}
264
+ .background-indigo-alpha {background: rgba(map-get($indigo, $get-shade), 0.2)}
277
265
  .indigo .ripple{background: rgba(map-get($indigo-contrast, $get-shade), 0.2)}
278
266
  .background-indigo{background: map-get($indigo, $get-shade)}
279
267
  .border-color-indigo{border-color: map-get($indigo, $get-shade)}
280
- .indigo[outline]:not([outline="false"]),
281
- [color="indigo"][outline]:not([outline="false"]),
282
- [color="indigo"][link]:not([link="false"]),
283
268
  .color-indigo{color: map-get($indigo, $get-shade)!important}
284
269
  .fill-indigo{fill: map-get($indigo, $get-shade)}
285
270
  .stroke-indigo{stroke: map-get($indigo, $get-shade)}
@@ -292,13 +277,10 @@ $index: 0;
292
277
  background: map-get($indigo, $get-shade);
293
278
  color: map-get($indigo-contrast, $get-shade);
294
279
  }
295
- .blue[outline]:not([outline="false"]) .ripple, .background-blue-alpha {background: rgba(map-get($blue, $get-shade), 0.2)}
280
+ .background-blue-alpha {background: rgba(map-get($blue, $get-shade), 0.2)}
296
281
  .blue .ripple{background: rgba(map-get($blue-contrast, $get-shade), 0.2)}
297
282
  .background-blue{background: map-get($blue, $get-shade)}
298
283
  .border-color-blue{border-color: map-get($blue, $get-shade)}
299
- .blue[outline]:not([outline="false"]),
300
- [color="blue"][outline]:not([outline="false"]),
301
- [color="blue"][link]:not([link="false"]),
302
284
  .color-blue{color: map-get($blue, $get-shade)!important}
303
285
  .fill-blue{fill: map-get($blue, $get-shade)}
304
286
  .stroke-blue{stroke: map-get($blue, $get-shade)}
@@ -311,13 +293,10 @@ $index: 0;
311
293
  background: map-get($blue, $get-shade);
312
294
  color: map-get($blue-contrast, $get-shade);
313
295
  }
314
- .light-blue[outline]:not([outline="false"]) .ripple, .background-light-blue-alpha {background: rgba(map-get($light-blue, $get-shade), 0.2)}
296
+ .background-light-blue-alpha {background: rgba(map-get($light-blue, $get-shade), 0.2)}
315
297
  .light-blue .ripple{background: rgba(map-get($light-blue-contrast, $get-shade), 0.2)}
316
298
  .background-light-blue{background: map-get($light-blue, $get-shade)}
317
299
  .border-color-light-blue{border-color: map-get($light-blue, $get-shade)}
318
- .light-blue[outline]:not([outline="false"]),
319
- [color="light-blue"][outline]:not([outline="false"]),
320
- [color="light-blue"][link]:not([link="false"]),
321
300
  .color-light-blue{color: map-get($light-blue, $get-shade)!important}
322
301
  .fill-light-blue{fill: map-get($light-blue, $get-shade)}
323
302
  .stroke-light-blue{stroke: map-get($light-blue, $get-shade)}
@@ -330,13 +309,10 @@ $index: 0;
330
309
  background: map-get($light-blue, $get-shade);
331
310
  color: map-get($light-blue-contrast, $get-shade);
332
311
  }
333
- .cyan[outline]:not([outline="false"]) .ripple, .background-cyan-alpha {background: rgba(map-get($cyan, $get-shade), 0.2)}
312
+ .background-cyan-alpha {background: rgba(map-get($cyan, $get-shade), 0.2)}
334
313
  .cyan .ripple{background: rgba(map-get($cyan-contrast, $get-shade), 0.2)}
335
314
  .background-cyan{background: map-get($cyan, $get-shade)}
336
315
  .border-color-cyan{border-color: map-get($cyan, $get-shade)}
337
- .cyan[outline]:not([outline="false"]),
338
- [color="cyan"][outline]:not([outline="false"]),
339
- [color="cyan"][link]:not([link="false"]),
340
316
  .color-cyan{color: map-get($cyan, $get-shade)!important}
341
317
  .fill-cyan{fill: map-get($cyan, $get-shade)}
342
318
  .stroke-cyan{stroke: map-get($cyan, $get-shade)}
@@ -349,13 +325,10 @@ $index: 0;
349
325
  background: map-get($cyan, $get-shade);
350
326
  color: map-get($cyan-contrast, $get-shade);
351
327
  }
352
- .teal[outline]:not([outline="false"]) .ripple, .background-teal-alpha {background: rgba(map-get($teal, $get-shade), 0.2)}
328
+ .background-teal-alpha {background: rgba(map-get($teal, $get-shade), 0.2)}
353
329
  .teal .ripple{background: rgba(map-get($teal-contrast, $get-shade), 0.2)}
354
330
  .background-teal{background: map-get($teal, $get-shade)}
355
331
  .border-color-teal{border-color: map-get($teal, $get-shade)}
356
- .teal[outline]:not([outline="false"]),
357
- [color="teal"][outline]:not([outline="false"]),
358
- [color="teal"][link]:not([link="false"]),
359
332
  .color-teal{color: map-get($teal, $get-shade)!important}
360
333
  .fill-teal{fill: map-get($teal, $get-shade)}
361
334
  .stroke-teal{stroke: map-get($teal, $get-shade)}
@@ -368,13 +341,10 @@ $index: 0;
368
341
  background: map-get($teal, $get-shade);
369
342
  color: map-get($teal-contrast, $get-shade);
370
343
  }
371
- .green[outline]:not([outline="false"]) .ripple, .background-green-alpha {background: rgba(map-get($green, $get-shade), 0.2)}
344
+ .background-green-alpha {background: rgba(map-get($green, $get-shade), 0.2)}
372
345
  .green .ripple{background: rgba(map-get($green-contrast, $get-shade), 0.2)}
373
346
  .background-green{background: map-get($green, $get-shade)}
374
347
  .border-color-green{border-color: map-get($green, $get-shade)}
375
- .green[outline]:not([outline="false"]),
376
- [color="green"][outline]:not([outline="false"]),
377
- [color="green"][link]:not([link="false"]),
378
348
  .color-green{color: map-get($green, $get-shade)!important}
379
349
  .fill-green{fill: map-get($green, $get-shade)}
380
350
  .stroke-green{stroke: map-get($green, $get-shade)}
@@ -387,13 +357,10 @@ $index: 0;
387
357
  background: map-get($green, $get-shade);
388
358
  color: map-get($green-contrast, $get-shade);
389
359
  }
390
- .light-green[outline]:not([outline="false"]) .ripple, .background-light-green-alpha {background: rgba(map-get($light-green, $get-shade), 0.2)}
360
+ .background-light-green-alpha {background: rgba(map-get($light-green, $get-shade), 0.2)}
391
361
  .light-green .ripple{background: rgba(map-get($light-green-contrast, $get-shade), 0.2)}
392
362
  .background-light-green{background: map-get($light-green, $get-shade)}
393
363
  .border-color-light-green{border-color: map-get($light-green, $get-shade)}
394
- .light-green[outline]:not([outline="false"]),
395
- [color="light-green"][outline]:not([outline="false"]),
396
- [color="light-green"][link]:not([link="false"]),
397
364
  .color-light-green{color: map-get($light-green, $get-shade)!important}
398
365
  .fill-light-green{fill: map-get($light-green, $get-shade)}
399
366
  .stroke-light-green{stroke: map-get($light-green, $get-shade)}
@@ -406,13 +373,10 @@ $index: 0;
406
373
  background: map-get($light-green, $get-shade);
407
374
  color: map-get($light-green-contrast, $get-shade);
408
375
  }
409
- .lime[outline]:not([outline="false"]) .ripple, .background-lime-alpha {background: rgba(map-get($lime, $get-shade), 0.2)}
376
+ .background-lime-alpha {background: rgba(map-get($lime, $get-shade), 0.2)}
410
377
  .lime .ripple{background: rgba(map-get($lime-contrast, $get-shade), 0.2)}
411
378
  .background-lime{background: map-get($lime, $get-shade)}
412
379
  .border-color-lime{border-color: map-get($lime, $get-shade)}
413
- .lime[outline]:not([outline="false"]),
414
- [color="lime"][outline]:not([outline="false"]),
415
- [color="lime"][link]:not([link="false"]),
416
380
  .color-lime{color: map-get($lime, $get-shade)!important}
417
381
  .fill-lime{fill: map-get($lime, $get-shade)}
418
382
  .stroke-lime{stroke: map-get($lime, $get-shade)}
@@ -425,13 +389,10 @@ $index: 0;
425
389
  background: map-get($lime, $get-shade);
426
390
  color: map-get($lime-contrast, $get-shade);
427
391
  }
428
- .yellow[outline]:not([outline="false"]) .ripple, .background-yellow-alpha {background: rgba(map-get($yellow, $get-shade), 0.2)}
392
+ .background-yellow-alpha {background: rgba(map-get($yellow, $get-shade), 0.2)}
429
393
  .yellow .ripple{background: rgba(map-get($yellow-contrast, $get-shade), 0.2)}
430
394
  .background-yellow{background: map-get($yellow, $get-shade)}
431
395
  .border-color-yellow{border-color: map-get($yellow, $get-shade)}
432
- .yellow[outline]:not([outline="false"]),
433
- [color="yellow"][outline]:not([outline="false"]),
434
- [color="yellow"][link]:not([link="false"]),
435
396
  .color-yellow{color: map-get($yellow, $get-shade)!important}
436
397
  .fill-yellow{fill: map-get($yellow, $get-shade)}
437
398
  .stroke-yellow{stroke: map-get($yellow, $get-shade)}
@@ -444,13 +405,10 @@ $index: 0;
444
405
  background: map-get($yellow, $get-shade);
445
406
  color: map-get($yellow-contrast, $get-shade);
446
407
  }
447
- .amber[outline]:not([outline="false"]) .ripple, .background-amber-alpha {background: rgba(map-get($amber, $get-shade), 0.2)}
408
+ .background-amber-alpha {background: rgba(map-get($amber, $get-shade), 0.2)}
448
409
  .amber .ripple{background: rgba(map-get($amber-contrast, $get-shade), 0.2)}
449
410
  .background-amber{background: map-get($amber, $get-shade)}
450
411
  .border-color-amber{border-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
412
  .color-amber{color: map-get($amber, $get-shade)!important}
455
413
  .fill-amber{fill: map-get($amber, $get-shade)}
456
414
  .stroke-amber{stroke: map-get($amber, $get-shade)}
@@ -463,13 +421,10 @@ $index: 0;
463
421
  background: map-get($amber, $get-shade);
464
422
  color: map-get($amber-contrast, $get-shade);
465
423
  }
466
- .orange[outline]:not([outline="false"]) .ripple, .background-orange-alpha {background: rgba(map-get($orange, $get-shade), 0.2)}
424
+ .background-orange-alpha {background: rgba(map-get($orange, $get-shade), 0.2)}
467
425
  .orange .ripple{background: rgba(map-get($orange-contrast, $get-shade), 0.2)}
468
426
  .background-orange{background: map-get($orange, $get-shade)}
469
427
  .border-color-orange{border-color: map-get($orange, $get-shade)}
470
- .orange[outline]:not([outline="false"]),
471
- [color="orange"][outline]:not([outline="false"]),
472
- [color="orange"][link]:not([link="false"]),
473
428
  .color-orange{color: map-get($orange, $get-shade)!important}
474
429
  .fill-orange{fill: map-get($orange, $get-shade)}
475
430
  .stroke-orange{stroke: map-get($orange, $get-shade)}
@@ -482,13 +437,10 @@ $index: 0;
482
437
  background: map-get($orange, $get-shade);
483
438
  color: map-get($orange-contrast, $get-shade);
484
439
  }
485
- .deep-orange[outline]:not([outline="false"]) .ripple, .background-deep-orange-alpha {background: rgba(map-get($deep-orange, $get-shade), 0.2)}
440
+ .background-deep-orange-alpha {background: rgba(map-get($deep-orange, $get-shade), 0.2)}
486
441
  .deep-orange .ripple{background: rgba(map-get($deep-orange-contrast, $get-shade), 0.2)}
487
442
  .background-deep-orange{background: map-get($deep-orange, $get-shade)}
488
443
  .border-color-deep-orange{border-color: map-get($deep-orange, $get-shade)}
489
- .deep-orange[outline]:not([outline="false"]),
490
- [color="deep-orange"][outline]:not([outline="false"]),
491
- [color="deep-orange"][link]:not([link="false"]),
492
444
  .color-deep-orange{color: map-get($deep-orange, $get-shade)!important}
493
445
  .fill-deep-orange{fill: map-get($deep-orange, $get-shade)}
494
446
  .stroke-deep-orange{stroke: map-get($deep-orange, $get-shade)}
@@ -501,13 +453,10 @@ $index: 0;
501
453
  background: map-get($deep-orange, $get-shade);
502
454
  color: map-get($deep-orange-contrast, $get-shade);
503
455
  }
504
- .brown[outline]:not([outline="false"]) .ripple, .background-brown-alpha {background: rgba(map-get($brown, $get-shade), 0.2)}
456
+ .background-brown-alpha {background: rgba(map-get($brown, $get-shade), 0.2)}
505
457
  .brown .ripple{background: rgba(map-get($brown-contrast, $get-shade), 0.2)}
506
458
  .background-brown{background: map-get($brown, $get-shade)}
507
459
  .border-color-brown{border-color: map-get($brown, $get-shade)}
508
- .brown[outline]:not([outline="false"]),
509
- [color="brown"][outline]:not([outline="false"]),
510
- [color="brown"][link]:not([link="false"]),
511
460
  .color-brown{color: map-get($brown, $get-shade)!important}
512
461
  .fill-brown{fill: map-get($brown, $get-shade)}
513
462
  .stroke-brown{stroke: map-get($brown, $get-shade)}
@@ -520,13 +469,10 @@ $index: 0;
520
469
  background: map-get($brown, $get-shade);
521
470
  color: map-get($brown-contrast, $get-shade);
522
471
  }
523
- .grey[outline]:not([outline="false"]) .ripple, .background-grey-alpha {background: rgba(map-get($grey, $get-shade), 0.2)}
472
+ .background-grey-alpha {background: rgba(map-get($grey, $get-shade), 0.2)}
524
473
  .grey .ripple{background: rgba(map-get($grey-contrast, $get-shade), 0.2)}
525
474
  .background-grey{background: map-get($grey, $get-shade)}
526
475
  .border-color-grey{border-color: map-get($grey, $get-shade)}
527
- .grey[outline]:not([outline="false"]),
528
- [color="grey"][outline]:not([outline="false"]),
529
- [color="grey"][link]:not([link="false"]),
530
476
  .color-grey{color: map-get($grey, $get-shade)!important}
531
477
  .fill-grey{fill: map-get($grey, $get-shade)}
532
478
  .stroke-grey{stroke: map-get($grey, $get-shade)}
@@ -539,13 +485,10 @@ $index: 0;
539
485
  background: map-get($grey, $get-shade);
540
486
  color: map-get($grey-contrast, $get-shade);
541
487
  }
542
- .blue-grey[outline]:not([outline="false"]) .ripple, .background-blue-grey-alpha {background: rgba(map-get($blue-grey, $get-shade), 0.2)}
488
+ .background-blue-grey-alpha {background: rgba(map-get($blue-grey, $get-shade), 0.2)}
543
489
  .blue-grey .ripple{background: rgba(map-get($blue-grey-contrast, $get-shade), 0.2)}
544
490
  .background-blue-grey{background: map-get($blue-grey, $get-shade)}
545
491
  .border-color-blue-grey{border-color: map-get($blue-grey, $get-shade)}
546
- .blue-grey[outline]:not([outline="false"]),
547
- [color="blue-grey"][outline]:not([outline="false"]),
548
- [color="blue-grey"][link]:not([link="false"]),
549
492
  .color-blue-grey{color: map-get($blue-grey, $get-shade)!important}
550
493
  .fill-blue-grey{fill: map-get($blue-grey, $get-shade)}
551
494
  .stroke-blue-grey{stroke: map-get($blue-grey, $get-shade)}
@@ -559,73 +502,61 @@ $index: 0;
559
502
  color: map-get($blue-grey-contrast, $get-shade);
560
503
  }
561
504
 
562
- .primary[outline]:not([outline="false"]) .ripple, .background-primary-alpha {background: rgba(map-get($primary, default), 0.2)}
505
+ .background-primary-alpha {background: rgba(map-get($primary, default), 0.2)}
563
506
  .primary .ripple{background: rgba(map-get($primary, default-contrast), 0.2)}
564
507
  .background-primary{background: map-get($primary, default)}
565
508
  .border-color-primary{border-color: map-get($primary, default)}
566
- .primary[outline]:not([outline="false"]),
567
- [color="primary"][outline]:not([outline="false"]),
568
- [color="primary"][link]:not([link="false"]),
569
509
  .color-primary{color: map-get($primary, default)!important}
570
510
  .fill-primary{fill: map-get($primary, default)}
571
511
  .stroke-primary{stroke: map-get($primary, default)}
572
512
  .color-primary-alpha{color: rgba(map-get($primary, default),0.2)!important}
573
513
  .primary-alpha{
574
- background: rgba(map-get($primary, $get-shade),0.2);
575
- color: map-get($primary-contrast, $get-shade);
514
+ background: rgba(map-get($primary, default),0.2);
515
+ color: map-get($primary, default-contrast);
576
516
  }
577
517
  .primary{
578
518
  background: map-get($primary, default);
579
519
  color: map-get($primary, default-contrast);
580
520
  }
581
521
 
582
- .accent[outline]:not([outline="false"]) .ripple, .background-accent-alpha {background: rgba(map-get($accent, default), 0.2)}
522
+ .background-accent-alpha {background: rgba(map-get($accent, default), 0.2)}
583
523
  .accent .ripple{background: rgba(map-get($accent, default-contrast), 0.2)}
584
524
  .background-accent{background: map-get($accent, default)}
585
525
  .border-color-accent{border-color: map-get($accent, default)}
586
- .accent[outline]:not([outline="false"]),
587
- [color="accent"][outline]:not([outline="false"]),
588
- [color="accent"][link]:not([link="false"]),
589
526
  .color-accent{color: map-get($accent, default)!important}
590
527
  .fill-accent{fill: map-get($accent, default)}
591
528
  .stroke-accent{stroke: map-get($accent, default)}
592
529
  .color-accent-alpha{color: rgba(map-get($accent, default),0.2)!important}
593
530
  .accent-alpha{
594
- background: rgba(map-get($accent, $get-shade),0.2);
595
- color: map-get($accent-contrast, $get-shade);
531
+ background: rgba(map-get($accent, default),0.2);
532
+ color: map-get($accent, default-contrast);
596
533
  }
597
534
  .accent{
598
535
  background: map-get($accent, default);
599
536
  color: map-get($accent, default-contrast);
600
537
  }
601
538
 
602
- .warn[outline]:not([outline="false"]) .ripple, .background-warn-alpha {background: rgba(map-get($warn, default), 0.2)}
539
+ .background-warn-alpha {background: rgba(map-get($warn, default), 0.2)}
603
540
  .warn .ripple{background: rgba(map-get($warn, default-contrast), 0.2)}
604
541
  .background-warn{background: map-get($warn, default)}
605
542
  .border-color-warn{border-color: map-get($warn, default)}
606
- .warn[outline]:not([outline="false"]),
607
- [color="warn"][outline]:not([outline="false"]),
608
- [color="warn"][link]:not([link="false"]),
609
543
  .color-warn{color: map-get($warn, default)!important}
610
544
  .fill-warn{fill: map-get($warn, default)}
611
545
  .stroke-warn{stroke: map-get($warn, default)}
612
546
  .color-warn-alpha{color: rgba(map-get($warn, default),0.2)!important}
613
547
  .warn-alpha{
614
- background: rgba(map-get($warn, $get-shade),0.2);
615
- color: map-get($warn-contrast, $get-shade);
548
+ background: rgba(map-get($warn, default),0.2);
549
+ color: map-get($warn, default-contrast);
616
550
  }
617
551
  .warn{
618
552
  background: map-get($warn, default);
619
553
  color: map-get($warn, default-contrast);
620
554
  }
621
555
 
622
- .basic[outline]:not([outline="false"]) .ripple,.background-basic-alpha {background: rgba(map-get($foreground, base), 0.2)}
556
+ .background-basic-alpha {background: rgba(map-get($foreground, base), 0.2)}
623
557
  .basic .ripple{background: rgba(map-get($foreground, base), 0.2)}
624
558
  .background-basic{background: map-get($background, card)}
625
559
  .border-color-basic{border-color: map-get($foreground, base)}
626
- .basic[outline]:not([outline="false"]):not([color]),
627
- [color="basic"][outline]:not([outline="false"]),
628
- [color="basic"][link]:not([link="false"]),
629
560
  .color-basic{color: map-get($foreground, base)!important}
630
561
  .fill-basic{fill: map-get($background, card)}
631
562
  .stroke-basic{stroke: map-get($foreground, base)}
@@ -636,9 +567,7 @@ $index: 0;
636
567
  }
637
568
  .basic{
638
569
  background: map-get($background, card);
639
- &:not([color]){
640
- color: map-get($foreground, base);
641
- }
570
+ color: map-get($foreground, base);
642
571
  }
643
572
 
644
573
  .color-unset {
@@ -189,12 +189,510 @@ a[matcha-button] {
189
189
  }
190
190
 
191
191
  @mixin matcha-button-theme($theme) {
192
+ $is-dark: map-get($theme, is-dark);
193
+ $palettes: getBaseColorsPalettes();
194
+ // colors from base palette
195
+ $red: map-get($palettes, red);
196
+ $red-contrast: map-get($red, 'contrast');
197
+ $pink: map-get($palettes, pink);
198
+ $pink-contrast: map-get($pink, 'contrast');
199
+ $purple: map-get($palettes, purple);
200
+ $purple-contrast: map-get($purple, 'contrast');
201
+ $deep-purple: map-get($palettes, deep-purple);
202
+ $deep-purple-contrast: map-get($deep-purple, 'contrast');
203
+ $indigo: map-get($palettes, indigo);
204
+ $indigo-contrast: map-get($indigo, 'contrast');
205
+ $blue: map-get($palettes, blue);
206
+ $blue-contrast: map-get($blue, 'contrast');
207
+ $light-blue: map-get($palettes, light-blue);
208
+ $light-blue-contrast: map-get($light-blue, 'contrast');
209
+ $cyan: map-get($palettes, cyan);
210
+ $cyan-contrast: map-get($cyan, 'contrast');
211
+ $teal: map-get($palettes, teal);
212
+ $teal-contrast: map-get($teal, 'contrast');
213
+ $green: map-get($palettes, green);
214
+ $green-contrast: map-get($green, 'contrast');
215
+ $light-green: map-get($palettes, light-green);
216
+ $light-green-contrast: map-get($light-green, 'contrast');
217
+ $lime: map-get($palettes, lime);
218
+ $lime-contrast: map-get($lime, 'contrast');
219
+ $yellow: map-get($palettes, yellow);
220
+ $yellow-contrast: map-get($yellow, 'contrast');
221
+ $amber: map-get($palettes, amber);
222
+ $amber-contrast: map-get($amber, 'contrast');
223
+ $orange: map-get($palettes, orange);
224
+ $orange-contrast: map-get($orange, 'contrast');
225
+ $deep-orange: map-get($palettes, deep-orange);
226
+ $deep-orange-contrast: map-get($deep-orange, 'contrast');
227
+ $brown: map-get($palettes, brown);
228
+ $brown-contrast: map-get($brown, 'contrast');
229
+ $gray: map-get($palettes, gray);
230
+ $grey-contrast: map-get($grey, 'contrast');
231
+ $blue-grey: map-get($palettes, blue-grey);
232
+ $blue-grey-contrast: map-get($blue-grey, 'contrast');
233
+
234
+ // colors from theme
192
235
  $primary: map-get($theme, primary);
236
+ $primary-contrast: map-get($primary, 'contrast');
193
237
  $accent: map-get($theme, accent);
238
+ $accent-contrast: map-get($accent, 'contrast');
194
239
  $warn: map-get($theme, warn);
240
+ $warn-contrast: map-get($warn, 'contrast');
241
+
195
242
  $background: map-get($theme, background);
196
243
  $foreground: map-get($theme, foreground);
197
244
 
245
+ $get-shade: if($is-dark, 100, 500); // Define $red-shade com base no valor de $is-dark
246
+
247
+ button[matcha-button],
248
+ a[matcha-button] {
249
+ &:not([color]) .ripple {
250
+ background: rgba(map-get($foreground, base), 0.2)
251
+ }
252
+ // red
253
+ &[color="red"][outline]:not([outline="false"]) .ripple {
254
+ background: rgba(map-get($red, $get-shade), 0.2)
255
+ }
256
+ &[color="red"][alpha]:not([alpha="false"]){
257
+ background: rgba(map-get($red, $get-shade), 0.2);
258
+ color: map-get($red, $get-shade);
259
+ }
260
+ &[color="red"][outline]:not([outline="false"]),
261
+ &[color="red"][link]:not([link="false"]),
262
+ &[color="red"][basic]:not([basic="false"]) {
263
+ color: map-get($red, $get-shade)!important
264
+ }
265
+ &[color="red"]{
266
+ background: map-get($red, $get-shade);
267
+ color: map-get($red-contrast, $get-shade);
268
+ }
269
+ &[color="red"] .ripple{background: rgba(map-get($red-contrast, $get-shade), 0.2)}
270
+
271
+ // pink
272
+ &[color="pink"][outline]:not([outline="false"]) .ripple {
273
+ background: rgba(map-get($pink, $get-shade), 0.2)
274
+ }
275
+ &[color="pink"][alpha]:not([alpha="false"]){
276
+ background: rgba(map-get($pink, $get-shade), 0.2);
277
+ color: map-get($pink, $get-shade);
278
+ }
279
+ &[color="pink"][outline]:not([outline="false"]),
280
+ &[color="pink"][link]:not([link="false"]),
281
+ &[color="pink"][basic]:not([basic="false"]) {
282
+ color: map-get($pink, $get-shade)!important
283
+ }
284
+ &[color="pink"]{
285
+ background: map-get($pink, $get-shade);
286
+ color: map-get($pink-contrast, $get-shade);
287
+ }
288
+ &[color="pink"] .ripple{background: rgba(map-get($pink-contrast, $get-shade), 0.2)}
289
+
290
+ // purple
291
+ &[color="purple"][outline]:not([outline="false"]) .ripple {
292
+ background: rgba(map-get($purple, $get-shade), 0.2)
293
+ }
294
+ &[color="purple"][alpha]:not([alpha="false"]){
295
+ background: rgba(map-get($purple, $get-shade), 0.2);
296
+ color: map-get($purple, $get-shade);
297
+ }
298
+ &[color="purple"][outline]:not([outline="false"]),
299
+ &[color="purple"][link]:not([link="false"]),
300
+ &[color="purple"][basic]:not([basic="false"]) {
301
+ color: map-get($purple, $get-shade)!important
302
+ }
303
+ &[color="purple"]{
304
+ background: map-get($purple, $get-shade);
305
+ color: map-get($purple-contrast, $get-shade);
306
+ }
307
+ &[color="purple"] .ripple{background: rgba(map-get($purple-contrast, $get-shade), 0.2)}
308
+
309
+ // deep-purple
310
+ &[color="deep-purple"][outline]:not([outline="false"]) .ripple {
311
+ background: rgba(map-get($deep-purple, $get-shade), 0.2)
312
+ }
313
+ &[color="deep-purple"][alpha]:not([alpha="false"]){
314
+ background: rgba(map-get($deep-purple, $get-shade), 0.2);
315
+ color: map-get($deep-purple, $get-shade);
316
+ }
317
+ &[color="deep-purple"][outline]:not([outline="false"]),
318
+ &[color="deep-purple"][link]:not([link="false"]),
319
+ &[color="deep-purple"][basic]:not([basic="false"]) {
320
+ color: map-get($deep-purple, $get-shade)!important
321
+ }
322
+ &[color="deep-purple"]{
323
+ background: map-get($deep-purple, $get-shade);
324
+ color: map-get($deep-purple-contrast, $get-shade);
325
+ }
326
+ &[color="deep-purple"] .ripple{background: rgba(map-get($deep-purple-contrast, $get-shade), 0.2)}
327
+
328
+ // indigo
329
+ &[color="indigo"][outline]:not([outline="false"]) .ripple {
330
+ background: rgba(map-get($indigo, $get-shade), 0.2)
331
+ }
332
+ &[color="indigo"][alpha]:not([alpha="false"]){
333
+ background: rgba(map-get($indigo, $get-shade), 0.2);
334
+ color: map-get($indigo, $get-shade);
335
+ }
336
+ &[color="indigo"][outline]:not([outline="false"]),
337
+ &[color="indigo"][link]:not([link="false"]),
338
+ &[color="indigo"][basic]:not([basic="false"]) {
339
+ color: map-get($indigo, $get-shade)!important
340
+ }
341
+ &[color="indigo"]{
342
+ background: map-get($indigo, $get-shade);
343
+ color: map-get($indigo-contrast, $get-shade);
344
+ }
345
+ &[color="indigo"] .ripple{background: rgba(map-get($indigo-contrast, $get-shade), 0.2)}
346
+
347
+ // blue
348
+ &[color="blue"][outline]:not([outline="false"]) .ripple {
349
+ background: rgba(map-get($blue, $get-shade), 0.2)
350
+ }
351
+ &[color="blue"][alpha]:not([alpha="false"]){
352
+ background: rgba(map-get($blue, $get-shade), 0.2);
353
+ color: map-get($blue, $get-shade);
354
+ }
355
+ &[color="blue"][outline]:not([outline="false"]),
356
+ &[color="blue"][link]:not([link="false"]),
357
+ &[color="blue"][basic]:not([basic="false"]) {
358
+ color: map-get($blue, $get-shade)!important
359
+ }
360
+ &[color="blue"]{
361
+ background: map-get($blue, $get-shade);
362
+ color: map-get($blue-contrast, $get-shade);
363
+ }
364
+ &[color="blue"] .ripple{background: rgba(map-get($blue-contrast, $get-shade), 0.2)}
365
+
366
+ // light-blue
367
+ &[color="light-blue"][outline]:not([outline="false"]) .ripple {
368
+ background: rgba(map-get($light-blue, $get-shade), 0.2)
369
+ }
370
+ &[color="light-blue"][alpha]:not([alpha="false"]){
371
+ background: rgba(map-get($light-blue, $get-shade), 0.2);
372
+ color: map-get($light-blue, $get-shade);
373
+ }
374
+ &[color="light-blue"][outline]:not([outline="false"]),
375
+ &[color="light-blue"][link]:not([link="false"]),
376
+ &[color="light-blue"][basic]:not([basic="false"]) {
377
+ color: map-get($light-blue, $get-shade)!important
378
+ }
379
+ &[color="light-blue"]{
380
+ background: map-get($light-blue, $get-shade);
381
+ color: map-get($light-blue-contrast, $get-shade);
382
+ }
383
+ &[color="light-blue"] .ripple{background: rgba(map-get($light-blue-contrast, $get-shade), 0.2)}
384
+
385
+ // cyan
386
+ &[color="cyan"][outline]:not([outline="false"]) .ripple {
387
+ background: rgba(map-get($cyan, $get-shade), 0.2)
388
+ }
389
+ &[color="cyan"][alpha]:not([alpha="false"]){
390
+ background: rgba(map-get($cyan, $get-shade), 0.2);
391
+ color: map-get($cyan, $get-shade);
392
+ }
393
+ &[color="cyan"][outline]:not([outline="false"]),
394
+ &[color="cyan"][link]:not([link="false"]),
395
+ &[color="cyan"][basic]:not([basic="false"]) {
396
+ color: map-get($cyan, $get-shade)!important
397
+ }
398
+ &[color="cyan"]{
399
+ background: map-get($cyan, $get-shade);
400
+ color: map-get($cyan-contrast, $get-shade);
401
+ }
402
+ &[color="cyan"] .ripple{background: rgba(map-get($cyan-contrast, $get-shade), 0.2)}
403
+
404
+ // teal
405
+ &[color="teal"][outline]:not([outline="false"]) .ripple {
406
+ background: rgba(map-get($teal, $get-shade), 0.2)
407
+ }
408
+ &[color="teal"][alpha]:not([alpha="false"]){
409
+ background: rgba(map-get($teal, $get-shade), 0.2);
410
+ color: map-get($teal, $get-shade);
411
+ }
412
+ &[color="teal"][outline]:not([outline="false"]),
413
+ &[color="teal"][link]:not([link="false"]),
414
+ &[color="teal"][basic]:not([basic="false"]) {
415
+ color: map-get($teal, $get-shade)!important
416
+ }
417
+ &[color="teal"]{
418
+ background: map-get($teal, $get-shade);
419
+ color: map-get($teal-contrast, $get-shade);
420
+ }
421
+ &[color="teal"] .ripple{background: rgba(map-get($teal-contrast, $get-shade), 0.2)}
422
+
423
+ // green
424
+ &[color="green"][outline]:not([outline="false"]) .ripple {
425
+ background: rgba(map-get($green, $get-shade), 0.2)
426
+ }
427
+ &[color="green"][alpha]:not([alpha="false"]){
428
+ background: rgba(map-get($green, $get-shade), 0.2);
429
+ color: map-get($green, $get-shade);
430
+ }
431
+ &[color="green"][outline]:not([outline="false"]),
432
+ &[color="green"][link]:not([link="false"]),
433
+ &[color="green"][basic]:not([basic="false"]) {
434
+ color: map-get($green, $get-shade)!important
435
+ }
436
+ &[color="green"]{
437
+ background: map-get($green, $get-shade);
438
+ color: map-get($green-contrast, $get-shade);
439
+ }
440
+ &[color="green"] .ripple{background: rgba(map-get($green-contrast, $get-shade), 0.2)}
441
+
442
+ // light-green
443
+ &[color="light-green"][outline]:not([outline="false"]) .ripple {
444
+ background: rgba(map-get($light-green, $get-shade), 0.2)
445
+ }
446
+ &[color="light-green"][alpha]:not([alpha="false"]){
447
+ background: rgba(map-get($light-green, $get-shade), 0.2);
448
+ color: map-get($light-green, $get-shade);
449
+ }
450
+ &[color="light-green"][outline]:not([outline="false"]),
451
+ &[color="light-green"][link]:not([link="false"]),
452
+ &[color="light-green"][basic]:not([basic="false"]) {
453
+ color: map-get($light-green, $get-shade)!important
454
+ }
455
+ &[color="light-green"]{
456
+ background: map-get($light-green, $get-shade);
457
+ color: map-get($light-green-contrast, $get-shade);
458
+ }
459
+ &[color="light-green"] .ripple{background: rgba(map-get($light-green-contrast, $get-shade), 0.2)}
460
+
461
+ // lime
462
+ &[color="lime"][outline]:not([outline="false"]) .ripple {
463
+ background: rgba(map-get($lime, $get-shade), 0.2)
464
+ }
465
+ &[color="lime"][alpha]:not([alpha="false"]){
466
+ background: rgba(map-get($lime, $get-shade), 0.2);
467
+ color: map-get($lime, $get-shade);
468
+ }
469
+ &[color="lime"][outline]:not([outline="false"]),
470
+ &[color="lime"][link]:not([link="false"]),
471
+ &[color="lime"][basic]:not([basic="false"]) {
472
+ color: map-get($lime, $get-shade)!important
473
+ }
474
+ &[color="lime"]{
475
+ background: map-get($lime, $get-shade);
476
+ color: map-get($lime-contrast, $get-shade);
477
+ }
478
+ &[color="lime"] .ripple{background: rgba(map-get($lime-contrast, $get-shade), 0.2)}
479
+
480
+ // yellow
481
+ &[color="yellow"][outline]:not([outline="false"]) .ripple {
482
+ background: rgba(map-get($yellow, $get-shade), 0.2)
483
+ }
484
+ &[color="yellow"][alpha]:not([alpha="false"]){
485
+ background: rgba(map-get($yellow, $get-shade), 0.2);
486
+ color: map-get($yellow, $get-shade);
487
+ }
488
+ &[color="yellow"][outline]:not([outline="false"]),
489
+ &[color="yellow"][link]:not([link="false"]),
490
+ &[color="yellow"][basic]:not([basic="false"]) {
491
+ color: map-get($yellow, $get-shade)!important
492
+ }
493
+ &[color="yellow"]{
494
+ background: map-get($yellow, $get-shade);
495
+ color: map-get($yellow-contrast, $get-shade);
496
+ }
497
+ &[color="yellow"] .ripple{background: rgba(map-get($yellow-contrast, $get-shade), 0.2)}
498
+
499
+ // amber
500
+ &[color="amber"][outline]:not([outline="false"]) .ripple {
501
+ background: rgba(map-get($amber, $get-shade), 0.2)
502
+ }
503
+ &[color="amber"][alpha]:not([alpha="false"]){
504
+ background: rgba(map-get($amber, $get-shade), 0.2);
505
+ color: map-get($amber, $get-shade);
506
+ }
507
+ &[color="amber"][outline]:not([outline="false"]),
508
+ &[color="amber"][link]:not([link="false"]),
509
+ &[color="amber"][basic]:not([basic="false"]) {
510
+ color: map-get($amber, $get-shade)!important
511
+ }
512
+ &[color="amber"]{
513
+ background: map-get($amber, $get-shade);
514
+ color: map-get($amber-contrast, $get-shade);
515
+ }
516
+ &[color="amber"] .ripple{background: rgba(map-get($amber-contrast, $get-shade), 0.2)}
517
+
518
+ // orange
519
+ &[color="orange"][outline]:not([outline="false"]) .ripple {
520
+ background: rgba(map-get($orange, $get-shade), 0.2)
521
+ }
522
+ &[color="orange"][alpha]:not([alpha="false"]){
523
+ background: rgba(map-get($orange, $get-shade), 0.2);
524
+ color: map-get($orange, $get-shade);
525
+ }
526
+ &[color="orange"][outline]:not([outline="false"]),
527
+ &[color="orange"][link]:not([link="false"]),
528
+ &[color="orange"][basic]:not([basic="false"]) {
529
+ color: map-get($orange, $get-shade)!important
530
+ }
531
+ &[color="orange"]{
532
+ background: map-get($orange, $get-shade);
533
+ color: map-get($orange-contrast, $get-shade);
534
+ }
535
+ &[color="orange"] .ripple{background: rgba(map-get($orange-contrast, $get-shade), 0.2)}
536
+
537
+ // deep-orange
538
+ &[color="deep-orange"][outline]:not([outline="false"]) .ripple {
539
+ background: rgba(map-get($deep-orange, $get-shade), 0.2)
540
+ }
541
+ &[color="deep-orange"][alpha]:not([alpha="false"]){
542
+ background: rgba(map-get($deep-orange, $get-shade), 0.2);
543
+ color: map-get($deep-orange, $get-shade);
544
+ }
545
+ &[color="deep-orange"][outline]:not([outline="false"]),
546
+ &[color="deep-orange"][link]:not([link="false"]),
547
+ &[color="deep-orange"][basic]:not([basic="false"]) {
548
+ color: map-get($deep-orange, $get-shade)!important
549
+ }
550
+ &[color="deep-orange"]{
551
+ background: map-get($deep-orange, $get-shade);
552
+ color: map-get($deep-orange-contrast, $get-shade);
553
+ }
554
+ &[color="deep-orange"] .ripple{background: rgba(map-get($deep-orange-contrast, $get-shade), 0.2)}
555
+
556
+ // brown
557
+ &[color="brown"][outline]:not([outline="false"]) .ripple {
558
+ background: rgba(map-get($brown, $get-shade), 0.2)
559
+ }
560
+ &[color="brown"][alpha]:not([alpha="false"]){
561
+ background: rgba(map-get($brown, $get-shade), 0.2);
562
+ color: map-get($brown, $get-shade);
563
+ }
564
+ &[color="brown"][outline]:not([outline="false"]),
565
+ &[color="brown"][link]:not([link="false"]),
566
+ &[color="brown"][basic]:not([basic="false"]) {
567
+ color: map-get($brown, $get-shade)!important
568
+ }
569
+ &[color="brown"]{
570
+ background: map-get($brown, $get-shade);
571
+ color: map-get($brown-contrast, $get-shade);
572
+ }
573
+ &[color="brown"] .ripple{background: rgba(map-get($brown-contrast, $get-shade), 0.2)}
574
+
575
+ // gray
576
+ &[color="gray"][outline]:not([outline="false"]) .ripple {
577
+ background: rgba(map-get($gray, $get-shade), 0.2)
578
+ }
579
+ &[color="gray"][alpha]:not([alpha="false"]){
580
+ background: rgba(map-get($gray, $get-shade), 0.2);
581
+ color: map-get($gray, $get-shade);
582
+ }
583
+ &[color="gray"][outline]:not([outline="false"]),
584
+ &[color="gray"][link]:not([link="false"]),
585
+ &[color="gray"][basic]:not([basic="false"]) {
586
+ color: map-get($gray, $get-shade)!important
587
+ }
588
+ &[color="gray"]{
589
+ background: map-get($gray, $get-shade);
590
+ color: map-get($grey-contrast, $get-shade);
591
+ }
592
+ &[color="gray"] .ripple{background: rgba(map-get($grey-contrast, $get-shade), 0.2)}
593
+
594
+ // blue-grey
595
+ &[color="blue-grey"][outline]:not([outline="false"]) .ripple {
596
+ background: rgba(map-get($blue-grey, $get-shade), 0.2)
597
+ }
598
+ &[color="blue-grey"][alpha]:not([alpha="false"]){
599
+ background: rgba(map-get($blue-grey, $get-shade), 0.2);
600
+ color: map-get($blue-grey, $get-shade);
601
+ }
602
+ &[color="blue-grey"][outline]:not([outline="false"]),
603
+ &[color="blue-grey"][link]:not([link="false"]),
604
+ &[color="blue-grey"][basic]:not([basic="false"]) {
605
+ color: map-get($blue-grey, $get-shade)!important
606
+ }
607
+ &[color="blue-grey"]{
608
+ background: map-get($blue-grey, $get-shade);
609
+ color: map-get($blue-grey-contrast, $get-shade);
610
+ }
611
+ &[color="blue-grey"] .ripple{background: rgba(map-get($blue-grey-contrast, $get-shade), 0.2)}
612
+
613
+ // primary
614
+ &[color="primary"][outline]:not([outline="false"]) .ripple {
615
+ background: rgba(map-get($primary, default), 0.2)
616
+ }
617
+ &[color="primary"][alpha]:not([alpha="false"]){
618
+ background: rgba(map-get($primary, default), 0.2);
619
+ color: map-get($primary, default);
620
+ }
621
+ &[color="primary"][outline]:not([outline="false"]),
622
+ &[color="primary"][link]:not([link="false"]),
623
+ &[color="primary"][basic]:not([basic="false"]) {
624
+ color: map-get($primary, default)!important
625
+ }
626
+ &[color="primary"]{
627
+ background: map-get($primary, default);
628
+ color: map-get($primary, default-contrast);
629
+ }
630
+ &[color="primary"] .ripple{background: rgba(map-get($primary, default-contrast), 0.2)}
631
+
632
+ // accent
633
+ &[color="accent"][outline]:not([outline="false"]) .ripple {
634
+ background: rgba(map-get($accent, default), 0.2)
635
+ }
636
+ &[color="accent"][alpha]:not([alpha="false"]){
637
+ background: rgba(map-get($accent, default), 0.2);
638
+ color: map-get($accent, default);
639
+ }
640
+ &[color="accent"][outline]:not([outline="false"]),
641
+ &[color="accent"][link]:not([link="false"]),
642
+ &[color="accent"][basic]:not([basic="false"]) {
643
+ color: map-get($accent, default)!important
644
+ }
645
+ &[color="accent"]{
646
+ background: map-get($accent, default);
647
+ color: map-get($accent, default-contrast);
648
+ }
649
+ &[color="accent"] .ripple{background: rgba(map-get($accent, default-contrast), 0.2)}
650
+
651
+ // warn
652
+ &[color="warn"][outline]:not([outline="false"]) .ripple {
653
+ background: rgba(map-get($warn, default), 0.2)
654
+ }
655
+ &[color="warn"][alpha]:not([alpha="false"]){
656
+ background: rgba(map-get($warn, default), 0.2);
657
+ color: map-get($warn, default);
658
+ }
659
+ &[color="warn"][outline]:not([outline="false"]),
660
+ &[color="warn"][link]:not([link="false"]),
661
+ &[color="warn"][basic]:not([basic="false"]) {
662
+ color: map-get($warn, default)!important
663
+ }
664
+ &[color="warn"]{
665
+ background: map-get($warn, default);
666
+ color: map-get($warn, default-contrast);
667
+ }
668
+ &[color="warn"] .ripple{background: rgba(map-get($warn, default-contrast), 0.2)}
669
+
670
+ //basic
671
+ &[color="basic"][outline]:not([outline="false"]) .ripple {
672
+ background: rgba(map-get($foreground, base), 0.2)
673
+ }
674
+ &[color="basic"][alpha]:not([alpha="false"]){
675
+ background: rgba(map-get($foreground, base), 0.2);
676
+ color: map-get($foreground, base);
677
+ }
678
+ &[color="basic"][outline]:not([outline="false"]),
679
+ &[color="basic"][link]:not([link="false"]),
680
+ &[color="basic"][basic]:not([basic="false"]) {
681
+ color: map-get($foreground, base)!important
682
+ }
683
+ &[color="basic"]{
684
+ background: map-get($background, card);
685
+ color: map-get($foreground, base);
686
+ }
687
+ &[color="basic"] .ripple{background: rgba(map-get($foreground, base), 0.2)}
688
+ &[color="basic"]{
689
+ background: map-get($background, card);
690
+ &:not([color]){
691
+ color: map-get($foreground, base);
692
+ }
693
+ }
694
+ }
695
+
198
696
  button[matcha-button],
199
697
  a[matcha-button] {
200
698
  border: 0px solid currentColor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-theme",
3
- "version": "19.19.0",
3
+ "version": "19.21.0",
4
4
  "description": "Themes for matcha-design-system",
5
5
  "main": "main.scss",
6
6
  "scripts": {