mod-base 1.0.68 → 1.0.70-beta.1

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,6 +1,9 @@
1
1
  # Changelog
2
2
 
3
- # 1.0.68
3
+ ## 1.0.70
4
+ - Adding support for custom background color and fill on progress bars in dark mode.
5
+
6
+ ## 1.0.68
4
7
  - Adding dark mode support for the new elements (`callout`, `overlay` and `background image`) added to banner accessible component.
5
8
 
6
9
  ## 1.0.67
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-base",
3
- "version": "1.0.68",
3
+ "version": "1.0.70-beta.1",
4
4
  "description": "Base Styles for S3 Sites",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -92,7 +92,9 @@ $contact-us-blue-light: #8498E7;
92
92
  $reviews-card-inactive-text-color: rgba($foreground, .3),
93
93
  $reviews-card-inactive-verified-color: null,
94
94
  $tcpa-color: lighten($color-grey-500, 2%),
95
- $value-props-background: null
95
+ $value-props-background: null,
96
+ $progress-bar-background-color: null,
97
+ $progress-bar-fill-color: null
96
98
  ) {
97
99
  // Theme global variables if required to use after including the mixin
98
100
  $background-color: $background !global;
@@ -172,6 +174,14 @@ $contact-us-blue-light: #8498E7;
172
174
  $banner-has-background-callout-text-color: $foreground;
173
175
  }
174
176
 
177
+ @if ($progress-bar-background-color == null) {
178
+ $progress-bar-background-color: lighten($color-grey-700, 10%);
179
+ }
180
+
181
+ @if ($progress-bar-fill-color == null) {
182
+ $progress-bar-fill-color: $base-color;
183
+ }
184
+
175
185
  // Most common selectors list
176
186
  $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,.modal-body p,legend,[class^="loader__"],table tr,.tile__text,.select,.hiw-block__title,.hiw-card__title,.hiw-card__description,.banner__title,.banner__description,.accordion__title,.reviews__title,.accordion .expand-collapse__toggle,.accordion__content p,.accordion__content li,.result__title,.result__subtitle,.result__call-text';
177
187
  $background-selectors: '.form,.header,.guarantee,.information,.modal-content,.matched-steps,.loader,.information__header,.hero__background,.hero__content,&.form-in-progress:not(.fixed-width-desktop) .hero__content,.form-input,.form-input:focus,.expand-collapse__icon,.featured-block,table tr,.form-control,.accordion,.hiw-block,.reviews';
@@ -378,11 +388,11 @@ $contact-us-blue-light: #8498E7;
378
388
 
379
389
  .progress-bar {
380
390
  &__background {
381
- background-color: lighten($color-grey-700, 10%);
391
+ background-color: $progress-bar-background-color;
382
392
  }
383
393
 
384
394
  &__fill {
385
- background-color: $base-color;
395
+ background-color: $progress-bar-fill-color;
386
396
  }
387
397
  }
388
398