Skip to content

Commit

Permalink
refactor(theme/Heading) adjust line height for 2xl, lg, and md
Browse files Browse the repository at this point in the history
…sizes
  • Loading branch information
TylerAPfledderer committed Apr 30, 2024
1 parent b6265b9 commit ed076d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/@chakra-ui/components/Heading.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ type SIZE_SCALE = { [key in (typeof HEADING_SIZES)[number]]: SCALE_VALUE }
const lineHeightScale: SIZE_SCALE = {
"4xl": "6xs",
"3xl": ["6xs", null, null, "5xs"],
"2xl": ["4xs", null, null, "6xs"],
"2xl": ["4xs", null, null, "5xs"],
xl: ["2xs", null, null, "4xs"],
lg: ["2xs", null, null, "4xs"],
md: ["xs", null, null, "4xs"],
lg: "2xs",
md: "xs",
sm: "base",
xs: "base",
}
Expand Down

0 comments on commit ed076d2

Please sign in to comment.