npm-font-open-sans

WebJar for npm-font-open-sans

License

License

GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

npm-font-open-sans
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

npm-font-open-sans
WebJar for npm-font-open-sans
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/dasrick/npm-font-open-sans

Download npm-font-open-sans

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/npm-font-open-sans/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>npm-font-open-sans</artifactId>
    <version>1.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/npm-font-open-sans/
implementation 'org.webjars.npm:npm-font-open-sans:1.1.0'
// https://jarcasting.com/artifacts/org.webjars.npm/npm-font-open-sans/
implementation ("org.webjars.npm:npm-font-open-sans:1.1.0")
'org.webjars.npm:npm-font-open-sans:jar:1.1.0'
<dependency org="org.webjars.npm" name="npm-font-open-sans" rev="1.1.0">
  <artifact name="npm-font-open-sans" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='npm-font-open-sans', version='1.1.0')
)
libraryDependencies += "org.webjars.npm" % "npm-font-open-sans" % "1.1.0"
[org.webjars.npm/npm-font-open-sans "1.1.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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


Versions

Version
1.1.0