Skip to content

Commit

Permalink
fix: Paragraphs should use text font size from the theme (#1717)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuruog committed Nov 24, 2020
1 parent c39b42f commit 9c2ca5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/rsg-components/Para/ParaRenderer.tsx
Expand Up @@ -3,13 +3,13 @@ import PropTypes from 'prop-types';
import Styled, { JssInjectedProps } from 'rsg-components/Styled';
import * as Rsg from '../../../typings';

export const styles = ({ space, color, fontFamily }: Rsg.Theme) => ({
export const styles = ({ space, color, fontFamily, fontSize }: Rsg.Theme) => ({
para: {
marginTop: 0,
marginBottom: space[2],
color: color.base,
fontFamily: fontFamily.base,
fontSize: 'inherit',
fontSize: fontSize.text,
lineHeight: 1.5,
},
});
Expand Down

0 comments on commit 9c2ca5b

Please sign in to comment.