{"name":"postcss-mixins","version":"9.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":">=12.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":"^6.0.3","sugarss":"^4.0.1"},"gitHead":"4ff771e2c15471198bebd1692d791a47e3f34c67","bugs":{"url":"https://github.com/postcss/postcss-mixins/issues"},"homepage":"https://github.com/postcss/postcss-mixins#readme","_id":"postcss-mixins@9.0.2","_nodeVersion":"17.6.0","_npmVersion":"8.5.1","dist":{"integrity":"sha512-LaFjXcR+7LRji+Sc6DRn1mUw43+Y9Lyh5JjFTQDedlIi4W6REAesRXRJLlms5424vb0zerBfCVZzS2ZHRxGZOA==","shasum":"098969dafd1b9a98e2973fde024bef9d2563f604","tarball":"http://registry-npm.ywwl.com/postcss-mixins/download/postcss-mixins-9.0.2.tgz","fileCount":4,"unpackedSize":9241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiGV+/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpVERAAlZjnDoEhqg9SBW1SZ9ArybfMj4ZzXJEK5H+Idk4D7zMQTTos\r\ncCqW7qYEPKJpc+yYcWZufoJZRHWQydVMxwKliKYIpzUI1COUpX4yrPgyuivh\r\n7b0jEi0XRUUCHKtVMa59aIdGfpZilfOCw4pGK3MNhCpIeqq2KkWDdlLvF8zE\r\nLiU9HnPMEbN+VCtmLt1wV1qNsi+gBopnLPfowbeHFQ6fh0XxtdPXDJaU0aVn\r\nIgjJkeL07zJp+WtdX89Ycz/kYvMMqX+aCH/orJlXMY6VxLAP3JJzxPkjYjjf\r\nsuxyTkPXC+zm5Uy1iKlEiIl/1hGsfH/ZgBSUH68nXCGRAZXbDPVXhInCGQq8\r\n2onl9biOXD5//EWBq2jWdoETQmfi2x1K565/3GdwZ4/lMj3Vg8Yz8XTmpRYa\r\nhRGnbFUgpnnXnrWRz5akRhU4bkfxDl239CcD5wqoRnUTHeJp9YdqJBGr73WO\r\n1Cz06OeDRTSpZxhbojzaspIDIUL3M3EVuLlAiFegpa6RGSXuiK4gv8VSIC22\r\nZxIM2UCOjtuCRQb7mkO6evmo5xNlryxbwpngnui66wsH3G191j6m3rij7g7t\r\nm+7hfgFEGH7w2nu6cJVcPJvUCp9oRyNDd5OohGmkxztpixrlgBx6BKuwv6Eu\r\n7BO9CrYUv4arE3KNmVhhsZCxgbFO118O0b0=\r\n=JmPr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBpSlFWk77iTuDWo2XeALGlejH0uzInw5pSoTSoTv1zQIgHaPhNuQINe9bKSUt3bos3uazxVS0q0qMFQMrRznofIA="}],"size":3593,"noattachment":false,"key":"/postcss-mixins/-/postcss-mixins-9.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_9.0.2_1645830079485_0.8436702583868074"},"_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":1645830079643,"_cnpm_publish_time":1645830079643,"dist-tags":{"latest":"12.1.2"}}