Read a set of SVG icons and ouput a TTF/EOT/WOFF/WOFF2/SVG font.
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
https://github.com/jaywcjlove/svgtofont/compare/v3.6.0...v3.7.0
https://github.com/jaywcjlove/svgtofont/compare/v3.5.0...v3.6.0
https://github.com/jaywcjlove/svgtofont/compare/v3.1.0...v3.5.0
188e5ad - feat: Add corners options to website.
34f6269 - chore: Upgrade ejs v2.7.4 to v3.0.1
48695fd - fix: Add bin to the files field in package.json.
const svgtofont = require('svgtofont');
const path = require('path');
svgtofont({
// ....
website: {
// ....
// Add a Github corner to your website
// Like: https://github.com/uiwjs/react-github-corners
+ corners: {
+ url: 'https://github.com/jaywcjlove/svgtofont',
+ width: 62, // default: 60
+ height: 62, // default: 60
+ bgColor: '#dc3545' // default: '#151513'
+ },
}
}).then(() => {
console.log('done!');
});