typography: params

This commit is contained in:
He4eT 2020-10-30 15:32:12 +05:00
commit a5680ec927

View file

@ -5,6 +5,20 @@ const TYPOGRAPHY_CSS_FILEPATH =
'./src/assets/css/typography.css'
const typography = new Typography({
baseFontSize: '18px',
baseLineHeight: 1.5,
scaleRatio: 3,
googleFonts: [{
name: 'Open Sans Condensed',
styles: ['700']
}, {
name: 'Open Sans',
styles: ['400', '400i', '700', '700i'],
}],
headerFontFamily: ['Open Sans Condensed', 'sans-serif'],
bodyFontFamily: ['Open Sans', 'sans-serif'],
headerColor: 'hsl(0, 0%, 0%, 0.7)',
bodyColor: 'hsl(0, 0%, 0%, 0.8)'
})
void fs.writeFile(