Sha256: 35d1332d09d9be4b94f1602e80e9aefdd6f226a36d95843fc7ca3d07029dc84a
Contents?: true
Size: 964 Bytes
Versions: 10
Compression:
Stored size: 964 Bytes
Contents
# Big Cartel Theme Fonts [](https://travis-ci.org/bigcartel/bigcartel-theme-fonts) [](http://badge.fury.io/rb/bigcartel-theme-fonts) A simple class for working with Big Cartel's supported theme fonts. Used internally by [Big Cartel](http://bigcartel.com) and [Dugway](https://github.com/bigcartel/dugway). ## Install Add this line to your application's Gemfile: ```ruby gem 'bigcartel-theme-fonts' ``` And then execute: ```ruby bundle ``` Or install it yourself as: ```ruby gem install bigcartel-theme-fonts ``` ## Usage ```ruby georgia = ThemeFont.find_by_name('Georgia') georgia.name #=> 'Georgia' georgia.family #=> 'Georgia, "Times New Roman", Times, serif' georgia.collection #=> 'default' ``` ```ruby ThemeFont.google_font_url_for_all_fonts #=> "//fonts.googleapis.com/css?family=One|Two" ```
Version data entries
10 entries across 10 versions & 1 rubygems