Skip to content

Commit 17eb49b

Browse files
committed
2.1.0
1 parent 444db02 commit 17eb49b

11 files changed

+635
-374
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
environment:
44
matrix:
5-
- nodejs_version: 4.0
5+
- nodejs_version: 4
66

77
version: "{build}"
88
build: off

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changes to PostCSS color-mod() Function
22

3+
### 2.1.0 (January 20, 2018)
4+
5+
- Added support for legacy (comma-separated) `hsl()` colors
6+
- Added support for all `<hue>` units
7+
- Added use of legacy (comma-separated) `hsl()` colors when appropriate
8+
- Improved color conversions
9+
- Improved support for all `rgb()` colors
10+
- Removed external math and color dependencies
11+
312
### 2.0.0 (January 17, 2018)
413

514
- Reverse blend/blenda percentage calculations (breaking change)

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import transformAST from './lib/transform';
66
// plugin
77
export default postcss.plugin('postcss-color-mod-function', opts => {
88
const unresolvedOpt = String(Object(opts).unresolved || 'throw').toLowerCase();
9-
const stringifierOpt = Object(opts).stringifier || (color => color.toRGBLegacy());
9+
const stringifierOpt = Object(opts).stringifier || (color => color.toLegacy());
1010

1111
return (root, result) => {
1212
root.walkDecls(decl => {

0 commit comments

Comments
 (0)