postcss-propro
Advanced tools
Comparing version 1.0.2 to 1.0.3
# Change Log | ||
## 1.0.3 | ||
- fix bug | ||
## 1.0.2 | ||
@@ -8,4 +11,4 @@ - Better CSS Variables support | ||
- up Readme | ||
- add [Documentation](https://ououe.com/postcss-propro/) | ||
- add [Documentation](https://ououe.com/lib/postcss-propro.html) | ||
This project adheres to [Semantic Versioning](http://semver.org/). |
@@ -5,3 +5,3 @@ const postcss = require('postcss'); | ||
module.exports = function (decl, opts, result) { | ||
module.exports = function (decl) { | ||
const minmax = decl.prop.match(boxRegExp)[1] || ''; | ||
@@ -8,0 +8,0 @@ const values = postcss.list.space(decl.value); |
@@ -49,3 +49,5 @@ const postcss = require('postcss'); | ||
module.exports = function (decl, opts, result) { | ||
module.exports = function (decl, opts) { | ||
opts = Object.assign({ backgroundColor: '#0074d9' }, opts); | ||
const values = postcss.list.space(decl.value); | ||
@@ -52,0 +54,0 @@ const parentDecl = decl.parent; |
@@ -5,3 +5,3 @@ const postcss = require('postcss'); | ||
module.exports = function (decl, opts, result) { | ||
module.exports = function (decl) { | ||
const values = postcss.list.space(decl.value); | ||
@@ -8,0 +8,0 @@ |
@@ -17,3 +17,3 @@ const postcss = require('postcss'); |
module.exports = function (decl, opts, result) { |
module.exports = function (decl) { |
const values = postcss.list.space(decl.value); |
@@ -40,4 +40,4 @@ |
declClone(decl, list2, value2); |
} |
} |
decl.remove(); |
}; |
@@ -14,3 +14,3 @@ const postcss = require('postcss'); | ||
module.exports = function (decl, opts, result) { | ||
module.exports = function (decl) { | ||
const values = postcss.list.space(decl.value); | ||
@@ -17,0 +17,0 @@ const width = values[0]; |
@@ -11,3 +11,3 @@ const postcss = require('postcss'); | ||
module.exports = function (decl, opts, result) { | ||
module.exports = function (decl) { | ||
const values = postcss.list.space(decl.value); | ||
@@ -14,0 +14,0 @@ |
@@ -45,2 +45,4 @@ const postcss = require('postcss'); | ||
function makeValue(values, opts) { | ||
opts = Object.assign({ lineColor: '#ccc' }, opts); | ||
let width, height, color, time, value1, hoverValue1, value2, hoverValue2, value3, beforeValue3, hoverValue3; | ||
@@ -47,0 +49,0 @@ |
{ | ||
"name": "postcss-propro", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "PostCSS plugin adds and extends some properties", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -9,3 +9,3 @@ # PostCSS Propro [![Build Status][ci-img]][ci] | ||
## [Documentation](https://ououe.com/postcss-propro) | ||
## [Documentation](https://ououe.com/lib/postcss-propro.html) | ||
Click on the Documentation to learn more | ||
@@ -12,0 +12,0 @@ |
21348
620