mirror of
https://github.com/He4eT/oddsquat.git
synced 2026-05-04 20:37:22 +00:00
typography: params
This commit is contained in:
parent
04a3fa2f7b
commit
a5680ec927
1 changed files with 14 additions and 0 deletions
|
|
@ -5,6 +5,20 @@ const TYPOGRAPHY_CSS_FILEPATH =
|
||||||
'./src/assets/css/typography.css'
|
'./src/assets/css/typography.css'
|
||||||
|
|
||||||
const typography = new Typography({
|
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(
|
void fs.writeFile(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue