{"name":"postcss-mixins","version":"9.0.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"},"engines":{"node":">=12.0"},"funding":{"type":"opencollective","url":"https://opencollective.com/postcss/"},"peerDependencies":{"postcss":"^8.2.14"},"dependencies":{"fast-glob":"^3.2.7","postcss-js":"^3.0.3","postcss-simple-vars":"^6.0.3","sugarss":"^4.0.1"},"gitHead":"a0f635e3e998ad8b6fb9c9642d1fffc828577122","bugs":{"url":"https://github.com/postcss/postcss-mixins/issues"},"homepage":"https://github.com/postcss/postcss-mixins#readme","_id":"postcss-mixins@9.0.0","_nodeVersion":"17.2.0","_npmVersion":"8.1.4","dist":{"integrity":"sha512-JysD6oJtZ7nixJBc6Z64aAlcPZ0t2UgRSQGhe6i48W4wV5tRRJVLmCPetWvC29w8KXRRB/CyTZsAP6vtcZsxfw==","shasum":"b03814603f3d86205e999fac5ab55ad5faea11a4","tarball":"http://registry-npm.ywwl.com/postcss-mixins/download/postcss-mixins-9.0.0.tgz","fileCount":4,"unpackedSize":14536,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhrLbECRA9TVsSAnZWagAAIAMQAIgSYsWXJCJ8i2NRvHTb\nqd4UV8nRrZ9kghMGdP3ywymcx661YW+4yuF6nLSNsU3XPFQDMGUvaufKkVKN\neI6g/b8bDC+R2TqzoYGbpeekWnOmqXN+/KzjuTchF9ChV0yQ91VwquJ+LnEd\n0rWNiScaBqmIFMjbpQZGRRX/jyEE72++3F2+BXKMgrvbE6e6Q1UbJhcdz8Rm\nblkmKg4IMxhaOvEKzq4COviuGDPeafccRH5QsArQ8D5skT+56vc9C3gFS8eP\nqTRkg9DW9RQYR1QKIVmZ6rlknLtypT43Eyc6FCHheZ4H+PCOGCVZbMiJ1uai\nGaK9aUeblM9u7j5CDI5M8jtsoqdAdUsf92NHnPTW46top9hAE6UT1VqiUKzL\nxygfdfrsQ8eT44ron5xJll9LcPcEH2PCgLvTY8ytSG/X56E89BQOsHgOBTH3\nGUqorU0Xxo6cddT9mNXTGuKzyHZrbLVplykAZULJJH8LdmzOFIN1+f2WvSQs\nmHhJGh3CeWVuUBmaw42OoO7XoycVm7XAQbHbNBGM22fgOSIfh1rDaxbOJobf\n2dHT6MnC0//VhaeWZTIpItDeBuGg5Stdw2AhqSpdLvCmS+pFpbEZWXqCwEUt\nGIkU7QqTJ43yBM8dVZVxE8Gsv+xfA2xnpL6j6zTutKjUSQisVv3+WjACQzGd\nR02y\r\n=WGRh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGtGrLCttsEC0+MDrTIaj5BjxGmoypcKrGFTETC60AKkAiEA5GaiSjYsGkaIjaC3HNgf70YR6SwxCLnd7C7k7G1INHA="}],"size":5390,"noattachment":false,"key":"/postcss-mixins/-/postcss-mixins-9.0.0.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.0_1638708932146_0.4765848393037262"},"_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":1638708932292,"_cnpm_publish_time":1638708932292,"dist-tags":{"latest":"12.1.2"}}