<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>generators/typography/templates/typography.yml.tpl</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -93,6 +93,11 @@ The following are a list of several of the guidelines Bringhurst provides for hi
 # In heads and titles use the best available ampersand.
 # Consider the medium for which the typeface was originally designed.
 
+h2. Contributors 
+
+Thanks to Gabe da Silveira for pointing out the difference between unitless and unit(full)? line-heights:
+http://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
+
 h2. Additional Resources
 
 Copyright (c) 2009 Typography System Mark Daggett, released under the MIT license</diff>
      <filename>README.textile</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,5 @@
 require 'ruby-debug'
+require 'fileutils'
 class TypographyGenerator &lt; Rails::Generator::Base
   attr_reader   :file_name,
                 :base_font_size,
@@ -9,13 +10,15 @@ class TypographyGenerator &lt; Rails::Generator::Base
 
   def initialize(runtime_args, runtime_options = {})
     super
-    
-    @file_name        = (args.shift || 'base').split('.').first # No file extension thxkbai
-    @base_font_size   = (args.shift || '10').to_f
-    @base_line_height = (args.shift || '16').to_f
-    @columns          = (args.shift || '16').to_i
-    @column_width     = (args.shift || '64').to_i
-    @gutter_width     = (args.shift || '16').to_i
+    typography_config = File.join(RAILS_ROOT,&quot;config&quot;,&quot;typography.yml&quot;)
+    raise &quot;No typography config found! Run rake typography:setup before running this generator&quot; unless File.exist?(facebook_config)
+    config = YAML::load( File.open(typography_config) )
+    @file_name        = config['typography']['file_name']
+    @base_font_size   = config['typography']['base_font_size']
+    @base_line_height = config['typography']['base_line_height']
+    @columns          = config['typography']['columns']
+    @column_width     = config['typography']['column_width']
+    @gutter_width     = config['typography']['gutter_width']
   end
 
   def manifest</diff>
      <filename>generators/typography/typography_generator.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,15 @@
-# desc &quot;Explaining what the task does&quot;
-# task :typography_system do
-#   # Task goes here
-# end
+require 'fileutils'
+
+namespace :typography do
+  desc &quot;Create a basic typography.yml configuration file&quot;
+  task :setup =&gt; :environment do
+    typography_config = File.join(RAILS_ROOT,&quot;config&quot;,&quot;typography.yml&quot;)
+    unless File.exist?(facebook_config)
+      FileUtils.cp File.join(RAILS_ROOT,&quot;vendor&quot;, &quot;plugins&quot;, &quot;typography-system&quot;, &quot;generators&quot;, &quot;typography&quot;, &quot;templates&quot;, &quot;typography.yml.tpl&quot;), typography_config
+      puts &quot;Configuration created in #{RAILS_ROOT}/config/typography.yml&quot;
+    else
+      puts &quot;#{RAILS_ROOT}/config/typography.yml already exists&quot;
+    end
+  end
+end
+</diff>
      <filename>tasks/typography_system_tasks.rake</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8bf0851f0898dcb304962938b1c8f3876ec07548</id>
    </parent>
  </parents>
  <author>
    <name>Mark Daggett</name>
    <email>heavysixer@mark-daggetts-macbook-pro.local</email>
  </author>
  <url>http://github.com/heavysixer/typography-system/commit/42f8cbdde4259331c26e31b50f4b99a009b688c8</url>
  <id>42f8cbdde4259331c26e31b50f4b99a009b688c8</id>
  <committed-date>2009-05-06T13:02:31-07:00</committed-date>
  <authored-date>2009-05-06T13:02:31-07:00</authored-date>
  <message>Making the config options using a yml file instead of hard to remember commandline arguments.</message>
  <tree>799be2edef39ab133a9a67b5ec76736c01022054</tree>
  <committer>
    <name>Mark Daggett</name>
    <email>heavysixer@mark-daggetts-macbook-pro.local</email>
  </committer>
</commit>
