{"action":"created","comment":{"url":"https://api.github.com/repos/oomphinc/scss-scaffold/pulls/comments/55413469","id":55413469,"diff_hunk":"@@ -1,41 +1,66 @@\n // @file colors.scss\n \n+// Getter function for color palettes using SASS maps\n+// Link: http://erskinedesign.com/blog/friendlier-colour-names-sass-maps/\n+// Example usage: { color: palette(brand,blue); }\n+@function palette( $palette, $tone ) {\n+\n+\t@if not index(map-keys($palettes), $palette) {\n+\t\t@error \"Palette `#{$palette}` does not exist.\";\n+\t}\n+\t@if not index(map-keys(map-get($palettes, $palette)), $tone) {\n+\t\t@error \"There is no `#{$tone}` defined in your `#{$palette}` color map however, its being called in your theme.\";\n+\t}\n+\t@return map-deep-get( $palettes, $palette, $tone );\n+}\n+\n \n // Color palettes using SASS maps\n // Link: http://chir.ag/projects/name-that-color/\n-\n $palettes: (\n-  brand: (),\n-  mono: (\n-    black-hole: #000,\n-    snow-white: #fff,\n-    iron: #d1d6d9,\n-    dove-gray: #727272,\n-  ),\n-  drupal: (\n-    lochmara: #0077c0,\n-    anakiwa: #81ceff,\n-    orient: #00598e,\n-  ),\n-  wordpress: (\n-    jelly-bean: #21759b,\n-    piper: #d54e21,\n-    tundora: #464646,\n-  ),\n+\t\n+\t// We NEED to define a \"base\" for each, so that we can use pallette(brand) without throwing an error\n+\t// Brand should contain this project's specific color scheme\n+\tbrand: (\n+\t\tbase: #d62901, // Oomph red\n+\t\tdark-red: #a31f02\n+\t),\n+\t\n+\t// Default color scheme, edit values in relation to the numeric representation\n+\t// In other words, keep high values dark and low values light\n+\tmono: (\n+\t\tblack: #131313,","path":"base/_colors.scss","position":50,"original_position":50,"commit_id":"062463588ed0f1dfc5e7652fa06f2e9144f38a01","original_commit_id":"ccb7de2f08f3a8bb682083b6e86d53dac38e86dc","user":{"login":"jhogue","id":1530232,"avatar_url":"https://avatars.githubusercontent.com/u/1530232?v=3","gravatar_id":"","url":"https://api.github.com/users/jhogue","html_url":"https://github.com/jhogue","followers_url":"https://api.github.com/users/jhogue/followers","following_url":"https://api.github.com/users/jhogue/following{/other_user}","gists_url":"https://api.github.com/users/jhogue/gists{/gist_id}","starred_url":"https://api.github.com/users/jhogue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhogue/subscriptions","organizations_url":"https://api.github.com/users/jhogue/orgs","repos_url":"https://api.github.com/users/jhogue/repos","events_url":"https://api.github.com/users/jhogue/events{/privacy}","received_events_url":"https://api.github.com/users/jhogue/received_events","type":"User","site_admin":false},"body":"Your side note is important… While the design may never use full black\n#000, all you should have to worry about is that you want to use the color\ndefined as black. I think that is the magic of abstraction… same thing with\nwhite. For whatever reason, if you want to define the whitest/lightest\ncolor to be #f2f2f2, you can do that. The dev then only has to concern them\nselves with the intent of the color, you know?\n","created_at":"2016-03-08T19:29:58Z","updated_at":"2016-03-08T19:29:58Z","html_url":"https://github.com/oomphinc/scss-scaffold/pull/2#discussion_r55413469","pull_request_url":"https://api.github.com/repos/oomphinc/scss-scaffold/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/oomphinc/scss-scaffold/pulls/comments/55413469"},"html":{"href":"https://github.com/oomphinc/scss-scaffold/pull/2#discussion_r55413469"},"pull_request":{"href":"https://api.github.com/repos/oomphinc/scss-scaffold/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/oomphinc/scss-scaffold/pulls/2","id":62095268,"html_url":"https://github.com/oomphinc/scss-scaffold/pull/2","diff_url":"https://github.com/oomphinc/scss-scaffold/pull/2.diff","patch_url":"https://github.com/oomphinc/scss-scaffold/pull/2.patch","issue_url":"https://api.github.com/repos/oomphinc/scss-scaffold/issues/2","number":2,"state":"open","locked":false,"title":"1 default colors","user":{"login":"jhogue","id":1530232,"avatar_url":"https://avatars.githubusercontent.com/u/1530232?v=3","gravatar_id":"","url":"https://api.github.com/users/jhogue","html_url":"https://github.com/jhogue","followers_url":"https://api.github.com/users/jhogue/followers","following_url":"https://api.github.com/users/jhogue/following{/other_user}","gists_url":"https://api.github.com/users/jhogue/gists{/gist_id}","starred_url":"https://api.github.com/users/jhogue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhogue/subscriptions","organizations_url":"https://api.github.com/users/jhogue/orgs","repos_url":"https://api.github.com/users/jhogue/repos","events_url":"https://api.github.com/users/jhogue/events{/privacy}","received_events_url":"https://api.github.com/users/jhogue/received_events","type":"User","site_admin":false},"body":"First draft to solve Issue #1 ","created_at":"2016-03-08T16:22:16Z","updated_at":"2016-03-08T19:29:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b4f6119141732fdb48b217c37a68ca792f5df1e2","assignee":{"login":"nicholemaureen","id":10924562,"avatar_url":"https://avatars.githubusercontent.com/u/10924562?v=3","gravatar_id":"","url":"https://api.github.com/users/nicholemaureen","html_url":"https://github.com/nicholemaureen","followers_url":"https://api.github.com/users/nicholemaureen/followers","following_url":"https://api.github.com/users/nicholemaureen/following{/other_user}","gists_url":"https://api.github.com/users/nicholemaureen/gists{/gist_id}","starred_url":"https://api.github.com/users/nicholemaureen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicholemaureen/subscriptions","organizations_url":"https://api.github.com/users/nicholemaureen/orgs","repos_url":"https://api.github.com/users/nicholemaureen/repos","events_url":"https://api.github.com/users/nicholemaureen/events{/privacy}","received_events_url":"https://api.github.com/users/nicholemaureen/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/oomphinc/scss-scaffold/pulls/2/commits","review_comments_url":"https://api.github.com/repos/oomphinc/scss-scaffold/pulls/2/comments","review_comment_url":"https://api.github.com/repos/oomphinc/scss-scaffold/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oomphinc/scss-scaffold/issues/2/comments","statuses_url":"https://api.github.com/repos/oomphinc/scss-scaffold/statuses/062463588ed0f1dfc5e7652fa06f2e9144f38a01","head":{"label":"oomphinc:1-default-colors","ref":"1-default-colors","sha":"062463588ed0f1dfc5e7652fa06f2e9144f38a01","user":{"login":"oomphinc","id":5133840,"avatar_url":"https://avatars.githubusercontent.com/u/5133840?v=3","gravatar_id":"","url":"https://api.github.com/users/oomphinc","html_url":"https://github.com/oomphinc","followers_url":"https://api.github.com/users/oomphinc/followers","following_url":"https://api.github.com/users/oomphinc/following{/other_user}","gists_url":"https://api.github.com/users/oomphinc/gists{/gist_id}","starred_url":"https://api.github.com/users/oomphinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oomphinc/subscriptions","organizations_url":"https://api.github.com/users/oomphinc/orgs","repos_url":"https://api.github.com/users/oomphinc/repos","events_url":"https://api.github.com/users/oomphinc/events{/privacy}","received_events_url":"https://api.github.com/users/oomphinc/received_events","type":"Organization","site_admin":false},"repo":{"id":52898902,"name":"scss-scaffold","full_name":"oomphinc/scss-scaffold","owner":{"login":"oomphinc","id":5133840,"avatar_url":"https://avatars.githubusercontent.com/u/5133840?v=3","gravatar_id":"","url":"https://api.github.com/users/oomphinc","html_url":"https://github.com/oomphinc","followers_url":"https://api.github.com/users/oomphinc/followers","following_url":"https://api.github.com/users/oomphinc/following{/other_user}","gists_url":"https://api.github.com/users/oomphinc/gists{/gist_id}","starred_url":"https://api.github.com/users/oomphinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oomphinc/subscriptions","organizations_url":"https://api.github.com/users/oomphinc/orgs","repos_url":"https://api.github.com/users/oomphinc/repos","events_url":"https://api.github.com/users/oomphinc/events{/privacy}","received_events_url":"https://api.github.com/users/oomphinc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oomphinc/scss-scaffold","description":"","fork":false,"url":"https://api.github.com/repos/oomphinc/scss-scaffold","forks_url":"https://api.github.com/repos/oomphinc/scss-scaffold/forks","keys_url":"https://api.github.com/repos/oomphinc/scss-scaffold/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oomphinc/scss-scaffold/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oomphinc/scss-scaffold/teams","hooks_url":"https://api.github.com/repos/oomphinc/scss-scaffold/hooks","issue_events_url":"https://api.github.com/repos/oomphinc/scss-scaffold/issues/events{/number}","events_url":"https://api.github.com/repos/oomphinc/scss-scaffold/events","assignees_url":"https://api.github.com/repos/oomphinc/scss-scaffold/assignees{/user}","branches_url":"https://api.github.com/repos/oomphinc/scss-scaffold/branches{/branch}","tags_url":"https://api.github.com/repos/oomphinc/scss-scaffold/tags","blobs_url":"https://api.github.com/repos/oomphinc/scss-scaffold/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oomphinc/scss-scaffold/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oomphinc/scss-scaffold/git/refs{/sha}","trees_url":"https://api.github.com/repos/oomphinc/scss-scaffold/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oomphinc/scss-scaffold/statuses/{sha}","languages_url":"https://api.github.com/repos/oomphinc/scss-scaffold/languages","stargazers_url":"https://api.github.com/repos/oomphinc/scss-scaffold/stargazers","contributors_url":"https://api.github.com/repos/oomphinc/scss-scaffold/contributors","subscribers_url":"https://api.github.com/repos/oomphinc/scss-scaffold/subscribers","subscription_url":"https://api.github.com/repos/oomphinc/scss-scaffold/subscription","commits_url":"https://api.github.com/repos/oomphinc/scss-scaffold/commits{/sha}","git_commits_url":"https://api.github.com/repos/oomphinc/scss-scaffold/git/commits{/sha}","comments_url":"https://api.github.com/repos/oomphinc/scss-scaffold/comments{/number}","issue_comment_url":"https://api.github.com/repos/oomphinc/scss-scaffold/issues/comments{/number}","contents_url":"https://api.github.com/repos/oomphinc/scss-scaffold/contents/{+path}","compare_url":"https://api.github.com/repos/oomphinc/scss-scaffold/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oomphinc/scss-scaffold/merges","archive_url":"https://api.github.com/repos/oomphinc/scss-scaffold/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oomphinc/scss-scaffold/downloads","issues_url":"https://api.github.com/repos/oomphinc/scss-scaffold/issues{/number}","pulls_url":"https://api.github.com/repos/oomphinc/scss-scaffold/pulls{/number}","milestones_url":"https://api.github.com/repos/oomphinc/scss-scaffold/milestones{/number}","notifications_url":"https://api.github.com/repos/oomphinc/scss-scaffold/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oomphinc/scss-scaffold/labels{/name}","releases_url":"https://api.github.com/repos/oomphinc/scss-scaffold/releases{/id}","deployments_url":"https://api.github.com/repos/oomphinc/scss-scaffold/deployments","created_at":"2016-03-01T18:14:09Z","updated_at":"2016-03-05T01:21:20Z","pushed_at":"2016-03-08T17:17:06Z","git_url":"git://github.com/oomphinc/scss-scaffold.git","ssh_url":"git@github.com:oomphinc/scss-scaffold.git","clone_url":"https://github.com/oomphinc/scss-scaffold.git","svn_url":"https://github.com/oomphinc/scss-scaffold","homepage":null,"size":10,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"oomphinc:master","ref":"master","sha":"fed4ed54bb5ec9a63f4805d58c15725831beaccc","user":{"login":"oomphinc","id":5133840,"avatar_url":"https://avatars.githubusercontent.com/u/5133840?v=3","gravatar_id":"","url":"https://api.github.com/users/oomphinc","html_url":"https://github.com/oomphinc","followers_url":"https://api.github.com/users/oomphinc/followers","following_url":"https://api.github.com/users/oomphinc/following{/other_user}","gists_url":"https://api.github.com/users/oomphinc/gists{/gist_id}","starred_url":"https://api.github.com/users/oomphinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oomphinc/subscriptions","organizations_url":"https://api.github.com/users/oomphinc/orgs","repos_url":"https://api.github.com/users/oomphinc/repos","events_url":"https://api.github.com/users/oomphinc/events{/privacy}","received_events_url":"https://api.github.com/users/oomphinc/received_events","type":"Organization","site_admin":false},"repo":{"id":52898902,"name":"scss-scaffold","full_name":"oomphinc/scss-scaffold","owner":{"login":"oomphinc","id":5133840,"avatar_url":"https://avatars.githubusercontent.com/u/5133840?v=3","gravatar_id":"","url":"https://api.github.com/users/oomphinc","html_url":"https://github.com/oomphinc","followers_url":"https://api.github.com/users/oomphinc/followers","following_url":"https://api.github.com/users/oomphinc/following{/other_user}","gists_url":"https://api.github.com/users/oomphinc/gists{/gist_id}","starred_url":"https://api.github.com/users/oomphinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oomphinc/subscriptions","organizations_url":"https://api.github.com/users/oomphinc/orgs","repos_url":"https://api.github.com/users/oomphinc/repos","events_url":"https://api.github.com/users/oomphinc/events{/privacy}","received_events_url":"https://api.github.com/users/oomphinc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oomphinc/scss-scaffold","description":"","fork":false,"url":"https://api.github.com/repos/oomphinc/scss-scaffold","forks_url":"https://api.github.com/repos/oomphinc/scss-scaffold/forks","keys_url":"https://api.github.com/repos/oomphinc/scss-scaffold/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oomphinc/scss-scaffold/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oomphinc/scss-scaffold/teams","hooks_url":"https://api.github.com/repos/oomphinc/scss-scaffold/hooks","issue_events_url":"https://api.github.com/repos/oomphinc/scss-scaffold/issues/events{/number}","events_url":"https://api.github.com/repos/oomphinc/scss-scaffold/events","assignees_url":"https://api.github.com/repos/oomphinc/scss-scaffold/assignees{/user}","branches_url":"https://api.github.com/repos/oomphinc/scss-scaffold/branches{/branch}","tags_url":"https://api.github.com/repos/oomphinc/scss-scaffold/tags","blobs_url":"https://api.github.com/repos/oomphinc/scss-scaffold/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oomphinc/scss-scaffold/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oomphinc/scss-scaffold/git/refs{/sha}","trees_url":"https://api.github.com/repos/oomphinc/scss-scaffold/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oomphinc/scss-scaffold/statuses/{sha}","languages_url":"https://api.github.com/repos/oomphinc/scss-scaffold/languages","stargazers_url":"https://api.github.com/repos/oomphinc/scss-scaffold/stargazers","contributors_url":"https://api.github.com/repos/oomphinc/scss-scaffold/contributors","subscribers_url":"https://api.github.com/repos/oomphinc/scss-scaffold/subscribers","subscription_url":"https://api.github.com/repos/oomphinc/scss-scaffold/subscription","commits_url":"https://api.github.com/repos/oomphinc/scss-scaffold/commits{/sha}","git_commits_url":"https://api.github.com/repos/oomphinc/scss-scaffold/git/commits{/sha}","comments_url":"https://api.github.com/repos/oomphinc/scss-scaffold/comments{/number}","issue_comment_url":"https://api.github.com/repos/oomphinc/scss-scaffold/issues/comments{/number}","contents_url":"https://api.github.com/repos/oomphinc/scss-scaffold/contents/{+path}","compare_url":"https://api.github.com/repos/oomphinc/scss-scaffold/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oomphinc/scss-scaffold/merges","archive_url":"https://api.github.com/repos/oomphinc/scss-scaffold/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oomphinc/scss-scaffold/downloads","issues_url":"https://api.github.com/repos/oomphinc/scss-scaffold/issues{/number}","pulls_url":"https://api.github.com/repos/oomphinc/scss-scaffold/pulls{/number}","milestones_url":"https://api.github.com/repos/oomphinc/scss-scaffold/milestones{/number}","notifications_url":"https://api.github.com/repos/oomphinc/scss-scaffold/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oomphinc/scss-scaffold/labels{/name}","releases_url":"https://api.github.com/repos/oomphinc/scss-scaffold/releases{/id}","deployments_url":"https://api.github.com/repos/oomphinc/scss-scaffold/deployments","created_at":"2016-03-01T18:14:09Z","updated_at":"2016-03-05T01:21:20Z","pushed_at":"2016-03-08T17:17:06Z","git_url":"git://github.com/oomphinc/scss-scaffold.git","ssh_url":"git@github.com:oomphinc/scss-scaffold.git","clone_url":"https://github.com/oomphinc/scss-scaffold.git","svn_url":"https://github.com/oomphinc/scss-scaffold","homepage":null,"size":10,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oomphinc/scss-scaffold/pulls/2"},"html":{"href":"https://github.com/oomphinc/scss-scaffold/pull/2"},"issue":{"href":"https://api.github.com/repos/oomphinc/scss-scaffold/issues/2"},"comments":{"href":"https://api.github.com/repos/oomphinc/scss-scaffold/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/oomphinc/scss-scaffold/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/oomphinc/scss-scaffold/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oomphinc/scss-scaffold/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/oomphinc/scss-scaffold/statuses/062463588ed0f1dfc5e7652fa06f2e9144f38a01"}}}}