Open superbiche opened 8 years ago
When adding custom fonts, consider a way to write the @font-face declaration for this fonts, based on a template. Could be run from the command line, or automated from a map file - just like https://www.npmjs.com/package/gulp-google-webfonts does.
See if these plugins could help: https://github.com/jonathantneal/postcss-font-magician https://www.npmjs.com/package/gulp-fontgen https://www.npmjs.com/package/fontfacegen
Read these: https://discourse.roots.io/t/pulling-font-face-css-files-automatically-into-your-workflow-with-gulp/4213
When adding custom fonts, consider a way to write the @font-face declaration for this fonts, based on a template. Could be run from the command line, or automated from a map file - just like https://www.npmjs.com/package/gulp-google-webfonts does.
See if these plugins could help: https://github.com/jonathantneal/postcss-font-magician https://www.npmjs.com/package/gulp-fontgen https://www.npmjs.com/package/fontfacegen
Read these: https://discourse.roots.io/t/pulling-font-face-css-files-automatically-into-your-workflow-with-gulp/4213