Skip to content

Commit

Permalink
Fix bodyLarge line-height
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Métral committed Nov 17, 2021
1 parent 53a432a commit b26d260
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`BodyLarge should render as a "error" variant 1`] = `
.circuit-0 {
font-weight: 400;
font-size: 20px;
line-height: 20px;
line-height: 28px;
color: #D23F47;
}
Expand All @@ -20,7 +20,7 @@ exports[`BodyLarge should render as a "highlight" variant 1`] = `
.circuit-0 {
font-weight: 400;
font-size: 20px;
line-height: 20px;
line-height: 28px;
font-weight: 700;
}
Expand All @@ -36,7 +36,7 @@ exports[`BodyLarge should render as a "quote" variant 1`] = `
.circuit-0 {
font-weight: 400;
font-size: 20px;
line-height: 20px;
line-height: 28px;
font-style: italic;
padding-left: 12px;
border-left: 2px solid #3063E9;
Expand All @@ -54,7 +54,7 @@ exports[`BodyLarge should render as a "subtle" variant 1`] = `
.circuit-0 {
font-weight: 400;
font-size: 20px;
line-height: 20px;
line-height: 28px;
color: #666;
}
Expand All @@ -70,7 +70,7 @@ exports[`BodyLarge should render as a "success" variant 1`] = `
.circuit-0 {
font-weight: 400;
font-size: 20px;
line-height: 20px;
line-height: 28px;
color: #138849;
}
Expand All @@ -86,7 +86,7 @@ exports[`BodyLarge should render with default styles 1`] = `
.circuit-0 {
font-weight: 400;
font-size: 20px;
line-height: 20px;
line-height: 28px;
}
<p
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ Object {
},
"bodyLarge": Object {
"fontSize": "20px",
"lineHeight": "20px",
"lineHeight": "28px",
},
"headline": Object {
"four": Object {
Expand Down
2 changes: 1 addition & 1 deletion packages/design-tokens/themes/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export const typography = {
},
bodyLarge: {
fontSize: '20px',
lineHeight: '20px',
lineHeight: '28px',
},
};

Expand Down

0 comments on commit b26d260

Please sign in to comment.