regular-color
v0.1.6
Published
Color of Regular Components
Downloads
11
Readme
regular-color
Inspired by vue-color.
Eye Dropper for Chrome with RegularJS.
Installation
$ npm install regular-color
Usage
- CommonJS
var color = require('regular-color');
- Global
Include the link and the script in the browser:
<!-- css -->
<link rel="stylesheet" href="//unpkg.com/regular-color/dist/color.min.css">
<!-- RegularJS -->
<script src="https://rawgit.com/regularjs/regular/master/dist/regular.js"></script>
<!-- the eyedropper component -->
<script src="//unpkg.com/regular-color/dist/color.min.js"></script>
CDN
# css
//unpkg.com/regular-color/dist/color.min.css
# js
//unpkg.com/regular-color/dist/color.min.js
# or
//unpkg.com/regular-color/dist/color.total.js
Development
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run startdev
# build for production with minification
npm run build
LICENSE
MIT