mod-base 1.0.36 → 1.0.37

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.37
4
+
5
+ - Added styles to support Ketch preference management dashboard in darkm mode
6
+
3
7
  ## 1.0.36
4
8
 
5
9
  - Updating the dark-mode duplicate submission styles do not override the button color
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-base",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "Base Styles for S3 Sites",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -680,6 +680,57 @@ $contact-us-blue-light: #8498E7;
680
680
  }
681
681
  }
682
682
 
683
+ // Ketch Preference dashboard styles
684
+ #lanyard_root * {
685
+ background-color: $color-black !important;
686
+ color: $color-white !important;
687
+ outline-color: $color-white !important;
688
+
689
+ button {
690
+ background-color: $color-charcoal7 !important;
691
+
692
+ * {
693
+ background-color: $color-charcoal7 !important;
694
+ }
695
+
696
+ input[type="checkbox"] ~ span {
697
+ background: transparent !important;
698
+
699
+ svg {
700
+ background: transparent !important;
701
+ }
702
+ }
703
+
704
+ input[type="checkbox"]:not(:checked) + div {
705
+ background-color: $color-charcoal8 !important;
706
+ }
707
+ }
708
+
709
+ button[aria-label='Reject All'],
710
+ button[aria-label='Accept All'],
711
+ button[aria-label='Save'] {
712
+ background-color: $color-white !important;
713
+ color: $color-black !important;
714
+ }
715
+
716
+ button[aria-label='Exit'] {
717
+ div {
718
+ svg {
719
+ path {
720
+ filter: invert(1) !important;
721
+ }
722
+ }
723
+ }
724
+
725
+ }
726
+
727
+ a[aria-label='Learn more about Ketch for data privacy'] {
728
+ svg {
729
+ filter: brightness(5);
730
+ }
731
+ }
732
+ }
733
+
683
734
  @include breakpoint-phone {
684
735
  .hero--full {
685
736
  background-color: $background;