diff options
Diffstat (limited to 'uncompressed/franz-custom-website')
-rw-r--r-- | uncompressed/franz-custom-website/package.json | 2 | ||||
-rw-r--r-- | uncompressed/franz-custom-website/style.css | 3 | ||||
-rw-r--r-- | uncompressed/franz-custom-website/webview.js | 6 |
3 files changed, 9 insertions, 2 deletions
diff --git a/uncompressed/franz-custom-website/package.json b/uncompressed/franz-custom-website/package.json index bfa43b9..6c40697 100644 --- a/uncompressed/franz-custom-website/package.json +++ b/uncompressed/franz-custom-website/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "franz-custom-website", | 2 | "id": "franz-custom-website", |
3 | "name": "Custom Website", | 3 | "name": "Custom Website", |
4 | "version": "1.0.0", | 4 | "version": "1.0.1", |
5 | "description": "Add a custom website to Franz", | 5 | "description": "Add a custom website to Franz", |
6 | "main": "index.js", | 6 | "main": "index.js", |
7 | "author": "Stefan Malzner <stefan@adlk.io>", | 7 | "author": "Stefan Malzner <stefan@adlk.io>", |
diff --git a/uncompressed/franz-custom-website/style.css b/uncompressed/franz-custom-website/style.css new file mode 100644 index 0000000..f2760a9 --- /dev/null +++ b/uncompressed/franz-custom-website/style.css | |||
@@ -0,0 +1,3 @@ | |||
1 | html { | ||
2 | background: #FFFFFF; | ||
3 | } \ No newline at end of file | ||
diff --git a/uncompressed/franz-custom-website/webview.js b/uncompressed/franz-custom-website/webview.js index 17661d7..ed1c3a6 100644 --- a/uncompressed/franz-custom-website/webview.js +++ b/uncompressed/franz-custom-website/webview.js | |||
@@ -1,3 +1,7 @@ | |||
1 | "use strict"; | 1 | "use strict"; |
2 | 2 | ||
3 | module.exports = () => {}; \ No newline at end of file | 3 | const path = require('path'); |
4 | |||
5 | module.exports = Franz => { | ||
6 | Franz.injectCSS(path.join(__dirname, 'style.css')); | ||
7 | }; \ No newline at end of file | ||