Skip to content

Commit

Permalink
Fix background color on dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
adlk committed Apr 23, 2019
1 parent 834f4b3 commit 22aa0a4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "zendesk",
"name": "zendesk",
"version": "1.0.0",
"version": "1.0.2",
"description": "Zendesk",
"main": "index.js",
"author": "Stefan Malzner <stefan@adlk.io>",
Expand Down
3 changes: 3 additions & 0 deletions service.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
html, body {
background: #FFF !important;
}
4 changes: 4 additions & 0 deletions webview.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import path from 'path';

module.exports = (Franz) => {
const getMessages = () => {
let count = 0;
Expand All @@ -10,4 +12,6 @@ module.exports = (Franz) => {
Franz.setBadge(count);
};
Franz.loop(getMessages);

Franz.injectCSS(path.join(__dirname, 'service.css'));
};

0 comments on commit 22aa0a4

Please sign in to comment.