Noto Sans Web Fonts
Use Noto Sans web fonts with a single CSS import!
Requirements
- Node.js
- a CSS bundler (or JS bundler that can also bundle CSS)
Installation
npm i notosans
or
yarn add notosans
Usage
Import the CSS file from the package to include the @font-face
declarations and .woff2
files in your bundle:
@import url("notosans/noto.css");
body {
font-family: "Noto Sans", sans-serif; /* it's always a good idea to specify a generic fallback */
}
Build from source
This npm package is built from an automated process that downloads and converts Google's Noto Sans font from TTF to WOFF2.
To run it yourself, clone this repo and then run:
docker-compose up