module Swatches

Add some convenience methods to what is essentially just an array of color names and values

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.

This class can calculate a tint/shade if you give it a color and desired lightness.

Constants

VERSION

Public Class Methods

config() click to toggle source
# File lib/swatches/config.rb, line 14
def self.config
  @@config ||= Config.new
end