|
15 | 15 |
|
16 | 16 | @each $header, $sizes in $mktg-headers { |
17 | 17 | .h#{$header}-mktg { |
| 18 | + // stylelint-disable-next-line function-no-unknown |
18 | 19 | $pairing: map-get($mktg-header-pairings, nth($sizes, 1)); |
| 20 | + // stylelint-disable-next-line function-no-unknown |
19 | 21 | $pairing-md: map-get($mktg-header-pairings, nth($sizes, 2)); |
| 22 | + // stylelint-disable-next-line function-no-unknown |
20 | 23 | $pairing-lg: map-get($mktg-header-pairings, nth($sizes, 3)); |
21 | 24 |
|
| 25 | + // stylelint-disable-next-line function-no-unknown |
22 | 26 | font-size: map-get($pairing, 'size') !important; |
| 27 | + // stylelint-disable-next-line function-no-unknown |
23 | 28 | line-height: map-get($pairing, 'lh') !important; |
24 | 29 |
|
25 | 30 | @if (map-get($pairing, 'size') >= $mktg-header-weight-threshold) { font-weight: $mktg-header-weight-large !important; } |
26 | 31 |
|
27 | 32 | @if (nth($sizes, 1) != nth($sizes, 2)) { |
28 | 33 | @include breakpoint(md) { |
| 34 | + // stylelint-disable-next-line function-no-unknown |
29 | 35 | font-size: map-get($pairing-md, 'size') !important; |
| 36 | + // stylelint-disable-next-line function-no-unknown |
30 | 37 | line-height: map-get($pairing-md, 'lh') !important; |
31 | 38 |
|
32 | 39 | @if (map-get($pairing-md, 'size') >= $mktg-header-spacing-threshold and map-get($pairing, 'size') < $mktg-header-spacing-threshold) { |
|
41 | 48 |
|
42 | 49 | @if (nth($sizes, 2) != nth($sizes, 3)) { |
43 | 50 | @include breakpoint(lg) { |
| 51 | + // stylelint-disable-next-line function-no-unknown |
44 | 52 | font-size: map-get($pairing-lg, 'size') !important; |
| 53 | + // stylelint-disable-next-line function-no-unknown |
45 | 54 | line-height: map-get($pairing-lg, 'lh') !important; |
46 | 55 |
|
47 | 56 | @if (map-get($pairing-lg, 'size') >= $mktg-header-spacing-threshold and map-get($pairing-md, 'size') < $mktg-header-spacing-threshold) { |
|
70 | 79 |
|
71 | 80 | @each $body, $sizes in $mktg-bodies { |
72 | 81 | .f#{$body}-mktg { |
| 82 | + // stylelint-disable-next-line function-no-unknown |
73 | 83 | $pairing: map-get($mktg-body-pairings, nth($sizes, 1)); |
| 84 | + // stylelint-disable-next-line function-no-unknown |
74 | 85 | $pairing-md: map-get($mktg-body-pairings, nth($sizes, 2)); |
| 86 | + // stylelint-disable-next-line function-no-unknown |
75 | 87 | $pairing-lg: map-get($mktg-body-pairings, nth($sizes, 3)); |
76 | 88 |
|
| 89 | + // stylelint-disable-next-line function-no-unknown |
77 | 90 | font-size: map-get($pairing, 'size') !important; |
| 91 | + // stylelint-disable-next-line function-no-unknown |
78 | 92 | line-height: map-get($pairing, 'lh') !important; |
79 | 93 |
|
80 | 94 | @if (map-get($pairing, 'size') >= $mktg-body-spacing-threshold) { letter-spacing: $mktg-body-spacing-large !important; } |
|
83 | 97 |
|
84 | 98 | @if (nth($sizes, 1) != nth($sizes, 2)) { |
85 | 99 | @include breakpoint(md) { |
| 100 | + // stylelint-disable-next-line function-no-unknown |
86 | 101 | font-size: map-get($pairing-md, 'size') !important; |
| 102 | + // stylelint-disable-next-line function-no-unknown |
87 | 103 | line-height: map-get($pairing-md, 'lh') !important; |
88 | 104 |
|
89 | 105 | @if (map-get($pairing-md, 'size') >= $mktg-body-spacing-threshold and map-get($pairing, 'size') < $mktg-body-spacing-threshold) { |
|
98 | 114 |
|
99 | 115 | @if (nth($sizes, 2) != nth($sizes, 3)) { |
100 | 116 | @include breakpoint(lg) { |
| 117 | + // stylelint-disable-next-line function-no-unknown |
101 | 118 | font-size: map-get($pairing-lg, 'size') !important; |
| 119 | + // stylelint-disable-next-line function-no-unknown |
102 | 120 | line-height: map-get($pairing-lg, 'lh') !important; |
103 | 121 |
|
104 | 122 | @if (map-get($pairing-lg, 'size') >= $mktg-body-spacing-threshold and map-get($pairing-md, 'size') < $mktg-body-spacing-threshold) { |
|
0 commit comments