{"name":"postcss-simple-vars","version":"6.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"},"engines":{"node":">=10.0"},"funding":{"type":"opencollective","url":"https://opencollective.com/postcss/"},"peerDependencies":{"postcss":"^8.2.1"},"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.2","_nodeVersion":"15.4.0","_npmVersion":"7.0.15","dist":{"integrity":"sha512-tABK0OVtCa88TgJjgosa/1aLgiF4hTJBJxUjVE5idTGA0597OVdzWZvbySAF+HKo/sZidxSSpnWhUycDrxO8LA==","shasum":"cc0cc7745fb53c83245df99aaf4452475b454eda","tarball":"http://registry-npm.ywwl.com/postcss-simple-vars/download/postcss-simple-vars-6.0.2.tgz","fileCount":6,"unpackedSize":15126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0drfCRA9TVsSAnZWagAAy/QP/jBXMWHtzi5Hg6NGAsnC\naHJDeYMTkGuNs9ejqznti9HVVe14fJZjM2M2zOWfQyWRvCb7zA++oTCEeTj4\nHstdsnaU9Zfamv3ho09dJhbAOupdUqa3ANgtvyUT3k4WQ1FWF1yw/+2RCc6k\nFSP7nV8EFkF0rvgVU/8NifUKstCzEfRpHcaFYGOcmLHa4wCcKrME8wOiJZPf\nooJVg2I+ZkzuK60EKzmTYJiwq4FQbYISFZ4XL9KbV3P1g0Dk13aiw0zXDY5t\njIAfp0+rM5kvFXzQQXuHPbnkQ3D0CTUWJ0nx3KHKwgQYmPp7tUKjeI+AFhly\ncsJltt8LLDH6QxkSycA5ITTObe1RPtl5GpFC+ph0OEy0WGHCho2kV0xFDg0x\nHom3sHeeL1FAvVGdDHQFTBeDKNNqo7JMgPFRR1l+S+pF6tKXZywvHnVHXEdZ\n1nybfHSEFmMnoYS8BKg97PWsszEwPRI+ksTYMGxWe6TbW3paQjILVQA+98Ba\nDCDLoF7f0VcL4yjAQQ0Cp6uEmk6kvgG2pz7MtycaflZiWd8ki28hfF9CD+sM\nMZ61QczMSU22ymFDkHZTXKoleBR7nWJa5Lo1vfshucFkAa/eQF9cbu5f9vu+\nap+GI55viPgcjFWZPeY4gkYLpNmSuLDoRxW53cW3SHJxKbHQdTI0+tW7K0oG\nI8pk\r\n=3MZv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDL6urXny3sUhxfK2rT69fujOvJZC83/CJdjmU0L6J2PAIhAJ+n8SHDOSwLB0pzyPJwOk/dCT7c6YIczYzGU2x9oMZA"}],"size":5286,"noattachment":false,"key":"/postcss-simple-vars/-/postcss-simple-vars-6.0.2.tgz"},"_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"directories":{},"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-simple-vars_6.0.2_1607588575126_0.15120467650446145"},"_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":1607588575254,"_cnpm_publish_time":1607588575254,"dist-tags":{"latest":"7.0.1"}}