{"name":"postcss-mixins","version":"11.0.3","keywords":["postcss","css","postcss-plugin","mixins","sass"],"author":{"name":"Andrey Sitnik","email":"andrey@sitnik.ru"},"license":"MIT","_id":"postcss-mixins@11.0.3","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":"edae34c010a3b42d94207309fe38683404e79575","tarball":"http://registry-npm.ywwl.com/postcss-mixins/download/postcss-mixins-11.0.3.tgz","fileCount":4,"integrity":"sha512-HZa6DHlN7uCkp7GTFNvhpyK/Gi9+vrVG7FPl2oQdj+sXUuYo4ri9OsWBseTnvnLfWxRWOq8/VwcHcixtZPrRRg==","signatures":[{"sig":"MEYCIQC8h+eItdOCCAmXgsouKHjVA/zUuCJJtlsyFHeLpHXhsgIhAPDWtNLJ8WlpbJi2LmV+nawT3YRwUfIyPhyO3hbQP69V","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11129,"size":4128,"noattachment":false,"key":"/postcss-mixins/-/postcss-mixins-11.0.3.tgz"},"engines":{"node":"^18.0 || ^ 20.0 || >= 22.0"},"funding":[{"url":"https://opencollective.com/postcss/","type":"opencollective"},{"url":"https://github.com/sponsors/ai","type":"github"}],"gitHead":"b9d86af3d747f00bdd118f379afe4b95f889a833","_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"repository":{"url":"git+https://github.com/postcss/postcss-mixins.git","type":"git"},"_npmVersion":"10.8.2","description":"PostCSS plugin for mixins","directories":{},"_nodeVersion":"20.17.0","dependencies":{"sugarss":"^4.0.1","postcss-js":"^4.0.1","tinyglobby":"^0.2.7","postcss-simple-vars":"^7.0.1"},"_hasShrinkwrap":false,"peerDependencies":{"postcss":"^8.2.14"},"_npmOperationalInternal":{"tmp":"tmp/postcss-mixins_11.0.3_1727738274052_0.18127750640804807","host":"s3://npm-registry-packages"},"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":1727738274231,"_cnpm_publish_time":1727738274231,"dist-tags":{"latest":"12.1.2"}}