{"name":"postcss-mixins","version":"12.1.0","keywords":["postcss","css","postcss-plugin","mixins","sass"],"author":{"name":"Andrey Sitnik","email":"andrey@sitnik.ru"},"license":"MIT","_id":"postcss-mixins@12.1.0","maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"homepage":"https://github.com/postcss/postcss-mixins#readme","bugs":{"url":"https://github.com/postcss/postcss-mixins/issues"},"dist":{"shasum":"e2c4bbe017a48b365a6e4d7a0ef007e7e3d2eead","tarball":"http://registry-npm.ywwl.com/postcss-mixins/download/postcss-mixins-12.1.0.tgz","fileCount":5,"integrity":"sha512-nrMZ0TAk1OAHl7M/L3VfHgaLLRPkOruHPQfuSzALqcBB2H7VanMva8vR85n8ywZNP/t/QTEmkRhS/j+j+tTZ4g==","signatures":[{"sig":"MEYCIQDTwnl3IJ1/HRqGYKRQEvBNfBR4yAvI+miYSN3muCruTgIhAK6+XlqujkjZ7853IjXV+CJlg4+h5ZtHscJlHj5CQr2i","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11541,"size":4316,"noattachment":false,"key":"/postcss-mixins/-/postcss-mixins-12.1.0.tgz"},"types":"./index.d.ts","engines":{"node":"^20.0 || ^22.0 || >=24.0"},"funding":[{"url":"https://opencollective.com/postcss/","type":"opencollective"},{"url":"https://github.com/sponsors/ai","type":"github"}],"gitHead":"7f50dc28ac0187ab298a80701488fceee759c410","_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"repository":{"url":"git+https://github.com/postcss/postcss-mixins.git","type":"git"},"_npmVersion":"10.9.2","description":"PostCSS plugin for mixins","directories":{},"_nodeVersion":"22.17.0","dependencies":{"sugarss":"^5.0.0","postcss-js":"^4.0.1","tinyglobby":"^0.2.14","postcss-simple-vars":"^7.0.1"},"_hasShrinkwrap":false,"peerDependencies":{"postcss":"^8.2.14"},"_npmOperationalInternal":{"tmp":"tmp/postcss-mixins_12.1.0_1753473521734_0.6786621822740904","host":"s3://npm-registry-packages-npm-production"},"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":1753473521903,"_cnpm_publish_time":1753473521903,"dist-tags":{"latest":"12.1.2"}}