{"action":"created","issue":{"url":"https://api.github.com/repos/MoOx/postcss-cssnext/issues/260","repository_url":"https://api.github.com/repos/MoOx/postcss-cssnext","labels_url":"https://api.github.com/repos/MoOx/postcss-cssnext/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/MoOx/postcss-cssnext/issues/260/comments","events_url":"https://api.github.com/repos/MoOx/postcss-cssnext/issues/260/events","html_url":"https://github.com/MoOx/postcss-cssnext/issues/260","id":131046552,"number":260,"title":"Unable to Parse Variable in Color Function","user":{"login":"realph","id":2334951,"avatar_url":"https://avatars.githubusercontent.com/u/2334951?v=3","gravatar_id":"","url":"https://api.github.com/users/realph","html_url":"https://github.com/realph","followers_url":"https://api.github.com/users/realph/followers","following_url":"https://api.github.com/users/realph/following{/other_user}","gists_url":"https://api.github.com/users/realph/gists{/gist_id}","starred_url":"https://api.github.com/users/realph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realph/subscriptions","organizations_url":"https://api.github.com/users/realph/orgs","repos_url":"https://api.github.com/users/realph/repos","events_url":"https://api.github.com/users/realph/events{/privacy}","received_events_url":"https://api.github.com/users/realph/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2016-02-03T14:45:56Z","updated_at":"2016-09-11T19:54:27Z","closed_at":"2016-03-12T05:36:44Z","body":"For some reason, as of a recent update I'm unable to put a variable inside the color function. This used to work:\r\n\r\n    `.text {\r\n        color: color(var(--mainColor) lightness(+10%));\r\n    }`\r\n\r\nNo it's throwing up this error:\r\n\r\n>Warning: Running \"cssnext:dist\" (cssnext) task\r\n    Warning: <css input>:22:26: Unable to parse color from string \"var(--mainColor)\" Use --force to continue.\r\n\r\nAny idea why this is causing this error? Any help is appreciated. Thanks in advance!"},"comment":{"url":"https://api.github.com/repos/MoOx/postcss-cssnext/issues/comments/246200671","html_url":"https://github.com/MoOx/postcss-cssnext/issues/260#issuecomment-246200671","issue_url":"https://api.github.com/repos/MoOx/postcss-cssnext/issues/260","id":246200671,"user":{"login":"MoOx","id":157534,"avatar_url":"https://avatars.githubusercontent.com/u/157534?v=3","gravatar_id":"","url":"https://api.github.com/users/MoOx","html_url":"https://github.com/MoOx","followers_url":"https://api.github.com/users/MoOx/followers","following_url":"https://api.github.com/users/MoOx/following{/other_user}","gists_url":"https://api.github.com/users/MoOx/gists{/gist_id}","starred_url":"https://api.github.com/users/MoOx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoOx/subscriptions","organizations_url":"https://api.github.com/users/MoOx/orgs","repos_url":"https://api.github.com/users/MoOx/repos","events_url":"https://api.github.com/users/MoOx/events{/privacy}","received_events_url":"https://api.github.com/users/MoOx/received_events","type":"User","site_admin":false},"created_at":"2016-09-11T19:54:27Z","updated_at":"2016-09-11T19:54:27Z","body":"Please create a minimal reproduction in a repo, that will help to debug."}}
{"actor":{"display_login":"MoOx"}}