|
77 | 77 | @include breakpoint(md) { |
78 | 78 | font-size: map-get($pairing-md, "size") !important; |
79 | 79 | line-height: map-get($pairing-md, "lh") !important; |
80 | | - @if (map-get($pairing-md, "size") >= $mktg-body-spacing-threshold) { letter-spacing: $mktg-body-spacing-large !important; } |
81 | | - @if (map-get($pairing-md, "size") >= $mktg-body-weight-threshold) { font-weight: $font-weight-semibold !important; } |
| 80 | + @if (map-get($pairing-md, "size") >= $mktg-body-spacing-threshold and map-get($pairing, "size") < $mktg-body-spacing-threshold) { |
| 81 | + letter-spacing: $mktg-body-spacing-large !important; |
| 82 | + } |
| 83 | + @if (map-get($pairing-md, "size") >= $mktg-body-weight-threshold and map-get($pairing, "size") < $mktg-body-weight-threshold) { |
| 84 | + font-weight: $font-weight-semibold !important; |
| 85 | + } |
82 | 86 | } |
83 | 87 | } |
84 | 88 |
|
85 | 89 | @if (nth($sizes, 2) != nth($sizes, 3)) { |
86 | 90 | @include breakpoint(lg) { |
87 | 91 | font-size: map-get($pairing-lg, "size") !important; |
88 | 92 | line-height: map-get($pairing-lg, "lh") !important; |
89 | | - @if (map-get($pairing-lg, "size") >= $mktg-body-spacing-threshold) { letter-spacing: $mktg-body-spacing-large !important; } |
90 | | - @if (map-get($pairing-lg, "size") >= $mktg-body-weight-threshold) { font-weight: $font-weight-semibold !important; } |
| 93 | + @if (map-get($pairing-lg, "size") >= $mktg-body-spacing-threshold and map-get($pairing-md, "size") < $mktg-body-spacing-threshold) { |
| 94 | + letter-spacing: $mktg-body-spacing-large !important; |
| 95 | + } |
| 96 | + @if (map-get($pairing-lg, "size") >= $mktg-body-weight-threshold and map-get($pairing-md, "size") < $mktg-body-weight-threshold) { |
| 97 | + font-weight: $font-weight-semibold !important; |
| 98 | + } |
91 | 99 | } |
92 | 100 | } |
93 | 101 | } |
|
0 commit comments