{"name":"postcss-mixins","version":"12.1.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":"^20.0 || ^22.0 || >=24.0"},"funding":[{"type":"opencollective","url":"https://opencollective.com/postcss/"},{"type":"github","url":"https://github.com/sponsors/ai"}],"peerDependencies":{"postcss":"^8.2.14"},"dependencies":{"postcss-js":"^4.0.1","postcss-simple-vars":"^7.0.1","sugarss":"^5.0.0","tinyglobby":"^0.2.14"},"_id":"postcss-mixins@12.1.2","gitHead":"bfe442461a8aa76b38e4f37e550e524579b61b0e","types":"./index.d.ts","bugs":{"url":"https://github.com/postcss/postcss-mixins/issues"},"homepage":"https://github.com/postcss/postcss-mixins#readme","_nodeVersion":"22.17.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-90pSxmZVfbX9e5xCv7tI5RV1mnjdf16y89CJKbf/hD7GyOz1FCxcYMl8ZYA8Hc56dbApTKKmU9HfvgfWdCxlwg==","shasum":"8a82ccad16eb60525ebcd2a8eec5721230a9ca14","tarball":"http://registry-npm.ywwl.com/postcss-mixins/download/postcss-mixins-12.1.2.tgz","fileCount":5,"unpackedSize":11547,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCub6ZE6Djol8pPVz17wMbAXUzFLPZPLN3Vj3D5NTYfPAIhAOOLDP9NDUdAIErwmm48h6vqaqmSF5pYuO5FbQq+oy+1"}],"size":4315,"noattachment":false,"key":"/postcss-mixins/-/postcss-mixins-12.1.2.tgz"},"_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"directories":{},"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-mixins_12.1.2_1753473886690_0.34748543724532155"},"_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":1753473886886,"_cnpm_publish_time":1753473886886,"dist-tags":{"latest":"12.1.2"}}