mirror of
https://github.com/He4eT/oddsquat.git
synced 2026-05-04 20:37:22 +00:00
typography: generator
This commit is contained in:
parent
19fc0f868d
commit
04a3fa2f7b
2 changed files with 17 additions and 1 deletions
15
typography.js
Executable file
15
typography.js
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
const Typography = require('typography')
|
||||
const fs = require('fs')
|
||||
|
||||
const TYPOGRAPHY_CSS_FILEPATH =
|
||||
'./src/assets/css/typography.css'
|
||||
|
||||
const typography = new Typography({
|
||||
})
|
||||
|
||||
void fs.writeFile(
|
||||
TYPOGRAPHY_CSS_FILEPATH,
|
||||
typography.toString(),
|
||||
err => err
|
||||
? console.error(err)
|
||||
: console.log(`Updated: ${TYPOGRAPHY_CSS_FILEPATH}`))
|
||||
Loading…
Add table
Add a link
Reference in a new issue