mod-base 1.0.31 → 1.0.33-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
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
|
}
|