elefant/app-typekit

TypeKit app for the Elefant CMS

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:elefant-app

1.0 2012-05-11 13:47 UTC

This package is auto-updated.

Last update: 2022-07-25 02:03:31 UTC


README

This is an app for the Elefant CMS that provides support for Typekit custom font hosting service.

Usage

Step 1. Add the following to the <head> of your layout:

{# typekit/XXXXXX #}

This will hard-code the necessary Javascript into your layout. Be sure to change the XXXXXX value to the ID provided by Typekit. You can find it on their website once you've registered.

Step 2. Add some fonts to your kit on typekit.com.

Step 3. Add the selectors for your chosen fonts to the elements you want to style. For example:

h1 {
	font-family: cody;
}

You should now see your <h1> elements styled using the Cody Web font from typekit.com.