!github taggithub-tag-imagegithub-tag-url
!npm versionnpm-version-imagenpm-version-url
!npm downloadsnpm-downloads-imagenpm-downloads-url
!Licenselicense-imagelicense-url
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 ...
used version: 2.020R-ro/1.075R-it (release date: 2015-09-16)
npm package of Source Sans Pro
Source Sans Pro is a set of OpenType fonts by Paul D. Hunt.Installation
Install with npm$ npm i -S npm-font-source-sans-pro
Usage
This a sample for usage in a LESS file:# part of your LESS file
@import '../../../node_modules/npm-font-source-sans-pro/source-sans-pro';
@FontPathSourceSansPro: "../fonts/source-sans-pro";
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
$FontPathSourceSansPro: "../fonts/source-sans-pro";
@import '../../../node_modules/npm-font-source-sans-pro/source-sans-pro';
Source of font files
Source Sans Pro at Adobeused version: 2.020R-ro/1.075R-it (release date: 2015-09-16)