typeface-roboto
Roboto typeface
Last updated 25 days ago by kylemathews .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install typeface-roboto 
SYNC missed versions from official npm registry.

The Typefaces project is now deprecated.

@DecliningLotus created FontSource which provides the same functionality as Typefaces but with automated releases & richer support for importing specific weights, styles, or language subsets.

To start using Fontsource, replace in your package.json any instances of "typeface-roboto" with "fontsource-roboto".

Then change imports from "import 'typeface-roboto'" to "import 'fontsource-roboto/latin.css'".

Typeface packages will continue working indefinitely so no immediate changes are necessary.

typeface-roboto

The CSS and web font files to easily self-host “Roboto”.

Install

npm install --save typeface-roboto

Use

Typefaces assume you’re using webpack to process CSS and files. Each typeface package includes all necessary font files (woff2, woff) and a CSS file with font-face declarations pointing at these files.

You will need to have webpack setup to load css and font files. Many tools built with Webpack will work out of the box with Typefaces such as Gatsby and Create React App.

To use, simply require the package in your project’s entry file e.g.

// Load Roboto typeface
require('typeface-roboto')

About the Typefaces project.

Our goal is to add all open source fonts to NPM to simplify using great fonts in our web projects. We’re currently maintaining 1036 typeface packages including all typefaces on Google Fonts.

If your favorite typeface isn’t published yet, let us know and we’ll add it!

Current Tags

  • 1.1.13                                ...           latest (25 days ago)

24 Versions

  • 1.1.13                                ...           25 days ago
  • 1.1.12                                ...           25 days ago
  • 0.0.75                                ...           a year ago
  • 0.0.54                                ...           3 years ago
  • 0.0.50                                ...           3 years ago
  • 0.0.48                                ...           3 years ago
  • 0.0.47                                ...           3 years ago
  • 0.0.46                                ...           3 years ago
  • 0.0.45                                ...           3 years ago
  • 0.0.44                                ...           3 years ago
  • 0.0.43                                ...           3 years ago
  • 0.0.41                                ...           3 years ago
  • 0.0.35                                ...           3 years ago
  • 0.0.34                                ...           3 years ago
  • 0.0.33                                ...           3 years ago
  • 0.0.32                                ...           3 years ago
  • 0.0.31                                ...           3 years ago
  • 0.0.29                                ...           3 years ago
  • 0.0.22                                ...           4 years ago
  • 0.0.21                                ...           4 years ago
  • 0.0.20                                ...           4 years ago
  • 0.0.19                                ...           4 years ago
  • 0.0.14                                ...           4 years ago
  • 0.0.7                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 254
This Month 0
Last Day 19
Last Week 256
Last Month 1,052
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (330)

Copyright 2014 - 2016 © taobao.org |