Skip to content

Commit 1d4b9b5

Browse files
(Admin) Jonathan Ruda(Admin) Jonathan Ruda
authored andcommitted
Stadarized font sizing
1 parent 35e290d commit 1d4b9b5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dotcom-rendering/src/components/ManyNewslettersFormFields.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { css } from '@emotion/react';
2-
import { from, palette, space } from '@guardian/source/foundations';
2+
import { from, palette, space, textSans14 } from '@guardian/source/foundations';
33
import {
44
Checkbox,
55
CheckboxGroup,
@@ -28,7 +28,7 @@ const inputAndOptInWrapperStyle = css`
2828

2929
const optInCheckboxTextSmall = css`
3030
label > div {
31-
font-size: 13px;
31+
${textSans14};
3232
line-height: 16px;
3333
}
3434
`;

dotcom-rendering/src/components/SecureSignup.importable.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { css } from '@emotion/react';
22
import { isString } from '@guardian/libs';
33
import type { ComponentEvent, TAction } from '@guardian/ophan-tracker-js';
4-
import { space, until } from '@guardian/source/foundations';
4+
import { space, textSans14, until } from '@guardian/source/foundations';
55
import {
66
Button,
77
Checkbox,
@@ -101,7 +101,7 @@ const errorContainerStyles = css`
101101

102102
const optInCheckboxTextSmall = css`
103103
label > div {
104-
font-size: 13px;
104+
${textSans14};
105105
line-height: 16px;
106106
}
107107
`;

0 commit comments

Comments
 (0)