{"name":"postcss-mixins","version":"6.2.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":"^8.0.1","postcss":"^7.0.6","postcss-js":"^2.0.0","postcss-simple-vars":"^5.0.1","sugarss":"^2.0.0"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"bugs":{"url":"https://github.com/postcss/postcss-mixins/issues"},"homepage":"https://github.com/postcss/postcss-mixins#readme","_id":"postcss-mixins@6.2.1","_npmVersion":"6.4.1","_nodeVersion":"11.4.0","_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"dist":{"integrity":"sha512-XfItKgFHAPKa4mayLVwoASYzzRLyW64mEtsVZz7LT7ElrprVZx9D5ivqOi5oQCkUxyiLs9sjg4aiRxr+gK9xkQ==","shasum":"f2a6abb449410929a184b23fbef7c96898cf01e5","tarball":"http://registry-npm.ywwl.com/postcss-mixins/download/postcss-mixins-6.2.1.tgz","fileCount":5,"unpackedSize":16277,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcD8c2CRA9TVsSAnZWagAAN8AP/jOQ4L+f/t//ldX6EoWl\nadGPW6E2vfdqsnP9aHKlJOeniN1weCJqR4Ih2Z+uZQZ5OiZIoH9bqlP/RMIY\nebJNbS+34rVwsBuuhs7IMZNAPuok5hVU/koUkzsN5xwaCwIqHPJJ6Oa2Vm9x\nE+NzjOdV5uRZnMXjW/qRASu2cAo/hl4EqeNS13DxhMNnGArb2M8sJkdEMsyA\npBYuFpZcQ0V+EDOpzW577OOrHIZQsyx/q2wBXwOtctAzDopci09lFmvp56PT\n+B4TYPFrOeahMX9X1Swp11RjMhb2YiANRHBuEM22/3Wy+zeB1K9FlwaPWX27\nBFbMVuudE23wuSlkKSVDFuB3++HLzOPbYPTPQQVL9EIq+ic28OY5K4N3Qrws\n2w7jVS6sKDPmtpvbdKkoS/n752rA3F5rBO5uuxikhF1KBmRfU3WUt21KN307\n9OlDEZmjeO2UgXhQp3AT7DesTiZnC24KgGZOxQH2qCSwTTIF+YvwrUBADHnC\n+mxlBuPapA+TMiJWsZCqeJLUG8BreXMmuQH3xWrOBWNg8LSI5eC4MaoMEbWl\nPqvUku9TmPRxAQFwIjeyQmHw76ij8nRPaCI776OkNkA+lAOuE1soWHKm9d84\nWM6/Bn/ORb+Gxye3ToQJFDap5RXR70dv/O3b9R4iNhCbzb8jHWP+hxrlxFFA\nK/J7\r\n=/k2E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEaE+MrShswcKpWf3GBVHl1wOZexyNxQgKFZxlpRkXmiAiEA5v6k2bahdMaSgrl8vQld4fX0wX72HkVMJhIAEqkl86M="}],"size":5915,"noattachment":false,"key":"/postcss-mixins/-/postcss-mixins-6.2.1.tgz"},"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-mixins_6.2.1_1544537909909_0.9070746645467547"},"_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":1544537910057,"_cnpm_publish_time":1544537910057,"dist-tags":{"latest":"12.1.2"}}