{"name":"postcss-mixins","version":"9.0.4","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":">=14.0"},"funding":{"type":"opencollective","url":"https://opencollective.com/postcss/"},"peerDependencies":{"postcss":"^8.2.14"},"dependencies":{"fast-glob":"^3.2.11","postcss-js":"^4.0.0","postcss-simple-vars":"^7.0.0","sugarss":"^4.0.1"},"gitHead":"882168dd754683a03d17f1c69a6033e81befe9d9","bugs":{"url":"https://github.com/postcss/postcss-mixins/issues"},"homepage":"https://github.com/postcss/postcss-mixins#readme","_id":"postcss-mixins@9.0.4","_nodeVersion":"18.8.0","_npmVersion":"8.18.0","dist":{"integrity":"sha512-XVq5jwQJDRu5M1XGkdpgASqLk37OqkH4JCFDXl/Dn7janOJjCTEKL+36cnRVy7bMtoBzALfO7bV7nTIsFnUWLA==","shasum":"75cd3cdb619a7e08c4c51ebb094db5f6d65b3831","tarball":"http://registry-npm.ywwl.com/postcss-mixins/download/postcss-mixins-9.0.4.tgz","fileCount":4,"unpackedSize":9816,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA2trKVPdRw4GvB3ETvV3/FtOGGoDE0NWTET8qmeA3KEAiEA9YInsyhvHA21qy5y/h1fc0SLwWnNs8KGxaas7q5DNtI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjE1M9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrgJg//QV5Dk+OTrMnOxw1FXRKzZuWbXUjItz9ri7mdd6GHBt+vs2h6\r\nqCEEUvVR9GwWleZaDYVRQTOaaIHZzSTMU6fZwGGC34htEVSQVIj3acE0E1rM\r\n7Xitoyidkyra+F3lUdN6Y+2clN/t+UJnVXD7y889yROF4QKPI7tcKox3jHHZ\r\n6n0h/J0Fj2deVuskfo5WWouj7pQKE1JPgbYX8X8e4xszIhrFgYVI1fSbOmoG\r\nYi2wqMgaPQ0A8k9EWon7+V0xJpsgsvKS3j9flXnw16TQXDr0jJX3FWX2cwq9\r\n5NPMTSkytiVvIJyc2LblUsxQqIyTUTh1mfjtbTcAuh2e43cJWX1ap675mETm\r\ntUKYOuyF2GhZiMQ4AICKiXP6Oy3A4JEBJqO/Tmg3YiE6kBcqQ2FndoBVbzoC\r\nLRNjxQPHnpfH+Jj9H7qotjfmGRpS9QBWDm/iVoPIyECyCfgKtqw1UdG+p7hr\r\nfiZyHEQmg4MjiLsrSLBP2kE2tK6opyp3bvpigLSzkPsIXpyTw+0DUIU3+f3e\r\nf7QoTq9aQsU6pfkFlLG8+osvzQdDGCqSY9GaEX59ao+DUc7aEUmwbJwoK1XR\r\npJYOkBrvfR3IqefY/4SD2x5/6qVcDqnacVF6wfBi9096y1h7DXCfJaX3wXxh\r\nGxe317dfmrTNrKwTcO9z0VEFuazTaHzBHpA=\r\n=qia8\r\n-----END PGP SIGNATURE-----\r\n","size":3733,"noattachment":false,"key":"/postcss-mixins/-/postcss-mixins-9.0.4.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_9.0.4_1662210877077_0.5467970243531479"},"_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":1662210877267,"_cnpm_publish_time":1662210877267,"dist-tags":{"latest":"12.1.2"}}