{"_id":"rework-color-function","_rev":"4539074","name":"rework-color-function","description":"Implements Tab Atkins's proposed color function in CSS.","dist-tags":{"latest":"1.2.1"},"maintainers":[{"name":"ianstormtaylor","email":""}],"time":{"modified":"2026-04-09T15:07:22.000Z","created":"2013-12-16T09:16:09.286Z","1.2.1":"2015-03-06T22:01:17.657Z","1.2.0":"2014-12-23T20:26:56.444Z","1.1.1":"2014-08-26T21:31:57.488Z","1.0.0":"2014-03-14T19:09:48.200Z","0.1.2":"2013-12-25T19:51:01.573Z","0.1.1":"2013-12-25T03:18:16.724Z","0.1.0":"2013-12-25T01:08:17.611Z","0.0.3":"2013-12-17T08:07:37.419Z","0.0.2":"2013-12-17T07:16:08.153Z","0.0.1":"2013-12-16T09:16:09.286Z"},"users":{},"repository":{"type":"git","url":"git://github.com/ianstormtaylor/rework-color-function.git"},"versions":{"1.2.1":{"name":"rework-color-function","repository":{"type":"git","url":"git://github.com/ianstormtaylor/rework-color-function.git"},"version":"1.2.1","license":"MIT","description":"Implements Tab Atkins's proposed color function in CSS.","keywords":["rework","color","function"],"devDependencies":{"mocha":"*","rework":"*"},"main":"lib/index.js","dependencies":{"css-color-function":"^1.2.0","balanced-match":"^0.0.0"},"gitHead":"f452601e3dfbf483cc0f9d02a3275aaedec5dcd7","bugs":{"url":"https://github.com/ianstormtaylor/rework-color-function/issues"},"homepage":"https://github.com/ianstormtaylor/rework-color-function","_id":"rework-color-function@1.2.1","scripts":{},"_shasum":"6b06b7ef2550df2ab6ed72420f0228ca3c62321f","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"ianstormtaylor","email":"ian@ianstormtaylor.com"},"maintainers":[{"name":"ianstormtaylor","email":""}],"dist":{"shasum":"6b06b7ef2550df2ab6ed72420f0228ca3c62321f","size":2278,"noattachment":false,"key":"/rework-color-function/-/rework-color-function-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rework-color-function/download/rework-color-function-1.2.1.tgz"},"directories":{},"publish_time":1425679277657,"_hasShrinkwrap":false,"_cnpm_publish_time":1425679277657,"_cnpmcore_publish_time":"2021-12-18T19:39:18.920Z"},"1.2.0":{"name":"rework-color-function","repository":{"type":"git","url":"git://github.com/ianstormtaylor/rework-color-function.git"},"version":"1.2.0","license":"MIT","description":"Implements Tab Atkins's proposed color function in CSS.","keywords":["rework","color","function"],"devDependencies":{"mocha":"*","rework":"*"},"main":"lib/index.js","dependencies":{"css-color-function":"1.1.2","balanced-match":"0.0.0"},"gitHead":"f5b90943a21dbfc418a1a4c6c3e07e48e7fedec3","bugs":{"url":"https://github.com/ianstormtaylor/rework-color-function/issues"},"homepage":"https://github.com/ianstormtaylor/rework-color-function","_id":"rework-color-function@1.2.0","scripts":{},"_shasum":"5fa358aadc64c91aafd42259e04ce82f6072095b","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"ianstormtaylor","email":"ian@ianstormtaylor.com"},"maintainers":[{"name":"ianstormtaylor","email":""}],"dist":{"shasum":"5fa358aadc64c91aafd42259e04ce82f6072095b","size":2235,"noattachment":false,"key":"/rework-color-function/-/rework-color-function-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rework-color-function/download/rework-color-function-1.2.0.tgz"},"directories":{},"publish_time":1419366416444,"_hasShrinkwrap":false,"_cnpm_publish_time":1419366416444,"_cnpmcore_publish_time":"2021-12-18T19:39:19.159Z"},"1.1.1":{"name":"rework-color-function","repository":{"type":"git","url":"git://github.com/ianstormtaylor/rework-color-function.git"},"version":"1.1.1","license":"MIT","description":"Implements Tab Atkins's proposed color function in CSS.","keywords":["rework","color","function"],"devDependencies":{"mocha":"*","rework":"*"},"main":"lib/index.js","dependencies":{"css-color-function":"1.1.1","balanced-match":"0.0.0"},"gitHead":"fcee908383b8f3f5ec23d7a6cf796a4ee65e31f1","bugs":{"url":"https://github.com/ianstormtaylor/rework-color-function/issues"},"homepage":"https://github.com/ianstormtaylor/rework-color-function","_id":"rework-color-function@1.1.1","scripts":{},"_shasum":"ed957b2ec288d29ef09a6254165cd641201b238c","_from":".","_npmVersion":"1.4.20","_npmUser":{"name":"ianstormtaylor","email":"ian@ianstormtaylor.com"},"maintainers":[{"name":"ianstormtaylor","email":""}],"dist":{"shasum":"ed957b2ec288d29ef09a6254165cd641201b238c","size":2164,"noattachment":false,"key":"/rework-color-function/-/rework-color-function-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rework-color-function/download/rework-color-function-1.1.1.tgz"},"directories":{},"publish_time":1409088717488,"_hasShrinkwrap":false,"_cnpm_publish_time":1409088717488,"_cnpmcore_publish_time":"2021-12-18T19:39:19.426Z"},"1.0.0":{"name":"rework-color-function","repository":{"type":"git","url":"git://github.com/ianstormtaylor/rework-color-function.git"},"version":"1.0.0","license":"MIT","description":"Implements Tab Atkins's proposed color function in CSS.","keywords":["rework","color","function"],"devDependencies":{"mocha":"*","rework":"*"},"main":"lib/index.js","dependencies":{"css-color-function":"0.1.0","balanced-match":"0.0.0"},"bugs":{"url":"https://github.com/ianstormtaylor/rework-color-function/issues"},"homepage":"https://github.com/ianstormtaylor/rework-color-function","_id":"rework-color-function@1.0.0","dist":{"shasum":"b0e516a30c36948bf657ff21ab6abf15ba4d3278","size":2037,"noattachment":false,"key":"/rework-color-function/-/rework-color-function-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rework-color-function/download/rework-color-function-1.0.0.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"ianstormtaylor","email":"ian@ianstormtaylor.com"},"maintainers":[{"name":"ianstormtaylor","email":""}],"directories":{},"publish_time":1394824188200,"_hasShrinkwrap":false,"_cnpm_publish_time":1394824188200,"_cnpmcore_publish_time":"2021-12-18T19:39:19.674Z"},"0.1.2":{"name":"rework-color-function","repository":{"type":"git","url":"git://github.com/ianstormtaylor/rework-color-function.git"},"version":"0.1.2","license":"MIT","description":"Implements Tab Atkins's proposed color function in CSS.","keywords":["rework","color","function"],"devDependencies":{"mocha":"*","rework":"*"},"main":"lib/index.js","dependencies":{"css-color-function":"0.1.0","balanced-match":"0.0.0"},"readmeFilename":"Readme.md","bugs":{"url":"https://github.com/ianstormtaylor/rework-color-function/issues"},"homepage":"https://github.com/ianstormtaylor/rework-color-function","_id":"rework-color-function@0.1.2","dist":{"shasum":"3f73a5f1537376262284a123465cc77e469e2d9d","size":1916,"noattachment":false,"key":"/rework-color-function/-/rework-color-function-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/rework-color-function/download/rework-color-function-0.1.2.tgz"},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"ianstormtaylor","email":"ian@ianstormtaylor.com"},"maintainers":[{"name":"ianstormtaylor","email":""}],"directories":{},"publish_time":1388001061573,"_hasShrinkwrap":false,"_cnpm_publish_time":1388001061573,"_cnpmcore_publish_time":"2021-12-18T19:39:19.910Z"},"0.1.1":{"name":"rework-color-function","repository":{"type":"git","url":"git://github.com/ianstormtaylor/rework-color-function.git"},"version":"0.1.1","license":"MIT","description":"Implements Tab Atkins's proposed color function in CSS.","keywords":["rework","color","function"],"devDependencies":{"mocha":"*","rework":"*"},"main":"lib/index.js","dependencies":{"css-color-function":"0.0.2","balanced-match":"0.0.0"},"readmeFilename":"Readme.md","bugs":{"url":"https://github.com/ianstormtaylor/rework-color-function/issues"},"homepage":"https://github.com/ianstormtaylor/rework-color-function","_id":"rework-color-function@0.1.1","dist":{"shasum":"1e812bb20391194c4ea8215b993c757e5ed82ed7","size":1888,"noattachment":false,"key":"/rework-color-function/-/rework-color-function-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rework-color-function/download/rework-color-function-0.1.1.tgz"},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"ianstormtaylor","email":"ian@ianstormtaylor.com"},"maintainers":[{"name":"ianstormtaylor","email":""}],"directories":{},"publish_time":1387941496724,"_hasShrinkwrap":false,"_cnpm_publish_time":1387941496724,"_cnpmcore_publish_time":"2021-12-18T19:39:20.136Z"},"0.1.0":{"name":"rework-color-function","repository":{"type":"git","url":"git://github.com/ianstormtaylor/rework-color-function.git"},"version":"0.1.0","license":"MIT","description":"Implements Tab Atkins's proposed color function in CSS.","keywords":["rework","color","function"],"devDependencies":{"mocha":"*","rework":"*"},"main":"lib/index.js","dependencies":{"css-color-function":"0.0.2","balanced-match":"0.0.0"},"readmeFilename":"Readme.md","bugs":{"url":"https://github.com/ianstormtaylor/rework-color-function/issues"},"homepage":"https://github.com/ianstormtaylor/rework-color-function","_id":"rework-color-function@0.1.0","dist":{"shasum":"a2256d84f076322a5041f05cac4d7275b133e6f5","size":1837,"noattachment":false,"key":"/rework-color-function/-/rework-color-function-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rework-color-function/download/rework-color-function-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"ianstormtaylor","email":"ian@ianstormtaylor.com"},"maintainers":[{"name":"ianstormtaylor","email":""}],"directories":{},"publish_time":1387933697611,"_hasShrinkwrap":false,"_cnpm_publish_time":1387933697611,"_cnpmcore_publish_time":"2021-12-18T19:39:20.338Z"},"0.0.3":{"name":"rework-color-function","repository":{"type":"git","url":"git://github.com/ianstormtaylor/rework-color-function.git"},"version":"0.0.3","license":"MIT","description":"Implements Tab Atkins's proposed color function in CSS.","keywords":["rework","color","function"],"devDependencies":{"mocha":"*","rework":"*"},"main":"lib/index.js","dependencies":{"css-color-function":"0.0.2","balanced-match":"0.0.0"},"readmeFilename":"Readme.md","bugs":{"url":"https://github.com/ianstormtaylor/rework-color-function/issues"},"homepage":"https://github.com/ianstormtaylor/rework-color-function","_id":"rework-color-function@0.0.3","dist":{"shasum":"de96e5147485de904365264ea14c6029931a841d","size":1771,"noattachment":false,"key":"/rework-color-function/-/rework-color-function-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/rework-color-function/download/rework-color-function-0.0.3.tgz"},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"ianstormtaylor","email":"ian@ianstormtaylor.com"},"maintainers":[{"name":"ianstormtaylor","email":""}],"directories":{},"publish_time":1387267657419,"_hasShrinkwrap":false,"_cnpm_publish_time":1387267657419,"_cnpmcore_publish_time":"2021-12-18T19:39:20.552Z"},"0.0.2":{"name":"rework-color-function","repository":{"type":"git","url":"git://github.com/ianstormtaylor/rework-color-function.git"},"version":"0.0.2","license":"MIT","description":"Implements Tab Atkins's proposed color function in CSS.","keywords":["rework","color","function"],"devDependencies":{"mocha":"*","rework":"*"},"main":"lib/index.js","dependencies":{"css-color-function":"0.0.2","balanced-match":"0.0.0"},"readmeFilename":"Readme.md","bugs":{"url":"https://github.com/ianstormtaylor/rework-color-function/issues"},"homepage":"https://github.com/ianstormtaylor/rework-color-function","_id":"rework-color-function@0.0.2","dist":{"shasum":"1ef1d62efb5770f3d702ea07547677c19d75ed45","size":1734,"noattachment":false,"key":"/rework-color-function/-/rework-color-function-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/rework-color-function/download/rework-color-function-0.0.2.tgz"},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"ianstormtaylor","email":"ian@ianstormtaylor.com"},"maintainers":[{"name":"ianstormtaylor","email":""}],"directories":{},"publish_time":1387264568153,"_hasShrinkwrap":false,"_cnpm_publish_time":1387264568153,"_cnpmcore_publish_time":"2021-12-18T19:39:20.778Z"},"0.0.1":{"name":"rework-color-function","repository":{"type":"git","url":"git://github.com/ianstormtaylor/rework-color-function.git"},"version":"0.0.1","license":"MIT","description":"Implements Tab Atkins's proposed color function in CSS.","keywords":["rework","color","function"],"devDependencies":{"mocha":"*","rework":"*"},"main":"lib/index.js","dependencies":{"css-color-function":"0.0.1","balanced-match":"0.0.0"},"readmeFilename":"Readme.md","bugs":{"url":"https://github.com/ianstormtaylor/rework-color-function/issues"},"homepage":"https://github.com/ianstormtaylor/rework-color-function","_id":"rework-color-function@0.0.1","dist":{"shasum":"f643ce66cba6c7d35bf3f561591e191ffc960833","size":1703,"noattachment":false,"key":"/rework-color-function/-/rework-color-function-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rework-color-function/download/rework-color-function-0.0.1.tgz"},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"ianstormtaylor","email":"ian@ianstormtaylor.com"},"maintainers":[{"name":"ianstormtaylor","email":""}],"directories":{},"publish_time":1387185369286,"_hasShrinkwrap":false,"_cnpm_publish_time":1387185369286,"_cnpmcore_publish_time":"2021-12-18T19:39:20.978Z"}},"readme":"# rework-color-function\n  \n  Implements [Tab Atkins](https://github.com/tabatkins)'s [proposed color function](http://dev.w3.org/csswg/css-color/#modifying-colors) in CSS.\n\n## Installation\n\n    $ npm install rework-color-function\n\n## Example\n\n```js\nvar color = require('rework-color-function');\n\nrework(css)\n  .use(color)\n  .toString();\n```\n\n## API\n\n  You can use the `color()` function in your CSS to modify colors on the fly just like Tab's spec explains:\n\n```css\nh2 {\n  background-color: color(red hue(+ 29));\n}\n\np {\n  color: color(var(green) tint(10%));\n}\n```\n\n## License\n\n  MIT\n","_attachments":{},"homepage":"https://github.com/ianstormtaylor/rework-color-function","bugs":{"url":"https://github.com/ianstormtaylor/rework-color-function/issues"},"license":"MIT"}