{"action":"opened","number":7560,"pull_request":{"url":"https://api.github.com/repos/FortAwesome/Font-Awesome/pulls/7560","id":46192993,"html_url":"https://github.com/FortAwesome/Font-Awesome/pull/7560","diff_url":"https://github.com/FortAwesome/Font-Awesome/pull/7560.diff","patch_url":"https://github.com/FortAwesome/Font-Awesome/pull/7560.patch","issue_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/issues/7560","number":7560,"state":"open","locked":false,"title":"Created function that returns icons code","user":{"login":"somewebmedia","id":2186159,"avatar_url":"https://avatars.githubusercontent.com/u/2186159?v=3","gravatar_id":"","url":"https://api.github.com/users/somewebmedia","html_url":"https://github.com/somewebmedia","followers_url":"https://api.github.com/users/somewebmedia/followers","following_url":"https://api.github.com/users/somewebmedia/following{/other_user}","gists_url":"https://api.github.com/users/somewebmedia/gists{/gist_id}","starred_url":"https://api.github.com/users/somewebmedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/somewebmedia/subscriptions","organizations_url":"https://api.github.com/users/somewebmedia/orgs","repos_url":"https://api.github.com/users/somewebmedia/repos","events_url":"https://api.github.com/users/somewebmedia/events{/privacy}","received_events_url":"https://api.github.com/users/somewebmedia/received_events","type":"User","site_admin":false},"body":"If anyone wants to use icons without the regular fa classes, but rather applying them to specific elements dynamically.\r\n\r\nExample:\r\n\r\n```\r\n.upload_button::after {\r\n  @include fa-icon();\r\n  content: fa-icon-var(upload);\r\n}\r\n```\r\n\r\n\r\nTested with [node-sass](https://github.com/sass/node-sass) that provides binding for Node.js to [libsass](https://github.com/sass/libsass).","created_at":"2015-09-28T18:48:34Z","updated_at":"2015-09-28T18:48:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/pulls/7560/commits","review_comments_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/pulls/7560/comments","review_comment_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/issues/7560/comments","statuses_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/statuses/0a2814e1d5084c1c8f7f4ad3f558d3c5091e7562","head":{"label":"somewebmedia:icons-var-function","ref":"icons-var-function","sha":"0a2814e1d5084c1c8f7f4ad3f558d3c5091e7562","user":{"login":"somewebmedia","id":2186159,"avatar_url":"https://avatars.githubusercontent.com/u/2186159?v=3","gravatar_id":"","url":"https://api.github.com/users/somewebmedia","html_url":"https://github.com/somewebmedia","followers_url":"https://api.github.com/users/somewebmedia/followers","following_url":"https://api.github.com/users/somewebmedia/following{/other_user}","gists_url":"https://api.github.com/users/somewebmedia/gists{/gist_id}","starred_url":"https://api.github.com/users/somewebmedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/somewebmedia/subscriptions","organizations_url":"https://api.github.com/users/somewebmedia/orgs","repos_url":"https://api.github.com/users/somewebmedia/repos","events_url":"https://api.github.com/users/somewebmedia/events{/privacy}","received_events_url":"https://api.github.com/users/somewebmedia/received_events","type":"User","site_admin":false},"repo":{"id":43307775,"name":"Font-Awesome","full_name":"somewebmedia/Font-Awesome","owner":{"login":"somewebmedia","id":2186159,"avatar_url":"https://avatars.githubusercontent.com/u/2186159?v=3","gravatar_id":"","url":"https://api.github.com/users/somewebmedia","html_url":"https://github.com/somewebmedia","followers_url":"https://api.github.com/users/somewebmedia/followers","following_url":"https://api.github.com/users/somewebmedia/following{/other_user}","gists_url":"https://api.github.com/users/somewebmedia/gists{/gist_id}","starred_url":"https://api.github.com/users/somewebmedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/somewebmedia/subscriptions","organizations_url":"https://api.github.com/users/somewebmedia/orgs","repos_url":"https://api.github.com/users/somewebmedia/repos","events_url":"https://api.github.com/users/somewebmedia/events{/privacy}","received_events_url":"https://api.github.com/users/somewebmedia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/somewebmedia/Font-Awesome","description":"The iconic font and CSS toolkit","fork":true,"url":"https://api.github.com/repos/somewebmedia/Font-Awesome","forks_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/forks","keys_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/teams","hooks_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/hooks","issue_events_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/issues/events{/number}","events_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/events","assignees_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/assignees{/user}","branches_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/branches{/branch}","tags_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/tags","blobs_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/git/refs{/sha}","trees_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/statuses/{sha}","languages_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/languages","stargazers_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/stargazers","contributors_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/contributors","subscribers_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/subscribers","subscription_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/subscription","commits_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/commits{/sha}","git_commits_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/git/commits{/sha}","comments_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/comments{/number}","issue_comment_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/issues/comments{/number}","contents_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/contents/{+path}","compare_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/merges","archive_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/downloads","issues_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/issues{/number}","pulls_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/pulls{/number}","milestones_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/milestones{/number}","notifications_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/labels{/name}","releases_url":"https://api.github.com/repos/somewebmedia/Font-Awesome/releases{/id}","created_at":"2015-09-28T15:01:06Z","updated_at":"2015-09-28T15:01:11Z","pushed_at":"2015-09-28T18:21:31Z","git_url":"git://github.com/somewebmedia/Font-Awesome.git","ssh_url":"git@github.com:somewebmedia/Font-Awesome.git","clone_url":"https://github.com/somewebmedia/Font-Awesome.git","svn_url":"https://github.com/somewebmedia/Font-Awesome","homepage":"http://fontawesome.io","size":27064,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"FortAwesome:master","ref":"master","sha":"153c0e063e59881a375aa310de93551056a03b51","user":{"login":"FortAwesome","id":1505683,"avatar_url":"https://avatars.githubusercontent.com/u/1505683?v=3","gravatar_id":"","url":"https://api.github.com/users/FortAwesome","html_url":"https://github.com/FortAwesome","followers_url":"https://api.github.com/users/FortAwesome/followers","following_url":"https://api.github.com/users/FortAwesome/following{/other_user}","gists_url":"https://api.github.com/users/FortAwesome/gists{/gist_id}","starred_url":"https://api.github.com/users/FortAwesome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FortAwesome/subscriptions","organizations_url":"https://api.github.com/users/FortAwesome/orgs","repos_url":"https://api.github.com/users/FortAwesome/repos","events_url":"https://api.github.com/users/FortAwesome/events{/privacy}","received_events_url":"https://api.github.com/users/FortAwesome/received_events","type":"Organization","site_admin":false},"repo":{"id":3470471,"name":"Font-Awesome","full_name":"FortAwesome/Font-Awesome","owner":{"login":"FortAwesome","id":1505683,"avatar_url":"https://avatars.githubusercontent.com/u/1505683?v=3","gravatar_id":"","url":"https://api.github.com/users/FortAwesome","html_url":"https://github.com/FortAwesome","followers_url":"https://api.github.com/users/FortAwesome/followers","following_url":"https://api.github.com/users/FortAwesome/following{/other_user}","gists_url":"https://api.github.com/users/FortAwesome/gists{/gist_id}","starred_url":"https://api.github.com/users/FortAwesome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FortAwesome/subscriptions","organizations_url":"https://api.github.com/users/FortAwesome/orgs","repos_url":"https://api.github.com/users/FortAwesome/repos","events_url":"https://api.github.com/users/FortAwesome/events{/privacy}","received_events_url":"https://api.github.com/users/FortAwesome/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FortAwesome/Font-Awesome","description":"The iconic font and CSS toolkit","fork":false,"url":"https://api.github.com/repos/FortAwesome/Font-Awesome","forks_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/forks","keys_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/teams","hooks_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/hooks","issue_events_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/issues/events{/number}","events_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/events","assignees_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/assignees{/user}","branches_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/branches{/branch}","tags_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/tags","blobs_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/git/refs{/sha}","trees_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/statuses/{sha}","languages_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/languages","stargazers_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/stargazers","contributors_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/contributors","subscribers_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/subscribers","subscription_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/subscription","commits_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/commits{/sha}","git_commits_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/git/commits{/sha}","comments_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/comments{/number}","issue_comment_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/issues/comments{/number}","contents_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/contents/{+path}","compare_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/merges","archive_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/downloads","issues_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/issues{/number}","pulls_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/pulls{/number}","milestones_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/milestones{/number}","notifications_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/labels{/name}","releases_url":"https://api.github.com/repos/FortAwesome/Font-Awesome/releases{/id}","created_at":"2012-02-17T14:19:43Z","updated_at":"2015-09-28T18:18:18Z","pushed_at":"2015-09-21T08:48:50Z","git_url":"git://github.com/FortAwesome/Font-Awesome.git","ssh_url":"git@github.com:FortAwesome/Font-Awesome.git","clone_url":"https://github.com/FortAwesome/Font-Awesome.git","svn_url":"https://github.com/FortAwesome/Font-Awesome","homepage":"http://fontawesome.io","size":27064,"stargazers_count":36372,"watchers_count":36372,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5997,"mirror_url":null,"open_issues_count":2999,"forks":5997,"open_issues":2999,"watchers":36372,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FortAwesome/Font-Awesome/pulls/7560"},"html":{"href":"https://github.com/FortAwesome/Font-Awesome/pull/7560"},"issue":{"href":"https://api.github.com/repos/FortAwesome/Font-Awesome/issues/7560"},"comments":{"href":"https://api.github.com/repos/FortAwesome/Font-Awesome/issues/7560/comments"},"review_comments":{"href":"https://api.github.com/repos/FortAwesome/Font-Awesome/pulls/7560/comments"},"review_comment":{"href":"https://api.github.com/repos/FortAwesome/Font-Awesome/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FortAwesome/Font-Awesome/pulls/7560/commits"},"statuses":{"href":"https://api.github.com/repos/FortAwesome/Font-Awesome/statuses/0a2814e1d5084c1c8f7f4ad3f558d3c5091e7562"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1274,"deletions":1261,"changed_files":5}}