payload: {"action":"opened","number":730,"pull_request":{"url":"https://api.github.com/repos/dawnlabs/carbon/pulls/730","id":270220299,"node_id":"MDExOlB1bGxSZXF1ZXN0MjcwMjIwMjk5","html_url":"https://github.com/dawnlabs/carbon/pull/730","diff_url":"https://github.com/dawnlabs/carbon/pull/730.diff","patch_url":"https://github.com/dawnlabs/carbon/pull/730.patch","issue_url":"https://api.github.com/repos/dawnlabs/carbon/issues/730","number":730,"state":"open","locked":false,"title":"Added functionality to adapt window title color","user":{"login":"muhammadmuzzammil1998","id":12321712,"node_id":"MDQ6VXNlcjEyMzIxNzEy","avatar_url":"https://avatars2.githubusercontent.com/u/12321712?v=4","gravatar_id":"","url":"https://api.github.com/users/muhammadmuzzammil1998","html_url":"https://github.com/muhammadmuzzammil1998","followers_url":"https://api.github.com/users/muhammadmuzzammil1998/followers","following_url":"https://api.github.com/users/muhammadmuzzammil1998/following{/other_user}","gists_url":"https://api.github.com/users/muhammadmuzzammil1998/gists{/gist_id}","starred_url":"https://api.github.com/users/muhammadmuzzammil1998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muhammadmuzzammil1998/subscriptions","organizations_url":"https://api.github.com/users/muhammadmuzzammil1998/orgs","repos_url":"https://api.github.com/users/muhammadmuzzammil1998/repos","events_url":"https://api.github.com/users/muhammadmuzzammil1998/events{/privacy}","received_events_url":"https://api.github.com/users/muhammadmuzzammil1998/received_events","type":"User","site_admin":false},"body":"# The problem\r\n\r\nTitles work fine in dark themes but when the theme is light, the color makes it difficult to read title sometimes.\r\nFor example:\r\nThis is an image using \"Solarized (Dark)\" theme.\r\n![image](https://user-images.githubusercontent.com/12321712/56079033-41ea3f80-5e0c-11e9-80af-088afe4820ed.png)\r\nAnd this is an image using \"Solarized (Light)\" theme.\r\n![image](https://user-images.githubusercontent.com/12321712/56079042-59c1c380-5e0c-11e9-86d3-59624196cae3.png)\r\n\r\nThe title on the dark theme is fine but on the light theme, it's barely visible.\r\n\r\n# A solution\r\n\r\nThis pull request adds a function to check if the background of window is dark or light and applies that function to change color of the window title.\r\n\r\nThese images are from a local version running with this fix:\r\n![carbon (51)](https://user-images.githubusercontent.com/12321712/56079086-20d61e80-5e0d-11e9-8b85-afa459cc4d40.png)\r\n![carbon (50)](https://user-images.githubusercontent.com/12321712/56079087-20d61e80-5e0d-11e9-97f2-ddf2979f07a8.png)\r\n![carbon (49)](https://user-images.githubusercontent.com/12321712/56079088-216eb500-5e0d-11e9-9390-2a99e0bd5341.png)\r\n![carbon (48)](https://user-images.githubusercontent.com/12321712/56079089-216eb500-5e0d-11e9-8be1-bb6bbbb1ee3b.png)\r\n![carbon (47)](https://user-images.githubusercontent.com/12321712/56079090-216eb500-5e0d-11e9-95bb-fdca24ae2e1b.png)\r\n","created_at":"2019-04-13T11:31:24Z","updated_at":"2019-04-13T11:31:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dawnlabs/carbon/pulls/730/commits","review_comments_url":"https://api.github.com/repos/dawnlabs/carbon/pulls/730/comments","review_comment_url":"https://api.github.com/repos/dawnlabs/carbon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dawnlabs/carbon/issues/730/comments","statuses_url":"https://api.github.com/repos/dawnlabs/carbon/statuses/83ef773f237307d6118661e088d182e2c3e0bbae","head":{"label":"muhammadmuzzammil1998:master","ref":"master","sha":"83ef773f237307d6118661e088d182e2c3e0bbae","user":{"login":"muhammadmuzzammil1998","id":12321712,"node_id":"MDQ6VXNlcjEyMzIxNzEy","avatar_url":"https://avatars2.githubusercontent.com/u/12321712?v=4","gravatar_id":"","url":"https://api.github.com/users/muhammadmuzzammil1998","html_url":"https://github.com/muhammadmuzzammil1998","followers_url":"https://api.github.com/users/muhammadmuzzammil1998/followers","following_url":"https://api.github.com/users/muhammadmuzzammil1998/following{/other_user}","gists_url":"https://api.github.com/users/muhammadmuzzammil1998/gists{/gist_id}","starred_url":"https://api.github.com/users/muhammadmuzzammil1998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muhammadmuzzammil1998/subscriptions","organizations_url":"https://api.github.com/users/muhammadmuzzammil1998/orgs","repos_url":"https://api.github.com/users/muhammadmuzzammil1998/repos","events_url":"https://api.github.com/users/muhammadmuzzammil1998/events{/privacy}","received_events_url":"https://api.github.com/users/muhammadmuzzammil1998/received_events","type":"User","site_admin":false},"repo":{"id":181158136,"node_id":"MDEwOlJlcG9zaXRvcnkxODExNTgxMzY=","name":"carbon","full_name":"muhammadmuzzammil1998/carbon","private":false,"owner":{"login":"muhammadmuzzammil1998","id":12321712,"node_id":"MDQ6VXNlcjEyMzIxNzEy","avatar_url":"https://avatars2.githubusercontent.com/u/12321712?v=4","gravatar_id":"","url":"https://api.github.com/users/muhammadmuzzammil1998","html_url":"https://github.com/muhammadmuzzammil1998","followers_url":"https://api.github.com/users/muhammadmuzzammil1998/followers","following_url":"https://api.github.com/users/muhammadmuzzammil1998/following{/other_user}","gists_url":"https://api.github.com/users/muhammadmuzzammil1998/gists{/gist_id}","starred_url":"https://api.github.com/users/muhammadmuzzammil1998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muhammadmuzzammil1998/subscriptions","organizations_url":"https://api.github.com/users/muhammadmuzzammil1998/orgs","repos_url":"https://api.github.com/users/muhammadmuzzammil1998/repos","events_url":"https://api.github.com/users/muhammadmuzzammil1998/events{/privacy}","received_events_url":"https://api.github.com/users/muhammadmuzzammil1998/received_events","type":"User","site_admin":false},"html_url":"https://github.com/muhammadmuzzammil1998/carbon","description":"🎨 Create and share beautiful images of your source code","fork":true,"url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon","forks_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/forks","keys_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/teams","hooks_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/hooks","issue_events_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/issues/events{/number}","events_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/events","assignees_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/assignees{/user}","branches_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/branches{/branch}","tags_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/tags","blobs_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/git/refs{/sha}","trees_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/statuses/{sha}","languages_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/languages","stargazers_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/stargazers","contributors_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/contributors","subscribers_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/subscribers","subscription_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/subscription","commits_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/commits{/sha}","git_commits_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/git/commits{/sha}","comments_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/comments{/number}","issue_comment_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/issues/comments{/number}","contents_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/contents/{+path}","compare_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/merges","archive_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/downloads","issues_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/issues{/number}","pulls_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/pulls{/number}","milestones_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/milestones{/number}","notifications_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/labels{/name}","releases_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/releases{/id}","deployments_url":"https://api.github.com/repos/muhammadmuzzammil1998/carbon/deployments","created_at":"2019-04-13T11:02:40Z","updated_at":"2019-04-13T11:10:21Z","pushed_at":"2019-04-13T11:10:20Z","git_url":"git://github.com/muhammadmuzzammil1998/carbon.git","ssh_url":"git@github.com:muhammadmuzzammil1998/carbon.git","clone_url":"https://github.com/muhammadmuzzammil1998/carbon.git","svn_url":"https://github.com/muhammadmuzzammil1998/carbon","homepage":"https://dawnlabs.io/carbon","size":4182,"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,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dawnlabs:master","ref":"master","sha":"512b53beee27b0fb7f1e020a4d213b3f29afb88d","user":{"login":"dawnlabs","id":25232884,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MjMyODg0","avatar_url":"https://avatars2.githubusercontent.com/u/25232884?v=4","gravatar_id":"","url":"https://api.github.com/users/dawnlabs","html_url":"https://github.com/dawnlabs","followers_url":"https://api.github.com/users/dawnlabs/followers","following_url":"https://api.github.com/users/dawnlabs/following{/other_user}","gists_url":"https://api.github.com/users/dawnlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/dawnlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dawnlabs/subscriptions","organizations_url":"https://api.github.com/users/dawnlabs/orgs","repos_url":"https://api.github.com/users/dawnlabs/repos","events_url":"https://api.github.com/users/dawnlabs/events{/privacy}","received_events_url":"https://api.github.com/users/dawnlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":94498635,"node_id":"MDEwOlJlcG9zaXRvcnk5NDQ5ODYzNQ==","name":"carbon","full_name":"dawnlabs/carbon","private":false,"owner":{"login":"dawnlabs","id":25232884,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MjMyODg0","avatar_url":"https://avatars2.githubusercontent.com/u/25232884?v=4","gravatar_id":"","url":"https://api.github.com/users/dawnlabs","html_url":"https://github.com/dawnlabs","followers_url":"https://api.github.com/users/dawnlabs/followers","following_url":"https://api.github.com/users/dawnlabs/following{/other_user}","gists_url":"https://api.github.com/users/dawnlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/dawnlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dawnlabs/subscriptions","organizations_url":"https://api.github.com/users/dawnlabs/orgs","repos_url":"https://api.github.com/users/dawnlabs/repos","events_url":"https://api.github.com/users/dawnlabs/events{/privacy}","received_events_url":"https://api.github.com/users/dawnlabs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dawnlabs/carbon","description":"🎨 Create and share beautiful images of your source code","fork":false,"url":"https://api.github.com/repos/dawnlabs/carbon","forks_url":"https://api.github.com/repos/dawnlabs/carbon/forks","keys_url":"https://api.github.com/repos/dawnlabs/carbon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dawnlabs/carbon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dawnlabs/carbon/teams","hooks_url":"https://api.github.com/repos/dawnlabs/carbon/hooks","issue_events_url":"https://api.github.com/repos/dawnlabs/carbon/issues/events{/number}","events_url":"https://api.github.com/repos/dawnlabs/carbon/events","assignees_url":"https://api.github.com/repos/dawnlabs/carbon/assignees{/user}","branches_url":"https://api.github.com/repos/dawnlabs/carbon/branches{/branch}","tags_url":"https://api.github.com/repos/dawnlabs/carbon/tags","blobs_url":"https://api.github.com/repos/dawnlabs/carbon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dawnlabs/carbon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dawnlabs/carbon/git/refs{/sha}","trees_url":"https://api.github.com/repos/dawnlabs/carbon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dawnlabs/carbon/statuses/{sha}","languages_url":"https://api.github.com/repos/dawnlabs/carbon/languages","stargazers_url":"https://api.github.com/repos/dawnlabs/carbon/stargazers","contributors_url":"https://api.github.com/repos/dawnlabs/carbon/contributors","subscribers_url":"https://api.github.com/repos/dawnlabs/carbon/subscribers","subscription_url":"https://api.github.com/repos/dawnlabs/carbon/subscription","commits_url":"https://api.github.com/repos/dawnlabs/carbon/commits{/sha}","git_commits_url":"https://api.github.com/repos/dawnlabs/carbon/git/commits{/sha}","comments_url":"https://api.github.com/repos/dawnlabs/carbon/comments{/number}","issue_comment_url":"https://api.github.com/repos/dawnlabs/carbon/issues/comments{/number}","contents_url":"https://api.github.com/repos/dawnlabs/carbon/contents/{+path}","compare_url":"https://api.github.com/repos/dawnlabs/carbon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dawnlabs/carbon/merges","archive_url":"https://api.github.com/repos/dawnlabs/carbon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dawnlabs/carbon/downloads","issues_url":"https://api.github.com/repos/dawnlabs/carbon/issues{/number}","pulls_url":"https://api.github.com/repos/dawnlabs/carbon/pulls{/number}","milestones_url":"https://api.github.com/repos/dawnlabs/carbon/milestones{/number}","notifications_url":"https://api.github.com/repos/dawnlabs/carbon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dawnlabs/carbon/labels{/name}","releases_url":"https://api.github.com/repos/dawnlabs/carbon/releases{/id}","deployments_url":"https://api.github.com/repos/dawnlabs/carbon/deployments","created_at":"2017-06-16T02:50:28Z","updated_at":"2019-04-13T11:24:33Z","pushed_at":"2019-04-13T08:26:17Z","git_url":"git://github.com/dawnlabs/carbon.git","ssh_url":"git@github.com:dawnlabs/carbon.git","clone_url":"https://github.com/dawnlabs/carbon.git","svn_url":"https://github.com/dawnlabs/carbon","homepage":"https://dawnlabs.io/carbon","size":4182,"stargazers_count":19248,"watchers_count":19248,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":928,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":21,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":928,"open_issues":21,"watchers":19248,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dawnlabs/carbon/pulls/730"},"html":{"href":"https://github.com/dawnlabs/carbon/pull/730"},"issue":{"href":"https://api.github.com/repos/dawnlabs/carbon/issues/730"},"comments":{"href":"https://api.github.com/repos/dawnlabs/carbon/issues/730/comments"},"review_comments":{"href":"https://api.github.com/repos/dawnlabs/carbon/pulls/730/comments"},"review_comment":{"href":"https://api.github.com/repos/dawnlabs/carbon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dawnlabs/carbon/pulls/730/commits"},"statuses":{"href":"https://api.github.com/repos/dawnlabs/carbon/statuses/83ef773f237307d6118661e088d182e2c3e0bbae"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":3,"additions":18,"deletions":1,"changed_files":2}}
other: {"actor":{"display_login":"muhammadmuzzammil1998"}}