{"name":"postcss-simple-vars","version":"4.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":"^6.0.1"},"devDependencies":{"eslint":"^3.19.0","eslint-config-postcss":"2.0.2","jest":"^20.0.0"},"scripts":{"test":"jest && eslint *.js"},"eslintConfig":{"extends":"eslint-config-postcss/es5","env":{"jest":true}},"gitHead":"12302ef34abcfa43f09fd4935191f8f94b627376","bugs":{"url":"https://github.com/postcss/postcss-simple-vars/issues"},"homepage":"https://github.com/postcss/postcss-simple-vars#readme","_id":"postcss-simple-vars@4.0.0","_shasum":"d49e082897d9a4824f2268fa91d969d943e2ea76","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"dist":{"shasum":"d49e082897d9a4824f2268fa91d969d943e2ea76","tarball":"http://registry-npm.ywwl.com/postcss-simple-vars/download/postcss-simple-vars-4.0.0.tgz","integrity":"sha512-ooET9PkHB/jYP57IfinhVbyX0LFiXeVvywXb9j9NfArMuQ8cmlAIXiqW+yTTwqd0eONA16Vjz6Nuj2rvHRDPow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCj/SG8iiWDjYLd3F6QxZQ/zle0QNrbYA2e/YjrSZoSVgIhAPmMC/xEgIy3HaAceNGf+iw/0fGOMVMO803RIcXM7owZ"}],"size":5773,"noattachment":false,"key":"/postcss-simple-vars/-/postcss-simple-vars-4.0.0.tgz"},"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/postcss-simple-vars-4.0.0.tgz_1494255433416_0.774778756313026"},"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":1494255435462,"_cnpm_publish_time":1494255435462,"dist-tags":{"latest":"7.0.1"}}