{"name":"postcss-mixins","version":"5.3.0","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":{"postcss-simple-vars":"^3.0.0","postcss-js":"^0.1.3","postcss":"^5.2.4","sugarss":"^0.2.0","globby":"^6.0.0"},"devDependencies":{"eslint-config-postcss":"^2.0.2","eslint":"^3.7.1","ava":"^0.16.0"},"scripts":{"test":"ava test/*.js && eslint *.js test/**/*.js"},"eslintConfig":{"extends":"eslint-config-postcss/es5","rules":{"consistent-return":"off"}},"gitHead":"8d8d7cd5656b6be41b011cc47905a679344f3aca","bugs":{"url":"https://github.com/postcss/postcss-mixins/issues"},"homepage":"https://github.com/postcss/postcss-mixins#readme","_id":"postcss-mixins@5.3.0","_shasum":"89a9e529e2713dd626cbcd05209b3173b2dd7714","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"dist":{"shasum":"89a9e529e2713dd626cbcd05209b3173b2dd7714","tarball":"http://registry-npm.ywwl.com/postcss-mixins/download/postcss-mixins-5.3.0.tgz","integrity":"sha512-FavodEd6gFgFjl9YSqpMuTHTqltLoybocem5VCjVAaSw2/aC/61zuVoRcfBCBPa3yN0FsvSPSr3A3fWZgSeX6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUAnw5jg5vz1LH0rOuG7xe6n8+uMA3eAA7PBO26n0wYwIgD+4ZhxKHor5tGrI4iTDgCu8VJBmiS/VGGsMd0E31158="}],"size":5434,"noattachment":false,"key":"/postcss-mixins/-/postcss-mixins-5.3.0.tgz"},"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/postcss-mixins-5.3.0.tgz_1475858399983_0.8240990363992751"},"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":1475858402557,"_cnpm_publish_time":1475858402557,"dist-tags":{"latest":"12.1.2"}}