regular-color

0.1.6 • Public • Published

regular-color

version Build Status Github licences

nodei

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

unpkg

# 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

Readme

Keywords

Package Sidebar

Install

npm i regular-color

Weekly Downloads

24

Version

0.1.6

License

MIT

Last publish

Collaborators

  • aeodu