Skip to content

Commit ca2da97

Browse files
committed
1.1.0
1 parent 2ee1743 commit ca2da97

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changes to PostCSS Lab Function
22

3+
### 1.1.0 (July 24, 2018)
4+
5+
- Added: Support for `gray(a / b)` as `lab(a 0 0 / b)`
6+
37
### 1.0.1 (May 11, 2018)
48

59
- Fixed: Values beyond the acceptable 0-255 RGB range

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,24 @@
66
[![Windows Build Status][win-img]][win-url]
77
[![Support Chat][git-img]][git-url]
88

9-
[PostCSS Lab Function] lets you use `lab` and `lch` color functions in CSS,
10-
following the [CSS Color] specification.
9+
[PostCSS Lab Function] lets you use `lab`, `lch`, and `gray` color functions in
10+
CSS, following the [CSS Color] specification.
1111

1212
```pcss
1313
:root {
1414
--firebrick: lab(40 56.6 39);
1515
--firebrick-a50: lch(40 68.8 34.5 / 50%);
16+
--gray-40: gray(40);
17+
--gray-40a50: gray(40 / .5);
1618
}
1719
1820
/* becomes */
1921
2022
:root {
2123
--firebrick: rgb(178, 34, 34);
2224
--firebrick-a50: rgba(178, 34, 34, .5);
25+
--gray-40: rgb(94,94,94);
26+
--gray-40a50: rgba(94,94,94, .5);
2327
}
2428
```
2529

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "postcss-lab-function",
3-
"version": "1.0.1",
3+
"version": "1.1.0",
44
"description": "Use lab() and lch() color functions in CSS",
55
"author": "Jonathan Neal <jonathantneal@hotmail.com>",
66
"license": "CC0-1.0",

0 commit comments

Comments
 (0)