inconsolata-fontface
v0.4.0
Published
Inconsolata Fontface
Downloads
15
Readme
inconsolata-fontface
Fontface for Inconsolata - Generated from Google Fonts variant
Install
npm i inconsolata-fontface
Usage
If you have webpack configured to load CSS resource, just require('inconsolata-fontface');
- Webpack css:
inconsolata-fontface
- Webpack sass:
~inconsolata-fontface/inconsolata.scss
Only Regular:
- Webpack css:
~inconsolata-fontface/inconsolata-regular.css
- Webpack sass:
~inconsolata-fontface/inconsolata-regular.scss
Only Bold:
- Webpack css:
~inconsolata-fontface/inconsolata-bold.css
- Webpack sass:
~inconsolata-fontface/inconsolata-bold.scss
Development
WARNINGS
- This uses a submodule reference to Google Fonts' Inconsolata Repository. When cloning, include submodules.
- This package uses fontfacegen to create web fonts, which requires fontforge to be installed in the OS.