Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

npm-font-open-sans

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-font-open-sans

Open Sans font family - incl. usage of CSS, SCSS, LESS

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9.9K
increased by6.73%
Maintainers
1
Weekly downloads
 
Created
Source

github tag npm version npm downloads License


npm package of Open Sans

Open Sans is a humanist sans serif typeface designed by Steve Matteson.

Installation

Install with npm

$ npm i npm-font-open-sans --save

Usage

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';

Source of font files

Open Sans at FontFaceKit

License

Fonts: Licensed under Apache 2.0


Keywords

FAQs

Package last updated on 08 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc