{"action":"created","issue":{"url":"https://api.github.com/repos/pukkamustard/elm-identicon/issues/4","repository_url":"https://api.github.com/repos/pukkamustard/elm-identicon","labels_url":"https://api.github.com/repos/pukkamustard/elm-identicon/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/pukkamustard/elm-identicon/issues/4/comments","events_url":"https://api.github.com/repos/pukkamustard/elm-identicon/issues/4/events","html_url":"https://github.com/pukkamustard/elm-identicon/issues/4","id":199407480,"number":4,"title":"Color Override","user":{"login":"toastal","id":561087,"avatar_url":"https://avatars.githubusercontent.com/u/561087?v=3","gravatar_id":"","url":"https://api.github.com/users/toastal","html_url":"https://github.com/toastal","followers_url":"https://api.github.com/users/toastal/followers","following_url":"https://api.github.com/users/toastal/following{/other_user}","gists_url":"https://api.github.com/users/toastal/gists{/gist_id}","starred_url":"https://api.github.com/users/toastal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toastal/subscriptions","organizations_url":"https://api.github.com/users/toastal/orgs","repos_url":"https://api.github.com/users/toastal/repos","events_url":"https://api.github.com/users/toastal/events{/privacy}","received_events_url":"https://api.github.com/users/toastal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-08T07:12:28Z","updated_at":"2017-01-09T04:40:38Z","closed_at":null,"body":"I know Identicons generate their own colors by default, but it would be nice to have a version where I could pass in either a `Color` or a `String` to override that. If that's okay and you don't have time, I can even do the code/PR.\r\n\r\nSide note:\r\nhttps://github.com/pukkamustard/elm-identicon/blob/master/src/Identicon.elm#L31-L32 could be `List.range 0 14`."},"comment":{"url":"https://api.github.com/repos/pukkamustard/elm-identicon/issues/comments/271210402","html_url":"https://github.com/pukkamustard/elm-identicon/issues/4#issuecomment-271210402","issue_url":"https://api.github.com/repos/pukkamustard/elm-identicon/issues/4","id":271210402,"user":{"login":"pukkamustard","id":7925125,"avatar_url":"https://avatars.githubusercontent.com/u/7925125?v=3","gravatar_id":"","url":"https://api.github.com/users/pukkamustard","html_url":"https://github.com/pukkamustard","followers_url":"https://api.github.com/users/pukkamustard/followers","following_url":"https://api.github.com/users/pukkamustard/following{/other_user}","gists_url":"https://api.github.com/users/pukkamustard/gists{/gist_id}","starred_url":"https://api.github.com/users/pukkamustard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pukkamustard/subscriptions","organizations_url":"https://api.github.com/users/pukkamustard/orgs","repos_url":"https://api.github.com/users/pukkamustard/repos","events_url":"https://api.github.com/users/pukkamustard/events{/privacy}","received_events_url":"https://api.github.com/users/pukkamustard/received_events","type":"User","site_admin":false},"created_at":"2017-01-09T04:40:38Z","updated_at":"2017-01-09T04:40:38Z","body":"Yes, sure.\r\n\r\nHow about a function `custom`:\r\n```\r\ncustom : (String -> Int) -> (String -> Color) -> String -> H.Html msg\r\n```\r\n\r\nsuch that `identicon` is:\r\n```\r\nidenticon =\r\n    custom computeHash identicolor\r\n```\r\n\r\nIn order to use the same hash `computeHash` needs to be exported. Maybe rename it `defaultHash`? Then also rename `identicolor` to `defaultColor`?\r\n\r\nCould you do the code/PR?"}}
{"actor":{"display_login":"pukkamustard"}}