Skip to content

Latest commit

 

History

History
25 lines (12 loc) · 669 Bytes

README.md

File metadata and controls

25 lines (12 loc) · 669 Bytes

MC Picker

a minimal color picker

Just add the script and the colorpicker will work on any input[type=color]. Even if you add them to DOM afterwards.

The implementation is minimal, the code is minimal, even the colorpicker itself is a mere six elements in a wrapper and some smart CSS.

Checkout https://sjeiti.github.io/clr/ for live examples.

Installation

To install just do something like:

npm i -S mc_picker or yarn add mc_picker -S

Then just import it somewhere:

import 'mc_picker'

License

This project is licensed under the MIT License - see the LICENSE file for details