mod-base 1.0.28 → 1.0.29

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.29
4
+
5
+ - Adding conditional to use previous value as a fallback for the theme variable
6
+
3
7
  ## 1.0.28
4
8
 
5
9
  - Adding a couple of missing content selectors and back button background customization
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-base",
3
- "version": "1.0.28",
3
+ "version": "1.0.29",
4
4
  "description": "Base Styles for S3 Sites",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -84,6 +84,10 @@ $contact-us-blue-light: #8498E7;
84
84
  $color-btn-text: colorContrast($color-btn, $foreground, $background);
85
85
  }
86
86
 
87
+ @if $theme == null {
88
+ $theme: $accent-color;
89
+ }
90
+
87
91
  // Most common selectors list
88
92
  $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';
89
93
  $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';