{"name":"postcss-simple-vars","version":"7.0.1","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":">=14.0"},"funding":{"type":"opencollective","url":"https://opencollective.com/postcss/"},"peerDependencies":{"postcss":"^8.2.1"},"types":"./index.d.ts","gitHead":"f9b9661e6adf753f06fd197f8b96513420fd2fe7","bugs":{"url":"https://github.com/postcss/postcss-simple-vars/issues"},"homepage":"https://github.com/postcss/postcss-simple-vars#readme","_id":"postcss-simple-vars@7.0.1","_nodeVersion":"19.0.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-5GLLXaS8qmzHMOjVxqkk1TZPf1jMqesiI7qLhnlyERalG0sMbHIbJqrcnrpmZdKCLglHnRHoEBB61RtGTsj++A==","shasum":"836b3097a54dcd13dbd3c36a5dbdd512fad2954c","tarball":"http://registry-npm.ywwl.com/postcss-simple-vars/download/postcss-simple-vars-7.0.1.tgz","fileCount":5,"unpackedSize":11019,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGHxpp+CgFwUUFJ/sF67hkOcuRgFZtbK3AdUGjJDZGDFAiEAxpHy21d759EVaUWVZgE3XgNCB9ndhWSX/SlPh7WnvfI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbUniACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmruWw//W23AXOe0YUC6pPQHghVXG8ruyxlTbyLV57xucjg4+OUPDd5M\r\ng/35+azj6Ml0PhLamFOx1xr8kmZiazzPeXFXMswAIOKonUf+oGNNI10Gty1H\r\nZbF+aSUycmQwAUpx5k2wbiQ9XPAyKM0bq6bO48NRWFkU290HH1zOv8Pl2hFl\r\nM752knvHcPtzt3XS5H+Xng+UNNDTUqZ2d2DHcTlKYSUXzZ0DI2uJieEZLXn2\r\n2oJadUo1ZIJqcyJLWq9PF/vxSZIEBcGm2lmO5KQRxIA2vJ3JKewXcJIk9yxc\r\ngKwX8GbglVDlUcMjGh2cIXbJ+wpngN7ZO8Gc7Pzfk2j5oBLLRj60ofv4W4IH\r\ndLIOmBBnaQ4Qv5jGK658G06NSiYJGMG6J9L9sqdBmtMz/0A0i3e6FDDvjpC1\r\nMQw3Qd3gC/pVBUUvkNmCr3tn5zDF6qb5OK8NkHYMCEU6S6s6pr0tdshCGXq+\r\nJgmfxlqReVWBfSY8jHDhsUC/UF/6jYmSNZzPKwCOC+14mlVsmrG6a0Waj4Le\r\nbzMimrqPEFLDGT+IqF/07rhyXcb448K3GC+CRhEBF/ZnDbRkbew3RvYbUEM1\r\nWsu7636HW7QKbRqvcUtyTk3hxTNfoZ7SoSQnqSES2+k7fMa5IEnhsyNrs19R\r\nkUpWZ+2MoBE90JRFbeyX8sGRMET5nJgHTT4=\r\n=bxaW\r\n-----END PGP SIGNATURE-----\r\n","size":3839,"noattachment":false,"key":"/postcss-simple-vars/-/postcss-simple-vars-7.0.1.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_7.0.1_1668106721979_0.3682988139377241"},"_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":1668106722152,"_cnpm_publish_time":1668106722152,"dist-tags":{"latest":"7.0.1"}}