matcha-theme 19.20.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.
- package/abstracts/_colors.scss +6 -6
- package/components/matcha-buttons.scss +21 -22
- package/package.json +1 -1
package/abstracts/_colors.scss
CHANGED
|
@@ -511,8 +511,8 @@ $index: 0;
|
|
|
511
511
|
.stroke-primary{stroke: map-get($primary, default)}
|
|
512
512
|
.color-primary-alpha{color: rgba(map-get($primary, default),0.2)!important}
|
|
513
513
|
.primary-alpha{
|
|
514
|
-
background: rgba(map-get($primary,
|
|
515
|
-
color: map-get($primary
|
|
514
|
+
background: rgba(map-get($primary, default),0.2);
|
|
515
|
+
color: map-get($primary, default-contrast);
|
|
516
516
|
}
|
|
517
517
|
.primary{
|
|
518
518
|
background: map-get($primary, default);
|
|
@@ -528,8 +528,8 @@ $index: 0;
|
|
|
528
528
|
.stroke-accent{stroke: map-get($accent, default)}
|
|
529
529
|
.color-accent-alpha{color: rgba(map-get($accent, default),0.2)!important}
|
|
530
530
|
.accent-alpha{
|
|
531
|
-
background: rgba(map-get($accent,
|
|
532
|
-
color: map-get($accent
|
|
531
|
+
background: rgba(map-get($accent, default),0.2);
|
|
532
|
+
color: map-get($accent, default-contrast);
|
|
533
533
|
}
|
|
534
534
|
.accent{
|
|
535
535
|
background: map-get($accent, default);
|
|
@@ -545,8 +545,8 @@ $index: 0;
|
|
|
545
545
|
.stroke-warn{stroke: map-get($warn, default)}
|
|
546
546
|
.color-warn-alpha{color: rgba(map-get($warn, default),0.2)!important}
|
|
547
547
|
.warn-alpha{
|
|
548
|
-
background: rgba(map-get($warn,
|
|
549
|
-
color: map-get($warn
|
|
548
|
+
background: rgba(map-get($warn, default),0.2);
|
|
549
|
+
color: map-get($warn, default-contrast);
|
|
550
550
|
}
|
|
551
551
|
.warn{
|
|
552
552
|
background: map-get($warn, default);
|
|
@@ -244,7 +244,6 @@ a[matcha-button] {
|
|
|
244
244
|
|
|
245
245
|
$get-shade: if($is-dark, 100, 500); // Define $red-shade com base no valor de $is-dark
|
|
246
246
|
|
|
247
|
-
|
|
248
247
|
button[matcha-button],
|
|
249
248
|
a[matcha-button] {
|
|
250
249
|
&:not([color]) .ripple {
|
|
@@ -613,60 +612,60 @@ a[matcha-button] {
|
|
|
613
612
|
|
|
614
613
|
// primary
|
|
615
614
|
&[color="primary"][outline]:not([outline="false"]) .ripple {
|
|
616
|
-
background: rgba(map-get($primary,
|
|
615
|
+
background: rgba(map-get($primary, default), 0.2)
|
|
617
616
|
}
|
|
618
617
|
&[color="primary"][alpha]:not([alpha="false"]){
|
|
619
|
-
background: rgba(map-get($primary,
|
|
620
|
-
color: map-get($primary,
|
|
618
|
+
background: rgba(map-get($primary, default), 0.2);
|
|
619
|
+
color: map-get($primary, default);
|
|
621
620
|
}
|
|
622
621
|
&[color="primary"][outline]:not([outline="false"]),
|
|
623
622
|
&[color="primary"][link]:not([link="false"]),
|
|
624
623
|
&[color="primary"][basic]:not([basic="false"]) {
|
|
625
|
-
color: map-get($primary,
|
|
624
|
+
color: map-get($primary, default)!important
|
|
626
625
|
}
|
|
627
626
|
&[color="primary"]{
|
|
628
|
-
background: map-get($primary,
|
|
629
|
-
color: map-get($primary
|
|
627
|
+
background: map-get($primary, default);
|
|
628
|
+
color: map-get($primary, default-contrast);
|
|
630
629
|
}
|
|
631
|
-
&[color="primary"] .ripple{background: rgba(map-get($primary
|
|
630
|
+
&[color="primary"] .ripple{background: rgba(map-get($primary, default-contrast), 0.2)}
|
|
632
631
|
|
|
633
632
|
// accent
|
|
634
633
|
&[color="accent"][outline]:not([outline="false"]) .ripple {
|
|
635
|
-
background: rgba(map-get($accent,
|
|
634
|
+
background: rgba(map-get($accent, default), 0.2)
|
|
636
635
|
}
|
|
637
636
|
&[color="accent"][alpha]:not([alpha="false"]){
|
|
638
|
-
background: rgba(map-get($accent,
|
|
639
|
-
color: map-get($accent,
|
|
637
|
+
background: rgba(map-get($accent, default), 0.2);
|
|
638
|
+
color: map-get($accent, default);
|
|
640
639
|
}
|
|
641
640
|
&[color="accent"][outline]:not([outline="false"]),
|
|
642
641
|
&[color="accent"][link]:not([link="false"]),
|
|
643
642
|
&[color="accent"][basic]:not([basic="false"]) {
|
|
644
|
-
color: map-get($accent,
|
|
643
|
+
color: map-get($accent, default)!important
|
|
645
644
|
}
|
|
646
645
|
&[color="accent"]{
|
|
647
|
-
background: map-get($accent,
|
|
648
|
-
color: map-get($accent
|
|
646
|
+
background: map-get($accent, default);
|
|
647
|
+
color: map-get($accent, default-contrast);
|
|
649
648
|
}
|
|
650
|
-
&[color="accent"] .ripple{background: rgba(map-get($accent
|
|
649
|
+
&[color="accent"] .ripple{background: rgba(map-get($accent, default-contrast), 0.2)}
|
|
651
650
|
|
|
652
651
|
// warn
|
|
653
652
|
&[color="warn"][outline]:not([outline="false"]) .ripple {
|
|
654
|
-
background: rgba(map-get($warn,
|
|
653
|
+
background: rgba(map-get($warn, default), 0.2)
|
|
655
654
|
}
|
|
656
655
|
&[color="warn"][alpha]:not([alpha="false"]){
|
|
657
|
-
background: rgba(map-get($warn,
|
|
658
|
-
color: map-get($warn,
|
|
656
|
+
background: rgba(map-get($warn, default), 0.2);
|
|
657
|
+
color: map-get($warn, default);
|
|
659
658
|
}
|
|
660
659
|
&[color="warn"][outline]:not([outline="false"]),
|
|
661
660
|
&[color="warn"][link]:not([link="false"]),
|
|
662
661
|
&[color="warn"][basic]:not([basic="false"]) {
|
|
663
|
-
color: map-get($warn,
|
|
662
|
+
color: map-get($warn, default)!important
|
|
664
663
|
}
|
|
665
664
|
&[color="warn"]{
|
|
666
|
-
background: map-get($warn,
|
|
667
|
-
color: map-get($warn
|
|
665
|
+
background: map-get($warn, default);
|
|
666
|
+
color: map-get($warn, default-contrast);
|
|
668
667
|
}
|
|
669
|
-
&[color="warn"] .ripple{background: rgba(map-get($warn
|
|
668
|
+
&[color="warn"] .ripple{background: rgba(map-get($warn, default-contrast), 0.2)}
|
|
670
669
|
|
|
671
670
|
//basic
|
|
672
671
|
&[color="basic"][outline]:not([outline="false"]) .ripple {
|