Fix eslint errors
This commit is contained in:
parent
f856fe0060
commit
d0552c19b2
10 changed files with 179 additions and 139 deletions
|
|
@ -1,19 +1,19 @@
|
|||
import Typography from 'typography';
|
||||
import Typography from 'typography'
|
||||
|
||||
const options = {
|
||||
baseFontSize: '18px',
|
||||
baseLineHeight: '27px',
|
||||
modularScales: [
|
||||
{
|
||||
"scale": "minor third"
|
||||
}
|
||||
]
|
||||
scale: 'minor third',
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
const typography = new Typography(options)
|
||||
|
||||
// Hot reload typography in development.
|
||||
if (process.env.NODE_ENV !== "production") {
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
typography.injectStyles()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue