{"name":"postcss-simple-vars","version":"5.0.1","description":"PostCSS plugin for Sass-like variables","keywords":["postcss","css","postcss-plugin","sass","variables","vars"],"author":{"name":"Andrey Sitnik","email":"andrey@sitnik.ru"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/postcss/postcss-simple-vars.git"},"dependencies":{"postcss":"^7.0.2"},"bugs":{"url":"https://github.com/postcss/postcss-simple-vars/issues"},"homepage":"https://github.com/postcss/postcss-simple-vars#readme","_id":"postcss-simple-vars@5.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"dist":{"integrity":"sha512-nlulz+X0i8CH2e9IbxFfMD9rG4fGx+O4hH7Pwj0bZalRx91gvli85DAymqBQ35X7VBUackGD2iNj7DgsCbwQug==","shasum":"850971fdfedf236ea1c815569ce261dab8623aa2","tarball":"http://registry-npm.ywwl.com/postcss-simple-vars/download/postcss-simple-vars-5.0.1.tgz","fileCount":6,"unpackedSize":13890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbknWKCRA9TVsSAnZWagAAjfgQAJp0938NvtSH2eyWyTyw\nXCbz8tH+GiDKe6z3GAWySSpfmjN0aRnVHaSeKjF1fsHUQIvoFizLXlpHeE4U\nNyl/xk8Z0dZrqgbAfH8zuNOv9j9eVZdIx1e+R8a6GhNrhTV4wiMJPcI4EbQw\nHNd3um8hBMIyVctMnk15i/Op7OLq5uPJY65sXyvNa1qWEmCvPdb4gu795VU8\npKAMuXml4jF48se6Oq+phDqGJL4uQjwin9fYUPRYgVeGI2utjLR7THotEwNs\nYS83rV7CTqOYIgFhbU8OwOQ38JQUN167A0cVjQFSmoMAVJ45Mcf4Dj8QgzZM\nMVgyqN1DT+xEyAXUPXel6ZTokE0PZm5VCF0+hBSW4o4p0U0GCYFkQwt3CPwh\n+60svgp8LU4y58VQ6HOxs/tItS2+MEwcDIkrfOji7wp/DxVWAu4fNzywMCWZ\nPjdIoddOB3C++MlbSrBTHcu9jZBq6Qrna9Z8aVzc0nhzVG5HZo1Vn9rMVH42\nvaxmojcjDDkKWm+OIHyeHbW5fJDPmLfqg0YCPuEvPT7xh3ZoV7XZ6LQ+XNNw\nEWIp21WqR2VeIllWGGa59R1rpPXhzI2lhopVlSQk3u1jjmd6JqmCRCiM2wjo\nhytwbQ1d/rM0J2VwbQ67mWOdVE8117QmELK+nV/09wOhgwhmlt/EK6SQCkAN\nC2Cf\r\n=IpZz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCR3MhkPLHsFPsKHIL9BssyXehN+dYgXx8mJIdQo8ssYgIgeDTsMn/eGtFmJvkI4QSfjiAskVMM/Iepy5qXlO3q3uE="}],"size":4820,"noattachment":false,"key":"/postcss-simple-vars/-/postcss-simple-vars-5.0.1.tgz"},"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-simple-vars_5.0.1_1536325002064_0.5274321369497086"},"_hasShrinkwrap":false,"readme":"# PostCSS Simple Variables\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 Sass-like variables.\n\nYou can use variables inside values, selectors and at-rule parameters.\n\n```pcss\n$dir:    top;\n$blue:   #056ef0;\n$column: 200px;\n\n.menu_link {\n  background: $blue;\n  width: $column;\n}\n.menu {\n  width: calc(4 * $column);\n  margin-$(dir): 10px;\n}\n```\n\n```css\n.menu_link {\n  background: #056ef0;\n  width: 200px;\n}\n.menu {\n  width: calc(4 * 200px);\n  margin-top: 10px;\n}\n```\n\nIf you want be closer to W3C spec,\nyou should use [postcss-custom-properties] and [postcss-at-rules-variables] plugins.\n\nLook at [postcss-map] for big complicated configs.\n\n[postcss-at-rules-variables]: https://github.com/GitScrum/postcss-at-rules-variables\n[postcss-custom-properties]:  https://github.com/postcss/postcss-custom-properties\n[postcss-map]:                https://github.com/pascalduez/postcss-map\n[PostCSS]:                    https://github.com/postcss/postcss\n\n<a href=\"https://evilmartians.com/?utm_source=postcss-simple-vars\">\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](https://github.com/postcss/postcss-simple-vars#readme)** on GitHub.\n","publish_time":1536325002184,"_cnpm_publish_time":1536325002184,"dist-tags":{"latest":"7.0.1"}}