postcss / postcss-color-function

PostCSS plugin to transform W3C CSS color function to more compatible CSS
MIT License
323 stars 31 forks source link

blend() parsing error for rgb colors #29

Closed ccheney closed 8 years ago

ccheney commented 8 years ago

Input:

background-color: color(rgb(1,1,1) blend(red 50%));

Output:

background-color: rgb(128, 1, 1);

Input:

background-color: color(rgb(1,1,1) blend(rgb(2,2,2) 50%));

Output:

Error: :2:3: Unable to parse color from string "rgb(2,2,2"

MoOx commented 8 years ago

Can you report this issue here https://github.com/ianstormtaylor/css-color-function ?

ccheney commented 8 years ago

https://github.com/ianstormtaylor/css-color-function/issues/23