JSPM

npm-font-source-sans-pro

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 413
  • Score
    100M100P100Q99447F
  • License OFL-1.1

Source Sans Pro font family by Adobe - incl. usage of CSS, SCSS, LESS

Package Exports

  • npm-font-source-sans-pro

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (npm-font-source-sans-pro) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

github tag npm version npm downloads License


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 Adobe

used version: 2.020R-ro/1.075R-it (release date: 2015-09-16)

License

Fonts: Licensed under SIL OPEN FONT LICENSE Version 1.1