{"action":"opened","issue":{"url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/670","repository_url":"https://api.github.com/repos/dlmanning/gulp-sass","labels_url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/670/labels{/name}","comments_url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/670/comments","events_url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/670/events","html_url":"https://github.com/dlmanning/gulp-sass/issues/670","id":306042462,"number":670,"title":"CSS Variables in color functions gives an error, but is correct in pure CSS","user":{"login":"barcia","id":5719646,"avatar_url":"https://avatars0.githubusercontent.com/u/5719646?v=4","gravatar_id":"","url":"https://api.github.com/users/barcia","html_url":"https://github.com/barcia","followers_url":"https://api.github.com/users/barcia/followers","following_url":"https://api.github.com/users/barcia/following{/other_user}","gists_url":"https://api.github.com/users/barcia/gists{/gist_id}","starred_url":"https://api.github.com/users/barcia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barcia/subscriptions","organizations_url":"https://api.github.com/users/barcia/orgs","repos_url":"https://api.github.com/users/barcia/repos","events_url":"https://api.github.com/users/barcia/events{/privacy}","received_events_url":"https://api.github.com/users/barcia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-16T18:59:50Z","updated_at":"2018-03-16T18:59:50Z","closed_at":null,"author_association":"NONE","body":"If I try to put a CSS Variable (or Custom Property) in a color function gulp-sass gives me an error, but this is perfectly correct in pure CSS.\r\n\r\nSass solved this issue more than a year ago (https://github.com/sass/sass/pull/2207).\r\n\r\nThis is an example:\r\n```scss\r\n// style.scss\r\n.foo {\r\n    background-color: hsla(0, 0%, 0%, var(--opacity));\r\n}\r\n```\r\n\r\nIn CSS works, but gulp-sass return this: `Error: argument '$alpha' of 'hsla($hue, $saturation, $lightness, $alpha)' must be a number`\r\n\r\nWhat is the problem? 🧐\r\n\r\nThanks\r\n"}}
{"actor":{"display_login":"barcia"}}