{"_id":"postcss-color-mod-function","_rev":"322747","name":"postcss-color-mod-function","description":"Modify colors using the color-mod() function in CSS","dist-tags":{"latest":"3.0.3"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"time":{"modified":"2021-06-04T01:29:23.000Z","created":"2018-01-16T20:27:26.869Z","3.0.3":"2018-09-23T18:58:24.687Z","3.0.2":"2018-09-23T12:38:51.997Z","3.0.1":"2018-09-18T16:25:18.756Z","3.0.0":"2018-09-17T18:48:06.284Z","2.4.3":"2018-07-21T11:44:54.922Z","2.4.2":"2018-02-27T06:00:20.529Z","2.4.1":"2018-02-21T15:29:22.274Z","2.4.0":"2018-02-16T13:31:06.321Z","2.3.0":"2018-01-26T03:30:38.670Z","2.2.0":"2018-01-22T17:02:41.420Z","2.1.0":"2018-01-21T03:05:14.266Z","1.1.0":"2018-01-17T06:39:31.259Z","1.0.0":"2018-01-16T20:27:26.869Z"},"users":{},"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-color-mod-function.git"},"versions":{"3.0.3":{"name":"postcss-color-mod-function","version":"3.0.3","description":"Modify colors using the color-mod() function in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-color-mod-function.git"},"homepage":"https://github.com/jonathantneal/postcss-color-mod-function#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-color-mod-function/issues"},"main":"index.cjs.js","module":"index.es.mjs","scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"echo 'Running tests...'; npm run test:js && npm run test:tape","test:js":"eslint *.js lib/*.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=6.0.0"},"dependencies":{"@csstools/convert-colors":"^1.4.0","postcss":"^7.0.2","postcss-values-parser":"^2.0.0"},"devDependencies":{"@babel/core":"^7.1.0","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/preset-env":"^7.1.0","babel-eslint":"^9.0.0","eslint":"^5.6.0","eslint-config-dev":"^2.0.0","postcss-tape":"^2.2.0","pre-commit":"^1.2.2","rollup":"^0.66.2","rollup-plugin-babel":"^4.0.3"},"eslintConfig":{"extends":"dev","parser":"babel-eslint","rules":{"max-params":[2,5]}},"keywords":["postcss","css","postcss-plugin","colors","colours","modifications","mods","adjusters","adjustments","csswg","rgba","hsla","white","black","red","green","blue","alpha","hue","saturation","lightness","whiteness","blackness","tint","shade","blenda","contrast"],"gitHead":"9ff8cac91d105ed370d8fe62e5e8a0c3b4a3003c","_id":"postcss-color-mod-function@3.0.3","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"816ba145ac11cc3cb6baa905a75a49f903e4d31d","size":83293,"noattachment":false,"key":"/postcss-color-mod-function/-/postcss-color-mod-function-3.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-color-mod-function/download/postcss-color-mod-function-3.0.3.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-color-mod-function_3.0.3_1537729104527_0.171900465351285"},"_hasShrinkwrap":false,"publish_time":1537729104687,"_cnpm_publish_time":1537729104687},"3.0.2":{"name":"postcss-color-mod-function","version":"3.0.2","description":"Modify colors using the color-mod() function in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-color-mod-function.git"},"homepage":"https://github.com/jonathantneal/postcss-color-mod-function#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-color-mod-function/issues"},"main":"index.cjs.js","module":"index.es.mjs","scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"echo 'Running tests...'; npm run test:js && npm run test:tape","test:js":"eslint *.js lib/*.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=6.0.0"},"dependencies":{"@csstools/convert-colors":"^1.4.0","postcss":"^7.0.2","postcss-values-parser":"^2.0.0"},"devDependencies":{"@babel/core":"^7.1.0","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/preset-env":"^7.1.0","babel-eslint":"^9.0.0","eslint":"^5.6.0","eslint-config-dev":"^2.0.0","postcss-tape":"^2.2.0","pre-commit":"^1.2.2","rollup":"^0.66.2","rollup-plugin-babel":"^4.0.3"},"eslintConfig":{"extends":"dev","parser":"babel-eslint","rules":{"max-params":[2,5]}},"keywords":["postcss","css","postcss-plugin","colors","colours","modifications","mods","adjusters","adjustments","csswg","rgba","hsla","white","black","red","green","blue","alpha","hue","saturation","lightness","whiteness","blackness","tint","shade","blenda","contrast"],"gitHead":"a6499dfdd4422dc3b9b15a0078d7264d1d7430a9","_id":"postcss-color-mod-function@3.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"10f23adae5867dc07ff853bdbea6d2565bdfabf0","size":82608,"noattachment":false,"key":"/postcss-color-mod-function/-/postcss-color-mod-function-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-color-mod-function/download/postcss-color-mod-function-3.0.2.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-color-mod-function_3.0.2_1537706331759_0.13163777718107794"},"_hasShrinkwrap":false,"publish_time":1537706331997,"_cnpm_publish_time":1537706331997},"3.0.1":{"name":"postcss-color-mod-function","version":"3.0.1","description":"Modify colors using the color-mod() function in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-color-mod-function.git"},"homepage":"https://github.com/jonathantneal/postcss-color-mod-function#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-color-mod-function/issues"},"main":"index.cjs.js","module":"index.es.mjs","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 lib/*.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"@csstools/convert-colors":"^1.4.0","postcss":"^7.0.2","postcss-values-parser":"^2.0.0"},"devDependencies":{"@babel/core":"^7.1.0","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/preset-env":"^7.1.0","babel-eslint":"^9.0.0","echint":"^4.0.1","eslint":"^5.6.0","eslint-config-dev":"^2.0.0","postcss-tape":"^2.2.0","pre-commit":"^1.2.2","rollup":"^0.66.0","rollup-plugin-babel":"^4.0.3"},"eslintConfig":{"extends":"dev","parser":"babel-eslint","rules":{"max-params":[2,5]}},"keywords":["postcss","css","postcss-plugin","colors","colours","modifications","mods","adjusters","adjustments","csswg","rgba","hsla","white","black","red","green","blue","alpha","hue","saturation","lightness","whiteness","blackness","tint","shade","blenda","contrast"],"gitHead":"ef00b00d4b7a453ce73a0320d52320638878a6bc","_id":"postcss-color-mod-function@3.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"20d600e3014f38266261722ba9a36a2a9859efa7","size":79758,"noattachment":false,"key":"/postcss-color-mod-function/-/postcss-color-mod-function-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-color-mod-function/download/postcss-color-mod-function-3.0.1.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-color-mod-function_3.0.1_1537287918584_0.670866076315987"},"_hasShrinkwrap":false,"publish_time":1537287918756,"_cnpm_publish_time":1537287918756},"3.0.0":{"name":"postcss-color-mod-function","version":"3.0.0","description":"Modify colors using the color-mod() function in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-color-mod-function.git"},"homepage":"https://github.com/jonathantneal/postcss-color-mod-function#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-color-mod-function/issues"},"main":"index.cjs.js","module":"index.es.js","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 lib/*.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"@csstools/convert-colors":"^1.4.0","postcss":"^7.0.2","postcss-values-parser":"^1.5.0"},"devDependencies":{"@babel/core":"^7.0.1","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/preset-env":"^7.0.0","babel-eslint":"^9.0.0","echint":"^4.0.1","eslint":"^5.6.0","eslint-config-dev":"^2.0.0","postcss-tape":"^2.2.0","pre-commit":"^1.2.2","rollup":"^0.66.0","rollup-plugin-babel":"^4.0.3"},"eslintConfig":{"extends":"dev","parser":"babel-eslint","rules":{"max-params":[2,5]}},"keywords":["postcss","css","postcss-plugin","colors","colours","modifications","mods","adjusters","adjustments","csswg","rgba","hsla","white","black","red","green","blue","alpha","hue","saturation","lightness","whiteness","blackness","tint","shade","blenda","contrast"],"gitHead":"6a1a6fc6846b0cffc4e7d15d7e444c4f2bf01b9f","_id":"postcss-color-mod-function@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"e0993ddd68488fa2b060135caad4fee399bf7f7f","size":79673,"noattachment":false,"key":"/postcss-color-mod-function/-/postcss-color-mod-function-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-color-mod-function/download/postcss-color-mod-function-3.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-color-mod-function_3.0.0_1537210086186_0.6159111699740354"},"_hasShrinkwrap":false,"publish_time":1537210086284,"_cnpm_publish_time":1537210086284},"2.4.3":{"name":"postcss-color-mod-function","version":"2.4.3","description":"Modify colors using the color-mod() function in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-color-mod-function.git"},"homepage":"https://github.com/jonathantneal/postcss-color-mod-function#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-color-mod-function/issues"},"main":"index.cjs.js","module":"index.es.js","files":["index.cjs.js","index.es.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 lib/*.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"@csstools/convert-colors":"^1.4.0","postcss":"^6.0.23","postcss-values-parser":"^1.5.0"},"devDependencies":{"babel-core":"^6.26.3","babel-eslint":"^8.2.6","babel-preset-env":"^1.7.0","echint":"^4.0.1","eslint":"^5.2.0","eslint-config-dev":"^2.0.0","postcss-tape":"^2.2.0","pre-commit":"^1.2.2","rollup":"^0.63.4","rollup-plugin-babel":"^3.0.7"},"eslintConfig":{"extends":"dev","parser":"babel-eslint","rules":{"max-params":[2,5]}},"keywords":["postcss","css","postcss-plugin","colors","colours","modifications","mods","adjusters","adjustments","csswg","rgba","hsla","white","black","red","green","blue","alpha","hue","saturation","lightness","whiteness","blackness","tint","shade","blenda","contrast"],"gitHead":"6ce644fa93fe7a3c8938ff2c1d54906e0e608f8e","_id":"postcss-color-mod-function@2.4.3","_npmVersion":"6.2.0","_nodeVersion":"10.7.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"14a97f5b17a5f19396e9dea7ffcb5be732592baf","size":34585,"noattachment":false,"key":"/postcss-color-mod-function/-/postcss-color-mod-function-2.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-color-mod-function/download/postcss-color-mod-function-2.4.3.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-color-mod-function_2.4.3_1532173494821_0.014670850412566994"},"_hasShrinkwrap":false,"publish_time":1532173494922,"_cnpm_publish_time":1532173494922},"2.4.2":{"name":"postcss-color-mod-function","version":"2.4.2","description":"Modify colors using the color-mod() function in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-color-mod-function.git"},"homepage":"https://github.com/jonathantneal/postcss-color-mod-function#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-color-mod-function/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 lib/*.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"@csstools/convert-colors":"^1.4.0","postcss":"^6.0.19","postcss-values-parser":"^1.3.2"},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^8.2.2","babel-preset-env":"^1.6.1","echint":"^4.0.1","eslint":"^4.18.1","eslint-config-dev":"^2.0.0","postcss-tape":"^2.2.0","pre-commit":"^1.2.2","rollup":"^0.56.3","rollup-plugin-babel":"^3.0.3"},"eslintConfig":{"extends":"dev","parser":"babel-eslint","rules":{"max-params":[2,5]}},"keywords":["postcss","css","postcss-plugin","colors","colours","modifications","mods","adjusters","adjustments","csswg","rgba","hsla","white","black","red","green","blue","alpha","hue","saturation","lightness","whiteness","blackness","tint","shade","blenda","contrast"],"gitHead":"39f669e5be337dd72defb31bf461e808c07f1c91","_id":"postcss-color-mod-function@2.4.2","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"bdf408f152bc3201517a4c38b7eb5cd2996114fb","size":24914,"noattachment":false,"key":"/postcss-color-mod-function/-/postcss-color-mod-function-2.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-color-mod-function/download/postcss-color-mod-function-2.4.2.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-color-mod-function_2.4.2_1519711220443_0.4666398215304848"},"_hasShrinkwrap":false,"publish_time":1519711220529,"_cnpm_publish_time":1519711220529},"2.4.1":{"name":"postcss-color-mod-function","version":"2.4.1","description":"Modify colors using the color-mod() function in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-color-mod-function.git"},"homepage":"https://github.com/jonathantneal/postcss-color-mod-function#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-color-mod-function/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 lib/*.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"@csstools/convert-colors":"^1.4","postcss":"^6.0","postcss-values-parser":"^1.3"},"devDependencies":{"babel-core":"^6.26","babel-eslint":"^8.2","babel-preset-env":"^1.6","echint":"^4.0","eslint":"^4.18","eslint-config-dev":"2.0","postcss-tape":"2.2","pre-commit":"^1.2","rollup":"^0.56","rollup-plugin-babel":"^3.0"},"eslintConfig":{"extends":"dev","parser":"babel-eslint","rules":{"max-params":[2,5]}},"keywords":["postcss","css","postcss-plugin","colors","colours","modifications","mods","adjusters","adjustments","csswg","rgba","hsla","white","black","red","green","blue","alpha","hue","saturation","lightness","whiteness","blackness","tint","shade","blenda","contrast"],"gitHead":"7297ddb0e2e4bdbed14a91702ed58ac52979d9dd","_id":"postcss-color-mod-function@2.4.1","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"d3581abc1df5dea7b81908d1c57f134840296be7","size":24719,"noattachment":false,"key":"/postcss-color-mod-function/-/postcss-color-mod-function-2.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-color-mod-function/download/postcss-color-mod-function-2.4.1.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-color-mod-function_2.4.1_1519226962215_0.7787220695385872"},"_hasShrinkwrap":false,"publish_time":1519226962274,"_cnpm_publish_time":1519226962274},"2.4.0":{"name":"postcss-color-mod-function","version":"2.4.0","description":"Modify colors using the color-mod() function in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-color-mod-function.git"},"homepage":"https://github.com/jonathantneal/postcss-color-mod-function#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-color-mod-function/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 lib/*.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"@csstools/convert-colors":"^1.4","postcss":"^6.0","postcss-values-parser":"^1.3"},"devDependencies":{"babel-core":"^6.26","babel-eslint":"^8.2","babel-preset-env":"^1.6","echint":"^4.0","eslint":"^4.17","eslint-config-dev":"2.0","postcss-tape":"2.2","pre-commit":"^1.2","rollup":"^0.56","rollup-plugin-babel":"^3.0"},"eslintConfig":{"extends":"dev","parser":"babel-eslint","rules":{"max-params":[2,5]}},"keywords":["postcss","css","postcss-plugin","colors","colours","modifications","mods","adjusters","adjustments","csswg","rgba","hsla","white","black","red","green","blue","alpha","hue","saturation","lightness","whiteness","blackness","tint","shade","blenda","contrast"],"gitHead":"9ce4b29add4497dcd4fd606ce266aa2fea1693b6","_id":"postcss-color-mod-function@2.4.0","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"c87ad0aa19909f00debd29fe0c30d9f5733b2af2","size":24640,"noattachment":false,"key":"/postcss-color-mod-function/-/postcss-color-mod-function-2.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-color-mod-function/download/postcss-color-mod-function-2.4.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-color-mod-function_2.4.0_1518787866227_0.2470667441128418"},"_hasShrinkwrap":false,"publish_time":1518787866321,"_cnpm_publish_time":1518787866321},"2.3.0":{"name":"postcss-color-mod-function","version":"2.3.0","description":"Modify colors using the color-mod() function in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-color-mod-function.git"},"homepage":"https://github.com/jonathantneal/postcss-color-mod-function#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-color-mod-function/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 lib/*.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"@csstools/convert-colors":"^1.3","postcss":"^6.0","postcss-values-parser":"^1.3"},"devDependencies":{"babel-core":"^6.26","babel-eslint":"^8.2","babel-preset-env":"^1.6","echint":"^4.0","eslint":"^4.16","eslint-config-dev":"2.0","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":[2,5]}},"keywords":["postcss","css","postcss-plugin","colors","colours","modifications","mods","adjusters","adjustments","csswg","rgba","hsla","white","black","red","green","blue","alpha","hue","saturation","lightness","whiteness","blackness","tint","shade","blenda","contrast"],"gitHead":"65077c08650f110bab797e88f25d15908b567ce1","_id":"postcss-color-mod-function@2.3.0","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"56ba67d7fadccf190795efbc529b015c8fa68fdc","size":23504,"noattachment":false,"key":"/postcss-color-mod-function/-/postcss-color-mod-function-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-color-mod-function/download/postcss-color-mod-function-2.3.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-color-mod-function-2.3.0.tgz_1516937437244_0.8661445584148169"},"directories":{},"publish_time":1516937438670,"_hasShrinkwrap":false,"_cnpm_publish_time":1516937438670},"2.2.0":{"name":"postcss-color-mod-function","version":"2.2.0","description":"Modify colors using the color-mod() function in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-color-mod-function.git"},"homepage":"https://github.com/jonathantneal/postcss-color-mod-function#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-color-mod-function/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 lib/*.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"@csstools/convert-colors":"^1.1","postcss":"^6.0","postcss-values-parser":"^1.3"},"devDependencies":{"babel-core":"^6.26","babel-eslint":"^8.2","babel-preset-env":"^1.6","echint":"^4.0","eslint":"^4.16","eslint-config-dev":"2.0","postcss-tape":"2.2","pre-commit":"^1.2","rollup":"^0.54","rollup-plugin-babel":"^3.0"},"eslintConfig":{"extends":"dev","parser":"babel-eslint","rules":{"max-params":[2,5]}},"keywords":["postcss","css","postcss-plugin","colors","colours","modifications","mods","adjusters","adjustments","csswg","rgba","hsla","white","black","red","green","blue","alpha","hue","saturation","lightness","whiteness","blackness","tint","shade","blenda","contrast"],"gitHead":"7133e87af06fbf79a3aab76dbafd607b52d74679","_id":"postcss-color-mod-function@2.2.0","_shasum":"7b2c41f13269aaf99f076f081e45fa3a886bf4d9","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"7b2c41f13269aaf99f076f081e45fa3a886bf4d9","size":23429,"noattachment":false,"key":"/postcss-color-mod-function/-/postcss-color-mod-function-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-color-mod-function/download/postcss-color-mod-function-2.2.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-color-mod-function-2.2.0.tgz_1516640560407_0.11213435046374798"},"directories":{},"publish_time":1516640561420,"_cnpm_publish_time":1516640561420,"_hasShrinkwrap":false},"2.1.0":{"name":"postcss-color-mod-function","version":"2.1.0","description":"Modify colors using the color-mod() function in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-color-mod-function.git"},"homepage":"https://github.com/jonathantneal/postcss-color-mod-function#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-color-mod-function/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 lib/*.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"postcss":"^6.0","postcss-values-parser":"^1.3.1"},"devDependencies":{"babel-core":"^6.26","babel-eslint":"^8.2","babel-preset-env":"^1.6","echint":"^4.0","eslint":"^4.16","eslint-config-dev":"2.0","postcss-tape":"2.2","pre-commit":"^1.2","rollup":"^0.54","rollup-plugin-babel":"^3.0"},"eslintConfig":{"extends":"dev","parser":"babel-eslint","rules":{"max-params":[2,5]}},"keywords":["postcss","css","postcss-plugin","colors","colours","modifications","mods","adjusters","adjustments","csswg","rgba","hsla","white","black","red","green","blue","alpha","hue","saturation","lightness","whiteness","blackness","tint","shade","blenda","contrast"],"gitHead":"3e32e9a097e61969ace4bc1b181d338b8b551ac4","_id":"postcss-color-mod-function@2.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"51d4d18c17b648b5fc7b9f3dd6fa9075d17e48b1","size":25206,"noattachment":false,"key":"/postcss-color-mod-function/-/postcss-color-mod-function-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-color-mod-function/download/postcss-color-mod-function-2.1.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-color-mod-function-2.1.0.tgz_1516503913015_0.5745441587641835"},"directories":{},"publish_time":1516503914266,"_hasShrinkwrap":false,"_cnpm_publish_time":1516503914266},"1.1.0":{"name":"postcss-color-mod-function","version":"1.1.0","description":"Modify colors using the color-mod() function in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-color-mod-function.git"},"homepage":"https://github.com/jonathantneal/postcss-color-mod-function#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-color-mod-function/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 lib/*.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"color-name":"^1.1.3","postcss":"^6.0","postcss-values-parser":"^1.3.1"},"devDependencies":{"babel-core":"^6.26","babel-eslint":"^8.2","babel-preset-env":"^1.6","echint":"^4.0","eslint":"^4.15","eslint-config-dev":"2.0","postcss-tape":"2.2","pre-commit":"^1.2","rollup":"^0.54","rollup-plugin-babel":"^3.0"},"eslintConfig":{"extends":"dev","parser":"babel-eslint"},"keywords":["postcss","css","postcss-plugin","colors","colours","modifications","mods","adjusters","adjustments","csswg","rgba","hsla","white","black","red","green","blue","alpha","hue","saturation","lightness","whiteness","blackness","tint","shade","blenda","contrast"],"gitHead":"16bd403e37cdbb8696dbdb7d6937cd93e248b005","_id":"postcss-color-mod-function@1.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"57f9282374b5cab64f7d2e1065822fa3e4701429","size":20789,"noattachment":false,"key":"/postcss-color-mod-function/-/postcss-color-mod-function-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-color-mod-function/download/postcss-color-mod-function-1.1.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-color-mod-function-1.1.0.tgz_1516171171102_0.8107561711221933"},"directories":{},"publish_time":1516171171259,"_hasShrinkwrap":false,"_cnpm_publish_time":1516171171259},"1.0.0":{"name":"postcss-color-mod-function","version":"1.0.0","description":"Modify colors using the color-mod() function in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-color-mod-function.git"},"homepage":"https://github.com/jonathantneal/postcss-color-mod-function#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-color-mod-function/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 lib/*.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"color-name":"^1.1.3","postcss":"^6.0","postcss-values-parser":"^1.3.1"},"devDependencies":{"babel-core":"^6.26","babel-eslint":"^8.2","babel-preset-env":"^1.6","echint":"^4.0","eslint":"^4.15","eslint-config-dev":"2.0","postcss-tape":"2.2","pre-commit":"^1.2","rollup":"^0.54","rollup-plugin-babel":"^3.0"},"eslintConfig":{"extends":"dev","parser":"babel-eslint"},"keywords":["postcss","css","postcss-plugin","colors","colours","modifications","mods","adjusters","adjustments","csswg","rgba","hsla","white","black","red","green","blue","alpha","hue","saturation","lightness","whiteness","blackness","tint","shade","blenda","contrast"],"gitHead":"604e99ae76f2df8d24428cbcde0885c386eaf7c5","_id":"postcss-color-mod-function@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"b7643e5901fb63edbde0148a1db0b247053db0f1","size":20617,"noattachment":false,"key":"/postcss-color-mod-function/-/postcss-color-mod-function-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-color-mod-function/download/postcss-color-mod-function-1.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-color-mod-function-1.0.0.tgz_1516134445923_0.3393623777665198"},"directories":{},"publish_time":1516134446869,"_hasShrinkwrap":false,"_cnpm_publish_time":1516134446869}},"readme":"# PostCSS color-mod() Function [<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[![CSS Standard Status][css-img]][css-url]\n[![Build Status][cli-img]][cli-url]\n[![Support Chat][git-img]][git-url]\n\n[PostCSS color-mod() Function] lets you modify colors using the `color-mod()`\nfunction in CSS, following the [CSS Color Module Level 4] specification.\n\n**`color-mod()` has been removed from the Color Module Level 4 specification.**\n\n```pcss\n:root {\n  --brand-red:      color-mod(yellow blend(red 50%));\n  --brand-red-hsl:  color-mod(yellow blend(red 50% hsl));\n  --brand-red-hwb:  color-mod(yellow blend(red 50% hwb));\n  --brand-red-dark: color-mod(red blackness(20%));\n}\n\n/* becomes */\n\n:root {\n  --brand-red:      rgb(255, 127.5, 0);\n  --brand-red-hsl:  rgb(255, 127.5, 255);\n  --brand-red-hwb:  rgb(255, 127.5, 0);\n  --brand-red-dark: rgb(204, 0, 0);\n}\n\n/* or, using stringifier(color) { return color.toString() } */\n\n:root {\n  --brand-red:      rgb(100% 50% 0% / 100%);\n  --brand-red-hsl:  hsl(30 100% 50% / 100%);\n  --brand-red-hwb:  hwb(30 0% 0% / 100%);\n  --brand-red-dark: hwb(0 0% 20% / 100%);\n}\n```\n\n### Supported Colors\n\nThe `color-mod()` function accepts `rgb()`, legacy comma-separated `rgb()`,\n`rgba()`, `hsl()`, legacy comma-separated `hsl()`, `hsla()`, `hwb()`, and\n`color-mod()` colors, as well as 3, 4, 6, and 8 digit hex colors, and named\ncolors without the need for additional plugins.\n\nImplemention details are available in\n[the specification](https://drafts.csswg.org/css-color/#funcdef-color-mod).\n\n### Supported Color Adjusters\n\nThe `color-mod()` function accepts `red()`, `green()`, `blue()`, `a()` /\n`alpha()`, `rgb()`, `h()` / `hue()`, `s()` / `saturation()`, `l()` /\n`lightness()`, `w()` / `whiteness()`, `b()` / `blackness()`, `tint()`,\n`shade()`, `blend()`, `blenda()`, and `contrast()` color adjusters.\n\nImplemention details are available in\n[the specification](https://drafts.csswg.org/css-color/#typedef-color-adjuster).\n\n### Supported Variables\n\nBy default, `var()` variables will be used if their corresponding Custom\nProperties are found in a `:root` rule, or if a fallback value is specified.\n\n## Usage\n\nAdd [PostCSS color-mod() Function] to your project:\n\n```bash\nnpm install postcss-color-mod-function --save-dev\n```\n\nUse [PostCSS color-mod() Function] to process your CSS:\n\n```js\nconst postcssColorMod = require('postcss-color-mod-function');\n\npostcssColorMod.process(YOUR_CSS /*, processOptions, pluginOptions */);\n```\n\nOr use it as a [PostCSS] plugin:\n\n```js\nconst postcss = require('postcss');\nconst postcssColorMod = require('postcss-color-mod-function');\n\npostcss([\n  postcssColorMod(/* pluginOptions */)\n]).process(YOUR_CSS /*, processOptions */);\n```\n\n[PostCSS color-mod() Function] runs in all Node environments, with special instructions for:\n\n| [Node](INSTALL.md#node) | [PostCSS CLI](INSTALL.md#postcss-cli) | [Webpack](INSTALL.md#webpack) | [Create React App](INSTALL.md#create-react-app) | [Gulp](INSTALL.md#gulp) | [Grunt](INSTALL.md#grunt) |\n| --- | --- | --- | --- | --- | --- |\n\n## Options\n\n### stringifier\n\nThe `stringifier` option defines how transformed colors will be produced in CSS.\nBy default, legacy `rbg()` and `rgba()` colors are produced, but this can be\neasily updated to support [CSS Color Module Level 4 colors] colors.\n\n```js\nimport postcssColorMod from 'postcss-color-mod-function';\n\npostcssColorMod({\n  stringifier(color) {\n    return color.toString(); // use CSS Color Module Level 4 colors (rgb, hsl, hwb)\n  }\n});\n```\n\nFuture major releases of [PostCSS color-mod() Function] may reverse this\nfunctionality so that CSS Color Module Level 4 colors are produced by default.\n\n### unresolved\n\nThe `unresolved` option defines how unresolved functions and arguments should\nbe handled. The available options are `throw`, `warn`, and `ignore`. The\ndefault option is to `throw`.\n\nIf `ignore` is used, the `color-mod()` function will remain unchanged.\n\n```js\nimport postcssColorMod from 'postcss-color-mod-function';\n\npostcssColorMod({\n  unresolved: 'ignore' // ignore unresolved color-mod() functions\n});\n```\n\n### transformVars\n\nThe `transformVars` option defines whether `var()` variables used within\n`color-mod()` should be transformed into their corresponding Custom Properties\navailable in `:root`, or their fallback value if it is specified. By default,\n`var()` variables will be transformed.\n\nHowever, because these transformations occur at build time, they cannot be\nconsidered accurate. Accurately resolving cascading variables relies on\nknowledge of the living DOM tree.\n\n### importFrom\n\nThe `importFrom` option allows you to import variables from other sources,\nwhich might be CSS, JS, and JSON files, and directly passed objects.\n\n```js\npostcssColorMod({\n  importFrom: 'path/to/file.css' // :root { --brand-dark: blue; --brand-main: var(--brand-dark); }\n});\n```\n\n```pcss\n.brand-faded {\n  color: color-mod(var(--brand-main) a(50%));\n}\n\n/* becomes */\n\n.brand-faded {\n  color: rgba(0, 0, 255, .5);\n}\n```\n\nMultiple files can be passed into this option, and they will be parsed in the\norder they were received. JavaScript files, JSON files, and objects will need\nto namespace custom properties under a `customProperties` or\n`custom-properties` key.\n\n```js\npostcssColorMod({\n  importFrom: [\n    'path/to/file.css',   // :root { --brand-dark: blue; --brand-main: var(--brand-dark); }\n    'and/then/this.js',   // module.exports = { customProperties: { '--brand-dark': 'blue', '--brand-main': 'var(--brand-dark)' } }\n    'and/then/that.json', // { \"custom-properties\": { \"--brand-dark\": \"blue\", \"--brand-main\": \"var(--brand-dark)\" } }\n    {\n      customProperties: {\n        '--brand-dark': 'blue',\n        '--brand-main': 'var(--brand-dark)'\n      }\n    }\n  ]\n});\n```\n\nVariables may reference other variables, and this plugin will attempt to\nresolve them. If `transformVars` is set to `false` then `importFrom` will not\nbe used.\n\n[cli-img]: https://img.shields.io/travis/jonathantneal/postcss-color-mod-function.svg\n[cli-url]: https://travis-ci.org/jonathantneal/postcss-color-mod-function\n[css-img]: https://cssdb.org/badge/color-mod-function.svg\n[css-url]: https://preset-env.cssdb.org/features#color-mod-function\n[git-img]: https://img.shields.io/badge/support-chat-blue.svg\n[git-url]: https://gitter.im/postcss/postcss\n[npm-img]: https://img.shields.io/npm/v/postcss-color-mod-function.svg\n[npm-url]: https://www.npmjs.com/package/postcss-color-mod-function\n\n[CSS Color Module Level 4]: https://www.w3.org/TR/css-color-4/#funcdef-color-mod\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 color-mod() Function]: https://github.com/jonathantneal/postcss-color-mod-function\n","_attachments":{},"homepage":"https://github.com/jonathantneal/postcss-color-mod-function#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-color-mod-function/issues"},"license":"CC0-1.0"}