gatsby-starter-blog-forestry/utils/typography.js
2015-11-21 16:59:04 -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