npm package of Open Sans
Open Sans is a humanist sans serif typeface designed by Steve Matteson.
Install with npm
$ npm i font-open-sans --save
This a sample for usage in a LESS file:
# part of your LESS file @import '../../../node_modules/font-open-sans/open-sans'; @FontPathOpenSans: "../fonts/open-sans";
First import the LESS file of the font and after this overwrite the default path. That's it ...
You can do the same with SCSS/SASS too ...
# part of your SCSS file $FontPathOpenSans: "../fonts/open-sans"; @import '../../../node_modules/font-open-sans/open-sans';
Source of font files
Fonts: Licensed under Apache 2.0