{"name":"postcss-simple-vars","version":"0.2.2","description":"PostCSS plugin for Sass-like variables","keywords":["postcss","sass","css","variables","vars"],"author":{"name":"Andrey Sitnik","email":"andrey@sitnik.ru"},"license":"MIT","repository":{"type":"git","url":"https://github.com/postcss/postcss-simple-vars.git"},"devDependencies":{"jshint-stylish":"1.0.0","gulp-jshint":"1.9.2","gulp-mocha":"2.0.0","postcss":"4.0.3","mocha":"2.1.0","chai":"1.10.0","gulp":"3.8.10"},"scripts":{"test":"gulp"},"gitHead":"9d84174782755de7e60c62afecca41327631119c","bugs":{"url":"https://github.com/postcss/postcss-simple-vars/issues"},"homepage":"https://github.com/postcss/postcss-simple-vars","_id":"postcss-simple-vars@0.2.2","_shasum":"f9ac4f85ed99741b6c723b0ef748adeb42424f1c","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.33","_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"dist":{"shasum":"f9ac4f85ed99741b6c723b0ef748adeb42424f1c","tarball":"http://registry-npm.ywwl.com/postcss-simple-vars/download/postcss-simple-vars-0.2.2.tgz","integrity":"sha512-Uz9hqRSAf2WlfeoRRVCIrFrnXdjuL4pXggMoxhlLQLlutJZmf722WBEuZqw1lg0X3oUxqZhPo5Sch91vNnDf9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDISZAhe4dCBi1+wY/QOmx7TwksrsEPZtdn/9zTLmSPRwIhAM6rcRAX55SuX+2C/Xrvhgi7pZ0smUtgY4iiILW3kREo"}],"size":2961,"noattachment":false,"key":"/postcss-simple-vars/-/postcss-simple-vars-0.2.2.tgz"},"directories":{},"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":1423197917863,"_cnpm_publish_time":1423197917863,"dist-tags":{"latest":"7.0.1"}}