{"name":"postcss-simple-vars","version":"6.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"},"engines":{"node":">=10.0"},"peerDependencies":{"postcss":"^8.0.3"},"bugs":{"url":"https://github.com/postcss/postcss-simple-vars/issues"},"homepage":"https://github.com/postcss/postcss-simple-vars#readme","_id":"postcss-simple-vars@6.0.0","_nodeVersion":"14.10.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-zpgSAJfxCXCFkbf0VUJTSFtoOiSor+a/dp+a+hg5q/jbf2vyOGeb69QYzxD1G/HHuFWoBgjiwYg3tzkJFVDuAA==","shasum":"7f9c556151753f7b3c0caca2e892b740089e62e8","tarball":"http://registry-npm.ywwl.com/postcss-simple-vars/download/postcss-simple-vars-6.0.0.tgz","fileCount":6,"unpackedSize":14666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYRanCRA9TVsSAnZWagAApAsP/jhTNpAO/83zxHm/Znxc\nrXymsbAQuj8W4bpVceb8fPwfbPsU9FjpvnF85X3QbUpilWvDcxvJwewL1ZOO\nAxwFWcbXfgOuZ/2L/IE/jgb+uv19UkEUr7V4WQoJy9gOlVVBpgVF3Db/okd0\n/JOqI+l4v+8Et8AUJMbtRiabXAQlhX3NnMyAlrorKzxbIuRJ8DZa7NtwsAdF\n97j9BdNZSjdF8MkyRnsIx2f+G5Z7pZogQMpiNMOlvuZZREleGExSsRhQCzAW\naZCTCe6VDf4eGr50XPq7fyamk5KI7UUAZzEmlm2+K5RtSPf0eoXJwr8XOQb3\nd9aPCdk0Q3w/tR0UOqVTAZ8SABglMCelL0c1rhvBqXV0gEjRyYDvhDj8Zi8Z\nZZSuGUXOKviw6ZmeCcaOQOKB3df/Pg67EMNTWMQpexXsl2DraFQrl6HRuI8G\nUg3geGfWXBG2RhO7djUnH84N++YsuxxnegbKS/YxcMOdnlqQG/xjwYgqNWO4\n0ulF52LZ2oV2r5eOOfNZs2j9dHEfbIOGbLwVVkGP8MaxLM0D0t3lEK05B8oq\nul6SzQFRhHm+MTfWxAN+Ua3H1u7E0zswVa8ts628PYCTIPukxwMvRVVvqd1S\ng1FDy2dpkIQ4wN0m05JRIW2082M+i78y+40My5QHnkBUXwZ7cR/yG0/0uDP+\nLn2B\r\n=NhSQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPP5VfaaqNLOKP3jbfl1dYLtbAvWMMrf7MDu7kZoXc5QIgUsB4qP/i64qVDIghPUQw6i/Ej9QHvZXFaN9RtOsy0cc="}],"size":5124,"noattachment":false,"key":"/postcss-simple-vars/-/postcss-simple-vars-6.0.0.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_6.0.0_1600198311059_0.509563050818445"},"_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":1600198311223,"_cnpm_publish_time":1600198311223,"dist-tags":{"latest":"7.0.1"}}