{"_id":"postcss-advanced-variables","_rev":"322238","name":"postcss-advanced-variables","description":"Use Sass-like variables, conditionals, and iterators in CSS","dist-tags":{"latest":"3.0.1"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"time":{"modified":"2021-06-04T01:28:18.000Z","created":"2015-07-07T19:04:11.479Z","3.0.1":"2020-02-27T21:28:26.612Z","3.0.0":"2018-11-23T02:46:48.845Z","2.3.3":"2018-02-27T05:08:41.836Z","2.3.2":"2018-02-19T17:44:48.993Z","2.3.1":"2018-02-10T17:21:37.115Z","2.3.0":"2018-01-06T18:22:50.666Z","2.2.0":"2018-01-02T15:41:09.401Z","2.1.0":"2018-01-01T15:16:35.197Z","2.0.0":"2018-01-01T02:54:19.089Z","1.2.2":"2015-10-22T02:26:01.228Z","1.2.1":"2015-10-22T02:22:41.660Z","1.2.0":"2015-10-21T16:07:26.158Z","1.1.0":"2015-09-08T15:15:24.176Z","1.0.0":"2015-09-07T05:14:12.632Z","0.0.4":"2015-07-22T19:52:39.742Z","0.0.3":"2015-07-08T20:53:31.111Z","0.0.2":"2015-07-08T00:01:53.927Z","0.0.1":"2015-07-07T19:04:11.479Z"},"users":{"koutak":true,"xiechao06":true},"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-advanced-variables.git"},"versions":{"3.0.1":{"name":"postcss-advanced-variables","version":"3.0.1","description":"Use Sass-like variables, conditionals, and iterators in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-advanced-variables.git"},"homepage":"https://github.com/jonathantneal/postcss-advanced-variables#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-advanced-variables/issues"},"main":"index.js","module":"index.mjs","scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"npm run test:js && npm run test:tape","test:js":"eslint src/*.js src/lib/*.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=6.0.0"},"dependencies":{"@csstools/sass-import-resolve":"^1.0.0","postcss":"^7.0.6"},"devDependencies":{"@babel/core":"^7.1.6","@babel/plugin-external-helpers":"^7.0.0","@babel/preset-env":"^7.1.6","babel-eslint":"^10","babel-plugin-array-includes":"^2.0.3","eslint":"^5.9.0","eslint-config-dev":"^2.0.0","postcss-scss":"^2.0.0","postcss-tape":"2.2","pre-commit":"^1.2.2","rollup":"^0.67.3","rollup-plugin-babel":"^4.0.3"},"eslintConfig":{"extends":"dev","parser":"babel-eslint","rules":{"consistent-return":[0],"max-params":[1,5]}},"keywords":["postcss","css","postcss-plugin","sass","scss","variables","conditionals","iterators","fors","eaches","medias","defaults"],"gitHead":"d41d84b9136afb1cad8a9106fac945658031a5f8","_id":"postcss-advanced-variables@3.0.1","_nodeVersion":"13.8.0","_npmVersion":"6.13.7","dist":{"shasum":"260a6ec1fc7256e94798824a742580249926db13","size":19513,"noattachment":false,"key":"/postcss-advanced-variables/-/postcss-advanced-variables-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-advanced-variables/download/postcss-advanced-variables-3.0.1.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-advanced-variables_3.0.1_1582838906435_0.6743723187058486"},"_hasShrinkwrap":false,"publish_time":1582838906612,"_cnpm_publish_time":1582838906612},"3.0.0":{"name":"postcss-advanced-variables","version":"3.0.0","description":"Use Sass-like variables, conditionals, and iterators in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-advanced-variables.git"},"homepage":"https://github.com/jonathantneal/postcss-advanced-variables#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-advanced-variables/issues"},"main":"index.js","module":"index.mjs","scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"npm run test:js && npm run test:tape","test:js":"eslint src/*.js src/lib/*.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=6.0.0"},"dependencies":{"@csstools/sass-import-resolve":"^1.0.0","postcss":"^7.0.6"},"devDependencies":{"@babel/core":"^7.1.6","@babel/plugin-external-helpers":"^7.0.0","@babel/preset-env":"^7.1.6","babel-eslint":"^10","babel-plugin-array-includes":"^2.0.3","eslint":"^5.9.0","eslint-config-dev":"^2.0.0","postcss-scss":"^2.0.0","postcss-tape":"2.2","pre-commit":"^1.2.2","rollup":"^0.67.3","rollup-plugin-babel":"^4.0.3"},"eslintConfig":{"extends":"dev","parser":"babel-eslint","rules":{"consistent-return":[0],"max-params":[1,5]}},"keywords":["postcss","css","postcss-plugin","sass","scss","variables","conditionals","iterators","fors","eaches","medias","defaults"],"gitHead":"bf62f8762090dfcd15d8f2fbb1deceb15546b578","_id":"postcss-advanced-variables@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"d1ca9a0da920c0be41213dd33ce6033d14f0b150","size":14201,"noattachment":false,"key":"/postcss-advanced-variables/-/postcss-advanced-variables-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-advanced-variables/download/postcss-advanced-variables-3.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-advanced-variables_3.0.0_1542941208705_0.23598120042338433"},"_hasShrinkwrap":false,"publish_time":1542941208845,"_cnpm_publish_time":1542941208845},"2.3.3":{"name":"postcss-advanced-variables","version":"2.3.3","description":"Use Sass-like variables, conditionals, and iterators in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-advanced-variables.git"},"homepage":"https://github.com/jonathantneal/postcss-advanced-variables#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-advanced-variables/issues"},"main":"index.bundle.js","module":"index.js","files":["index.js","index.bundle.js","lib"],"scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"echo 'Running tests...'; npm run test:ec && npm run test:js && npm run test:tape","test:ec":"echint --ignore index.bundle.js test","test:js":"eslint *.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"@csstools/sass-import-resolve":"^1","postcss":"^6"},"devDependencies":{"babel-core":"^6","babel-eslint":"^8","babel-plugin-array-includes":"^2","babel-plugin-external-helpers":"^6","babel-preset-env":"^1","echint":"^4","eslint":"^4","eslint-config-dev":"^2","postcss-scss":"^1","postcss-tape":"2.2","pre-commit":"^1","rollup":"^0","rollup-plugin-babel":"^3"},"eslintConfig":{"extends":"dev","parser":"babel-eslint","rules":{"consistent-return":[0],"max-params":[0]}},"keywords":["postcss","css","postcss-plugin","sass","scss","variables","conditionals","iterators","fors","eaches","medias","defaults"],"gitHead":"4431c689ab0aa350508928901a726987b224fb40","_id":"postcss-advanced-variables@2.3.3","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"80ac5b05988d02f63352974491e319910f33337e","size":19876,"noattachment":false,"key":"/postcss-advanced-variables/-/postcss-advanced-variables-2.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-advanced-variables/download/postcss-advanced-variables-2.3.3.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-advanced-variables_2.3.3_1519708121619_0.4499100249378887"},"_hasShrinkwrap":false,"publish_time":1519708121836,"_cnpm_publish_time":1519708121836},"2.3.2":{"name":"postcss-advanced-variables","version":"2.3.2","description":"Use Sass-like variables, conditionals, and iterators in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-advanced-variables.git"},"homepage":"https://github.com/jonathantneal/postcss-advanced-variables#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-advanced-variables/issues"},"main":"index.bundle.js","module":"index.js","files":["index.js","index.bundle.js","lib"],"scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"echo 'Running tests...'; npm run test:ec && npm run test:js && npm run test:tape","test:ec":"echint --ignore index.bundle.js test","test:js":"eslint *.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"@csstools/sass-import-resolve":"^1","postcss":"^6"},"devDependencies":{"babel-core":"^6","babel-eslint":"^8","babel-plugin-array-includes":"^2","babel-plugin-external-helpers":"^6","babel-preset-env":"^1","echint":"^4","eslint":"^4","eslint-config-dev":"^2","postcss-scss":"^1","postcss-tape":"2.2","pre-commit":"^1","rollup":"^0","rollup-plugin-babel":"^3"},"eslintConfig":{"extends":"dev","parser":"babel-eslint","rules":{"max-params":[0]}},"keywords":["postcss","css","postcss-plugin","sass","scss","variables","conditionals","iterators","fors","eaches","medias","defaults"],"gitHead":"053f1cdaf3c792f6cc6e3aade1a5319d51a448fd","_id":"postcss-advanced-variables@2.3.2","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"5b9b63246f93d69a8248c7bdc2d635639ea04db4","size":19461,"noattachment":false,"key":"/postcss-advanced-variables/-/postcss-advanced-variables-2.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-advanced-variables/download/postcss-advanced-variables-2.3.2.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-advanced-variables_2.3.2_1519062288922_0.2570007282494089"},"_hasShrinkwrap":false,"publish_time":1519062288993,"_cnpm_publish_time":1519062288993},"2.3.1":{"name":"postcss-advanced-variables","version":"2.3.1","description":"Use Sass-like variables, conditionals, and iterators in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-advanced-variables.git"},"homepage":"https://github.com/jonathantneal/postcss-advanced-variables#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-advanced-variables/issues"},"main":"index.bundle.js","module":"index.js","files":["index.js","index.bundle.js","lib"],"scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"echo 'Running tests...'; npm run test:ec && npm run test:js && npm run test:tape","test:ec":"echint --ignore index.bundle.js test","test:js":"eslint *.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"@csstools/sass-import-resolve":"^1.0","postcss":"^6.0"},"devDependencies":{"babel-core":"^6.26","babel-eslint":"^8.2","babel-plugin-array-includes":"^2.0.3","babel-plugin-external-helpers":"^6.22","babel-preset-env":"^1.6","echint":"^4.0","eslint":"^4.17","eslint-config-dev":"2.0","postcss-scss":"^1.0.3","postcss-tape":"2.2","pre-commit":"^1.2","rollup":"^0.55","rollup-plugin-babel":"^3.0"},"eslintConfig":{"extends":"dev","parser":"babel-eslint","rules":{"max-params":[0]}},"keywords":["postcss","css","postcss-plugin","sass","scss","variables","conditionals","iterators","fors","eaches","medias","defaults"],"gitHead":"4ac78f58fed345d1d0219801caea7f4376f0e019","_id":"postcss-advanced-variables@2.3.1","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"f8d0a1d67195f862d4130e611d5346b01106ace9","size":19436,"noattachment":false,"key":"/postcss-advanced-variables/-/postcss-advanced-variables-2.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-advanced-variables/download/postcss-advanced-variables-2.3.1.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-advanced-variables_2.3.1_1518283296382_0.005353598772818602"},"_hasShrinkwrap":false,"publish_time":1518283297115,"_cnpm_publish_time":1518283297115},"2.3.0":{"name":"postcss-advanced-variables","version":"2.3.0","description":"Use Sass-like variables, conditionals, and iterators in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-advanced-variables.git"},"homepage":"https://github.com/jonathantneal/postcss-advanced-variables#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-advanced-variables/issues"},"main":"index.bundle.js","module":"index.js","files":["index.js","index.bundle.js","lib"],"scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"echo 'Running tests...'; npm run test:ec && npm run test:js && npm run test:tape","test:ec":"echint --ignore index.bundle.js test","test:js":"eslint *.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"@csstools/sass-import-resolve":"^1.0.0","babel-polyfill":"^6.26.0","postcss":"^6.0"},"devDependencies":{"babel-core":"^6.26","babel-eslint":"^8.1","babel-plugin-external-helpers":"^6.22.0","babel-preset-env":"^1.6","echint":"^4.0","eslint":"^4.14","eslint-config-dev":"2.0","postcss-scss":"^1.0.2","postcss-tape":"2.2","pre-commit":"^1.2","rollup":"^0.53","rollup-plugin-babel":"^3.0"},"eslintConfig":{"extends":"dev","parser":"babel-eslint","rules":{"max-params":[0]}},"keywords":["postcss","css","postcss-plugin","sass","scss","variables","conditionals","iterators","fors","eaches","medias","defaults"],"gitHead":"67ca20e29ac956ba77968df80e6b9e516214a0f5","_id":"postcss-advanced-variables@2.3.0","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"357621c7a2bb3a5313f64384ac166addbc7e124a","size":19325,"noattachment":false,"key":"/postcss-advanced-variables/-/postcss-advanced-variables-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-advanced-variables/download/postcss-advanced-variables-2.3.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-advanced-variables-2.3.0.tgz_1515262969216_0.9842088914010674"},"directories":{},"publish_time":1515262970666,"_hasShrinkwrap":false,"_cnpm_publish_time":1515262970666},"2.2.0":{"name":"postcss-advanced-variables","version":"2.2.0","description":"Use Sass-like variables, conditionals, and iterators in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-advanced-variables.git"},"homepage":"https://github.com/jonathantneal/postcss-advanced-variables#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-advanced-variables/issues"},"main":"index.bundle.js","module":"index.js","files":["index.js","index.bundle.js","lib"],"scripts":{"clean":"git clean -X -d -f","prepublishOnly":"npm test","pretest":"rollup -c .rollup.js","test":"echo 'Running tests...'; npm run test:js && npm run test:tape","test:js":"eslint index.js lib/*.js --cache","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"@csstools/sass-import-resolve":"^1.0.0","babel-polyfill":"^6.26.0","postcss":"^6.0"},"devDependencies":{"babel-core":"^6.26","babel-eslint":"^8.1","babel-plugin-external-helpers":"^6.22.0","babel-preset-env":"^1.6","echint":"^4.0","eslint":"^4.14","eslint-config-dev":"2.0","postcss-scss":"^1.0.2","postcss-tape":"2.2","pre-commit":"^1.2","rollup":"^0.53","rollup-plugin-babel":"^3.0"},"eslintConfig":{"extends":"dev","parser":"babel-eslint","rules":{"max-params":[0]}},"keywords":["postcss","css","postcss-plugin","sass","scss","variables","conditionals","iterators","fors","eaches","medias","defaults"],"gitHead":"43e8d33da9fc669181f28b3776451c657de3f633","_id":"postcss-advanced-variables@2.2.0","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"2acda8a9a53c7deccb5c970cd95a2ce9a0891d67","size":16772,"noattachment":false,"key":"/postcss-advanced-variables/-/postcss-advanced-variables-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-advanced-variables/download/postcss-advanced-variables-2.2.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-advanced-variables-2.2.0.tgz_1514907668297_0.7113039197865874"},"directories":{},"publish_time":1514907669401,"_hasShrinkwrap":false,"_cnpm_publish_time":1514907669401},"2.1.0":{"name":"postcss-advanced-variables","version":"2.1.0","description":"Use Sass-like variables, conditionals, and iterators in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-advanced-variables.git"},"homepage":"https://github.com/jonathantneal/postcss-advanced-variables#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-advanced-variables/issues"},"main":"index.bundle.js","module":"index.js","files":["index.js","index.bundle.js","lib"],"scripts":{"clean":"git clean -X -d -f","prepublishOnly":"npm test","pretest":"rollup -c .rollup.js","test":"echo 'Running tests...'; npm run test:js && npm run test:tape","test:js":"eslint index.js lib/*.js --cache","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"postcss":"^6.0"},"devDependencies":{"babel-core":"^6.26","babel-eslint":"^8.1","babel-preset-env":"^1.6","echint":"^4.0","eslint":"^4.14","eslint-config-dev":"2.0","postcss-scss":"^1.0.2","postcss-tape":"2.2","pre-commit":"^1.2","rollup":"^0.53","rollup-plugin-babel":"^3.0"},"eslintConfig":{"extends":"dev","parser":"babel-eslint","rules":{"max-params":[0]}},"keywords":["postcss","css","postcss-plugin","sass","scss","variables","conditionals","iterators","fors","eaches","medias","defaults"],"gitHead":"369f80c13c97584326febf66cabf6806aab19d44","_id":"postcss-advanced-variables@2.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"cdd9c93d92d438e2fdd69a70d08eb7f38d5451d4","size":12826,"noattachment":false,"key":"/postcss-advanced-variables/-/postcss-advanced-variables-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-advanced-variables/download/postcss-advanced-variables-2.1.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-advanced-variables-2.1.0.tgz_1514819795077_0.27506821672432125"},"directories":{},"publish_time":1514819795197,"_hasShrinkwrap":false,"_cnpm_publish_time":1514819795197},"2.0.0":{"name":"postcss-advanced-variables","version":"2.0.0","description":"Use Sass-like variables, conditionals, and iterators in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-advanced-variables.git"},"homepage":"https://github.com/jonathantneal/postcss-advanced-variables#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-advanced-variables/issues"},"main":"index.bundle.js","module":"index.js","files":["index.js","index.bundle.js","lib"],"scripts":{"clean":"git clean -X -d -f","prepublishOnly":"npm test","pretest":"rollup -c .rollup.js","test":"echo 'Running tests...'; npm run test:js && npm run test:tape","test:js":"eslint index.js lib/*.js --cache","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"postcss":"^6.0"},"devDependencies":{"babel-core":"^6.26","babel-eslint":"^8.1","babel-preset-env":"^1.6","echint":"^4.0","eslint":"^4.14","eslint-config-dev":"2.0","postcss-scss":"^1.0.2","postcss-tape":"2.2","pre-commit":"^1.2","rollup":"^0.53","rollup-plugin-babel":"^3.0"},"eslintConfig":{"extends":"dev","parser":"babel-eslint","rules":{"max-params":[0]}},"keywords":["postcss","css","postcss-plugin","sass","scss","variables","conditionals","iterators","fors","eaches","medias","defaults"],"gitHead":"8fe5bf884c6e9e6a28397f2db9f93faf84ca7c3f","_id":"postcss-advanced-variables@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"148d91fd333da05c9efbb7ed714a0525f10569e4","size":9873,"noattachment":false,"key":"/postcss-advanced-variables/-/postcss-advanced-variables-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-advanced-variables/download/postcss-advanced-variables-2.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-advanced-variables-2.0.0.tgz_1514775258205_0.4775502218399197"},"directories":{},"publish_time":1514775259089,"_hasShrinkwrap":false,"_cnpm_publish_time":1514775259089},"1.2.2":{"name":"postcss-advanced-variables","version":"1.2.2","description":"PostCSS plugin that enables Sass-like variables, conditionals, and iterators in CSS","keywords":["postcss","css","postcss-plugin","sass","scss","variables","conditionals","iterators","fors","eaches","medias","defaults"],"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-advanced-variables.git"},"bugs":{"url":"https://github.com/jonathantneal/postcss-advanced-variables/issues"},"homepage":"https://github.com/jonathantneal/postcss-advanced-variables","dependencies":{"postcss":"^5.0.10"},"devDependencies":{"eslint":"^1.7.3","tap-spec":"^4.1.0","tape":"^4.2.2"},"scripts":{"lint":"eslint . --ignore-path .gitignore","fixtures":"tape test/*.js | tap-spec","test":"npm run lint && npm run fixtures"},"engines":{"iojs":">=2.0.0","node":">=0.12.0"},"gitHead":"2194e3ae2d2d0b26494454145cdec71e7f66f8e1","_id":"postcss-advanced-variables@1.2.2","_shasum":"90a6213262e66a050a368b4a9c5d4778d72dbd74","_from":".","_npmVersion":"2.14.3","_nodeVersion":"0.12.5","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"90a6213262e66a050a368b4a9c5d4778d72dbd74","size":7959,"noattachment":false,"key":"/postcss-advanced-variables/-/postcss-advanced-variables-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-advanced-variables/download/postcss-advanced-variables-1.2.2.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"publish_time":1445480761228,"_cnpm_publish_time":1445480761228,"_hasShrinkwrap":false},"1.2.1":{"name":"postcss-advanced-variables","version":"1.2.1","description":"PostCSS plugin that enables Sass-like variables, conditionals, and iterators in CSS","keywords":["postcss","css","postcss-plugin","sass","scss","variables","conditionals","iterators","fors","eaches","medias","defaults"],"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-advanced-variables.git"},"bugs":{"url":"https://github.com/jonathantneal/postcss-advanced-variables/issues"},"homepage":"https://github.com/jonathantneal/postcss-advanced-variables","dependencies":{"postcss":"^5.0.10"},"devDependencies":{"eslint":"^1.7.3","tap-spec":"^4.1.0","tape":"^4.2.2"},"scripts":{"lint":"eslint . --ignore-path .gitignore","fixtures":"tape test/*.js | tap-spec","test":"npm run lint && npm run fixtures"},"engines":{"iojs":">=2.0.0","node":">=0.12.0"},"gitHead":"4ff1911bd72442e01988edbacaf9f545767c92fc","_id":"postcss-advanced-variables@1.2.1","_shasum":"1448d604f951e86c1429ee32866bff00da620e00","_from":".","_npmVersion":"2.14.3","_nodeVersion":"0.12.5","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"1448d604f951e86c1429ee32866bff00da620e00","size":8121,"noattachment":false,"key":"/postcss-advanced-variables/-/postcss-advanced-variables-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-advanced-variables/download/postcss-advanced-variables-1.2.1.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"publish_time":1445480561660,"_cnpm_publish_time":1445480561660,"_hasShrinkwrap":false},"1.2.0":{"name":"postcss-advanced-variables","version":"1.2.0","description":"PostCSS plugin that enables Sass-like variables, conditionals, and iterators in CSS","keywords":["postcss","css","postcss-plugin","sass","scss","variables","conditionals","iterators","fors","eaches","medias","defaults"],"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-advanced-variables.git"},"bugs":{"url":"https://github.com/jonathantneal/postcss-advanced-variables/issues"},"homepage":"https://github.com/jonathantneal/postcss-advanced-variables","dependencies":{"postcss":"^5.0.4"},"devDependencies":{"chai":"^3.2.0","gulp":"^3.9.0","gulp-eslint":"^1.0.0","gulp-mocha":"^2.1.3"},"scripts":{"test":"gulp"},"gitHead":"67df58e579eadea7930384220ed3a6d899d5d41b","_id":"postcss-advanced-variables@1.2.0","_shasum":"91b52c4e47d0387dc6e3a58fea6298aec80b4756","_from":".","_npmVersion":"2.14.3","_nodeVersion":"0.12.5","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"91b52c4e47d0387dc6e3a58fea6298aec80b4756","size":7323,"noattachment":false,"key":"/postcss-advanced-variables/-/postcss-advanced-variables-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-advanced-variables/download/postcss-advanced-variables-1.2.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"publish_time":1445443646158,"_cnpm_publish_time":1445443646158,"_hasShrinkwrap":false},"1.1.0":{"name":"postcss-advanced-variables","version":"1.1.0","description":"PostCSS plugin that enables Sass-like variables, conditionals, and iterators in CSS","keywords":["postcss","css","postcss-plugin","sass","variables","conditionals","iterators"],"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-advanced-variables.git"},"bugs":{"url":"https://github.com/jonathantneal/postcss-advanced-variables/issues"},"homepage":"https://github.com/jonathantneal/postcss-advanced-variables","dependencies":{"postcss":"^5.0.4"},"devDependencies":{"chai":"^3.2.0","gulp":"^3.9.0","gulp-eslint":"^1.0.0","gulp-mocha":"^2.1.3"},"scripts":{"test":"gulp"},"gitHead":"d2946e3021833b4633e3efa265f26f497f4811ee","_id":"postcss-advanced-variables@1.1.0","_shasum":"512372df46652d3df85a7301c83ed699104793fb","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.5","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"512372df46652d3df85a7301c83ed699104793fb","size":3938,"noattachment":false,"key":"/postcss-advanced-variables/-/postcss-advanced-variables-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-advanced-variables/download/postcss-advanced-variables-1.1.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"publish_time":1441725324176,"_cnpm_publish_time":1441725324176,"_hasShrinkwrap":false},"1.0.0":{"name":"postcss-advanced-variables","version":"1.0.0","description":"PostCSS plugin that enables Sass-like variables, conditionals, and iterators in CSS","keywords":["postcss","css","postcss-plugin","sass","variables","conditionals","iterators"],"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-advanced-variables.git"},"bugs":{"url":"https://github.com/jonathantneal/postcss-advanced-variables/issues"},"homepage":"https://github.com/jonathantneal/postcss-advanced-variables","dependencies":{"postcss":"^5.0.4"},"devDependencies":{"chai":"^3.2.0","gulp":"^3.9.0","gulp-eslint":"^1.0.0","gulp-mocha":"^2.1.3"},"scripts":{"test":"gulp"},"gitHead":"250f7c848ff9042d33a926adc084c0b8fdd0ae14","_id":"postcss-advanced-variables@1.0.0","_shasum":"acaead23f8fd9cf7c6877e668ef15fb14a5231cf","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.5","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"acaead23f8fd9cf7c6877e668ef15fb14a5231cf","size":3866,"noattachment":false,"key":"/postcss-advanced-variables/-/postcss-advanced-variables-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-advanced-variables/download/postcss-advanced-variables-1.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"publish_time":1441602852632,"_cnpm_publish_time":1441602852632,"_hasShrinkwrap":false},"0.0.4":{"name":"postcss-advanced-variables","version":"0.0.4","description":"PostCSS plugin that enables Sass-like variables, conditionals, and iterators in CSS","keywords":["postcss","css","postcss-plugin","sass","variables","conditionals","iterators"],"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-advanced-variables.git"},"bugs":{"url":"https://github.com/jonathantneal/postcss-advanced-variables/issues"},"homepage":"https://github.com/jonathantneal/postcss-advanced-variables","dependencies":{"postcss":"^4.1.16"},"devDependencies":{"chai":"^3.0.0","gulp":"^3.9.0","gulp-eslint":"^0.15.0","gulp-mocha":"^2.1.2"},"scripts":{"test":"gulp"},"gitHead":"dda08f5977912986e2ee9e09a6a01fbcf0cbfd08","_id":"postcss-advanced-variables@0.0.4","_shasum":"f5c1186d25d7f9b9ddcce3e137b0e47bf5ea6d1c","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.5","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"f5c1186d25d7f9b9ddcce3e137b0e47bf5ea6d1c","size":3829,"noattachment":false,"key":"/postcss-advanced-variables/-/postcss-advanced-variables-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-advanced-variables/download/postcss-advanced-variables-0.0.4.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"publish_time":1437594759742,"_cnpm_publish_time":1437594759742,"_hasShrinkwrap":false},"0.0.3":{"name":"postcss-advanced-variables","version":"0.0.3","description":"PostCSS plugin that enables Sass-like variables, conditionals, and iterators in CSS","keywords":["postcss","css","postcss-plugin","sass","variables","conditionals","iterators"],"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-advanced-variables.git"},"bugs":{"url":"https://github.com/jonathantneal/postcss-advanced-variables/issues"},"homepage":"https://github.com/jonathantneal/postcss-advanced-variables","dependencies":{"postcss":"^4.1.16"},"devDependencies":{"chai":"^3.0.0","gulp":"^3.9.0","gulp-eslint":"^0.15.0","gulp-mocha":"^2.1.2"},"scripts":{"test":"gulp"},"gitHead":"b25b772af31b3d9fbb29bce2f35268bb34a3c785","_id":"postcss-advanced-variables@0.0.3","_shasum":"49dbc8f345eff953c8bda05cd581afabf32ad19e","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.5","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"49dbc8f345eff953c8bda05cd581afabf32ad19e","size":3823,"noattachment":false,"key":"/postcss-advanced-variables/-/postcss-advanced-variables-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-advanced-variables/download/postcss-advanced-variables-0.0.3.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"publish_time":1436388811111,"_cnpm_publish_time":1436388811111,"_hasShrinkwrap":false},"0.0.2":{"name":"postcss-advanced-variables","version":"0.0.2","description":"PostCSS plugin that enables Sass-like variables, conditionals, and iterators in CSS","keywords":["postcss","css","postcss-plugin","sass","variables","conditionals","iterators"],"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-advanced-variables.git"},"bugs":{"url":"https://github.com/jonathantneal/postcss-advanced-variables/issues"},"homepage":"https://github.com/jonathantneal/postcss-advanced-variables","dependencies":{"postcss":"^4.1.13"},"devDependencies":{"chai":"^3.0.0","gulp":"^3.9.0","gulp-eslint":"^0.14.0","gulp-mocha":"^2.1.2"},"scripts":{"test":"gulp"},"gitHead":"1a36c91f04318b64548714ae386eef39687038d2","_id":"postcss-advanced-variables@0.0.2","_shasum":"1aa66dcf1e9cb47a715b5a4207741d8d87e567c7","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"1aa66dcf1e9cb47a715b5a4207741d8d87e567c7","size":3698,"noattachment":false,"key":"/postcss-advanced-variables/-/postcss-advanced-variables-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-advanced-variables/download/postcss-advanced-variables-0.0.2.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"publish_time":1436313713927,"_cnpm_publish_time":1436313713927,"_hasShrinkwrap":false},"0.0.1":{"name":"postcss-advanced-variables","version":"0.0.1","description":"PostCSS plugin that enables Sass-like variables, conditionals, and iterators in CSS","keywords":["postcss","css","postcss-plugin","sass","variables","conditionals","iterators"],"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-advanced-variables.git"},"bugs":{"url":"https://github.com/jonathantneal/postcss-advanced-variables/issues"},"homepage":"https://github.com/jonathantneal/postcss-advanced-variables","dependencies":{"polyfill-regexp-escape":"^1.0.0","postcss":"^4.1.13"},"devDependencies":{"chai":"^3.0.0","gulp":"^3.9.0","gulp-eslint":"^0.14.0","gulp-mocha":"^2.1.2"},"scripts":{"test":"gulp"},"gitHead":"d8e8b5e7c45667b9856a83175966a5187162ce03","_id":"postcss-advanced-variables@0.0.1","_shasum":"00757aab6fe10855b4e69fce79b3db5610dd13e4","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"00757aab6fe10855b4e69fce79b3db5610dd13e4","size":3301,"noattachment":false,"key":"/postcss-advanced-variables/-/postcss-advanced-variables-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-advanced-variables/download/postcss-advanced-variables-0.0.1.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"publish_time":1436295851479,"_cnpm_publish_time":1436295851479,"_hasShrinkwrap":false}},"readme":"# PostCSS Advanced Variables [<img src=\"https://postcss.github.io/postcss/logo.svg\" alt=\"PostCSS Logo\" width=\"90\" height=\"90\" align=\"right\">][postcss]\n\n[![NPM Version][npm-img]][npm-url]\n[![Build Status][cli-img]][cli-url]\n[![Support Chat][git-img]][git-url]\n\n[PostCSS Advanced Variables] lets you use Sass-like variables, conditionals,\nand iterators in CSS.\n\n```scss\n$dir: assets/icons;\n\n@each $icon in (foo, bar, baz) {\n  .icon-$icon {\n    background: url('$dir/$icon.png');\n  }\n}\n\n@for $count from 1 to 5 by 2 {\n  @if $count > 2 {\n    .col-$count {\n      width: #{$count}0%;\n    }\n  }\n}\n\n@import \"path/to/some-file\";\n\n/* after */\n\n.icon-foo {\n  background: url('assets/icons/foo.png');\n}\n\n.icon-bar {\n  background: url('assets/icons/bar.png');\n}\n\n.icon-baz {\n  background: url('assets/icons/baz.png');\n}\n\n.col-3 {\n  width: 30%;\n}\n\n.col-5 {\n  width: 50%;\n}\n\n// the contents of \"path/to/_some-file.scss\"\n```\n\n## Usage\n\nAdd [PostCSS Advanced Variables] to your build tool:\n\n```bash\nnpm install postcss-advanced-variables --save-dev\n```\n\n#### Node\n\nUse [PostCSS Advanced Variables] to process your CSS:\n\n```js\nrequire('postcss-advanced-variables').process(YOUR_CSS);\n```\n\n#### PostCSS\n\nAdd [PostCSS] to your build tool:\n\n```bash\nnpm install postcss --save-dev\n```\n\nUse [PostCSS Advanced Variables] as a plugin:\n\n```js\npostcss([\n  require('postcss-advanced-variables')(/* options */)\n]).process(YOUR_CSS);\n```\n\n#### Gulp\n\nAdd [Gulp PostCSS] to your build tool:\n\n```bash\nnpm install gulp-postcss --save-dev\n```\n\nUse [PostCSS Advanced Variables] in your Gulpfile:\n\n```js\nvar postcss = require('gulp-postcss');\n\ngulp.task('css', function () {\n  return gulp.src('./src/*.css').pipe(\n    postcss([\n      require('postcss-advanced-variables')(/* options */)\n    ])\n  ).pipe(\n    gulp.dest('.')\n  );\n});\n```\n\n#### Grunt\n\nAdd [Grunt PostCSS] to your build tool:\n\n```bash\nnpm install grunt-postcss --save-dev\n```\n\nUse [PostCSS Advanced Variables] in your Gruntfile:\n\n```js\ngrunt.loadNpmTasks('grunt-postcss');\n\ngrunt.initConfig({\n  postcss: {\n    options: {\n      use: [\n        require('postcss-advanced-variables')(/* options */)\n      ]\n    },\n    dist: {\n      src: '*.css'\n    }\n  }\n});\n```\n\n---\n\n## Features\n\n### $variables\n\nVariables let you store information to be reused anywhere in a stylesheet.\n\nVariables are set just like CSS properties, placing a `$` symbol before the\nname of the variable (`$var-name`). They may also be set placing a `$` symbol\nbefore two parentheses wrapping the name of the variable (`$(var-name)`), or by\nwrapping the `$` symbol and variable name in curly braces preceeded by a hash\n(`#{$var-name}`).\n\n```scss\n$font-size:     1.25em;\n$font-stack:    \"Helvetica Neue\", sans-serif;\n$primary-color: #333;\n\nbody {\n  font: $font-size $(font-stack);\n  color: #{$primary-color};\n}\n```\n\n*Note: To use `#{$var-name}` without issues, you will need to include the\n[PostCSS SCSS Syntax].\n\nIn that example, `$font-size`, `$font-stack`, and `$primary-color` are replaced\nwith their values.\n\n```css\nbody {\n  font: 1.25em \"Helvetica Neue\", sans-serif;\n  color: #333;\n}\n```\n\n### @if and @else Rules\n\nConditionals like `@if` and `@else` let you use rules in a stylesheet if they\nevaluate true or false.\n\nConditionals are set by writing `@if` before the expression you want to\nevaluate. If the expression is true, then its contents are included in the\nstylesheet. If the expression is false, then its contents are not included, but\nthe contents of an `@else` that follows it are included.\n\n```scss\n$type: monster;\n\np {\n  @if $type == ocean {\n    color: blue;\n  } @else {\n    color: black;\n  }\n}\n```\n\nIn that example, `$type === ocean` is false, so the `@if` contents are ignored\nand the `@else` contents are used.\n\n```css\np {\n  color: black;\n}\n```\n\n### @for and @each Rules\n\nIterators like `@for` and `@each` let you repeat content in a stylesheet.\n\nA `@for` statement repeats by a numerical counter defined as a variable.\n\nIt can be written as `@for $counter from <start> through <end>` where\n`$counter` is the name of the iterating variable, `<start>` is the number to\nstart with, and `<end>` is the number to finish with.\n\nIt can also be written as `@for $counter from <start> to <end>` where\n`$counter` is still the name of the counter variable, `<start>` is still the\nnumber to start with, but `<end>` is now the number to finish\n*before, but not include*.\n\nWhen `<start>` is greater than `<end>`, the counter will decrement instead of\nincrement.\n\nEither form of `@for` can be written as\n`@for $var from <start> to <end> by <increment>` or\n`@for $var from <start> through <end> by <increment>`\nwhere `<incremement>` is the amount the counter variable will advance.\n\n```scss\n@for $i from 1 through 5 by 2 {\n  .width-#{$i} {\n    width: #{$i}0em;\n  }\n}\n\n@for $j from 1 to 5 by 2 {\n  .height-#{$j} {\n    height: #{$j}0em;\n  }\n}\n```\n\nIn that example, `$i` is repeated from 1 through 5 by 2, which means it is\nrepeated 3 times (1, 3, and 5). Meanwhile, `$j` is repeated from 1 to 5 by 2,\nwhich means it is repeated 2 times (1 and 3).\n\n```css\n.width-1 {\n  width: 10em;\n}\n\n.width-3 {\n  width: 30em;\n}\n\n.width-5 {\n  width: 50em;\n}\n\n.height-1 {\n  height: 10em;\n}\n\n.height-3 {\n  height: 30em;\n}\n```\n\nAn `@each` statement statement repeats through a list of values.\n\nIt can be written as `@each $item in $list` where `$item` is the\nname of the iterating variable and `$list` is the list of values being looped\nover.\n\n```scss\n@each $animal in (puma, sea-slug, egret, salamander) {\n  .#{$animal}-icon {\n    background-image: url(\"images/icon-#{$animal}.svg\");\n  }\n}\n```\n\nIn that example, a list of 4 animals is looped over to create 4 unique\nclassnames.\n\n```css\n.puma-icon {\n  background-image: url(\"images/icon-puma.svg\");\n}\n\n.sea-slug-icon {\n  background-image: url(\"images/icon-sea-slug.svg\");\n}\n\n.egret-icon {\n  background-image: url(\"images/icon-egret.svg\");\n}\n\n.salamander-icon {\n  background-image: url(\"images/icon-salamander.svg\");\n}\n```\n\nIt can also be written as `@each $item $counter in $list` where `$item` is\nstill the name of the iterating variable and `$list` is still the list of values\nbeing looped over, but now `$counter` is the numerical counter.\n\n```scss\n@each $animal $i in (puma, sea-slug, egret, salamander) {\n  .#{$animal}-icon {\n    background-image: url(\"images/icon-#{$i}.svg\");\n  }\n}\n```\n\n```css\n.puma-icon {\n  background-image: url(\"images/icon-1.svg\");\n}\n\n.sea-slug-icon {\n  background-image: url(\"images/icon-2.svg\");\n}\n\n.egret-icon {\n  background-image: url(\"images/icon-3.svg\");\n}\n\n.salamander-icon {\n  background-image: url(\"images/icon-4.svg\");\n}\n```\n\nIn that example, a list of 4 animals is looped over to create 4 unique\nclassnames.\n\n### @mixin, @include, and @content rules\n\nMixins let you reuse rule in a stylesheet. A `@mixin` defines the content you\nwant to reuse, while an `@include` rule includes it anywhere in your stylesheet.\n\nMixins are set by writing `@mixin` before the name of the mixin you define.\nThis can be (optionally) followed by comma-separated variables you\nwant to use inside of it. Mixins are then used anywhere by writing `@include`\nbefore the name of the mixin you are using. This is (again, optionally)\nfollowed by some comma-separated arguments you want to pass into the mixin as\nthe (aforementioned) variables.\n\n```scss\n@mixin heading-text {\n  color: #242424;\n  font-size: 4em;\n}\n\nh1, h2, h3 {\n  @include heading-text;\n}\n\n.some-heading-component > :first-child {\n  @include heading-text;\n}\n```\n\nIn that example, `@include heading-text` is replaced with its contents.\n\n```css\nh1, h2, h3 {\n  color: #242424;\n  font-size: 4em;\n}\n\n.some-heading-component > :first-child {\n  color: #242424;\n  font-size: 4em;\n}\n```\n\nRemember, mixins can be followed by comma-separated variables you\nwant to pass into the mixin as variables.\n\n```scss\n@mixin heading-text($color: #242424, $font-size: 4em) {\n  color: $color;\n  font-size: $font-size;\n}\n\nh1, h2, h3 {\n  @include heading-text;\n}\n\n.some-heading-component > :first-child {\n  @include heading-text(#111111, 6em);\n}\n```\n\nIn that example, `@include heading-text` is replaced with its contents, but\nthis time some of their contents are customized with variables.\n\n```css\nh1, h2, h3 {\n  color: #242424;\n  font-size: 4em;\n}\n\n.some-heading-component > :first-child {\n  color: #111111;\n  font-size: 6em;\n}\n```\n\n---\n\n## Options\n\n### variables\n\nThe `variables` option defines global variables used when they cannot be\nresolved automatically.\n\n```js\nrequire('postcss-advanced-variables')({\n  variables: {\n    'site-width': '960px'\n  }\n});\n```\n\nThe `variables` option also accepts a function, which is given 2 arguments; the\nname of the unresolved variable, and the PostCSS node that used it.\n\n```js\nrequire('postcss-advanced-variables')({\n  variables(name, node) {\n    if (name === 'site-width') {\n      return '960px';\n    }\n\n    return undefined;\n  }\n});\n```\n\n```scss\n.hero {\n  max-width: $site-width;\n}\n\n/* after */\n\n.hero {\n  max-width: 960px;\n}\n```\n\n### unresolved\n\nThe `unresolved` option defines how unresolved variables, mixins, and imports\nshould be handled. The available options are `throw`, `warn`, and `ignore`. The\ndefault option is to `throw`.\n\n```js\nrequire('postcss-advanced-variables')({\n  unresolved: 'ignore' // ignore unresolved variables\n});\n```\n\n### disable\n\nThe `disable` option defines which features should be disabled in\n[PostCSS Advanced Variables].\n\nThe `disable` option can be a string or an array, and the features that can be\ndisabled are `@content`, `@each`, `@else`, `@if`, `@include`, `@import`, `@for`,\nand `@mixin`.\n\n```js\nrequire('postcss-advanced-variables')({\n  disable: '@mixin, @include, @content' // ignore @mixin, @include, and @content at-rules\n});\n```\n\n### Import Options\n\nThese options only apply to the `@import` at-rule.\n\n#### importPaths\n\nThe `importPaths` option defines a path or multiple paths used to lookup\nfiles when they cannot be found automatically.\n\nThe `importPaths` option can be a string or an array.\n\nBy default, imports are resolved using the [Sass Import Resolve Specification].\n\n```js\nrequire('postcss-advanced-variables')({\n  importPaths: ['path/to/files', 'another/path/to/files']\n});\n```\n\n#### importResolve\n\nThe `importResolve` option defines the file resolver used by imports. It is a\nfunction given 3 arguments; the url id, the current working directory, and the\noptions processed by [PostCSS Advanced Variables].\n\nThe `importResolve` function should return a Promise with an object containing\nthe full path (`file`) and the contents of the file (`contents`).\n\n```js\nconst resolve = require('custom-resolver');\n\nrequire('postcss-advanced-variables')({\n  // a resolver may work many ways, and this is just an example\n  importResolve: (id, cwd, opts) => resolve({ id, cwd });\n});\n```\n\n#### importFilter\n\nThe `importFilter` option determines whether an import will be inlined.\n\nThe value can be a function or an regular expression. When\nproviding a function, it is called with a single string argument `id`\nand returns true when the import should be inlined. When providing a\nregular expression, if the `id` matches the expression, the import will\nbe inlined.\n\nBy default, imports are ignored if they begin with a protocol or\nprotocol-relative slashes (`//`).\n\n```js\nrequire('postcss-advanced-variables')({\n  importFilter: (id) => {\n    return ['ignore', 'these', 'imports'].contains(id);\n  }\n});\n```\n\n#### importRoot\n\nThe `importRoot` option defines the root directory used by imports when the\ncurrent directory cannot be detected. Its default value is `process.cwd()`.\n\n```js\nrequire('postcss-advanced-variables')({\n  importRoot: 'path/to/root'\n});\n```\n\n#### importCache\n\nThe `importCache` option defines a cache made available to the options object\nthat may be used by the [file resolver](#importResolve).\n\n```js\nconst sharedCache = {};\n\nrequire('postcss-advanced-variables')({\n  importCache: sharedCache\n});\n```\n\n[cli-img]: https://img.shields.io/travis/jonathantneal/postcss-advanced-variables.svg\n[cli-url]: https://travis-ci.org/jonathantneal/postcss-advanced-variables\n[git-img]: https://img.shields.io/badge/chat-gitter-blue.svg\n[git-url]: https://gitter.im/postcss/postcss\n[npm-img]: https://img.shields.io/npm/v/postcss-advanced-variables.svg\n[npm-url]: https://www.npmjs.com/package/postcss-advanced-variables\n\n[Gulp PostCSS]: https://github.com/postcss/gulp-postcss\n[Grunt PostCSS]: https://github.com/nDmitry/grunt-postcss\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Advanced Variables]: https://github.com/jonathantneal/postcss-advanced-variables\n[PostCSS SCSS Syntax]: https://github.com/postcss/postcss-scss\n[Sass Import Resolve Specification]: https://jonathantneal.github.io/sass-import-resolve/\n","_attachments":{},"homepage":"https://github.com/jonathantneal/postcss-advanced-variables#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-advanced-variables/issues"},"license":"CC0-1.0"}