1.0.2 • Published 4 years ago
elderjs-plugin-google-fonts v1.0.2
elderjs-plugin-google-fonts
This plugin fetches fonts from google fonts, generates font-face definitions and inlines those in the head tag.
Usage
Simply install and add your config to elder.config.js
. An example:
'elderjs-plugin-google-fonts': {
fonts: {
'Anton': ['400'],
'Overpass': ['400', '700i'],
'Inter': ['400'],
},
subsets: 'latin'
}