Skip to content

Instantly share code, notes, and snippets.

@JakeBeresford
Created May 29, 2015 15:23
Show Gist options
  • Save JakeBeresford/c6d5042b41be834d960e to your computer and use it in GitHub Desktop.
Save JakeBeresford/c6d5042b41be834d960e to your computer and use it in GitHub Desktop.
fontcustom.yml
# =============================================================================
# Font Custom Configuration
# This file should live in the directory where you run `fontcustom compile`.
# For more info, visit <https://github.com/FontCustom/fontcustom>.
# =============================================================================
font_name: icons
css_selector: .icon--{{glyph}}
preprocessor_path: ""
autowidth: false
no_hash: true
force: false
debug: false
quiet: false
# -----------------------------------------------------------------------------
# Input / Output Locations
# -----------------------------------------------------------------------------
#input:
vectors: htdocs/resources/sakroots/images/icons
templates: htdocs/resources/sakroots/fonts/templates
#output:
fonts: htdocs/resources/sakroots/fonts
css: htdocs/resources/sakroots/stylesheets/scss/_base
# preview: app/views/styleguide
# my-custom-template.yml: path/to/template/output
# -----------------------------------------------------------------------------
# Templates
# Default: css, preview
# -----------------------------------------------------------------------------
#templates:
[ _icon.scss ]
#- scss-rails
#- preview
#- my-custom-template.yml
#preprocessor_path: ../fonts/
# -----------------------------------------------------------------------------
# Font Settings (defaults shown)
# -----------------------------------------------------------------------------
# Size (in pica points) for which your font is designed.
#font_design_size: 16
# The em size. Setting this will scale the entire font to the given size.
#font_em: 512
# The font's ascent and descent. Used to calculate the baseline.
#font_ascent: 448
#font_descent: 64
# Horizontally fit glyphs to their individual vector widths.
#autowidth: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment