Skip to content

Instantly share code, notes, and snippets.

@aconz2
Last active December 11, 2015 01:58
Show Gist options
  • Save aconz2/4526799 to your computer and use it in GitHub Desktop.
Save aconz2/4526799 to your computer and use it in GitHub Desktop.
Stylus variables of css font stacks, grabbed from http://css-tricks.com/snippets/css/font-stacks/
/* Times New Roman-based stack */
$timesNewRoman = Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif
/* Modern Georgia-based serif stack */
$modernGeorgia = Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif
/* Traditional Garamond-based serif stack */
$garamond = "Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif
/* Helvetica/Arial-based sans serif stack */
$helvetica = Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif
/* Verdana-based sans serif stack */
$verdan = Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", Verdana, "Verdana Ref", sans-serif
/* Trebuchet-based sans serif stack */
$trebuchet = "Segoe UI", Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif
/* Impact-based sans serif stack */
$impact = Impact, Haettenschweiler, "Franklin Gothic Bold", Charcoal, "Helvetica Inserat", "Bitstream Vera Sans Bold", "Arial Black", sans-serif
/* Monospace stack */
$monospace = Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment