0.1.1 • Published 5 months ago
@bu0nq/webfont.nunito v0.1.1
WebFont.Nunito
Package for integrating Nunito fonts in a web environment.
Installation
This package can be deployed automatically using NPM:
npm i @bu0nq/webfont.nunitoUsage (CSS)
Font files are located in the fonts directory. To import all fonts, you can use:
body {
font-family: 'Nunito', sans-serif;
}Importing
@import "~@bu0nq/webfont.nunito/nunito.css";
@import "~@bu0nq/webfont.nunito/nunito-normal.css";To import specific fonts, you can use:
@import "~@bu0nq/webfont.nunito/css/nunito-200-normal.css";
@import "~@bu0nq/webfont.nunito/css/nunito-300-normal.css";
@import "~@bu0nq/webfont.nunito/css/nunito-400-normal.css";
@import "~@bu0nq/webfont.nunito/css/nunito-600-normal.css";
@import "~@bu0nq/webfont.nunito/css/nunito-700-normal.css";
@import "~@bu0nq/webfont.nunito/css/nunito-800-normal.css";
@import "~@bu0nq/webfont.nunito/css/nunito-900-normal.css";Usage (LESS)
Font files are located in the fonts directory. To import all fonts, you can use:
body {
font-family: 'Nunito', sans-serif;
}Importing
@import "~@bu0nq/webfont.nunito/nunito";
@import "~@bu0nq/webfont.nunito/nunito-normal";To import specific fonts, you can use:
@import "~@bu0nq/webfont.nunito/less/nunito-200-normal";
@import "~@bu0nq/webfont.nunito/less/nunito-300-normal";
@import "~@bu0nq/webfont.nunito/less/nunito-400-normal";
@import "~@bu0nq/webfont.nunito/less/nunito-600-normal";
@import "~@bu0nq/webfont.nunito/less/nunito-700-normal";
@import "~@bu0nq/webfont.nunito/less/nunito-800-normal";
@import "~@bu0nq/webfont.nunito/less/nunito-900-normal";Usage (SCSS)
Font files are located in the fonts directory. To import all fonts, you can use:
body {
font-family: 'Nunito', sans-serif;
}Importing
@use "~@bu0nq/webfont.nunito/nunito";
@use "~@bu0nq/webfont.nunito/nunito-normal";To import specific fonts, you can use:
@use "~@bu0nq/webfont.nunito/scss/nunito-200-normal";
@use "~@bu0nq/webfont.nunito/scss/nunito-300-normal";
@use "~@bu0nq/webfont.nunito/scss/nunito-400-normal";
@use "~@bu0nq/webfont.nunito/scss/nunito-600-normal";
@use "~@bu0nq/webfont.nunito/scss/nunito-700-normal";
@use "~@bu0nq/webfont.nunito/scss/nunito-800-normal";
@use "~@bu0nq/webfont.nunito/scss/nunito-900-normal";Licensing
It is important to always read the license for every font that you use. Most of the fonts in the collection use the SIL
Open Font License v1.1. Some fonts use the Apache 2.0 license. The Ubuntu fonts use the Ubuntu Font License v1.0.