mod-base 1.0.41 → 1.0.43-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,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.43
4
+
5
+ - Adjusting the dark mode styles just a bit + adding color adjustments for select dropdowns
6
+
7
+ ## 1.0.42
8
+
9
+ - Adding duplicate submission styles
10
+
3
11
  ## 1.0.41
4
12
 
5
13
  - Add restoration icons
@@ -38,7 +46,7 @@
38
46
 
39
47
  ## 1.0.32
40
48
 
41
- - Updating `_fonts.scss` to clean up Sass Deprecation Warnings
49
+ - Updating `_fonts.scss` to clean up Sass Deprecation Warnings
42
50
 
43
51
  ## 1.0.31
44
52
 
@@ -76,13 +84,13 @@
76
84
 
77
85
  - Adding variables for our base typography (`h2`, `h3`, `body`) — so that our accessible components can use those instead of repeating values.
78
86
 
79
- ## 1.0.18
87
+ ## 1.0.18
80
88
 
81
89
  - Dark-mode updates: correct selectors list
82
90
 
83
91
  ## 1.0.17
84
92
 
85
- - Dark-mode updates: updated most common used selectors list
93
+ - Dark-mode updates: updated most common used selectors list
86
94
 
87
95
  ## 1.0.16
88
96
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-base",
3
- "version": "1.0.41",
3
+ "version": "1.0.43-beta.1",
4
4
  "description": "Base Styles for S3 Sites",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -0,0 +1,44 @@
1
+ .duplicate-submission {
2
+ align-items: center;
3
+ background-color: $color-white;
4
+ display: flex;
5
+ flex-direction: column;
6
+ justify-content: center;
7
+ min-height: 390px;
8
+ padding: 40px 10px;
9
+ text-align: center;
10
+
11
+ h3 {
12
+ color: $color-charcoal5;
13
+ font-size: 1.375rem;
14
+ font-weight: bold;
15
+ margin: 30px auto 0;
16
+ }
17
+
18
+ p {
19
+ color: $color-charcoal5;
20
+ display: block;
21
+ font-size: .9375rem;
22
+ font-weight: 400;
23
+ line-height: 1.5;
24
+ margin: 20px auto 30px;
25
+ }
26
+
27
+ a.btn {
28
+ align-items: center;
29
+ display: flex;
30
+ flex-direction: column;
31
+ justify-content: center;
32
+ line-height: normal;
33
+ margin: 0 auto 30px;
34
+ max-width: 280px;
35
+ min-width: unset;
36
+ padding: 14px 0 15px;
37
+ width: 100%;
38
+
39
+ .btn__text {
40
+ font-size: 1.125rem;
41
+ visibility: visible;
42
+ }
43
+ }
44
+ }
@@ -0,0 +1 @@
1
+ @import 'duplicate-submission';
@@ -8,3 +8,6 @@
8
8
  @import 'grid';
9
9
  @import 'ratings';
10
10
  @import 'variables';
11
+
12
+ // components
13
+ @import 'components/index';
@@ -52,7 +52,7 @@ $contact-us-blue-light: #8498E7;
52
52
  $form-focus-border-color: $color-grey-400,
53
53
  $hero-content-box-shadow-mobile: null,
54
54
  $interactive-text-color: $color-grey-500,
55
- $interactive-text-color-hover: darken($interactive-text-color, 10%),
55
+ $interactive-text-color-hover: lighten($interactive-text-color, 20%),
56
56
  $logo-filter: invert(1) hue-rotate(180deg),
57
57
  $partners-logo-filter: grayscale(1) invert(.9),
58
58
  $radio-btn-background-color: $background,
@@ -246,14 +246,16 @@ $contact-us-blue-light: #8498E7;
246
246
  }
247
247
 
248
248
  &:not(.has-error) {
249
- .form-group__label-input {
249
+ .form-group__label-input,
250
+ .select {
250
251
  color: $color-grey-500;
251
252
  z-index: 1;
252
253
  }
253
254
 
254
255
  .form-input,
255
256
  .form-input-group--icon,
256
- .form-radio label {
257
+ .form-radio label,
258
+ .select {
257
259
  border-color: $color-grey-500;
258
260
  }
259
261
 
@@ -293,6 +295,7 @@ $contact-us-blue-light: #8498E7;
293
295
 
294
296
  .has-error {
295
297
  .form-input,
298
+ .select,
296
299
  .form-input:-webkit-autofill {
297
300
  border-color: $color-salmon-500;
298
301
  color: $color-salmon-500;
@@ -586,7 +589,7 @@ $contact-us-blue-light: #8498E7;
586
589
  .zip-control__button {
587
590
  &:hover,
588
591
  &:focus {
589
- background-color: rgba($color-grey-500, 10%);
592
+ color: $color-white;
590
593
  outline-color: $color-grey-500;
591
594
 
592
595
  .zip-control__location,