Skip to content

Deol/regular-color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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