mod-base 1.0.70-beta.1 → 1.0.70

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,9 +1,15 @@
1
1
  # Changelog
2
2
 
3
3
  ## 1.0.70
4
+
4
5
  - Adding support for custom background color and fill on progress bars in dark mode.
5
6
 
7
+ ## 1.0.69
8
+
9
+ - Fix to stacked card darkmode
10
+
6
11
  ## 1.0.68
12
+
7
13
  - Adding dark mode support for the new elements (`callout`, `overlay` and `background image`) added to banner accessible component.
8
14
 
9
15
  ## 1.0.67
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-base",
3
- "version": "1.0.70-beta.1",
3
+ "version": "1.0.70",
4
4
  "description": "Base Styles for S3 Sites",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -94,7 +94,8 @@ $contact-us-blue-light: #8498E7;
94
94
  $tcpa-color: lighten($color-grey-500, 2%),
95
95
  $value-props-background: null,
96
96
  $progress-bar-background-color: null,
97
- $progress-bar-fill-color: null
97
+ $progress-bar-fill-color: null,
98
+ $progress-bar-percentage-color: null
98
99
  ) {
99
100
  // Theme global variables if required to use after including the mixin
100
101
  $background-color: $background !global;
@@ -182,6 +183,10 @@ $contact-us-blue-light: #8498E7;
182
183
  $progress-bar-fill-color: $base-color;
183
184
  }
184
185
 
186
+ @if ($progress-bar-percentage-color == null) {
187
+ $progress-bar-percentage-color: $text-color;
188
+ }
189
+
185
190
  // Most common selectors list
186
191
  $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';
187
192
  $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';
@@ -394,6 +399,10 @@ $contact-us-blue-light: #8498E7;
394
399
  &__fill {
395
400
  background-color: $progress-bar-fill-color;
396
401
  }
402
+
403
+ &__percentage {
404
+ color: $progress-bar-percentage-color;
405
+ }
397
406
  }
398
407
 
399
408
  .information,
@@ -624,7 +633,7 @@ $contact-us-blue-light: #8498E7;
624
633
  border-color: $reviews-card-active-background;
625
634
  box-shadow: none;
626
635
 
627
- &__author-name {
636
+ .reviews-card__author-name {
628
637
  border-color: $reviews-card-active-author-border-color;
629
638
  }
630
639
 
@@ -634,7 +643,7 @@ $contact-us-blue-light: #8498E7;
634
643
  }
635
644
  }
636
645
 
637
- &__verified {
646
+ .reviews-card__verified {
638
647
  color: $reviews-card-active-verified-color;
639
648
  }
640
649
  }
@@ -1136,6 +1145,7 @@ $contact-us-blue-light: #8498E7;
1136
1145
  .reviews-card {
1137
1146
  &:not(.swiper-slide-active) {
1138
1147
  background-color: $reviews-card-inactive-background;
1148
+ box-shadow: none;
1139
1149
 
1140
1150
  .reviews-card__review,
1141
1151
  .reviews-card__author {
@@ -1150,10 +1160,17 @@ $contact-us-blue-light: #8498E7;
1150
1160
  color: $reviews-card-inactive-verified-color;
1151
1161
  }
1152
1162
 
1153
- .star-rating__text,
1163
+ .star-rating__text {
1164
+ color: $reviews-card-inactive-text-color;
1165
+ }
1166
+
1154
1167
  .star-rating__icons .stars .stars-filled {
1155
1168
  color: $reviews-card-inactive-star-color;
1156
1169
  }
1170
+
1171
+ .star-rating__icons .stars .stars-empty {
1172
+ color: $reviews-card-inactive-text-color;
1173
+ }
1157
1174
  }
1158
1175
  }
1159
1176
  }