{"action":"created","comment":{"url":"https://api.github.com/repos/FirefoxUX/design-tokens/pulls/comments/169767208","pull_request_review_id":98346029,"id":169767208,"diff_hunk":"@@ -1,7 +1,107 @@\n # Photon Colors\n \n-The standard set of colours for projects that want to harmonize with Firefox’s new Photon design scheme.\n+The standard set of colours for projects that want to harmonize with Firefox’s new Photon design language.\n+\n+## Use\n+\n+### Develop\n+\n+The Photon Colors can be installed via npm.\n+\n+```bash\n+$ npm install photon-colors\n+```\n+\n+**CSS**\n+\n+```css\n+@import url('photon-colors.css');\n+\n+.class {\n+  color: var(--blue-60);\n+}\n+```\n+\n+**SASS**\n+\n+```Sass\n+@import \"photon-colors.scss\";\n+\n+.class {\n+  color: $blue-60;\n+}\n+```\n+\n+**Less**\n+\n+```less\n+@import (reference) \"photon-colors.less\";\n+\n+.class {\n+  color: @blue-60;\n+}\n+```\n+\n+**JS**\n+\n+```js\n+import photon-colors from 'photon-colors.js';\n+```\n+\n+**XML**\n+\n+Download and paste [photon-colors.android.xml](#) to your Android project. Then:\n+\n+```xml\n+<item android:color=\"@color/blue_60\" />","path":"photon-colors/README.md","position":57,"original_position":57,"commit_id":"5953d8ffd2737f2c1972830782507beabfbe7282","original_commit_id":"5953d8ffd2737f2c1972830782507beabfbe7282","user":{"login":"bwinton","id":159571,"avatar_url":"https://avatars2.githubusercontent.com/u/159571?v=4","gravatar_id":"","url":"https://api.github.com/users/bwinton","html_url":"https://github.com/bwinton","followers_url":"https://api.github.com/users/bwinton/followers","following_url":"https://api.github.com/users/bwinton/following{/other_user}","gists_url":"https://api.github.com/users/bwinton/gists{/gist_id}","starred_url":"https://api.github.com/users/bwinton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwinton/subscriptions","organizations_url":"https://api.github.com/users/bwinton/orgs","repos_url":"https://api.github.com/users/bwinton/repos","events_url":"https://api.github.com/users/bwinton/events{/privacy}","received_events_url":"https://api.github.com/users/bwinton/received_events","type":"User","site_admin":false},"body":"```java\r\ntextColorSpan = new ForegroundColorSpan(ContextCompat.getColor(context, R.color.blue_60));\r\nfinal SpannableStringBuilder builder = new SpannableStringBuilder(text);\r\nbuilder.setSpan(mUrlColorSpan, 0, text.length(), Spannable.SPAN_INCLUSIVE_INCLUSIVE);\r\n```","created_at":"2018-02-21T20:26:23Z","updated_at":"2018-02-21T20:27:15Z","html_url":"https://github.com/FirefoxUX/design-tokens/pull/44#discussion_r169767208","pull_request_url":"https://api.github.com/repos/FirefoxUX/design-tokens/pulls/44","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/FirefoxUX/design-tokens/pulls/comments/169767208"},"html":{"href":"https://github.com/FirefoxUX/design-tokens/pull/44#discussion_r169767208"},"pull_request":{"href":"https://api.github.com/repos/FirefoxUX/design-tokens/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/FirefoxUX/design-tokens/pulls/44","id":170545084,"html_url":"https://github.com/FirefoxUX/design-tokens/pull/44","diff_url":"https://github.com/FirefoxUX/design-tokens/pull/44.diff","patch_url":"https://github.com/FirefoxUX/design-tokens/pull/44.patch","issue_url":"https://api.github.com/repos/FirefoxUX/design-tokens/issues/44","number":44,"state":"open","locked":false,"title":"First take the the photon colors readme","user":{"login":"aminalhazwani","id":1721875,"avatar_url":"https://avatars1.githubusercontent.com/u/1721875?v=4","gravatar_id":"","url":"https://api.github.com/users/aminalhazwani","html_url":"https://github.com/aminalhazwani","followers_url":"https://api.github.com/users/aminalhazwani/followers","following_url":"https://api.github.com/users/aminalhazwani/following{/other_user}","gists_url":"https://api.github.com/users/aminalhazwani/gists{/gist_id}","starred_url":"https://api.github.com/users/aminalhazwani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aminalhazwani/subscriptions","organizations_url":"https://api.github.com/users/aminalhazwani/orgs","repos_url":"https://api.github.com/users/aminalhazwani/repos","events_url":"https://api.github.com/users/aminalhazwani/events{/privacy}","received_events_url":"https://api.github.com/users/aminalhazwani/received_events","type":"User","site_admin":false},"body":"@bwinton can you help me in giving a general \"how to\" for `.js`, `.xml` and `.swift`? Also feel free to leave comments if you see odd things. \r\n\r\nJust be aware, this is very much work in progress 🙂 ","created_at":"2018-02-21T18:00:29Z","updated_at":"2018-02-21T20:27:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df81bb333bc9e794e13fd4d3ad2dc51a9cfdcee1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":782702078,"url":"https://api.github.com/repos/FirefoxUX/design-tokens/labels/state:%20do%20not%20merge","name":"state: do not merge","color":"e6e6e6","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/FirefoxUX/design-tokens/pulls/44/commits","review_comments_url":"https://api.github.com/repos/FirefoxUX/design-tokens/pulls/44/comments","review_comment_url":"https://api.github.com/repos/FirefoxUX/design-tokens/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FirefoxUX/design-tokens/issues/44/comments","statuses_url":"https://api.github.com/repos/FirefoxUX/design-tokens/statuses/5953d8ffd2737f2c1972830782507beabfbe7282","head":{"label":"FirefoxUX:issues/28","ref":"issues/28","sha":"5953d8ffd2737f2c1972830782507beabfbe7282","user":{"login":"FirefoxUX","id":15326606,"avatar_url":"https://avatars1.githubusercontent.com/u/15326606?v=4","gravatar_id":"","url":"https://api.github.com/users/FirefoxUX","html_url":"https://github.com/FirefoxUX","followers_url":"https://api.github.com/users/FirefoxUX/followers","following_url":"https://api.github.com/users/FirefoxUX/following{/other_user}","gists_url":"https://api.github.com/users/FirefoxUX/gists{/gist_id}","starred_url":"https://api.github.com/users/FirefoxUX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FirefoxUX/subscriptions","organizations_url":"https://api.github.com/users/FirefoxUX/orgs","repos_url":"https://api.github.com/users/FirefoxUX/repos","events_url":"https://api.github.com/users/FirefoxUX/events{/privacy}","received_events_url":"https://api.github.com/users/FirefoxUX/received_events","type":"Organization","site_admin":false},"repo":{"id":97479524,"name":"design-tokens","full_name":"FirefoxUX/design-tokens","owner":{"login":"FirefoxUX","id":15326606,"avatar_url":"https://avatars1.githubusercontent.com/u/15326606?v=4","gravatar_id":"","url":"https://api.github.com/users/FirefoxUX","html_url":"https://github.com/FirefoxUX","followers_url":"https://api.github.com/users/FirefoxUX/followers","following_url":"https://api.github.com/users/FirefoxUX/following{/other_user}","gists_url":"https://api.github.com/users/FirefoxUX/gists{/gist_id}","starred_url":"https://api.github.com/users/FirefoxUX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FirefoxUX/subscriptions","organizations_url":"https://api.github.com/users/FirefoxUX/orgs","repos_url":"https://api.github.com/users/FirefoxUX/repos","events_url":"https://api.github.com/users/FirefoxUX/events{/privacy}","received_events_url":"https://api.github.com/users/FirefoxUX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FirefoxUX/design-tokens","description":"A place to store decisions we make.","fork":false,"url":"https://api.github.com/repos/FirefoxUX/design-tokens","forks_url":"https://api.github.com/repos/FirefoxUX/design-tokens/forks","keys_url":"https://api.github.com/repos/FirefoxUX/design-tokens/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FirefoxUX/design-tokens/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FirefoxUX/design-tokens/teams","hooks_url":"https://api.github.com/repos/FirefoxUX/design-tokens/hooks","issue_events_url":"https://api.github.com/repos/FirefoxUX/design-tokens/issues/events{/number}","events_url":"https://api.github.com/repos/FirefoxUX/design-tokens/events","assignees_url":"https://api.github.com/repos/FirefoxUX/design-tokens/assignees{/user}","branches_url":"https://api.github.com/repos/FirefoxUX/design-tokens/branches{/branch}","tags_url":"https://api.github.com/repos/FirefoxUX/design-tokens/tags","blobs_url":"https://api.github.com/repos/FirefoxUX/design-tokens/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FirefoxUX/design-tokens/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FirefoxUX/design-tokens/git/refs{/sha}","trees_url":"https://api.github.com/repos/FirefoxUX/design-tokens/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FirefoxUX/design-tokens/statuses/{sha}","languages_url":"https://api.github.com/repos/FirefoxUX/design-tokens/languages","stargazers_url":"https://api.github.com/repos/FirefoxUX/design-tokens/stargazers","contributors_url":"https://api.github.com/repos/FirefoxUX/design-tokens/contributors","subscribers_url":"https://api.github.com/repos/FirefoxUX/design-tokens/subscribers","subscription_url":"https://api.github.com/repos/FirefoxUX/design-tokens/subscription","commits_url":"https://api.github.com/repos/FirefoxUX/design-tokens/commits{/sha}","git_commits_url":"https://api.github.com/repos/FirefoxUX/design-tokens/git/commits{/sha}","comments_url":"https://api.github.com/repos/FirefoxUX/design-tokens/comments{/number}","issue_comment_url":"https://api.github.com/repos/FirefoxUX/design-tokens/issues/comments{/number}","contents_url":"https://api.github.com/repos/FirefoxUX/design-tokens/contents/{+path}","compare_url":"https://api.github.com/repos/FirefoxUX/design-tokens/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FirefoxUX/design-tokens/merges","archive_url":"https://api.github.com/repos/FirefoxUX/design-tokens/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FirefoxUX/design-tokens/downloads","issues_url":"https://api.github.com/repos/FirefoxUX/design-tokens/issues{/number}","pulls_url":"https://api.github.com/repos/FirefoxUX/design-tokens/pulls{/number}","milestones_url":"https://api.github.com/repos/FirefoxUX/design-tokens/milestones{/number}","notifications_url":"https://api.github.com/repos/FirefoxUX/design-tokens/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FirefoxUX/design-tokens/labels{/name}","releases_url":"https://api.github.com/repos/FirefoxUX/design-tokens/releases{/id}","deployments_url":"https://api.github.com/repos/FirefoxUX/design-tokens/deployments","created_at":"2017-07-17T13:29:20Z","updated_at":"2018-02-13T09:50:44Z","pushed_at":"2018-02-21T18:00:29Z","git_url":"git://github.com/FirefoxUX/design-tokens.git","ssh_url":"git@github.com:FirefoxUX/design-tokens.git","clone_url":"https://github.com/FirefoxUX/design-tokens.git","svn_url":"https://github.com/FirefoxUX/design-tokens","homepage":null,"size":91,"stargazers_count":29,"watchers_count":29,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0"},"forks":7,"open_issues":7,"watchers":29,"default_branch":"master"}},"base":{"label":"FirefoxUX:master","ref":"master","sha":"087693d45c978cda374f1ba6c2d8e8eb5da10788","user":{"login":"FirefoxUX","id":15326606,"avatar_url":"https://avatars1.githubusercontent.com/u/15326606?v=4","gravatar_id":"","url":"https://api.github.com/users/FirefoxUX","html_url":"https://github.com/FirefoxUX","followers_url":"https://api.github.com/users/FirefoxUX/followers","following_url":"https://api.github.com/users/FirefoxUX/following{/other_user}","gists_url":"https://api.github.com/users/FirefoxUX/gists{/gist_id}","starred_url":"https://api.github.com/users/FirefoxUX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FirefoxUX/subscriptions","organizations_url":"https://api.github.com/users/FirefoxUX/orgs","repos_url":"https://api.github.com/users/FirefoxUX/repos","events_url":"https://api.github.com/users/FirefoxUX/events{/privacy}","received_events_url":"https://api.github.com/users/FirefoxUX/received_events","type":"Organization","site_admin":false},"repo":{"id":97479524,"name":"design-tokens","full_name":"FirefoxUX/design-tokens","owner":{"login":"FirefoxUX","id":15326606,"avatar_url":"https://avatars1.githubusercontent.com/u/15326606?v=4","gravatar_id":"","url":"https://api.github.com/users/FirefoxUX","html_url":"https://github.com/FirefoxUX","followers_url":"https://api.github.com/users/FirefoxUX/followers","following_url":"https://api.github.com/users/FirefoxUX/following{/other_user}","gists_url":"https://api.github.com/users/FirefoxUX/gists{/gist_id}","starred_url":"https://api.github.com/users/FirefoxUX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FirefoxUX/subscriptions","organizations_url":"https://api.github.com/users/FirefoxUX/orgs","repos_url":"https://api.github.com/users/FirefoxUX/repos","events_url":"https://api.github.com/users/FirefoxUX/events{/privacy}","received_events_url":"https://api.github.com/users/FirefoxUX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FirefoxUX/design-tokens","description":"A place to store decisions we make.","fork":false,"url":"https://api.github.com/repos/FirefoxUX/design-tokens","forks_url":"https://api.github.com/repos/FirefoxUX/design-tokens/forks","keys_url":"https://api.github.com/repos/FirefoxUX/design-tokens/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FirefoxUX/design-tokens/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FirefoxUX/design-tokens/teams","hooks_url":"https://api.github.com/repos/FirefoxUX/design-tokens/hooks","issue_events_url":"https://api.github.com/repos/FirefoxUX/design-tokens/issues/events{/number}","events_url":"https://api.github.com/repos/FirefoxUX/design-tokens/events","assignees_url":"https://api.github.com/repos/FirefoxUX/design-tokens/assignees{/user}","branches_url":"https://api.github.com/repos/FirefoxUX/design-tokens/branches{/branch}","tags_url":"https://api.github.com/repos/FirefoxUX/design-tokens/tags","blobs_url":"https://api.github.com/repos/FirefoxUX/design-tokens/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FirefoxUX/design-tokens/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FirefoxUX/design-tokens/git/refs{/sha}","trees_url":"https://api.github.com/repos/FirefoxUX/design-tokens/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FirefoxUX/design-tokens/statuses/{sha}","languages_url":"https://api.github.com/repos/FirefoxUX/design-tokens/languages","stargazers_url":"https://api.github.com/repos/FirefoxUX/design-tokens/stargazers","contributors_url":"https://api.github.com/repos/FirefoxUX/design-tokens/contributors","subscribers_url":"https://api.github.com/repos/FirefoxUX/design-tokens/subscribers","subscription_url":"https://api.github.com/repos/FirefoxUX/design-tokens/subscription","commits_url":"https://api.github.com/repos/FirefoxUX/design-tokens/commits{/sha}","git_commits_url":"https://api.github.com/repos/FirefoxUX/design-tokens/git/commits{/sha}","comments_url":"https://api.github.com/repos/FirefoxUX/design-tokens/comments{/number}","issue_comment_url":"https://api.github.com/repos/FirefoxUX/design-tokens/issues/comments{/number}","contents_url":"https://api.github.com/repos/FirefoxUX/design-tokens/contents/{+path}","compare_url":"https://api.github.com/repos/FirefoxUX/design-tokens/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FirefoxUX/design-tokens/merges","archive_url":"https://api.github.com/repos/FirefoxUX/design-tokens/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FirefoxUX/design-tokens/downloads","issues_url":"https://api.github.com/repos/FirefoxUX/design-tokens/issues{/number}","pulls_url":"https://api.github.com/repos/FirefoxUX/design-tokens/pulls{/number}","milestones_url":"https://api.github.com/repos/FirefoxUX/design-tokens/milestones{/number}","notifications_url":"https://api.github.com/repos/FirefoxUX/design-tokens/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FirefoxUX/design-tokens/labels{/name}","releases_url":"https://api.github.com/repos/FirefoxUX/design-tokens/releases{/id}","deployments_url":"https://api.github.com/repos/FirefoxUX/design-tokens/deployments","created_at":"2017-07-17T13:29:20Z","updated_at":"2018-02-13T09:50:44Z","pushed_at":"2018-02-21T18:00:29Z","git_url":"git://github.com/FirefoxUX/design-tokens.git","ssh_url":"git@github.com:FirefoxUX/design-tokens.git","clone_url":"https://github.com/FirefoxUX/design-tokens.git","svn_url":"https://github.com/FirefoxUX/design-tokens","homepage":null,"size":91,"stargazers_count":29,"watchers_count":29,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0"},"forks":7,"open_issues":7,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FirefoxUX/design-tokens/pulls/44"},"html":{"href":"https://github.com/FirefoxUX/design-tokens/pull/44"},"issue":{"href":"https://api.github.com/repos/FirefoxUX/design-tokens/issues/44"},"comments":{"href":"https://api.github.com/repos/FirefoxUX/design-tokens/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/FirefoxUX/design-tokens/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/FirefoxUX/design-tokens/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FirefoxUX/design-tokens/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/FirefoxUX/design-tokens/statuses/5953d8ffd2737f2c1972830782507beabfbe7282"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"bwinton"}}