Giter Site home page Giter Site logo

roboto-fontface-pre-css's Introduction

Roboto fontface

A simple package providing the Roboto fontface. The font was created by Christian Robertson.

Installing

Assuming you have NodeJS, NPM and Bower installed globally just open up a terminal, navigate to your projects root directory and then execute

# install via NPM
$ npm install roboto-fontface-pre-css --save

# install via Bower
$ bower install roboto-pre-css --save

Usage

There're several files in the css/ subdirectory. Import them in your project to have access to "Roboto" font face:

  • roboto-fontface.css - whole font family compiled to CSS
  • roboto-fontface.scss - whole font family in SCSS
  • roboto-fontface.less - whole font family in LESS
  • roboto-fontface.styl - whole font family in STYLUS

Importing whole family may be unnecessary and lead to huge build, so if you are using SCSS or LESS or SYULUS, you can import only individual weights by importing one of the following files:

  • roboto-fontface-(thin|light|regular|medium|bold|black).scss
  • roboto-fontface-(thin|light|regular|medium|bold|black).less
  • roboto-fontface-(thin|light|regular|medium|bold|black).styl

Their italic variants can be imported by adding -italic suffix:

  • roboto-fontface-(thin|light|regular|medium|bold|black)-italic.scss
  • roboto-fontface-(thin|light|regular|medium|bold|black)-italic.less
  • roboto-fontface-(thin|light|regular|medium|bold|black)-italic.styl

Hinting

Some of the included font files have hinting.

Files Hinting
.eot ?
.svg no
.ttf ?
.woff yes
.woff2 ?

roboto-fontface-pre-css's People

Contributors

choffmeister avatar corneadoug avatar jmcmichael avatar malept avatar mficzel avatar mspanc avatar uzee avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.