middleman-geo_pattern

This gem integrates the geo_pattern-gem into middleman.

Installation

Add this line to your application's Gemfile:

gem 'middleman-geo_pattern'

And then execute:

$ bundle

Or install it yourself as:

$ gem install middleman-geo_pattern

Usage

Activate the extension in your config.rb:

activate :geo_pattern

To configure the patterns which should be used by default, use the .default_patterns-option - see the README for a list of available patterns.

activate :geo_pattern do |g|
  g.default_patterns = [:xes]
end

To configure a default color, use the .default_color-option.

activate :geo_pattern do |g|
  g.default_color = '#123455'
end

To configure a default base color, use the .default_base_color-option.

activate :geo_pattern do |g|
  g.default_base_color = '#123455'
end

Contributing

See CONTRIBUTING.md

License

(c) 2015, Max Meyer

See LICENSE.txt