gatsby-starter-blog-forestry/utils/typography.js
2016-06-04 13:55:11 -07:00

15 lines
295 B
JavaScript

import Typography from 'typography'
const options = {
baseFontSize: '18px',
baseLineHeight: '27px',
}
const typography = new Typography(options)
// Hot reload typography in development.
if (process.env.NODE_ENV !== 'production') {
typography.injectStyles()
}
export default typography