We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 58b78d7 + d89d2a7 commit 9fec71fCopy full SHA for 9fec71f
index.js
@@ -11,7 +11,7 @@ var helpers = require("postcss-message-helpers")
11
*/
12
module.exports = postcss.plugin("postcss-color-function", function() {
13
return function(style) {
14
- style.eachDecl(function transformDecl(decl) {
+ style.walkDecls(function transformDecl(decl) {
15
if (!decl.value || decl.value.indexOf("color(") === -1) {
16
return
17
}
package.json
@@ -24,8 +24,8 @@
24
"dependencies": {
25
"balanced-match": "^0.1.0",
26
"css-color-function": "^1.2.0",
27
- "postcss": "^4.1.11",
28
- "postcss-message-helpers": "^1.1.0"
+ "postcss": "^5.0.4",
+ "postcss-message-helpers": "^2.0.0"
29
},
30
"devDependencies": {
31
"jscs": "^1.6.2",
0 commit comments