{"name":"postcss-mixins","version":"6.2.2","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":"^8.0.1","postcss":"^7.0.17","postcss-js":"^2.0.2","postcss-simple-vars":"^5.0.2","sugarss":"^2.0.0"},"bugs":{"url":"https://github.com/postcss/postcss-mixins/issues"},"homepage":"https://github.com/postcss/postcss-mixins#readme","_id":"postcss-mixins@6.2.2","_nodeVersion":"12.6.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-QqEZamiAMguYR6d2h73XXEHZgkxs03PlbU0PqgqtdCnbRlMLFNQgsfL/Td0rjIe2SwpLXOQyB9uoiLWa4GR7tg==","shasum":"3acea63271e2c75db62fb80bc1c29e1a609a4742","tarball":"http://registry-npm.ywwl.com/postcss-mixins/download/postcss-mixins-6.2.2.tgz","fileCount":5,"unpackedSize":16307,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdL0/HCRA9TVsSAnZWagAAVScP/1Tre3OK+UjU5LKgYCnQ\n4bie6oDSGWM03O9J8OpfsZePJWvLhcXvtroXrz+Em7YXsnRi12ehNa0Grq/1\nCjstIYxGaE/PBG7TgPlD0WadOqvHo0yicIj8nFTHIM9EnsIk5pa7gD3q5dDV\nEOyePFlCNLf1wUy6V3YCPkSrG0YHGlxm2sCGpveqZkhK3e264K3lzaskUHHb\nEHhWEwi9IIRPmvP2SfQUiMqRWSJBr9S7HNsFc9oAKs6xTSXW/wAe1GHmB/k1\n8Gc+g4ydQvF7KvoESZ8UCM/aJXbiY/sTjLtHskwIMF5wV/QEp49DukORvFK3\nFgrZfaQns+mUz07L6XD7iG2fXWe/w+2Sd2FaElUQVbqZdUS3KNsDpsSdRGu4\nH9w8ljr8gRbPOz8Kgu1d1Jhgx/jzWiiEbDgLsTTgxrWfzfF0KNUaTcvpgbaT\nKmKefRHsQ74RoJn1EaSSjx/mscwtgfNqoKlbSvU8NC46YohzOdLEf6FRQIhZ\n20Rwny4hKO/JGa5EVrXkDumX3EolRw4DUM8pa8nU5SdSv6q4JzFr5vxX5Nv1\nWAK9p5SdT5d2WVil4GYxv6XeLAFsJMdoGCzVmD6yL/JytKTzLCrSMM3EXeGN\nqfctMGns+WFlj/G2n3ymGn64VGXPfNrWuDXeKo+GHTfWvJwXH9yYSZbIf8CB\nfjBn\r\n=ti6N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHxVf5UIzJaCLCmQG4XEYNCnmIPcZXYWPnhfAQyLytxKAiBHg9/8tbCYu/pOagCOkIBbwCSygeEan5tq/VxEoRLfNg=="}],"size":5900,"noattachment":false,"key":"/postcss-mixins/-/postcss-mixins-6.2.2.tgz"},"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-mixins_6.2.2_1563381701930_0.9832096135271442"},"_hasShrinkwrap":false,"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":1563381702069,"_cnpm_publish_time":1563381702069,"dist-tags":{"latest":"12.1.2"}}