{"name":"postcss-mixins","version":"7.0.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"},"engines":{"node":">=10.0"},"funding":{"type":"opencollective","url":"https://opencollective.com/postcss/"},"peerDependencies":{"postcss":"^8.2.0"},"dependencies":{"globby":"^11.0.1","postcss-js":"^3.0.3","postcss-simple-vars":"^6.0.1","sugarss":"^3.0.3"},"bugs":{"url":"https://github.com/postcss/postcss-mixins/issues"},"homepage":"https://github.com/postcss/postcss-mixins#readme","_id":"postcss-mixins@7.0.2","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-er22AZ/2C1P+jZOL4ZExVEz0XuPWJWWy7SySbb2HWFmAgXG8F4qaOmMaRTdLfSK1AbgWxRT+KQ8GQ2i5kOn1aw==","shasum":"9c5b9db70aa74095402062b3cf38431259b58971","tarball":"http://registry-npm.ywwl.com/postcss-mixins/download/postcss-mixins-7.0.2.tgz","fileCount":5,"unpackedSize":16559,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0HnRCRA9TVsSAnZWagAAvL8P/icDbQ3KSpBbU63j8Puq\nkFWssSDvUDvxHR69j1pqwSXwTX3Pcsd65Zl8eTLNxfoEGdtJhJz5ULNf/LGM\nvpG59k0rWiJKhsEK14deOorDolm4QuRpBA2C/xV2UgjswHZNJspAAhqB1Kqj\nh2UebdAzHTB9PX8mqz8PispMQ8qIBSyfTJ0Z4VAUFT13mr4zLCUMvB7VsdB8\nnNe3TIRtfdung0jYuXPFMiYA5cNTcFoO1rnJPIQN7p6EU7tvEfQkJWBLYTgl\nSfT4It+lOhOzbEsMmRAhTZAPEbDlrEu1N4xY+HXXSCGOWfdxDDqwv+gw1zJd\nY1O4KuUJJ1MjiS4l1WcjhiOY6b0mKvFedolyJz+uU1lWjOV+ZWkh9jWFR9pL\nD7VU7bq79HIG+Bhtxf4pzLFZdNXCgrW2ASRTaliVFz95FSRX4M43v8my77i+\n4bpSwu/K6bbPuyOaGL2b9SajD0nj8+f9JedY04c/Iu/VRcEe6cE3Pg7FUVJi\naSluAAGyCQTMqBkpPW59Atm6uRiFlBQB0CPgdokxp3diWnq+bDbFth1AaPAS\n4y/mUBu08W78+5oI8hJTqW3do8uGz+uYaaQwlPfwSS5CQ9astYj3mOQ7wLMf\n6R5zebyZRHP5oGJuqzzAYlvo9jdqfCojeXOcPd2A9bu7yVJws2HTTA5J96X5\nEm7A\r\n=BNR0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDa/KQIY/jsboRJHsSDEja2vLKmyy1QW41zcI9+vYCEiQIgWr+j/WLo/Puy02sEcAsrCvx0AGAgXN7ucyfohWCPZ14="}],"size":6178,"noattachment":false,"key":"/postcss-mixins/-/postcss-mixins-7.0.2.tgz"},"_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"directories":{},"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-mixins_7.0.2_1607498193426_0.7010995418489321"},"_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":1607498193544,"_cnpm_publish_time":1607498193544,"dist-tags":{"latest":"12.1.2"}}