postcss / postcss-custom-properties

Use Custom Properties in CSS
https://postcss.github.io/postcss-custom-properties
MIT License
596 stars 77 forks source link

Custom function name conflict #82

Closed ambar closed 6 years ago

ambar commented 6 years ago

Input

a { color: myvar(RED); }

Output:

{
  "type": "warning",
  "text": "variable 'RED' is undefined and used without a fallback",
}
jonathantneal commented 6 years ago

Great catch, @ambar. I’ve written a fix with a text in PR #90!