Module: Swatches

Defined in:
lib/swatches/colors.rb,
lib/swatches/config.rb,
lib/swatches/engine.rb,
lib/swatches/version.rb,
lib/swatches/file_generator.rb,
lib/swatches/tint_calculator.rb,
lib/swatches/swatch_generator.rb,
app/helpers/swatches/application_helper.rb,
app/controllers/swatches/preview_controller.rb,
app/controllers/swatches/application_controller.rb

Overview

Given a base color and name, this class will generate a string of SASS that represents a full range of tints and shades based on the given color.

Defined Under Namespace

Modules: ApplicationHelper Classes: ApplicationController, Colors, Config, Engine, FileGenerator, PreviewController, SwatchGenerator, TintCalculator

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.configObject



14
15
16
# File 'lib/swatches/config.rb', line 14

def self.config
  @@config ||= Config.new
end