gatsby-starter-blog-forestry/utils/typography.js
2016-02-20 12:31:34 -08:00

20 lines
360 B
JavaScript

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