mod-base 1.0.30 → 1.0.32
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.32
|
|
4
|
+
|
|
5
|
+
- Updating `_fonts.scss` to clean up Sass Deprecation Warnings
|
|
6
|
+
|
|
7
|
+
## 1.0.31
|
|
8
|
+
|
|
9
|
+
- Adding missing selectors from the contact us modal
|
|
10
|
+
|
|
3
11
|
## 1.0.30
|
|
4
12
|
|
|
5
13
|
- Adding conditional to use previous value as a fallback for the theme variable
|
package/package.json
CHANGED
|
@@ -15,35 +15,47 @@
|
|
|
15
15
|
@mixin h1($font-family, $font-weight: 400) {
|
|
16
16
|
@include font($font-family, $font-weight);
|
|
17
17
|
@include font-size(1.5rem, 2.625rem);
|
|
18
|
-
|
|
18
|
+
& {
|
|
19
|
+
line-height: 1.25;
|
|
20
|
+
}
|
|
19
21
|
}
|
|
20
22
|
|
|
21
23
|
@mixin h2($font-family, $font-weight: 400) {
|
|
22
24
|
@include font($font-family, $font-weight);
|
|
23
25
|
@include font-size($h2-font-size, $h2-font-size-desktop);
|
|
24
|
-
|
|
26
|
+
& {
|
|
27
|
+
line-height: $h2-line-height;
|
|
28
|
+
}
|
|
25
29
|
}
|
|
26
30
|
|
|
27
31
|
@mixin body($font-family, $font-weight: 400) {
|
|
28
32
|
@include font($font-family, $font-weight);
|
|
29
33
|
@include font-size($body-font-size, $body-font-size-desktop);
|
|
30
|
-
|
|
34
|
+
& {
|
|
35
|
+
line-height: $body-line-height;
|
|
36
|
+
}
|
|
31
37
|
}
|
|
32
38
|
|
|
33
39
|
@mixin disclaimer($font-family, $font-weight: 400) {
|
|
34
40
|
@include font($font-family, $font-weight);
|
|
35
41
|
@include font-size($disclaimer-font-size);
|
|
36
|
-
|
|
42
|
+
& {
|
|
43
|
+
line-height: $disclaimer-line-height;
|
|
44
|
+
}
|
|
37
45
|
}
|
|
38
46
|
|
|
39
47
|
@mixin button($font-family, $font-weight: 700) {
|
|
40
48
|
@include font($font-family, $font-weight);
|
|
41
49
|
@include font-size(1.25rem);
|
|
42
|
-
|
|
50
|
+
& {
|
|
51
|
+
line-height: 1.2;
|
|
52
|
+
}
|
|
43
53
|
}
|
|
44
54
|
|
|
45
55
|
@mixin form-element($font-family, $font-weight: 400) {
|
|
46
56
|
@include font($font-family, $font-weight);
|
|
47
57
|
@include font-size($body-font-size, $body-font-size-desktop);
|
|
48
|
-
|
|
58
|
+
& {
|
|
59
|
+
line-height: 1.25;
|
|
60
|
+
}
|
|
49
61
|
}
|
|
@@ -90,8 +90,8 @@ $contact-us-blue-light: #8498E7;
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
// Most common selectors list
|
|
93
|
-
$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,legend,[class^="loader__"],
|
|
94
|
-
$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';
|
|
93
|
+
$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,.checkbox';
|
|
94
|
+
$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';
|
|
95
95
|
|
|
96
96
|
@media (prefers-color-scheme: dark){
|
|
97
97
|
body[data-color-scheme='system'] {
|