Skip to content

Commit 4e06d1b

Browse files
committed
1.3.1
1 parent 2b79521 commit 4e06d1b

File tree

3 files changed

+10
-17
lines changed

3 files changed

+10
-17
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 1.3.1 - 2015-07-08
2+
3+
- Fixed: the plugin now do now transform all functions that match `*color(` but
4+
only the one that are real color function call
5+
([#12](https://github.com/postcss/postcss-color-function/pull/12))
6+
17
# 1.3.0 - 2015-06-13
28

39
- Changed: upgrade to PostCSS 4.1.x

README.md

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
> [PostCSS](https://github.com/postcss/postcss) plugin to transform [W3C CSS color function][specs] to more compatible CSS.
44
5-
http://dev.w3.org/csswg/css-color/#modifying-colors
6-
75
## Installation
86

97
```console
@@ -84,9 +82,9 @@ Notes:
8482
```css
8583
whatever {
8684
color: color(red a(10%));
87-
85+
8886
background-color: color(red lightness(50%)); /* == color(red l(50%)); */
89-
87+
9088
border-color: color(hsla(125, 50%, 50%, .4) saturation(+ 10%) w(- 20%));
9189
}
9290
```
@@ -100,21 +98,10 @@ No we cannot do that. `currentcolor` depends on the cascade (so the DOM) and we
10098
### Can we use CSS custom properties so we can do `color(var(--mainColor) adjuster())`?
10199

102100
By using [postcss-custom-properties](https://github.com/postcss/postcss-custom-properties) before this plugin, you can do that (sort of).
103-
You have some examples in [cssnext playground](http://cssnext.github.io/cssnext-playground/).
101+
You have some examples in [cssnext playground](http://cssnext.io/playground/).
104102

105103
---
106104

107-
## Contributing
108-
109-
Work on a branch, install dev-dependencies, respect coding style & run tests before submitting a bug fix or a feature.
110-
111-
```console
112-
$ git clone https://github.com/postcss/postcss-color-function.git
113-
$ git checkout -b patch-1
114-
$ npm install
115-
$ npm test
116-
```
117-
118105
## [Changelog](CHANGELOG.md)
119106

120107
## [License](LICENSE)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "postcss-color-function",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "PostCSS plugin to transform W3C CSS color function to more compatible CSS.",
55
"keywords": [
66
"css",

0 commit comments

Comments
 (0)