{"name":"postcss-simple-vars","version":"7.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":">=14.0"},"funding":{"type":"opencollective","url":"https://opencollective.com/postcss/"},"peerDependencies":{"postcss":"^8.2.1"},"types":"./index.d.ts","gitHead":"1126e3181c375ed4956c6d85723b17b79bdec207","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.0","_nodeVersion":"18.8.0","_npmVersion":"8.18.0","dist":{"integrity":"sha512-SPSkKQK7mKjD/tqcTbZkDi3KP+C/cTGXnKQmSt3AisJtnZE6ZxHEUoOGRfpV0B5dW1Y36EETfRHx10WLHpXThA==","shasum":"f1d10a979762aa4e7e3450a35a32885112893d1b","tarball":"http://registry-npm.ywwl.com/postcss-simple-vars/download/postcss-simple-vars-7.0.0.tgz","fileCount":5,"unpackedSize":11017,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2ghEQfDYG3chx2Ov1a6aIWj99FncyY06uhpcAaqioKwIgR9LUxGkKBKfmPpr5NMh3pyPAzR1CYgz+V4/xGDpIvmo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjE1JbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoRNBAAj2iX6UM2FEjx70+py1HhjGScbEidGLCKbGGTYEfkyZbgJjkb\r\n7JRs8YziiW0dwD1BuHM+tyo3pTa9X4CGNUnHupuTIDAZJi5q1T4M1jPkPGVx\r\nxQJW6OyBWe5yXSAhR8v+oB/5uHEbn7GYCBAwnxVzJvpUpi0FQmO584sESCxs\r\nKqPKcYntDnJe7Tj4z+5olUbLWzvaReRFh1hxsniw3gclkGVRuFRpkuhc48sM\r\nkiZT26AVtvbU7WM8l1gAKO5EL53O3dEd4cRXXRiDUUx5Ex0KfimVJW5AOkaS\r\nXiCWArYA6ynA31CjVtvGXG6J1qzSpKoPVeULy2YBsb60gDD6+aRKW+k6C4u+\r\n49w28cKrD9uWOBQhlQO5OTttTYHgtEJUaZLQwbMdN9vGVsA6HlSane9DFh1H\r\n2kl8o3kkqjCu/fe32v5RFWU7l2u2Fy76b2y7B6ilytjDP9WcbzVFFmNJkOBG\r\nGaLxn/y3kRhLzYtWzd3CAy2Z5RljKM1nYuxwxRiBdGFcrN7Sk3DvtbXXEt/h\r\nH1X8rsGV6GhIK0t+HZksLZf/RHLwIeRX0MUpuLX/PNvZcClZwROVYQnon8H+\r\nY4rh27/cqbhcnGmDxW6W4Y+9g+hHjbiInCD/sHXtIW8SV5/YxNJSj856G9Io\r\nisgwWwYmfMRIJgYHIPwVEgREmeogwln09JM=\r\n=V167\r\n-----END PGP SIGNATURE-----\r\n","size":3834,"noattachment":false,"key":"/postcss-simple-vars/-/postcss-simple-vars-7.0.0.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.0_1662210650872_0.04138740193465029"},"_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":1662210651046,"_cnpm_publish_time":1662210651046,"dist-tags":{"latest":"7.0.1"}}