Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 952 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 952 Bytes

ColorSVG

ColorSVG is a new way to allow your users to select color. It hails from the age old tradition of color wheels, but gives an exciting new twist using 100% SVG graphics. If focuses on easily providing a rich set of colors for your users to easily select, which allows you to get back to business.

Implementation

The first step is to create an <input /> that will hold the color. If there is a value, it will be read automatically by ColorSVG. When a new color is selected, it will be placed in the input.

<input class="color-picker" name="color" />

It's really that simple. You can initialize the picker(s) using a jQuery object or selector string.

ColorSVG.init('.color-picker')

OR

ColorSVG.init($('.color-picker', scope));

Options

Coming (not so) soon...

Contributing

To contribute you must have Node and Gulp installed on your system.

Compiling:

npm install
bower install
gulp