Sha256: 52e261e0f653f57790d0e0d5ad3c372141d40a14496a204ea7ad8218f5f9ce72

Contents?: true

Size: 679 Bytes

Versions: 3

Compression:

Stored size: 679 Bytes

Contents

require "compass"
require "compass/fontcustom/version"
require "compass/fontcustom/sass_extensions"
require "compass/fontcustom/glyph_map"
require "compass/fontcustom/font_importer"

module Compass
	# This module registers the gem as a Compass framework source,
	# adds config properties to Compass and extends Sass' `load_paths`.
  module Fontcustom
    base_directory  = File.expand_path('../../../', __FILE__)
    Compass::Frameworks.register('fontcustom', :path => base_directory)

    Compass::Configuration.add_configuration_property(:fontcustom_hash, "enables/disables fontcustom file name hashing") do
      true
    end

    Sass.load_paths << FontImporter.new
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
compass-fontcustom-1.0.0 lib/compass/fontcustom.rb
compass-fontcustom-1.0.0.pre3 lib/compass/fontcustom.rb
compass-fontcustom-1.0.0.pre lib/compass/fontcustom.rb