Tweak the line height for reader text and titles

We still aren't using the degular font, so I kept the font sizes
the same as they are now. We will need to update if we change
the font.
This commit is contained in:
Jackson Harper 2022-02-18 00:45:36 -08:00
parent ecbe22eb53
commit 4b06e52128
2 changed files with 2 additions and 2 deletions

View file

@ -130,7 +130,7 @@ const textVariants = {
export const StyledText = styled('p', {
fontFamily: 'Inter',
fontWeight: 'normal',
lineHeight: '1.35',
lineHeight: '120%',
color: '$grayTextContrast',
variants: textVariants,
defaultVariants: {

View file

@ -126,7 +126,7 @@ export function ArticleContainer(props: ArticleContainerProps): JSX.Element {
maxWidth: '94%',
'--text-font-family': styles.fontFamily,
'--text-font-size': `${styles.fontSize}px`,
'--line-height': `1.61em`,
'--line-height': `150%`,
'--blockquote-padding': '0.5em 1em',
'--blockquote-icon-font-size': '1.3rem',
'--figure-margin': '1.6rem auto',