Skip to content

Commit

Permalink
chore(docz-theme-default): add custom styles for paragraph
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Oct 30, 2018
1 parent 119e4a7 commit abe0001
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ import { get } from '@utils/theme'

export const Paragraph = styled('p')`
color: ${get('colors.text')};
${get('styles.paragraph')};
`
3 changes: 3 additions & 0 deletions packages/docz-theme-default/src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ export const styles = {
fontSize: 14,
lineHeight: 1.8,
},
paragraph: {
margin: '10px 0 30px',
},
table: {
overflowY: 'hidden',
overflowX: ['initial', 'initial', 'initial', 'hidden'],
Expand Down

0 comments on commit abe0001

Please sign in to comment.