{"action":"created","issue":{"url":"https://api.github.com/repos/alexis-jaksone/forecast-plus/issues/10","repository_url":"https://api.github.com/repos/alexis-jaksone/forecast-plus","labels_url":"https://api.github.com/repos/alexis-jaksone/forecast-plus/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/alexis-jaksone/forecast-plus/issues/10/comments","events_url":"https://api.github.com/repos/alexis-jaksone/forecast-plus/issues/10/events","html_url":"https://github.com/alexis-jaksone/forecast-plus/issues/10","id":148978848,"number":10,"title":"Suggestion: vary the badge background color by temperature","user":{"login":"malibuzios","id":17719551,"avatar_url":"https://avatars.githubusercontent.com/u/17719551?v=3","gravatar_id":"","url":"https://api.github.com/users/malibuzios","html_url":"https://github.com/malibuzios","followers_url":"https://api.github.com/users/malibuzios/followers","following_url":"https://api.github.com/users/malibuzios/following{/other_user}","gists_url":"https://api.github.com/users/malibuzios/gists{/gist_id}","starred_url":"https://api.github.com/users/malibuzios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malibuzios/subscriptions","organizations_url":"https://api.github.com/users/malibuzios/orgs","repos_url":"https://api.github.com/users/malibuzios/repos","events_url":"https://api.github.com/users/malibuzios/events{/privacy}","received_events_url":"https://api.github.com/users/malibuzios/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-17T18:20:44Z","updated_at":"2016-05-08T08:59:39Z","closed_at":"2016-05-08T06:23:51Z","body":"It is useful to have the current temperature visible but I it can be distracting at times, especially since it is positioned right next to my Gmail Notifier icon so I sometimes mistakenly read it as if I have many unread messages:\r\n\r\n![icons](https://cloud.githubusercontent.com/assets/17719551/14589044/392352ba-04e1-11e6-8f1a-88c8d0b07d26.png)\r\n\r\nThe red background highlights it very strongly, and this color is usually used with important notifications. If it was possible to use a different, perhaps more \"milder\" color, like, say light blue, then I it would be less distracting (it may also be useful to have an option to remove it entirely).\r\n\r\nI tried to make the change myself: I cloned the repository, added the needed dependencies to `package.json` and installed them but I couldn't get the Firefox add-on to build:\r\n\r\n```\r\nXPI creation failed: Error: The addon has no valid entry point. Either create an entry point\r\nat `./index.js`, or set the `main` property to a valid path in\r\nyour addon.\r\n```\r\nIn any case, in Firefox, changing the badge color should be simple (at least based on [the documentation](https://developer.mozilla.org/en-US/Add-ons/SDK/Low-Level_APIs/ui_button_toggle)):\r\n```ts\r\nbadgeColor: \"00BFFF\"\r\n```\r\n(the color I chose here is just an example, I can't really tell right now how well it will look without building the extension)\r\n\r\nI believe the position in the code should be about [here](https://github.com/alexis-jaksone/forecast-plus/blob/886700dea4797b26692c6bf41d6ddf794852a0e7/src/lib/firefox/firefox.js#L24), at least for Firefox, which is what I use most frequently. I haven't investigated how to do this for other browsers."},"comment":{"url":"https://api.github.com/repos/alexis-jaksone/forecast-plus/issues/comments/217704538","html_url":"https://github.com/alexis-jaksone/forecast-plus/issues/10#issuecomment-217704538","issue_url":"https://api.github.com/repos/alexis-jaksone/forecast-plus/issues/10","id":217704538,"user":{"login":"alexis-jaksone","id":12896263,"avatar_url":"https://avatars.githubusercontent.com/u/12896263?v=3","gravatar_id":"","url":"https://api.github.com/users/alexis-jaksone","html_url":"https://github.com/alexis-jaksone","followers_url":"https://api.github.com/users/alexis-jaksone/followers","following_url":"https://api.github.com/users/alexis-jaksone/following{/other_user}","gists_url":"https://api.github.com/users/alexis-jaksone/gists{/gist_id}","starred_url":"https://api.github.com/users/alexis-jaksone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexis-jaksone/subscriptions","organizations_url":"https://api.github.com/users/alexis-jaksone/orgs","repos_url":"https://api.github.com/users/alexis-jaksone/repos","events_url":"https://api.github.com/users/alexis-jaksone/events{/privacy}","received_events_url":"https://api.github.com/users/alexis-jaksone/received_events","type":"User","site_admin":false},"created_at":"2016-05-08T08:59:39Z","updated_at":"2016-05-08T08:59:39Z","body":"If you come-up with a method to generate dynamic coloring I'll be more than happy to add it into this extension. For now get the Chrome version and work on it.\r\n\r\nhttps://github.com/alexis-jaksone/forecast-plus/blob/master/builds/packed/chrome.zip\r\n\r\nP.S: To have cross borwser compatibility, please try to generate HEX codes rather than rgb or rgba."}}