mod-base 1.0.67 → 1.0.68-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,8 @@
1
1
  # Changelog
2
2
 
3
+ # 1.0.68
4
+ - Adding dark mode support for the new elements (`callout`, `overlay` and `background image`) added to banner accessible component.
5
+
3
6
  ## 1.0.67
4
7
 
5
8
  - Add dark mode support for `.helper-text` class that can be added to radio buttons
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-base",
3
- "version": "1.0.67",
3
+ "version": "1.0.68-beta.1",
4
4
  "description": "Base Styles for S3 Sites",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -44,6 +44,11 @@ $contact-us-blue-light: #8498E7;
44
44
  $background: $color-charcoal8,
45
45
  $base-color: null,
46
46
  $bbb-img-filter: grayscale(1) invert(.915) brightness(1.5),
47
+ // Banner
48
+ $banner-overlay-bkg: linear-gradient(90deg, $color-charcoal8 17%, rgba($color-charcoal8, .5) 100%),
49
+ $banner-callout-bkg: $color-grey-300,
50
+ $banner-callout-border-color: $color-grey-700,
51
+ $banner-callout-text-color: $color-white,
47
52
  $color-btn: null,
48
53
  $color-btn-text: null,
49
54
  $checkbox-label-color: null,
@@ -163,6 +168,18 @@ $contact-us-blue-light: #8498E7;
163
168
  color: $text-color;
164
169
  }
165
170
 
171
+ .banner {
172
+ &__background-overlay {
173
+ background: $banner-overlay-bkg;
174
+ }
175
+
176
+ &__callout {
177
+ background-color: $banner-callout-bkg;
178
+ border-color: $banner-callout-border-color;
179
+ color: $banner-callout-text-color;
180
+ }
181
+ }
182
+
166
183
  .checkbox {
167
184
  color: $checkbox-label-color;
168
185
  }