Skip to content

Commit

Permalink
feat(build): generate fonticon from svg icons
Browse files Browse the repository at this point in the history
  • Loading branch information
groupsky committed Oct 8, 2022
1 parent 7182384 commit b0df46a
Show file tree
Hide file tree
Showing 21 changed files with 2,922 additions and 195 deletions.
10 changes: 10 additions & 0 deletions .fantasticonrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
inputDir: './client/assets/icons',
outputDir: './public/fonts',
fontTypes: ['eot', 'svg', 'ttf', 'woff', 'woff2'],
assetTypes: ['css'],
fontsUrl: '/fonts',
pathOptions: {
css: './public/css/icons.css',
},
};
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ npm-debug.log
log/
pids/

public/*_stats.json
public/*.json
public/css/main.css*
public/css/icons.css*
public/fonts/icons.*
public/js/scripts.js
public/sw.js
4 changes: 4 additions & 0 deletions client/assets/icons/bgatlas.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions client/assets/icons/birds.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions client/assets/icons/cbm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions client/assets/icons/ciconia.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions client/assets/icons/herptiles.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit b0df46a

Please sign in to comment.