mod-base 1.0.27 → 1.0.28

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.28
4
+
5
+ - Adding a couple of missing content selectors and back button background customization
6
+
3
7
  ## 1.0.26
4
8
 
5
9
  - Changing background color for body, partners and footer sections. Making background image darker and using a lighter charcoal gray for text instead of white. Also adding logic for value props inversion of text colors, and removing old charcoal colors to replace with new brand colors.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-base",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "description": "Base Styles for S3 Sites",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -40,6 +40,7 @@ $contact-us-blue-light: #8498E7;
40
40
 
41
41
  @mixin dark-mode(
42
42
  $accent-color: null,
43
+ $back-btn-background-color: null,
43
44
  $background: $color-charcoal8,
44
45
  $base-color: null,
45
46
  $bbb-img-filter: grayscale(1) invert(.915) brightness(1.5),
@@ -84,7 +85,7 @@ $contact-us-blue-light: #8498E7;
84
85
  }
85
86
 
86
87
  // Most common selectors list
87
- $content-selectors: '.hero__title,.hero__subtitle,input,.toggle-wrapper,.step__title,[class^="information__"],[class^="featured-block__"],[class^="partners__"],.form-group__label,[class^="abandonment__"],.modal-header--close,.modal-phone,legend,[class^="loader__"], table tr';
88
+ $content-selectors: '.hero__title,.hero__subtitle,input,.toggle-wrapper,.step__title,[class^="information__"],[class^="featured-block__"],[class^="partners__"],.form-group__label,[class^="abandonment__"],.modal-header--close,.modal-phone,legend,[class^="loader__"], table tr,.tile__text,.checkbox';
88
89
  $background-selectors: '.form,.header,.guarantee,.information,.modal-content,.matched-steps,.loader,.information__header,.hero__background,.hero__content,.form-input,.form-input:focus,.expand-collapse__icon,.featured-block,table tr';
89
90
 
90
91
  @media (prefers-color-scheme: dark){
@@ -563,6 +564,15 @@ $contact-us-blue-light: #8498E7;
563
564
  }
564
565
  }
565
566
 
567
+ @if $back-btn-background-color != null {
568
+ .btn-back {
569
+ background-color: $back-btn-background-color;
570
+ &:hover {
571
+ background-color: darken($back-btn-background-color, 5%);
572
+ }
573
+ }
574
+ }
575
+
566
576
  &.form-in-progress {
567
577
  .hero {
568
578
  border-color: $color-grey-700;