@truehome/font-loader
v1.3.1
Published
Font loader for standarization
Downloads
11
Readme
th_font_loader
Font packages for use in all Truehome applications.
Building
Requirements
- npm
- sass
Generating the css
npm run build
Using
Installing
npm install @truehome/font-loader
Importing with javascript
import "@truehome/font-loader/css/neris.css"
Importing from sass
$th-font-path: '~@truehome/font-loader/fonts';
@import "~@truehome/font-loader/scss/neris.scss";
@import "~@truehome/font-loader/scss/circularStd.scss";
Using after importing
.class {
font-family: Neris-Black;
}
Included fonts
The included fonts are in woff, woff2 and oft formats
Neris
- Neris-Black
- Neris-BlackItalic
- Neris-Light
- Neris-LightItalic
- Neris-SemiBold
- Neris-SemiBoldItalic
- Neris-Thin
CircularStd
- CircularStd-Black
- CircularStd-BlackItalic
- CircularStd-Bold
- CircularStd-BoldItalic
- CircularStd-Book
- CircularStd-BookItalic
- CircularStd-Medium
- CircularStd-MediumItalic
Nunito
- Nunito-Black
- Nunito-BlackItalic
- Nunito-Bold
- Nunito-BoldItalic
- Nunito-ExtraBold
- Nunito-ExtraBoldItalic
- Nunito-ExtraLight
- Nunito-ExtraLightItalic
- Nunito-Italic
- Nunito-Light
- Nunito-LightItalic
- Nunito-Regular
- Nunito-SemiBold
- Nunito-SemiBoldItalic
Exported files
- nunito.css
- neris.css
- circularStd.css