Skip to content

Commit

Permalink
feat: add meetio-theme-icons package.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauroreisvieira committed Nov 18, 2019
1 parent ce4e376 commit 64ef1aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"prettier": "^1.15.3",
"svg2img": "^0.6.1",
"meetio-theme-colors": "^1.0.3",
"meetio-theme-icons": "^1.0.0",
"rimraf": "^3.0.0"
}
}
3 changes: 3 additions & 0 deletions src/icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const path = require("path")
const fs = require("fs")
const svg2img = require("svg2img")
const defaultOptions = require("./icons/default.js")
const fileIcons = require("../../node_modules/meetio-theme-icons/src/index")

fs.readdirSync("./src/icons/svg/").forEach(icon => {
const iconPath = path.join(__dirname, `/../src/icons/svg/${icon}`)
Expand Down Expand Up @@ -34,3 +35,5 @@ fs.readdirSync("./src/icons/svg/").forEach(icon => {
})
})
})

fileIcons.build()

0 comments on commit 64ef1aa

Please sign in to comment.