{"action":"created","issue":{"url":"https://api.github.com/repos/auth0/react-native-lock/issues/14","repository_url":"https://api.github.com/repos/auth0/react-native-lock","labels_url":"https://api.github.com/repos/auth0/react-native-lock/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/auth0/react-native-lock/issues/14/comments","events_url":"https://api.github.com/repos/auth0/react-native-lock/issues/14/events","html_url":"https://github.com/auth0/react-native-lock/pull/14","id":131733601,"number":14,"title":"adding customizeTheme method","user":{"login":"machadogj","id":671212,"avatar_url":"https://avatars.githubusercontent.com/u/671212?v=3","gravatar_id":"","url":"https://api.github.com/users/machadogj","html_url":"https://github.com/machadogj","followers_url":"https://api.github.com/users/machadogj/followers","following_url":"https://api.github.com/users/machadogj/following{/other_user}","gists_url":"https://api.github.com/users/machadogj/gists{/gist_id}","starred_url":"https://api.github.com/users/machadogj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machadogj/subscriptions","organizations_url":"https://api.github.com/users/machadogj/orgs","repos_url":"https://api.github.com/users/machadogj/repos","events_url":"https://api.github.com/users/machadogj/events{/privacy}","received_events_url":"https://api.github.com/users/machadogj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-02-05T19:33:24Z","updated_at":"2016-07-08T13:56:24Z","closed_at":"2016-06-14T00:43:58Z","pull_request":{"url":"https://api.github.com/repos/auth0/react-native-lock/pulls/14","html_url":"https://github.com/auth0/react-native-lock/pull/14","diff_url":"https://github.com/auth0/react-native-lock/pull/14.diff","patch_url":"https://github.com/auth0/react-native-lock/pull/14.patch"},"body":"Before doing `lock.show()` I do something like:\r\n````\r\n  lock.customizeTheme({\r\n    A0ThemePrimaryButtonNormalColor: \"#009DEB\",\r\n    A0ThemePrimaryButtonFont: font,\r\n    A0ThemeSecondaryButtonTextColor: \"#ffffff\",\r\n    A0ThemeSecondaryButtonFont: font,\r\n    A0ThemeTextFieldTextColor: \"#ffffff\",\r\n    A0ThemeTextFieldPlaceholderTextColor: \"#ffffff\",\r\n    A0ThemeTextFieldIconColor: \"#ffffff\",\r\n    A0ThemeTextFieldFont: font,\r\n    A0ThemeTitleTextColor: \"#ffffff\",\r\n    A0ThemeTitleFont: font,\r\n    A0ThemeDescriptionTextColor: \"#ffffff\",\r\n    A0ThemeDescriptionFont: font,\r\n    A0ThemeSeparatorTextColor: \"#ffffff\",\r\n    A0ThemeSeparatorTextFont: font,\r\n    A0ThemeScreenBackgroundImageName: \"backgroundImage\",\r\n    A0ThemeIconImageName: \"papaLogo\",\r\n    A0ThemeCredentialBoxBorderColor: \"\", //transparent\r\n  });\r\n````\r\nWorks for me, hope it helps!"},"comment":{"url":"https://api.github.com/repos/auth0/react-native-lock/issues/comments/231365811","html_url":"https://github.com/auth0/react-native-lock/pull/14#issuecomment-231365811","issue_url":"https://api.github.com/repos/auth0/react-native-lock/issues/14","id":231365811,"user":{"login":"jhabdas","id":440298,"avatar_url":"https://avatars.githubusercontent.com/u/440298?v=3","gravatar_id":"","url":"https://api.github.com/users/jhabdas","html_url":"https://github.com/jhabdas","followers_url":"https://api.github.com/users/jhabdas/followers","following_url":"https://api.github.com/users/jhabdas/following{/other_user}","gists_url":"https://api.github.com/users/jhabdas/gists{/gist_id}","starred_url":"https://api.github.com/users/jhabdas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhabdas/subscriptions","organizations_url":"https://api.github.com/users/jhabdas/orgs","repos_url":"https://api.github.com/users/jhabdas/repos","events_url":"https://api.github.com/users/jhabdas/events{/privacy}","received_events_url":"https://api.github.com/users/jhabdas/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T13:56:24Z","updated_at":"2016-07-08T13:56:24Z","body":"@hzalaz Would you consider creating a branch in this repo with these changes to [prevent further forks](https://github.com/futurice/pepperoni-app-kit/issues/71)? While I understand customization in this manner isn't something you'd prefer not having it is resulting in popular libraries creating forks and getting behind as shown in the linked above. Thoughts?"}}
{"actor":{"display_login":"jhabdas"}}