{"name":"postcss-mixins","version":"9.0.3","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":">=14.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":"af3d4eed533fada901ea92818332d29e6e35c72f","bugs":{"url":"https://github.com/postcss/postcss-mixins/issues"},"homepage":"https://github.com/postcss/postcss-mixins#readme","_id":"postcss-mixins@9.0.3","_nodeVersion":"18.4.0","_npmVersion":"8.12.1","dist":{"integrity":"sha512-99r5oYtK38cAdGKNYumVHs84u2G6SfbjWo7HCDF6Mxr0o2lFdnRRYwTl6DTqmfRpRvWAUlgav2iJv0fLXZjDKQ==","shasum":"21a41d30fa53213642d000520237db82313d1a11","tarball":"http://registry-npm.ywwl.com/postcss-mixins/download/postcss-mixins-9.0.3.tgz","fileCount":4,"unpackedSize":9816,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICaQCBBkTpMq6yQlv2sdCIOPcBOZoUQgp7ca8FFrI4b0AiEA8ebGyMLILpuLZ1ZBE86aeY93PKXNzNeP3F2EzG3bHFY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJisH0UACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoyLw//aclpz5NtGNs5uEN36yWS8kr6zTAMQd+IuBBpVv1Rfes5ojUz\r\nIL1CBgI6rpEGDlkwR9hLQ/+TFb+5kzLRdxRutMxtfQbrfTy0aMSdjorm6GmH\r\neUPskFQfrsFTu2nrS8ajx7wISIY9u4S2W7JX0lLI8/a4E3gHosLNK7FAbgOJ\r\naUkWprE79yFJrU7qJFdpNr9fqIGcRur2TGIBAPeRWQWTr5jHfqZwplToaN4P\r\nVvFtkmkaZq9fXscyIf01XRbCs+I3pBioJlz72scUZ1jznjHdcY+ASclHa369\r\nyN3jGaAnBRWTtp7nBXCLbpOblMnnRPbQo/djDFwG+uQKmuMu+R01y0Vys6YH\r\noR5thbqociC0+4rfWqSPKroJBmUEdfqkCqaOlCs/yvhmFvYnee4UVMjg97AZ\r\nT+j59cL5BA/k5PQoafUxvDSF0PpoAuIzSqHeQe9yudCWmIX9ii8Cq2sG4tpN\r\n4hBE7RYi+GVVI9j5vEWX3oRqrt53zGx144RL3zTq7JJn0dBTLrVNzyG7UQah\r\nmOiVope1kCKxurBarObIj+W01LaF8OjUQnNsIcD2ZcnRM20raLA56btMXUe0\r\nxiZi4CScXpLorPHMoAi8PLygspcL/xRrvYyxHx6nrU8/ydRD1OLXHOUDzDgh\r\n3GlLh0xHbyuvMyKTk66N/6fFlRGyzBJ6tu4=\r\n=bFwu\r\n-----END PGP SIGNATURE-----\r\n","size":3735,"noattachment":false,"key":"/postcss-mixins/-/postcss-mixins-9.0.3.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.3_1655733523939_0.7589383403874566"},"_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":1655733524115,"_cnpm_publish_time":1655733524115,"dist-tags":{"latest":"12.1.2"}}