Open Sans font family - incl. usage of CSS, SCSS, LESS
npm install npm-font-open-sans[![github tag][github-tag-image]][github-tag-url]
[![npm version][npm-version-image]][npm-version-url]
[![npm downloads][npm-downloads-image]][npm-downloads-url]
[![License][license-image]][license-url]
*
Open Sans is a humanist sans serif typeface designed by Steve Matteson.
Install with npm
``sh`
$ npm i npm-font-open-sans --save
This a sample for usage in a LESS file:
``part of your LESS file
@import '../../../node_modules/npm-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/npm-font-open-sans/open-sans';
You can do the same with Stylus too ...
```part of your SCSS file
$FontPathOpenSans = "../fonts/open-sans";
@import '../../../node_modules/npm-font-open-sans/open-sans.styl';
Fonts: Licensed under Apache 2.0
*
[github-tag-image]: https://img.shields.io/github/tag/dasrick/npm-font-open-sans.svg?style=flat-square
[github-tag-url]: https://github.com/dasrick/npm-font-open-sans
[npm-version-image]: https://img.shields.io/npm/v/npm-font-open-sans.svg?style=flat-square
[npm-version-url]: https://www.npmjs.com/package/npm-font-open-sans
[npm-downloads-image]: https://img.shields.io/npm/dm/npm-font-open-sans.svg?style=flat-square
[npm-downloads-url]: https://www.npmjs.com/package/npm-font-open-sans
[license-image]: https://img.shields.io/github/license/dasrick/npm-font-open-sans.svg?style=flat-square
[license-url]: https://github.com/dasrick/npm-font-open-sans/blob/master/LICENSE