matcha-theme 19.20.0 → 19.22.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.
@@ -172,7 +172,7 @@ $index: 0;
172
172
  $deep-orange-contrast: map-get($deep-orange, 'contrast');
173
173
  $brown: map-get($palettes, brown);
174
174
  $brown-contrast: map-get($brown, 'contrast');
175
- $gray: map-get($palettes, gray);
175
+ $grey: map-get($palettes, grey);
176
176
  $grey-contrast: map-get($grey, 'contrast');
177
177
  $blue-grey: map-get($palettes, blue-grey);
178
178
  $blue-grey-contrast: map-get($blue-grey, 'contrast');
@@ -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, $get-shade),0.2);
515
- color: map-get($primary-contrast, $get-shade);
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, $get-shade),0.2);
532
- color: map-get($accent-contrast, $get-shade);
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, $get-shade),0.2);
549
- color: map-get($warn-contrast, $get-shade);
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);
@@ -226,7 +226,7 @@ a[matcha-button] {
226
226
  $deep-orange-contrast: map-get($deep-orange, 'contrast');
227
227
  $brown: map-get($palettes, brown);
228
228
  $brown-contrast: map-get($brown, 'contrast');
229
- $gray: map-get($palettes, gray);
229
+ $grey: map-get($palettes, grey);
230
230
  $grey-contrast: map-get($grey, 'contrast');
231
231
  $blue-grey: map-get($palettes, blue-grey);
232
232
  $blue-grey-contrast: map-get($blue-grey, 'contrast');
@@ -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 {
@@ -573,24 +572,24 @@ a[matcha-button] {
573
572
  }
574
573
  &[color="brown"] .ripple{background: rgba(map-get($brown-contrast, $get-shade), 0.2)}
575
574
 
576
- // gray
577
- &[color="gray"][outline]:not([outline="false"]) .ripple {
578
- background: rgba(map-get($gray, $get-shade), 0.2)
575
+ // grey
576
+ &[color="grey"][outline]:not([outline="false"]) .ripple {
577
+ background: rgba(map-get($grey, $get-shade), 0.2)
579
578
  }
580
- &[color="gray"][alpha]:not([alpha="false"]){
581
- background: rgba(map-get($gray, $get-shade), 0.2);
582
- color: map-get($gray, $get-shade);
579
+ &[color="grey"][alpha]:not([alpha="false"]){
580
+ background: rgba(map-get($grey, $get-shade), 0.2);
581
+ color: map-get($grey, $get-shade);
583
582
  }
584
- &[color="gray"][outline]:not([outline="false"]),
585
- &[color="gray"][link]:not([link="false"]),
586
- &[color="gray"][basic]:not([basic="false"]) {
587
- color: map-get($gray, $get-shade)!important
583
+ &[color="grey"][outline]:not([outline="false"]),
584
+ &[color="grey"][link]:not([link="false"]),
585
+ &[color="grey"][basic]:not([basic="false"]) {
586
+ color: map-get($grey, $get-shade)!important
588
587
  }
589
- &[color="gray"]{
590
- background: map-get($gray, $get-shade);
588
+ &[color="grey"]{
589
+ background: map-get($grey, $get-shade);
591
590
  color: map-get($grey-contrast, $get-shade);
592
591
  }
593
- &[color="gray"] .ripple{background: rgba(map-get($grey-contrast, $get-shade), 0.2)}
592
+ &[color="grey"] .ripple{background: rgba(map-get($grey-contrast, $get-shade), 0.2)}
594
593
 
595
594
  // blue-grey
596
595
  &[color="blue-grey"][outline]:not([outline="false"]) .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, $get-shade), 0.2)
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, $get-shade), 0.2);
620
- color: map-get($primary, $get-shade);
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, $get-shade)!important
624
+ color: map-get($primary, default)!important
626
625
  }
627
626
  &[color="primary"]{
628
- background: map-get($primary, $get-shade);
629
- color: map-get($primary-contrast, $get-shade);
627
+ background: map-get($primary, default);
628
+ color: map-get($primary, default-contrast);
630
629
  }
631
- &[color="primary"] .ripple{background: rgba(map-get($primary-contrast, $get-shade), 0.2)}
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, $get-shade), 0.2)
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, $get-shade), 0.2);
639
- color: map-get($accent, $get-shade);
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, $get-shade)!important
643
+ color: map-get($accent, default)!important
645
644
  }
646
645
  &[color="accent"]{
647
- background: map-get($accent, $get-shade);
648
- color: map-get($accent-contrast, $get-shade);
646
+ background: map-get($accent, default);
647
+ color: map-get($accent, default-contrast);
649
648
  }
650
- &[color="accent"] .ripple{background: rgba(map-get($accent-contrast, $get-shade), 0.2)}
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, $get-shade), 0.2)
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, $get-shade), 0.2);
658
- color: map-get($warn, $get-shade);
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, $get-shade)!important
662
+ color: map-get($warn, default)!important
664
663
  }
665
664
  &[color="warn"]{
666
- background: map-get($warn, $get-shade);
667
- color: map-get($warn-contrast, $get-shade);
665
+ background: map-get($warn, default);
666
+ color: map-get($warn, default-contrast);
668
667
  }
669
- &[color="warn"] .ripple{background: rgba(map-get($warn-contrast, $get-shade), 0.2)}
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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-theme",
3
- "version": "19.20.0",
3
+ "version": "19.22.0",
4
4
  "description": "Themes for matcha-design-system",
5
5
  "main": "main.scss",
6
6
  "scripts": {