Update packages + update Typography setup

This commit is contained in:
Kyle Mathews 2015-11-21 16:59:04 -08:00
parent 950e38687e
commit 1043f18f0c
6 changed files with 38 additions and 22 deletions

20
utils/typography.js Normal file
View file

@ -0,0 +1,20 @@
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