{"_id":"postcss-short-color","_rev":"9-f8e3e1f114ef03e53cfb9dda9c6d9da7","name":"postcss-short-color","description":"Define background-color within the color property in CSS","dist-tags":{"latest":"4.0.0"},"versions":{"1.0.0":{"name":"postcss-short-color","version":"1.0.0","description":"Extends the color property so that background-color may be set by the second value","keywords":["postcss","css","postcss-plugin","colors","backgrounds","shorthands","properties"],"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"},"bugs":{"url":"https://github.com/jonathantneal/postcss-short-color/issues"},"homepage":"https://github.com/jonathantneal/postcss-short-color","dependencies":{"postcss":"^5.0.4"},"devDependencies":{"chai":"^3.2.0","gulp":"^3.9.0","gulp-eslint":"^1.0.0","gulp-mocha":"^2.1.3"},"scripts":{"test":"gulp"},"engines":{"iojs":">=2.0.0","node":">=0.12.0"},"gitHead":"fbad0801aab227e553cb851c3adfc8b1bdb15996","_id":"postcss-short-color@1.0.0","_shasum":"c7b79c9b4b66120dde5f648091ae7d4ba86e3a76","_from":".","_npmVersion":"2.14.3","_nodeVersion":"0.12.5","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"c7b79c9b4b66120dde5f648091ae7d4ba86e3a76","tarball":"https://registry.npmjs.org/postcss-short-color/-/postcss-short-color-1.0.0.tgz","integrity":"sha512-+U8ICsyNwfxzgeTMuLScTk2uO4wvp+j4SceS4GIwN38RO7NpdI1v2BUUBB++hvdKXn0ISx8qxEVfRVaCdIERTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCV3qTlkh7GzLNDVTEwYNUPUAOepaef+jATbEX2NGn7+gIhAOB7DN8eFa2znXKKN0J3W0k07jG0t/qfgdfiQgEE90At"}]},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{}},"2.0.0":{"name":"postcss-short-color","version":"2.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":{"lint":"echint && eslint index.js && jscs index.js","prepublish":"npm test","tape":"postcss-tape","test":"npm run lint && postcss-tape"},"engines":{"node":">=6.9.1"},"dependencies":{"postcss":"^5.2.6"},"devDependencies":{"echint":"^2.1.0","echint-config-dev":"1.0.0","eslint":"^3.11.1","eslint-config-dev":"1.0.0","jscs":"^3.0.7","jscs-config-dev":"1.0.1","postcss-tape":"1.0.1"},"echint":{"extends":"dev"},"eslintConfig":{"extends":"dev","parserOptions":{"sourceType":"module"}},"jscsConfig":{"preset":"dev"},"keywords":["postcss","css","postcss-plugin","asdf"],"gitHead":"12be84913794a653d31ec75235dab24a7509879f","_id":"postcss-short-color@2.0.0","_shasum":"2b79e7cdc60b142a805af8cc6d15069aee735406","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"2b79e7cdc60b142a805af8cc6d15069aee735406","tarball":"https://registry.npmjs.org/postcss-short-color/-/postcss-short-color-2.0.0.tgz","integrity":"sha512-5ODVO/dnHyD+eaK6SCzSNeJdSVBZkmBAuadybOl6ZYkUcK4Jd5mipCpRR+xaBFrk/dnfT19CYKs2jcrkZHpFcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6i7LYwWT755JiIH61FrGsG9eNiAlMFCYChm9PtyQ/AAIgSD9Vq3JEHlDgsTfAxllAXStC3jtqp3USvL0oO4W1i0U="}]},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/postcss-short-color-2.0.0.tgz_1481054315512_0.7269589158240706"},"directories":{}},"2.0.1":{"name":"postcss-short-color","version":"2.0.1","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":{"lint":"echint && eslint index.js && jscs index.js","prepublish":"npm test","tape":"postcss-tape","test":"npm run lint && postcss-tape"},"engines":{"node":">=6.9.1"},"dependencies":{"postcss":"^5.2.6"},"devDependencies":{"echint":"^2.1.0","echint-config-dev":"1.0.0","eslint":"^3.12.1","eslint-config-dev":"1.0.0","jscs":"^3.0.7","jscs-config-dev":"1.0.1","postcss-tape":"1.3.0"},"echint":{"extends":"dev"},"eslintConfig":{"extends":"dev","parserOptions":{"sourceType":"module"}},"jscsConfig":{"preset":"dev"},"keywords":["postcss","css","postcss-plugin","asdf"],"gitHead":"33859ca80bd07eb35fb9f6687d328040708f008a","_id":"postcss-short-color@2.0.1","_shasum":"8fc04e5629af0131d513765a7dd2e7a353c9b9e9","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.2.1","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"8fc04e5629af0131d513765a7dd2e7a353c9b9e9","tarball":"https://registry.npmjs.org/postcss-short-color/-/postcss-short-color-2.0.1.tgz","integrity":"sha512-fm+Cqe1qFxthgeuFxu70Pdz4404cenkoQBMFUSVFju7Kol1GZV2BCPdbvB+y4La1OO0nRd9kApifKcDTrm7NsA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICkVbftPEzU8ScpQ+AM3IlSdoxBbPPKjV7kVU40W0XgCAiB1R0tJ5I4YX6x9HW5o+b3SEsubcBm+1nR5JKGF8ZKBug=="}]},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/postcss-short-color-2.0.1.tgz_1481739371886_0.4137620411347598"},"directories":{}},"3.0.0":{"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":"https://registry.npmjs.org/postcss-short-color/-/postcss-short-color-3.0.0.tgz","integrity":"sha512-yT3qs8Os4OqQ6gWfxzPn+K/3q8cxN7EBN2byDo7T2/2V1HlXfCDKLDuAgSRlmd08CQNEgT+8K92fhnSXFMr8lw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC20eYENGTSULgRVkuhBH0VHSTrFdPUNDDyXDElN2bz3wIhAJkjn4FC0CJ56LZUDfG4QAhINx3oYiqd2DmMZQ5GrJSs"}]},"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":{}},"4.0.0":{"name":"postcss-short-color","version":"4.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.cjs.js","module":"index.es.mjs","scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"npm run test:js && npm run test:tape","test:js":"eslint *.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=6.0.0"},"dependencies":{"postcss":"^7.0.5"},"devDependencies":{"@babel/core":"^7.1.2","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/preset-env":"^7.1.0","babel-eslint":"^10.0.1","eslint":"^5.6.1","eslint-config-dev":"^2.0.0","postcss-tape":"^2.2.0","pre-commit":"^1.2.2","rollup":"^0.66.5","rollup-plugin-babel":"^4.0.3"},"eslintConfig":{"extends":"dev","parser":"babel-eslint"},"keywords":["postcss","css","postcss-plugin","color","background","background-color","shorthand","short"],"gitHead":"eb00572f3b57af0a622aceae9c36c4b3e521c09a","_id":"postcss-short-color@4.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"integrity":"sha512-2cIbOysfLRXweXDqVpt+csXNaAF46S150lN8SgItvKN3naWXfKSanYLefzF9xZ2eVl7qgkv7Fkd8NgNI0PZFHQ==","shasum":"e4ebcdda0c6d69ace1553ffb78b0628db9f5b513","tarball":"https://registry.npmjs.org/postcss-short-color/-/postcss-short-color-4.0.0.tgz","fileCount":8,"unpackedSize":20193,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvOn4CRA9TVsSAnZWagAA8+gP/jFy0nF9vh0RE3FLb3I0\nJRY4ybbdU78XZ0BhGBBEaMYWeNh+8ACtN70qbYHo86U9FYVFGvSUZOxN6Yxz\n26YaKVvhT18/AvbNQWj9R8YErj/0L9oeGf+EoaUXn/J7K36aVqZUwonqg0x/\nclZ+Rto4MgmVzyYrEvhdGd1HtWw5s1jKucmPWBmeKkXgXJ2Q/YUA0Oys9pv6\nqLRw3ksW17eJSrfvYmITKFrwciearP95pCKCYDw4zeIhWyFV0016xg6Mj2Ta\n+thYzF5jB1fbCoegn8Atybbq1WjRAqRNn5k6eGl9SrYjh7PkyXEUv8bdJ65D\nQoR2vFvuHckKepRhBrebIgF0Hie+jb6xf13TuMV6eAWoqxxszln8HWYGf8E5\nQxgNyLd6ZxmTpUzdD7X8ABJDU8BaVAreWG2EoVO81U4fdV6VSzHEfa9nLmoh\nilllZ6Sblb2RMy5mdnvlKXQTe5s+KzwLUjM1OABHy+DzDVaKlRPK0YCttECi\nbHayD+2M8zudgFko7HVa7ZKxdWRsiDr4wq0qK5j4xX62Za5oEg6TFSjXXIog\n8BqAMmm++I2pRqpa/582x8Bpjlmqf7WZ7smNKeQKGKmOHhdH6K3R+5on045w\nyeoRYo5+xaKx+PLBP4G2GetpT3HaBWFLCYM6cVOPFwEYOo8nZwI+1eoCnnDG\nrU5B\r\n=r+fY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAwNbZNrxN61nnMi6zs7pehgD24r04Tv5kJ6pZ0NQICdAiAf80RvjSrqGtrrtv7QQi0piraAyAF2Or1/ByvNkdigHg=="}]},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-short-color_4.0.0_1539107319770_0.588414165633387"},"_hasShrinkwrap":false}},"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","maintainers":[{"email":"romainmenke@gmail.com","name":"romainmenke"},{"email":"sombragriselros@gmail.com","name":"alaguna"},{"email":"jonathantneal@hotmail.com","name":"jonathantneal"}],"time":{"modified":"2024-02-19T21:20:33.432Z","created":"2015-09-29T16:42:42.102Z","1.0.0":"2015-09-29T16:42:42.102Z","2.0.0":"2016-12-06T19:58:35.737Z","2.0.1":"2016-12-14T18:16:12.107Z","3.0.0":"2017-05-25T06:34:16.613Z","4.0.0":"2018-10-09T17:48:39.889Z"},"homepage":"https://github.com/jonathantneal/postcss-short-color#readme","keywords":["postcss","css","postcss-plugin","color","background","background-color","shorthand","short"],"repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-short-color.git"},"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"bugs":{"url":"https://github.com/jonathantneal/postcss-short-color/issues"},"license":"CC0-1.0","readmeFilename":"README.md"}