{"name":"postcss-simple-vars","version":"2.0.0","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":"^5.0.21"},"devDependencies":{"eslint-config-postcss":"2.0.2","eslint":"2.10.2","ava":"0.14.0"},"scripts":{"test":"ava && eslint *.js"},"eslintConfig":{"extends":"eslint-config-postcss/es5"},"gitHead":"acef74f4bfbe1fad7f481e78cae9a0fab147d4d1","bugs":{"url":"https://github.com/postcss/postcss-simple-vars/issues"},"homepage":"https://github.com/postcss/postcss-simple-vars#readme","_id":"postcss-simple-vars@2.0.0","_shasum":"d0a1091b0da22b79507028f7b22b976c0a60b8d5","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"dist":{"shasum":"d0a1091b0da22b79507028f7b22b976c0a60b8d5","tarball":"http://registry-npm.ywwl.com/postcss-simple-vars/download/postcss-simple-vars-2.0.0.tgz","integrity":"sha512-HllLaKKCBOdKudyzqrw/ve5rWouM9cDL+WHaSF9q4CkBEPjdTdiKNw1xF2dAz5rUKrxVmnUmOYxamwy37dnq2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZF/dCjcIfitPOda2pt7WNM1uiKo9821mLMsfKQMFoTwIgESVcGmND6s1XHS1I/5F3kKCxj+QYjWahNf/OyhpLAx4="}],"size":3778,"noattachment":false,"key":"/postcss-simple-vars/-/postcss-simple-vars-2.0.0.tgz"},"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/postcss-simple-vars-2.0.0.tgz_1463511217886_0.22271207300946116"},"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":1463511220539,"_cnpm_publish_time":1463511220539,"dist-tags":{"latest":"7.0.1"}}