{"action":"created","comment":{"url":"https://api.github.com/repos/badges/shields/pulls/comments/205300989","pull_request_review_id":140544642,"id":205300989,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTMwMDk4OQ==","diff_hunk":"@@ -69,9 +86,19 @@ function makeLabel(defaultLabel, overrides) {\n   return overrides.label || defaultLabel;\n }\n \n+function getSimpleIcon(icon = '', color = 'whitesmoke'){\n+  icon = typeof icon === 'string' ? icon.toLowerCase() : '';\n+  if (!simpleIcons[icon]){\n+    return undefined;\n+  }\n+  color = makeColor(color) || 'whitesmoke';\n+  const svg = simpleIcons[icon].svg.replace('<svg', `<svg fill=\"${color}\"`);\n+  return 'data:image/svg+xml;base64,' + Buffer.from(svg).toString('base64');\n+}\n+\n function makeLogo(defaultNamedLogo, overrides) {\n   if (overrides.logo === undefined){\n-    return logos[defaultNamedLogo];\n+    return logos[defaultNamedLogo] || getSimpleIcon(defaultNamedLogo, overrides.logoColor);","path":"lib/badge-data.js","position":51,"original_position":51,"commit_id":"961b50ab6632a0b55577d6d1f86b2ddfaad6f869","original_commit_id":"961b50ab6632a0b55577d6d1f86b2ddfaad6f869","user":{"login":"paulmelnikow","id":1487036,"node_id":"MDQ6VXNlcjE0ODcwMzY=","avatar_url":"https://avatars2.githubusercontent.com/u/1487036?v=4","gravatar_id":"","url":"https://api.github.com/users/paulmelnikow","html_url":"https://github.com/paulmelnikow","followers_url":"https://api.github.com/users/paulmelnikow/followers","following_url":"https://api.github.com/users/paulmelnikow/following{/other_user}","gists_url":"https://api.github.com/users/paulmelnikow/gists{/gist_id}","starred_url":"https://api.github.com/users/paulmelnikow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulmelnikow/subscriptions","organizations_url":"https://api.github.com/users/paulmelnikow/orgs","repos_url":"https://api.github.com/users/paulmelnikow/repos","events_url":"https://api.github.com/users/paulmelnikow/events{/privacy}","received_events_url":"https://api.github.com/users/paulmelnikow/received_events","type":"User","site_admin":false},"body":"For parity, is it possible to support `logoColor` in our own logos?","created_at":"2018-07-26T00:30:26Z","updated_at":"2018-07-26T00:33:39Z","html_url":"https://github.com/badges/shields/pull/1810#discussion_r205300989","pull_request_url":"https://api.github.com/repos/badges/shields/pulls/1810","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/badges/shields/pulls/comments/205300989"},"html":{"href":"https://github.com/badges/shields/pull/1810#discussion_r205300989"},"pull_request":{"href":"https://api.github.com/repos/badges/shields/pulls/1810"}}},"pull_request":{"url":"https://api.github.com/repos/badges/shields/pulls/1810","id":203979338,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzOTc5MzM4","html_url":"https://github.com/badges/shields/pull/1810","diff_url":"https://github.com/badges/shields/pull/1810.diff","patch_url":"https://github.com/badges/shields/pull/1810.patch","issue_url":"https://api.github.com/repos/badges/shields/issues/1810","number":1810,"state":"open","locked":false,"title":"Add support for simple-icons","user":{"login":"RedSparr0w","id":7288322,"node_id":"MDQ6VXNlcjcyODgzMjI=","avatar_url":"https://avatars2.githubusercontent.com/u/7288322?v=4","gravatar_id":"","url":"https://api.github.com/users/RedSparr0w","html_url":"https://github.com/RedSparr0w","followers_url":"https://api.github.com/users/RedSparr0w/followers","following_url":"https://api.github.com/users/RedSparr0w/following{/other_user}","gists_url":"https://api.github.com/users/RedSparr0w/gists{/gist_id}","starred_url":"https://api.github.com/users/RedSparr0w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedSparr0w/subscriptions","organizations_url":"https://api.github.com/users/RedSparr0w/orgs","repos_url":"https://api.github.com/users/RedSparr0w/repos","events_url":"https://api.github.com/users/RedSparr0w/events{/privacy}","received_events_url":"https://api.github.com/users/RedSparr0w/received_events","type":"User","site_admin":false},"body":"Add support for [simple-icons](https://simpleicons.org/).\r\n\r\nSupport more icons without the overhead of reviewing them ourselves.\r\nI also added support for colored icons.\r\n\r\nIt will use our icon > simple-icon if available.","created_at":"2018-07-25T22:19:04Z","updated_at":"2018-07-26T00:33:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0ce0dbcb351506e2e6e77a39fcafcde082f119dd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":585616182,"node_id":"MDU6TGFiZWw1ODU2MTYxODI=","url":"https://api.github.com/repos/badges/shields/labels/core","name":"core","color":"c5def5","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/badges/shields/pulls/1810/commits","review_comments_url":"https://api.github.com/repos/badges/shields/pulls/1810/comments","review_comment_url":"https://api.github.com/repos/badges/shields/pulls/comments{/number}","comments_url":"https://api.github.com/repos/badges/shields/issues/1810/comments","statuses_url":"https://api.github.com/repos/badges/shields/statuses/961b50ab6632a0b55577d6d1f86b2ddfaad6f869","head":{"label":"RedSparr0w:simple-icons","ref":"simple-icons","sha":"961b50ab6632a0b55577d6d1f86b2ddfaad6f869","user":{"login":"RedSparr0w","id":7288322,"node_id":"MDQ6VXNlcjcyODgzMjI=","avatar_url":"https://avatars2.githubusercontent.com/u/7288322?v=4","gravatar_id":"","url":"https://api.github.com/users/RedSparr0w","html_url":"https://github.com/RedSparr0w","followers_url":"https://api.github.com/users/RedSparr0w/followers","following_url":"https://api.github.com/users/RedSparr0w/following{/other_user}","gists_url":"https://api.github.com/users/RedSparr0w/gists{/gist_id}","starred_url":"https://api.github.com/users/RedSparr0w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedSparr0w/subscriptions","organizations_url":"https://api.github.com/users/RedSparr0w/orgs","repos_url":"https://api.github.com/users/RedSparr0w/repos","events_url":"https://api.github.com/users/RedSparr0w/events{/privacy}","received_events_url":"https://api.github.com/users/RedSparr0w/received_events","type":"User","site_admin":false},"repo":{"id":62669042,"node_id":"MDEwOlJlcG9zaXRvcnk2MjY2OTA0Mg==","name":"shields","full_name":"RedSparr0w/shields","owner":{"login":"RedSparr0w","id":7288322,"node_id":"MDQ6VXNlcjcyODgzMjI=","avatar_url":"https://avatars2.githubusercontent.com/u/7288322?v=4","gravatar_id":"","url":"https://api.github.com/users/RedSparr0w","html_url":"https://github.com/RedSparr0w","followers_url":"https://api.github.com/users/RedSparr0w/followers","following_url":"https://api.github.com/users/RedSparr0w/following{/other_user}","gists_url":"https://api.github.com/users/RedSparr0w/gists{/gist_id}","starred_url":"https://api.github.com/users/RedSparr0w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedSparr0w/subscriptions","organizations_url":"https://api.github.com/users/RedSparr0w/orgs","repos_url":"https://api.github.com/users/RedSparr0w/repos","events_url":"https://api.github.com/users/RedSparr0w/events{/privacy}","received_events_url":"https://api.github.com/users/RedSparr0w/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RedSparr0w/shields","description":"Shields badge specification, website and default API server","fork":true,"url":"https://api.github.com/repos/RedSparr0w/shields","forks_url":"https://api.github.com/repos/RedSparr0w/shields/forks","keys_url":"https://api.github.com/repos/RedSparr0w/shields/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RedSparr0w/shields/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RedSparr0w/shields/teams","hooks_url":"https://api.github.com/repos/RedSparr0w/shields/hooks","issue_events_url":"https://api.github.com/repos/RedSparr0w/shields/issues/events{/number}","events_url":"https://api.github.com/repos/RedSparr0w/shields/events","assignees_url":"https://api.github.com/repos/RedSparr0w/shields/assignees{/user}","branches_url":"https://api.github.com/repos/RedSparr0w/shields/branches{/branch}","tags_url":"https://api.github.com/repos/RedSparr0w/shields/tags","blobs_url":"https://api.github.com/repos/RedSparr0w/shields/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RedSparr0w/shields/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RedSparr0w/shields/git/refs{/sha}","trees_url":"https://api.github.com/repos/RedSparr0w/shields/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RedSparr0w/shields/statuses/{sha}","languages_url":"https://api.github.com/repos/RedSparr0w/shields/languages","stargazers_url":"https://api.github.com/repos/RedSparr0w/shields/stargazers","contributors_url":"https://api.github.com/repos/RedSparr0w/shields/contributors","subscribers_url":"https://api.github.com/repos/RedSparr0w/shields/subscribers","subscription_url":"https://api.github.com/repos/RedSparr0w/shields/subscription","commits_url":"https://api.github.com/repos/RedSparr0w/shields/commits{/sha}","git_commits_url":"https://api.github.com/repos/RedSparr0w/shields/git/commits{/sha}","comments_url":"https://api.github.com/repos/RedSparr0w/shields/comments{/number}","issue_comment_url":"https://api.github.com/repos/RedSparr0w/shields/issues/comments{/number}","contents_url":"https://api.github.com/repos/RedSparr0w/shields/contents/{+path}","compare_url":"https://api.github.com/repos/RedSparr0w/shields/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RedSparr0w/shields/merges","archive_url":"https://api.github.com/repos/RedSparr0w/shields/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RedSparr0w/shields/downloads","issues_url":"https://api.github.com/repos/RedSparr0w/shields/issues{/number}","pulls_url":"https://api.github.com/repos/RedSparr0w/shields/pulls{/number}","milestones_url":"https://api.github.com/repos/RedSparr0w/shields/milestones{/number}","notifications_url":"https://api.github.com/repos/RedSparr0w/shields/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RedSparr0w/shields/labels{/name}","releases_url":"https://api.github.com/repos/RedSparr0w/shields/releases{/id}","deployments_url":"https://api.github.com/repos/RedSparr0w/shields/deployments","created_at":"2016-07-05T20:54:43Z","updated_at":"2018-07-25T21:23:20Z","pushed_at":"2018-07-25T23:37:47Z","git_url":"git://github.com/RedSparr0w/shields.git","ssh_url":"git@github.com:RedSparr0w/shields.git","clone_url":"https://github.com/RedSparr0w/shields.git","svn_url":"https://github.com/RedSparr0w/shields","homepage":"http://shields.io","size":8152,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"badges:master","ref":"master","sha":"f850126146e9011001b7ff02a91b65f01fda165b","user":{"login":"badges","id":6254238,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNTQyMzg=","avatar_url":"https://avatars2.githubusercontent.com/u/6254238?v=4","gravatar_id":"","url":"https://api.github.com/users/badges","html_url":"https://github.com/badges","followers_url":"https://api.github.com/users/badges/followers","following_url":"https://api.github.com/users/badges/following{/other_user}","gists_url":"https://api.github.com/users/badges/gists{/gist_id}","starred_url":"https://api.github.com/users/badges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badges/subscriptions","organizations_url":"https://api.github.com/users/badges/orgs","repos_url":"https://api.github.com/users/badges/repos","events_url":"https://api.github.com/users/badges/events{/privacy}","received_events_url":"https://api.github.com/users/badges/received_events","type":"Organization","site_admin":false},"repo":{"id":7910045,"node_id":"MDEwOlJlcG9zaXRvcnk3OTEwMDQ1","name":"shields","full_name":"badges/shields","owner":{"login":"badges","id":6254238,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNTQyMzg=","avatar_url":"https://avatars2.githubusercontent.com/u/6254238?v=4","gravatar_id":"","url":"https://api.github.com/users/badges","html_url":"https://github.com/badges","followers_url":"https://api.github.com/users/badges/followers","following_url":"https://api.github.com/users/badges/following{/other_user}","gists_url":"https://api.github.com/users/badges/gists{/gist_id}","starred_url":"https://api.github.com/users/badges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badges/subscriptions","organizations_url":"https://api.github.com/users/badges/orgs","repos_url":"https://api.github.com/users/badges/repos","events_url":"https://api.github.com/users/badges/events{/privacy}","received_events_url":"https://api.github.com/users/badges/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/badges/shields","description":"Concise, consistent, and legible badges in SVG and raster format","fork":false,"url":"https://api.github.com/repos/badges/shields","forks_url":"https://api.github.com/repos/badges/shields/forks","keys_url":"https://api.github.com/repos/badges/shields/keys{/key_id}","collaborators_url":"https://api.github.com/repos/badges/shields/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/badges/shields/teams","hooks_url":"https://api.github.com/repos/badges/shields/hooks","issue_events_url":"https://api.github.com/repos/badges/shields/issues/events{/number}","events_url":"https://api.github.com/repos/badges/shields/events","assignees_url":"https://api.github.com/repos/badges/shields/assignees{/user}","branches_url":"https://api.github.com/repos/badges/shields/branches{/branch}","tags_url":"https://api.github.com/repos/badges/shields/tags","blobs_url":"https://api.github.com/repos/badges/shields/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/badges/shields/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/badges/shields/git/refs{/sha}","trees_url":"https://api.github.com/repos/badges/shields/git/trees{/sha}","statuses_url":"https://api.github.com/repos/badges/shields/statuses/{sha}","languages_url":"https://api.github.com/repos/badges/shields/languages","stargazers_url":"https://api.github.com/repos/badges/shields/stargazers","contributors_url":"https://api.github.com/repos/badges/shields/contributors","subscribers_url":"https://api.github.com/repos/badges/shields/subscribers","subscription_url":"https://api.github.com/repos/badges/shields/subscription","commits_url":"https://api.github.com/repos/badges/shields/commits{/sha}","git_commits_url":"https://api.github.com/repos/badges/shields/git/commits{/sha}","comments_url":"https://api.github.com/repos/badges/shields/comments{/number}","issue_comment_url":"https://api.github.com/repos/badges/shields/issues/comments{/number}","contents_url":"https://api.github.com/repos/badges/shields/contents/{+path}","compare_url":"https://api.github.com/repos/badges/shields/compare/{base}...{head}","merges_url":"https://api.github.com/repos/badges/shields/merges","archive_url":"https://api.github.com/repos/badges/shields/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/badges/shields/downloads","issues_url":"https://api.github.com/repos/badges/shields/issues{/number}","pulls_url":"https://api.github.com/repos/badges/shields/pulls{/number}","milestones_url":"https://api.github.com/repos/badges/shields/milestones{/number}","notifications_url":"https://api.github.com/repos/badges/shields/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/badges/shields/labels{/name}","releases_url":"https://api.github.com/repos/badges/shields/releases{/id}","deployments_url":"https://api.github.com/repos/badges/shields/deployments","created_at":"2013-01-30T07:41:54Z","updated_at":"2018-07-25T20:00:16Z","pushed_at":"2018-07-25T23:44:17Z","git_url":"git://github.com/badges/shields.git","ssh_url":"git@github.com:badges/shields.git","clone_url":"https://github.com/badges/shields.git","svn_url":"https://github.com/badges/shields","homepage":"https://shields.io","size":8019,"stargazers_count":5935,"watchers_count":5935,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1324,"mirror_url":null,"archived":false,"open_issues_count":179,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1324,"open_issues":179,"watchers":5935,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/badges/shields/pulls/1810"},"html":{"href":"https://github.com/badges/shields/pull/1810"},"issue":{"href":"https://api.github.com/repos/badges/shields/issues/1810"},"comments":{"href":"https://api.github.com/repos/badges/shields/issues/1810/comments"},"review_comments":{"href":"https://api.github.com/repos/badges/shields/pulls/1810/comments"},"review_comment":{"href":"https://api.github.com/repos/badges/shields/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/badges/shields/pulls/1810/commits"},"statuses":{"href":"https://api.github.com/repos/badges/shields/statuses/961b50ab6632a0b55577d6d1f86b2ddfaad6f869"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"paulmelnikow"}}