{"action":"closed","number":116,"pull_request":{"url":"https://api.github.com/repos/threepointone/glamor/pulls/116","id":94481943,"html_url":"https://github.com/threepointone/glamor/pull/116","diff_url":"https://github.com/threepointone/glamor/pull/116.diff","patch_url":"https://github.com/threepointone/glamor/pull/116.patch","issue_url":"https://api.github.com/repos/threepointone/glamor/issues/116","number":116,"state":"closed","locked":false,"title":"Add support for CSS custom properties","user":{"login":"jlesquembre","id":1058504,"avatar_url":"https://avatars.githubusercontent.com/u/1058504?v=3","gravatar_id":"","url":"https://api.github.com/users/jlesquembre","html_url":"https://github.com/jlesquembre","followers_url":"https://api.github.com/users/jlesquembre/followers","following_url":"https://api.github.com/users/jlesquembre/following{/other_user}","gists_url":"https://api.github.com/users/jlesquembre/gists{/gist_id}","starred_url":"https://api.github.com/users/jlesquembre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlesquembre/subscriptions","organizations_url":"https://api.github.com/users/jlesquembre/orgs","repos_url":"https://api.github.com/users/jlesquembre/repos","events_url":"https://api.github.com/users/jlesquembre/events{/privacy}","received_events_url":"https://api.github.com/users/jlesquembre/received_events","type":"User","site_admin":false},"body":"CSS custom properties, also called CSS variables, are property names\r\nprefixed with `--`. In that case, don't process the property name, nor\r\nthe value, and add them as they are.\r\n\r\nNow the property name is converted from camel case to kebab case and `px` is appended to the value if it is a number. E.g.:\r\n```\r\nstyle({'--myVar': 50})\r\n```\r\n\r\nis converted to `--my-var:50px;`, when it should be `--myVar:50;`\r\n\r\nI created this jsbin where you can test it:\r\nhttps://jsbin.com/mijixu/6/edit?html,output","created_at":"2016-11-19T13:34:04Z","updated_at":"2016-11-28T08:17:03Z","closed_at":"2016-11-28T08:17:03Z","merged_at":"2016-11-28T08:17:03Z","merge_commit_sha":"56d52ef0df8c8d13ae8a3a59dcc021d55b7ead4c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/threepointone/glamor/pulls/116/commits","review_comments_url":"https://api.github.com/repos/threepointone/glamor/pulls/116/comments","review_comment_url":"https://api.github.com/repos/threepointone/glamor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/threepointone/glamor/issues/116/comments","statuses_url":"https://api.github.com/repos/threepointone/glamor/statuses/7a0d6d7a5248eb1198e0cec4e5c207b6afd0c2fe","head":{"label":"jlesquembre:css-variables","ref":"css-variables","sha":"7a0d6d7a5248eb1198e0cec4e5c207b6afd0c2fe","user":{"login":"jlesquembre","id":1058504,"avatar_url":"https://avatars.githubusercontent.com/u/1058504?v=3","gravatar_id":"","url":"https://api.github.com/users/jlesquembre","html_url":"https://github.com/jlesquembre","followers_url":"https://api.github.com/users/jlesquembre/followers","following_url":"https://api.github.com/users/jlesquembre/following{/other_user}","gists_url":"https://api.github.com/users/jlesquembre/gists{/gist_id}","starred_url":"https://api.github.com/users/jlesquembre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlesquembre/subscriptions","organizations_url":"https://api.github.com/users/jlesquembre/orgs","repos_url":"https://api.github.com/users/jlesquembre/repos","events_url":"https://api.github.com/users/jlesquembre/events{/privacy}","received_events_url":"https://api.github.com/users/jlesquembre/received_events","type":"User","site_admin":false},"repo":{"id":73954406,"name":"glamor","full_name":"jlesquembre/glamor","owner":{"login":"jlesquembre","id":1058504,"avatar_url":"https://avatars.githubusercontent.com/u/1058504?v=3","gravatar_id":"","url":"https://api.github.com/users/jlesquembre","html_url":"https://github.com/jlesquembre","followers_url":"https://api.github.com/users/jlesquembre/followers","following_url":"https://api.github.com/users/jlesquembre/following{/other_user}","gists_url":"https://api.github.com/users/jlesquembre/gists{/gist_id}","starred_url":"https://api.github.com/users/jlesquembre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlesquembre/subscriptions","organizations_url":"https://api.github.com/users/jlesquembre/orgs","repos_url":"https://api.github.com/users/jlesquembre/repos","events_url":"https://api.github.com/users/jlesquembre/events{/privacy}","received_events_url":"https://api.github.com/users/jlesquembre/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jlesquembre/glamor","description":"inline css for react et al","fork":true,"url":"https://api.github.com/repos/jlesquembre/glamor","forks_url":"https://api.github.com/repos/jlesquembre/glamor/forks","keys_url":"https://api.github.com/repos/jlesquembre/glamor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jlesquembre/glamor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jlesquembre/glamor/teams","hooks_url":"https://api.github.com/repos/jlesquembre/glamor/hooks","issue_events_url":"https://api.github.com/repos/jlesquembre/glamor/issues/events{/number}","events_url":"https://api.github.com/repos/jlesquembre/glamor/events","assignees_url":"https://api.github.com/repos/jlesquembre/glamor/assignees{/user}","branches_url":"https://api.github.com/repos/jlesquembre/glamor/branches{/branch}","tags_url":"https://api.github.com/repos/jlesquembre/glamor/tags","blobs_url":"https://api.github.com/repos/jlesquembre/glamor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jlesquembre/glamor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jlesquembre/glamor/git/refs{/sha}","trees_url":"https://api.github.com/repos/jlesquembre/glamor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jlesquembre/glamor/statuses/{sha}","languages_url":"https://api.github.com/repos/jlesquembre/glamor/languages","stargazers_url":"https://api.github.com/repos/jlesquembre/glamor/stargazers","contributors_url":"https://api.github.com/repos/jlesquembre/glamor/contributors","subscribers_url":"https://api.github.com/repos/jlesquembre/glamor/subscribers","subscription_url":"https://api.github.com/repos/jlesquembre/glamor/subscription","commits_url":"https://api.github.com/repos/jlesquembre/glamor/commits{/sha}","git_commits_url":"https://api.github.com/repos/jlesquembre/glamor/git/commits{/sha}","comments_url":"https://api.github.com/repos/jlesquembre/glamor/comments{/number}","issue_comment_url":"https://api.github.com/repos/jlesquembre/glamor/issues/comments{/number}","contents_url":"https://api.github.com/repos/jlesquembre/glamor/contents/{+path}","compare_url":"https://api.github.com/repos/jlesquembre/glamor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jlesquembre/glamor/merges","archive_url":"https://api.github.com/repos/jlesquembre/glamor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jlesquembre/glamor/downloads","issues_url":"https://api.github.com/repos/jlesquembre/glamor/issues{/number}","pulls_url":"https://api.github.com/repos/jlesquembre/glamor/pulls{/number}","milestones_url":"https://api.github.com/repos/jlesquembre/glamor/milestones{/number}","notifications_url":"https://api.github.com/repos/jlesquembre/glamor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jlesquembre/glamor/labels{/name}","releases_url":"https://api.github.com/repos/jlesquembre/glamor/releases{/id}","deployments_url":"https://api.github.com/repos/jlesquembre/glamor/deployments","created_at":"2016-11-16T19:38:40Z","updated_at":"2016-11-16T19:38:43Z","pushed_at":"2016-11-19T13:23:27Z","git_url":"git://github.com/jlesquembre/glamor.git","ssh_url":"git@github.com:jlesquembre/glamor.git","clone_url":"https://github.com/jlesquembre/glamor.git","svn_url":"https://github.com/jlesquembre/glamor","homepage":null,"size":926,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"threepointone:master","ref":"master","sha":"ead0de1e7e7dd61e487c8b9cc51d5b841d3a4e94","user":{"login":"threepointone","id":18808,"avatar_url":"https://avatars.githubusercontent.com/u/18808?v=3","gravatar_id":"","url":"https://api.github.com/users/threepointone","html_url":"https://github.com/threepointone","followers_url":"https://api.github.com/users/threepointone/followers","following_url":"https://api.github.com/users/threepointone/following{/other_user}","gists_url":"https://api.github.com/users/threepointone/gists{/gist_id}","starred_url":"https://api.github.com/users/threepointone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/threepointone/subscriptions","organizations_url":"https://api.github.com/users/threepointone/orgs","repos_url":"https://api.github.com/users/threepointone/repos","events_url":"https://api.github.com/users/threepointone/events{/privacy}","received_events_url":"https://api.github.com/users/threepointone/received_events","type":"User","site_admin":false},"repo":{"id":63597213,"name":"glamor","full_name":"threepointone/glamor","owner":{"login":"threepointone","id":18808,"avatar_url":"https://avatars.githubusercontent.com/u/18808?v=3","gravatar_id":"","url":"https://api.github.com/users/threepointone","html_url":"https://github.com/threepointone","followers_url":"https://api.github.com/users/threepointone/followers","following_url":"https://api.github.com/users/threepointone/following{/other_user}","gists_url":"https://api.github.com/users/threepointone/gists{/gist_id}","starred_url":"https://api.github.com/users/threepointone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/threepointone/subscriptions","organizations_url":"https://api.github.com/users/threepointone/orgs","repos_url":"https://api.github.com/users/threepointone/repos","events_url":"https://api.github.com/users/threepointone/events{/privacy}","received_events_url":"https://api.github.com/users/threepointone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/threepointone/glamor","description":"inline css for react et al","fork":false,"url":"https://api.github.com/repos/threepointone/glamor","forks_url":"https://api.github.com/repos/threepointone/glamor/forks","keys_url":"https://api.github.com/repos/threepointone/glamor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/threepointone/glamor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/threepointone/glamor/teams","hooks_url":"https://api.github.com/repos/threepointone/glamor/hooks","issue_events_url":"https://api.github.com/repos/threepointone/glamor/issues/events{/number}","events_url":"https://api.github.com/repos/threepointone/glamor/events","assignees_url":"https://api.github.com/repos/threepointone/glamor/assignees{/user}","branches_url":"https://api.github.com/repos/threepointone/glamor/branches{/branch}","tags_url":"https://api.github.com/repos/threepointone/glamor/tags","blobs_url":"https://api.github.com/repos/threepointone/glamor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/threepointone/glamor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/threepointone/glamor/git/refs{/sha}","trees_url":"https://api.github.com/repos/threepointone/glamor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/threepointone/glamor/statuses/{sha}","languages_url":"https://api.github.com/repos/threepointone/glamor/languages","stargazers_url":"https://api.github.com/repos/threepointone/glamor/stargazers","contributors_url":"https://api.github.com/repos/threepointone/glamor/contributors","subscribers_url":"https://api.github.com/repos/threepointone/glamor/subscribers","subscription_url":"https://api.github.com/repos/threepointone/glamor/subscription","commits_url":"https://api.github.com/repos/threepointone/glamor/commits{/sha}","git_commits_url":"https://api.github.com/repos/threepointone/glamor/git/commits{/sha}","comments_url":"https://api.github.com/repos/threepointone/glamor/comments{/number}","issue_comment_url":"https://api.github.com/repos/threepointone/glamor/issues/comments{/number}","contents_url":"https://api.github.com/repos/threepointone/glamor/contents/{+path}","compare_url":"https://api.github.com/repos/threepointone/glamor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/threepointone/glamor/merges","archive_url":"https://api.github.com/repos/threepointone/glamor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/threepointone/glamor/downloads","issues_url":"https://api.github.com/repos/threepointone/glamor/issues{/number}","pulls_url":"https://api.github.com/repos/threepointone/glamor/pulls{/number}","milestones_url":"https://api.github.com/repos/threepointone/glamor/milestones{/number}","notifications_url":"https://api.github.com/repos/threepointone/glamor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/threepointone/glamor/labels{/name}","releases_url":"https://api.github.com/repos/threepointone/glamor/releases{/id}","deployments_url":"https://api.github.com/repos/threepointone/glamor/deployments","created_at":"2016-07-18T11:25:39Z","updated_at":"2016-11-28T02:44:30Z","pushed_at":"2016-11-28T08:17:03Z","git_url":"git://github.com/threepointone/glamor.git","ssh_url":"git@github.com:threepointone/glamor.git","clone_url":"https://github.com/threepointone/glamor.git","svn_url":"https://github.com/threepointone/glamor","homepage":null,"size":966,"stargazers_count":1269,"watchers_count":1269,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":27,"forks":40,"open_issues":27,"watchers":1269,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/threepointone/glamor/pulls/116"},"html":{"href":"https://github.com/threepointone/glamor/pull/116"},"issue":{"href":"https://api.github.com/repos/threepointone/glamor/issues/116"},"comments":{"href":"https://api.github.com/repos/threepointone/glamor/issues/116/comments"},"review_comments":{"href":"https://api.github.com/repos/threepointone/glamor/pulls/116/comments"},"review_comment":{"href":"https://api.github.com/repos/threepointone/glamor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/threepointone/glamor/pulls/116/commits"},"statuses":{"href":"https://api.github.com/repos/threepointone/glamor/statuses/7a0d6d7a5248eb1198e0cec4e5c207b6afd0c2fe"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"threepointone","id":18808,"avatar_url":"https://avatars.githubusercontent.com/u/18808?v=3","gravatar_id":"","url":"https://api.github.com/users/threepointone","html_url":"https://github.com/threepointone","followers_url":"https://api.github.com/users/threepointone/followers","following_url":"https://api.github.com/users/threepointone/following{/other_user}","gists_url":"https://api.github.com/users/threepointone/gists{/gist_id}","starred_url":"https://api.github.com/users/threepointone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/threepointone/subscriptions","organizations_url":"https://api.github.com/users/threepointone/orgs","repos_url":"https://api.github.com/users/threepointone/repos","events_url":"https://api.github.com/users/threepointone/events{/privacy}","received_events_url":"https://api.github.com/users/threepointone/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":17,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"threepointone"}}