Sha256: 46764fd6acda9aeb27dff4668f619b775d918a98d1b161560b16f4e5fcf04be0

Contents?: true

Size: 1.35 KB

Versions: 1

Compression:

Stored size: 1.35 KB

Contents

@import "compass"

// Font family mixin
=font-family($zocial-text-font)
  @extend .ff-#{$zocial-text-font}

// Zovial fonts
@if $zocial-icon-font == "zocial"
  +font-face("Zocial", font-files("zocial/zocial-regular-webfont.woff", woff, "zocial/zocial-regular-webfont.ttf", truetype, "zocial/zocial-regular-webfont.svg", svg), "zocial/zocial-regular-webfont.eot")
  .ff-zocial
    font-family: "Zocial", sans-serif

@if $zocial-icon-font == "zocial-lite"
  +font-face("Zocial-Lite", font-files("zocial/zocial-lite-regular-webfont.woff", woff, "zocial/zocial-lite-regular-webfont.ttf", truetype, "zocial/zocial-lite-regular-webfont.svg", svg), "zocial/zocial-lite-regular-webfont.eot")
  .ff-zocial-lite
    font-family: "Zocial-Lite", sans-serif

// Font stack classes
@if $zocial-text-font == "helvetica"
  .ff-helvetica
    font-family: Clean, "Helvetica-Neue", Helvetica, Arial, sans-serif
  .ff-arial
    @extend .ff-helvetica

@if $zocial-text-font == "lucida"
  .ff-lucida-grande
    font-family: "Lucida Grande", Tahoma, sans-serif
  .ff-lucida
    @extend .ff-lucida-grande

@if $zocial-text-font == "tahoma"
  .ff-tahoma
    font-family: Tahoma, "Lucida Grande", sans-serif

@if $zocial-text-font == "times"
  .ff-times
    font-family: times, "Times New Roman", serif

@if $zocial-text-font == "georgia"
  .ff-georgia
    font-family: georgia, times, "Times New Roman", serif

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zocial-0.0.1 stylesheets/_fonts.sass