Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

@font-face package for the Droid font family

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 droid
Octocat-spinner-32 README.md
Octocat-spinner-32 font-face.css
Octocat-spinner-32 font-face.sass
README.md

Droid Font Family

These are copies of the droid font family, from the Android Project. Also included are droid.css and droid.sass files with CSS3 @font-face declarations. I use this font frequently in projects and find it convenient to have them alone in a git repository suitable for use as a submodule.

Sass Mixins

Included in the Sass file are some mixins that declare a few font-family properties.

  • sans-serif-font, droid-sans-font:

    'Droid Sans', 'Helvetica Neue', Helvetica, sans-serif

  • serif-font, droid-serif-font:

    'Droid Serif', Georgia, Times, serif

  • monospace-font, droid-mono-font:

    "Droid Sans Mono", 'Lucida Console', Monaco, monospace

So, you can use Droid in your own sass declarations right away:

body
  font-size: 10pt
  +sans-serif-font

code
  +droid-mono-font

Links

The fonts are copyright (c) 2005-2008, The Android Open Source Project and licensed under the Apache License, Version 2.0.

Something went wrong with that request. Please try again.