Skip to content
A(n awesome) Color Picker
JavaScript CSS HTML
Branch: master
Clone or download

Latest commit

Latest commit 55d2361 Mar 22, 2016

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
libs
src Update iris.js Mar 22, 2016
test Fix JSHint errors Nov 18, 2013
.gitignore Migrate from grunt 0.3.x to 0.4.x Aug 9, 2013
.jshintrc Fix JSHint errors Nov 18, 2013
Gruntfile.js Use `grunt watch` for better dev experience Oct 28, 2014
LICENSE-GPL Initial Commit Jul 26, 2012
README.md Merge pull request #38 from alexyorke/patch-3 Oct 28, 2014
iris.jquery.json Package 1.0.7 Nov 28, 2014
package.json Bump grunt-contrib-uglify to 0.9.2 Aug 26, 2015

README.md

Iris

Iris uses CSS3 Gradients for everything, so it'll look awesome on HiDPI displays out of the box. Initially developed for Custom Colors on WordPress.com and shipping with WordPress 3.5+.

Documentation

See the Iris project page.

License

Copyright (c) 2012–2014 Automattic. Licensed under the GPLv2 license.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Important notes

Please don't edit files in the dist subdirectory as they are generated via grunt. You'll find source code in the src subdirectory!

While grunt can run the included unit tests via PhantomJS, this shouldn't be considered a substitute for the real thing. Please be sure to test the test/*.html unit test file(s) in actual browsers.

Installing grunt

This assumes you have node.js and npm installed already.

  1. Test that grunt is installed globally by running grunt --version at the command-line.
  2. If grunt isn't installed globally, run npm install -g grunt-cli to install the latest version. You may need to run sudo npm install -g grunt-cli.
  3. From the root directory of this project, run npm install to install the project's dependencies.
You can’t perform that action at this time.