{"name":"postcss-mixins","version":"7.0.1","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":">=10.0"},"funding":{"type":"opencollective","url":"https://opencollective.com/postcss/"},"peerDependencies":{"postcss":"^8.1.0"},"dependencies":{"globby":"^11.0.1","postcss-js":"^3.0.1","postcss-simple-vars":"^6.0.1","sugarss":"^3.0.1"},"bugs":{"url":"https://github.com/postcss/postcss-mixins/issues"},"homepage":"https://github.com/postcss/postcss-mixins#readme","_id":"postcss-mixins@7.0.1","_nodeVersion":"14.12.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-9VLSce+dkPYmeD7/MmPh5HTQch1HEO4avtkrT8x0t8F8TOd+gfUMkJXS82Kx1qV4c2pkMdhq4M5aEnZHYRJWiA==","shasum":"f46a18abef1eea727b4f0b6198aada1cae20cafc","tarball":"http://registry-npm.ywwl.com/postcss-mixins/download/postcss-mixins-7.0.1.tgz","fileCount":5,"unpackedSize":16510,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfb97cCRA9TVsSAnZWagAAzr8QAJ3G0R6unusXlD70dshW\nNyGtmRyjlFzddyTuPqHI6pDTjuo6v6fKPY6N2YLceZLLlOsFDemO6kt84w8C\nUgsTn+TYuDVEYmv4Am2JBPl8iyd4fDpMvIkaLKTWKLBKvqOolWhI07oGn7PS\nCxx5X3zTI+fGlggWHcBcSFiU953Wwd4AAXuEUDARzPBK/oP8klDXTFRbqxGU\nyM7RYRK8grQy7/p/ghxnGq2qaazHBrUuROInd45IWIm5R7/IQDgxOSkOBQxz\nL5O90brwzgnnD1cqjB9XtEaF0jBiZ1MnTLLUTEE0FY22B0qBlhg55nz2XoZn\nKKlmOwQeIJ5fUurL8tFwXWPJ0lhOssSn+JBDoyBvlfuMYMb8trIU83VbJ08e\nsm2149HWLeLUQXaO5fSa3iyErQmNlxaHhKCM8dHBvJL3HPc1XNAwcVMOrlyU\nA19+UvSzehuqpRkjB3PDdwbDdITdCeBl7tIhLyONM5RKwSr8LTluplzxgV9R\nIk0MTAVw6h2fndASEScQGEUJ/Mi08qXTMPlPlWS9deFqdJQSxmUvsxlJURt9\n6Jm7F1hZdsrSUTPSArzZK2a1A0AZGevjhYoHNtqjP3Y3AbiubTZjjJskTCTz\ntF4FYhHucbABLlbhIS3rkWU+chnIgVwGyHy13ljxe1Gh3gAxub2N3mte4/g9\nZ0tH\r\n=JVUZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHxGusnUp5g6wBwKYCqD5lVboswei9Jle48HnIcjMe7mAiBjFCrAsBYZe1UFAUf3ZD2l25kjEJXIsF9zzo54QaDkpg=="}],"size":6168,"noattachment":false,"key":"/postcss-mixins/-/postcss-mixins-7.0.1.tgz"},"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-mixins_7.0.1_1601167066489_0.18074454853036048"},"_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":1601167066616,"_cnpm_publish_time":1601167066616,"dist-tags":{"latest":"12.1.2"}}