Skip to content

Commit

Permalink
fix heading levels in Typography (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
adammockor committed Oct 2, 2019
1 parent a159168 commit e58ecb4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/styleguide/src/components/Typography/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,25 @@ export const H1 = styled.h1`
margin-bottom: ${props => props.theme.spaces.large};
`;

export const H2 = styled.h1`
export const H2 = styled.h2`
${baseCSS};
font-size: ${rem(36)};
line-height: 1.3333;
`;

export const H3 = styled.h1`
export const H3 = styled.h3`
${baseCSS};
font-size: ${rem(24)};
line-height: 1.3333;
`;

export const H4 = styled.h1`
export const H4 = styled.h4`
${baseCSS};
font-size: ${props => rem(props.theme.fontSizes.base)};
line-height: ${props => props.theme.lineHeights.base};
`;

export const H5 = styled.h1`
export const H5 = styled.h5`
${baseCSS};
color: ${props => props.theme.colors.greyDark};
font-size: ${props => rem(props.theme.fontSizes.base)};
Expand Down

0 comments on commit e58ecb4

Please sign in to comment.