{"name":"postcss-mixins","version":"6.0.1","description":"PostCSS plugin for mixins","keywords":["postcss","css","postcss-plugin","mixins","sass"],"author":{"name":"Andrey Sitnik","email":"andrey@sitnik.ru"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/postcss/postcss-mixins.git"},"dependencies":{"globby":"^6.1.0","postcss":"^6.0.3","postcss-js":"^1.0.0","postcss-simple-vars":"^4.0.0","sugarss":"^1.0.0"},"devDependencies":{"eslint":"^4.0.0","eslint-config-postcss":"^2.0.2","jest":"^20.0.4","lint-staged":"^4.0.0","pre-commit":"^1.2.2"},"scripts":{"lint-staged":"lint-staged","test":"jest --coverage && eslint *.js test/{**/,}*.js"},"eslintConfig":{"extends":"eslint-config-postcss/es5","rules":{"consistent-return":"off"},"env":{"jest":true}},"jest":{"coverageThreshold":{"global":{"statements":100}}},"lint-staged":{"*.js":"eslint"},"pre-commit":["lint-staged"],"gitHead":"b2f7093cfa968e1635bb96d472c4579e407163a3","bugs":{"url":"https://github.com/postcss/postcss-mixins/issues"},"homepage":"https://github.com/postcss/postcss-mixins#readme","_id":"postcss-mixins@6.0.1","_shasum":"f5c9726259a6103733b43daa6a8b67dd0ed7aa47","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"dist":{"shasum":"f5c9726259a6103733b43daa6a8b67dd0ed7aa47","tarball":"http://registry-npm.ywwl.com/postcss-mixins/download/postcss-mixins-6.0.1.tgz","integrity":"sha512-h9peL/0qOywzL8bhlu5LgGCWbjqGcxiCSowkMGl+HtY5zZWvxqTvsl3FHAgov/Msbxh4pQABCh1qv2cO0Omr2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIARbTRUZaj/1piGxLcqeJo/eNwW1N6EwE3zUYIoffHquAiEAk1xNoQZ5jdZam/8q+9x4h0nq7OeNefMKiZoH3BH16Go="}],"size":5815,"noattachment":false,"key":"/postcss-mixins/-/postcss-mixins-6.0.1.tgz"},"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-mixins-6.0.1.tgz_1498247355440_0.49058837443590164"},"directories":{},"readme":"# PostCSS Mixins\n\n<img align=\"right\" width=\"135\" height=\"95\"\n     title=\"Philosopher’s stone, logo of PostCSS\"\n     src=\"https://postcss.org/logo-leftp.svg\">\n\n[PostCSS] plugin for mixins.\n\nNote, that you must set this plugin before [postcss-simple-vars]\nand [postcss-nested].\n\n```css\n@define-mixin icon $network, $color: blue {\n    .icon.is-$(network) {\n        color: $color;\n        @mixin-content;\n    }\n    .icon.is-$(network):hover {\n        color: white;\n        background: $color;\n    }\n}\n\n@mixin icon twitter {\n    background: url(twt.png);\n}\n@mixin icon youtube, red {\n    background: url(youtube.png);\n}\n```\n\n```css\n.icon.is-twitter {\n    color: blue;\n    background: url(twt.png);\n}\n.icon.is-twitter:hover {\n    color: white;\n    background: blue;\n}\n.icon.is-youtube {\n    color: red;\n    background: url(youtube.png);\n}\n.icon.is-youtube:hover {\n    color: white;\n    background: red;\n}\n```\n\n[postcss-utilities] collection is better for `clearfix` and other popular hacks.\nFor simple cases you can use [postcss-define-property].\n\n[postcss-define-property]: https://github.com/daleeidd/postcss-define-property\n[postcss-utilities]:       https://github.com/ismamz/postcss-utilities\n[postcss-simple-vars]:     https://github.com/postcss/postcss-simple-vars\n[postcss-nested]:          https://github.com/postcss/postcss-nested\n[PostCSS]:                 https://github.com/postcss/postcss\n\n<a href=\"https://evilmartians.com/?utm_source=postcss-mixins\">\n  <img src=\"https://evilmartians.com/badges/sponsored-by-evil-martians.svg\"\n       alt=\"Sponsored by Evil Martians\" width=\"236\" height=\"54\">\n</a>\n\n\n## Docs\nRead full docs **[here](https://github.com/postcss/postcss-mixins#readme)**.\n","publish_time":1498247355612,"_cnpm_publish_time":1498247355612,"dist-tags":{"latest":"12.1.2"}}