Skip to content

Commit ae10a05

Browse files
fix(theme/Heading): flip lineHeight's rendered to match DS
1 parent a5c06cd commit ae10a05

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/@chakra-ui/gatsby-plugin/components/Heading.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ const { sizes: defaultSizes } = headingDefaultTheme
55

66
const lineHeightScale = {
77
"4xl": "6xs",
8-
"3xl": ["5xs", null, "6xs"],
9-
"2xl": ["5xs", null, "4xs"],
10-
xl: ["3xs", null, "2xs"],
11-
lg: ["3xs", null, "2xs"],
8+
"3xl": ["6xs", null, "5xs"],
9+
"2xl": ["4xs", null, "5xs"],
10+
xl: ["2xs", null, "4xs"],
11+
lg: ["2xs", null, "3xs"],
1212
md: "xs",
1313
sm: "base",
1414
xs: "base",

0 commit comments

Comments
 (0)