{"name":"postcss-short-color","version":"3.0.0","description":"Define background-color within the color property in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-short-color.git"},"homepage":"https://github.com/jonathantneal/postcss-short-color#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-short-color/issues"},"main":"index.js","files":["index.js"],"scripts":{"clean":"git clean -X -d -f","prepublish":"npm test","test":"echo 'Running tests...'; npm run test:js && npm run test:tape","test:js":"eslint *.js --cache --ignore-pattern .gitignore","test:tape":"postcss-tape"},"engines":{"node":">=4"},"dependencies":{"postcss":"^6.0.1"},"devDependencies":{"eslint":"^3.19.0","eslint-config-dev":"2.0.0","postcss-tape":"2.0.1","pre-commit":"^1.2.2"},"eslintConfig":{"extends":"dev"},"keywords":["postcss","css","postcss-plugin","asdf"],"gitHead":"4abf53c75b3f9b4fd25ca493b2db702e54d9bc96","_id":"postcss-short-color@3.0.0","_shasum":"874e9af3301cf5f5413d7bd235caf1dc0105ac38","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"874e9af3301cf5f5413d7bd235caf1dc0105ac38","tarball":"http://registry-npm.ywwl.com/postcss-short-color/download/postcss-short-color-3.0.0.tgz","integrity":"sha512-yT3qs8Os4OqQ6gWfxzPn+K/3q8cxN7EBN2byDo7T2/2V1HlXfCDKLDuAgSRlmd08CQNEgT+8K92fhnSXFMr8lw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC20eYENGTSULgRVkuhBH0VHSTrFdPUNDDyXDElN2bz3wIhAJkjn4FC0CJ56LZUDfG4QAhINx3oYiqd2DmMZQ5GrJSs"}],"size":4999,"noattachment":false,"key":"/postcss-short-color/-/postcss-short-color-3.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-short-color-3.0.0.tgz_1495694055733_0.9105520339217037"},"directories":{},"readme":"# PostCSS Short Color [<img src=\"https://postcss.github.io/postcss/logo.svg\" alt=\"PostCSS\" width=\"90\" height=\"90\" align=\"right\">][postcss]\n\n[![NPM Version][npm-img]][npm-url]\n[![Build Status][cli-img]][cli-url]\n[![Support Chat][git-img]][git-url]\n\n[PostCSS Short Color] lets you define `background-color` within the `color`\nproperty in CSS.\n\n```pcss\nheader {\n  color: #abccfc #212231;\n}\n\n/* becomes */\n\nheader {\n  background-color: #212231;\n  color: #abccfc;\n}\n```\n\n## Usage\n\nAdd [PostCSS Short Color] to your project:\n\n```bash\nnpm install postcss-short-color --save-dev\n```\n\nUse [PostCSS Short Color] to process your CSS:\n\n```js\nconst postcssShortColor = require('postcss-short-color');\n\npostcssShortColor.process(YOUR_CSS /*, processOptions, pluginOptions */);\n```\n\nOr use it as a [PostCSS] plugin:\n\n```js\nconst postcss = require('postcss');\nconst postcssShortColor = require('postcss-short-color');\n\npostcss([\n  postcssShortColor(/* pluginOptions */)\n]).process(YOUR_CSS /*, processOptions */);\n```\n\n[PostCSS Short Color] runs in all Node environments, with special instructions for:\n\n| [Node](INSTALL.md#node) | [PostCSS CLI](INSTALL.md#postcss-cli) | [Webpack](INSTALL.md#webpack) | [Create React App](INSTALL.md#create-react-app) | [Gulp](INSTALL.md#gulp) | [Grunt](INSTALL.md#grunt) |\n| --- | --- | --- | --- | --- | --- |\n\n## Options\n\n#### prefix\n\nThe `prefix` option defines a prefix required by properties being transformed.\nWrapping dashes are automatically applied, so that `x` would transform\n`-x-color`.\n\n```js\npostcssShortColor({ prefix: 'x' });\n```\n\n```pcss\nheader {\n  -x-color: #abccfc #212231;\n}\n\n/* becomes */\n\nheader {\n  background-color: #212231;\n  color: #abccfc;\n}\n```\n\n#### skip\n\nThe `skip` option defines the skip token used to ignore portions of the\nshorthand.\n\n```js\npostcssShortColor({ skip: '-' });\n```\n\n```pcss\nheader {\n  color: - #212231;\n}\n\n/* becomes */\n\nheader {\n  background-color: #212231;\n}\n```\n\n[cli-img]: https://img.shields.io/travis/jonathantneal/postcss-short-color.svg\n[cli-url]: https://travis-ci.org/jonathantneal/postcss-short-color\n[git-img]: https://img.shields.io/badge/support-chat-blue.svg\n[git-url]: https://gitter.im/postcss/postcss\n[npm-img]: https://img.shields.io/npm/v/postcss-short-color.svg\n[npm-url]: https://www.npmjs.com/package/postcss-short-color\n\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Short Color]: https://github.com/jonathantneal/postcss-short-color\n","publish_time":1495694056613,"_cnpm_publish_time":1495694056613,"dist-tags":{"latest":"4.0.0"}}