Skip to content

Commit e90451c

Browse files
committed
Fix correct font-weight for headers
1 parent 9d98e62 commit e90451c

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/marketing/type/typography.scss

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@
77
.h5-mktg,
88
.h6-mktg {
99
font-family: $font-mktg;
10-
font-weight: $font-weight-semibold;
1110
font-feature-settings: "salt" 2;
11+
font-weight: $font-weight-bold !important;
12+
letter-spacing: $mktg-header-spacing-default;
1213
}
1314

1415
@each $header, $sizes in $mktg-headers {
1516
.h#{$header}-mktg {
1617
$pairing: map-get($mktg-header-pairings, nth($sizes, 1));
1718
font-size: map-get($pairing, "size") !important;
1819
line-height: map-get($pairing, "lh") !important;
19-
letter-spacing: $mktg-header-spacing-default;
20+
@if (map-get($pairing, "size") >= 24px) { font-weight: 800 !important; }
2021

2122
@if (nth($sizes, 1) != nth($sizes, 2)) {
2223
@include breakpoint(md) {
2324
$pairing: map-get($mktg-header-pairings, nth($sizes, 2));
2425
font-size: map-get($pairing, "size") !important;
2526
line-height: map-get($pairing, "lh") !important;
26-
@if (map-get($pairing, "size") >= 48px) {
27-
letter-spacing: $mktg-header-spacing-large;
28-
}
27+
@if (map-get($pairing, "size") >= 48px) { letter-spacing: $mktg-header-spacing-large; }
28+
@if (map-get($pairing, "size") >= 24px) { font-weight: 800 !important; }
2929
}
3030
}
3131

@@ -34,9 +34,8 @@
3434
$pairing: map-get($mktg-header-pairings, nth($sizes, 3));
3535
font-size: map-get($pairing, "size") !important;
3636
line-height: map-get($pairing, "lh") !important;
37-
@if (map-get($pairing, "size") >= 48px) {
38-
letter-spacing: $mktg-header-spacing-large;
39-
}
37+
@if (map-get($pairing, "size") >= 48px) { letter-spacing: $mktg-header-spacing-large; }
38+
@if (map-get($pairing, "size") >= 24px) { font-weight: 800 !important; }
4039
}
4140
}
4241
}

0 commit comments

Comments
 (0)