Skip to content

Commit f594a1f

Browse files
committed
undo changes to legacy labs fonts
1 parent af440f9 commit f594a1f

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

dotcom-rendering/src/components/CardHeadline.tsx

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ import {
1616
textSans15,
1717
textSans17,
1818
textSans20,
19-
textSans24,
20-
textSans28,
21-
textSans34,
2219
textSansBold12,
2320
textSansBold15,
2421
textSansBold17,
@@ -124,12 +121,12 @@ const fontFamilies = {
124121
* Line height for sans style headlines for labs is overridden to match that of other headlines (1.15)
125122
*/
126123
textSans: {
127-
xxxlarge: `${textSans34}\n\tline-height: 1.15;\n`,
128-
xxlarge: `${textSans34}\n\tline-height: 1.15;\n`,
129-
xlarge: `${textSans34}\n\tline-height: 1.15;\n`,
130-
large: `${textSans34}\n\tline-height: 1.15;\n`,
131-
medium: `${textSans28}\n\tline-height: 1.15;\n`,
132-
small: `${textSans24}\n\tline-height: 1.15;\n`,
124+
xxxlarge: `${textSans20}\n\tline-height: 1.15;\n`,
125+
xxlarge: `${textSans20}\n\tline-height: 1.15;\n`,
126+
xlarge: `${textSans20}\n\tline-height: 1.15;\n`,
127+
large: `${textSans20}\n\tline-height: 1.15;\n`,
128+
medium: `${textSans20}\n\tline-height: 1.15;\n`,
129+
small: `${textSans20}\n\tline-height: 1.15;\n`,
133130
xsmall: `${textSans20}\n\tline-height: 1.15;\n`,
134131
xxsmall: `${textSans17}\n\tline-height: 1.15;\n`,
135132
xxxsmall: `${textSans15}\n\tline-height: 1.15;\n`,

0 commit comments

Comments
 (0)