Skip to content

chrisb/typekit-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typekit for Rails Gem Version

Adds a Typekit helper to your Rails application and uses some best practices for the integration.

Installation

In your Gemfile just add:

gem 'typekit-rails'

Use the Generator

Run the generator which will prompt you for your kit ID.

rails g typekit:install

Pro Usage

Add the JavaScript helper to application.js or equivalent:

//= require typekit

Specify your kit ID as such right near the top of your <head> element:

<%= typekit 'abc123def456' %>

License

Licensed under the MIT License.

Authors

About

Adobe Typekit helper for Rails, 'nuff said.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •