mod-base 1.0.53 → 1.0.54-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,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.54
4
+
5
+ - Adding dark mode styles for the new `result` accessible component.
6
+
3
7
  ## 1.0.53
4
8
 
5
9
  - Adding the `:checked` border color for standardized radio buttons.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-base",
3
- "version": "1.0.53",
3
+ "version": "1.0.54-beta.1",
4
4
  "description": "Base Styles for S3 Sites",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -105,7 +105,7 @@ $contact-us-blue-light: #8498E7;
105
105
  }
106
106
 
107
107
  // Most common selectors list
108
- $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';
108
+ $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,.result__title,.result__subtitle,.result__call-text';
109
109
  $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,.form-control,.accordion,.hiw-block,.reviews';
110
110
 
111
111
  @media (prefers-color-scheme: dark){
@@ -799,6 +799,26 @@ $contact-us-blue-light: #8498E7;
799
799
  }
800
800
  }
801
801
 
802
+ .result {
803
+ &__call {
804
+ background-color: $color-grey-800;
805
+
806
+ a {
807
+ color: $text-color;
808
+
809
+ img {
810
+ filter: grayscale(1) invert(.9) brightness(1.5);
811
+ }
812
+
813
+ &:active,
814
+ &:focus,
815
+ &:hover {
816
+ color: $color-white;
817
+ }
818
+ }
819
+ }
820
+ }
821
+
802
822
  // Ketch Preference dashboard styles
803
823
  #lanyard_root * {
804
824
  background-color: $color-black !important;