{"name":"postcss-simple-vars","version":"5.0.2","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.14"},"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.2","_nodeVersion":"11.10.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-xWIufxBoINJv6JiLb7jl5oElgp+6puJwvT5zZHliUSydoLz4DADRB3NDDsYgfKVwojn4TDLiseoC65MuS8oGGg==","shasum":"e2f81b3d0847ddd4169816b6d141b91d51e6e22e","tarball":"http://registry-npm.ywwl.com/postcss-simple-vars/download/postcss-simple-vars-5.0.2.tgz","fileCount":6,"unpackedSize":14256,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcasAfCRA9TVsSAnZWagAAAjIP+wUdUB/zYQXYoVsjMjf5\n/Xd19PJdlPw9LdbCsqbX5EXtqcpIJUqMre7RKmlh4X9pWSWpzcTw7Ig7aGaK\nWsP5W3wFjZdqQAuUXoEKyHJH4V1eb4h/4J6yru+Gzh8jOBCF9aI67jzDZ3R/\nCM4qNN1XlTz3JxU4RGZUnDixRlLSHMHlbZcB7mw9w6e9sYB5XfMoURh9pte6\nvqGogT5HD1EOmhvi1ygqQYl0r94Ow9NJCBiDBk3FmLlxeqryivsEw0TpiaYV\nfQi/sveEAnTnsIlz+C/XS8/0DGKB0fQgmMcrUzHJVvjNmgFsZEibkUp3CwcR\ncn6wvRHJBD4tSoh/b9CaLbCQcr3iGTtlsixdzXYSTtXUOfJLPQ2Pv3DnPNmv\nd9/V5jBjcTHm/6ltcDe2GK2UMEeHCXQcsn2IQMzphVUAelpJE+wkg9H6scuA\n8HbrRea2Pvmf70rQ41il012lgTrSWwWW2iPs7oxz9AyEjLOLZ+PlTyx3eYFc\nOU1N3Dhl6sLSYZ0QDPi25xG5tD9Lo9wpoqDJTGj3s93eq68lf1zrNHha0RNV\np34/ia2xRJgrTjf0FOL+CEORlAkcbzCGSAKYDCyp5xRCYT+I1PvbpbJ7u6Nb\nIALhZyfpzScYF3o7YgyK/C/cCGIHN77N0SxxIZwy4UJH7rMscR9DADUCkPa7\nVXb9\r\n=TRLv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtzM7AXxeS2pcwLH9yxC15VZ/bAilpScWly4j2N9u79AIgZFwqz10yIquZiG1zsvL5vcTlUIpurauE3vSPCp2h83U="}],"size":4918,"noattachment":false,"key":"/postcss-simple-vars/-/postcss-simple-vars-5.0.2.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-simple-vars_5.0.2_1550499871137_0.23507123044225686"},"_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":1550499871283,"_cnpm_publish_time":1550499871283,"dist-tags":{"latest":"7.0.1"}}