postcss / postcss-color-function

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

Add postcss message when color function contains a var() #36

Closed drewbourne closed 7 years ago

drewbourne commented 7 years ago

Custom properties cannot be resolved by css-color-function. This change skips color functions that contain var( and adds a message to the postcss result.messages with type 'skipped-color-function-with-custom-property'.

MoOx commented 7 years ago

Can you rebase on master?

MoOx commented 7 years ago

Nevermind, I was able to resolve myself using GitHub UI :)

MoOx commented 7 years ago

Thanks for this improvement!