Coder Social home page Coder Social logo

dolfelt / color-svg Goto Github PK

View Code? Open in Web Editor NEW
19.0 1.0 3.0 324 KB

A revolutionary way for users to choose color in your application. Now 100% SVG.

Home Page: https://dolfelt.github.io/color-svg

License: MIT License

CSS 1.35% JavaScript 96.32% HTML 2.33%

color-svg's Introduction

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

color-svg's People

Contributors

dolfelt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

color-svg's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.