diff options
Diffstat (limited to 'recipes/romeo')
-rw-r--r-- | recipes/romeo/icon.svg | 20 | ||||
-rw-r--r-- | recipes/romeo/index.js | 1 | ||||
-rw-r--r-- | recipes/romeo/package.json | 10 | ||||
-rw-r--r-- | recipes/romeo/webview.js | 16 |
4 files changed, 47 insertions, 0 deletions
diff --git a/recipes/romeo/icon.svg b/recipes/romeo/icon.svg new file mode 100644 index 0000000..8b92cb1 --- /dev/null +++ b/recipes/romeo/icon.svg | |||
@@ -0,0 +1,20 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- Generator: Adobe Illustrator 28.3.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> | ||
3 | <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | ||
4 | viewBox="0 0 95.13 95.13" style="enable-background:new 0 0 95.13 95.13;" xml:space="preserve"> | ||
5 | <style type="text/css"> | ||
6 | .st0{fill:#00BDFF;} | ||
7 | .st1{fill:#ED1E79;} | ||
8 | .st2{fill:#6DDC00;} | ||
9 | </style> | ||
10 | <g> | ||
11 | <path class="st0" d="M85.79,8.94l-6.08,3.12c7.41,14.13,2.35,34.78-13.32,49.78C55.05,72.72,40.67,78.6,20.77,78.72v14.17 | ||
12 | c23.38,0,41.11-9.6,54.32-22.52C94.1,51.72,98.7,24.94,85.79,8.94z"/> | ||
13 | <circle class="st1" cx="11.71" cy="52.66" r="9.68"/> | ||
14 | <path class="st2" d="M44.53,37.89c5.84-5.72,6.75-14.11,2-18.73s-13.26-3.74-19.1,2s-6.74,14.11-2,18.73S38.7,43.62,44.53,37.89z" | ||
15 | /> | ||
16 | <path class="st0" d="M66.94,9.14c-11.2-10.97-33.42-8.65-47.93,5.58c-4.05,4-7.11,8.89-8.94,14.28h4.45 | ||
17 | c1.12-4.22,3.92-8.35,7.52-11.88C32.37,6.98,47.9,5.25,55.87,13.06s6.56,22.52-3.77,32.66c-6.19,6.08-14.44,9.19-21.42,9v12.57 | ||
18 | c11.23-0.54,21.92-4.95,30.26-12.48C75.88,41.02,78.13,20.11,66.94,9.14z"/> | ||
19 | </g> | ||
20 | </svg> | ||
diff --git a/recipes/romeo/index.js b/recipes/romeo/index.js new file mode 100644 index 0000000..dd41f72 --- /dev/null +++ b/recipes/romeo/index.js | |||
@@ -0,0 +1 @@ | |||
module.exports = Ferdium => Ferdium; | |||
diff --git a/recipes/romeo/package.json b/recipes/romeo/package.json new file mode 100644 index 0000000..9ab0cb9 --- /dev/null +++ b/recipes/romeo/package.json | |||
@@ -0,0 +1,10 @@ | |||
1 | { | ||
2 | "id": "romeo", | ||
3 | "name": "Romeo", | ||
4 | "version": "1.0.0", | ||
5 | "license": "MIT", | ||
6 | "config": { | ||
7 | "serviceURL": "http://romeo.com", | ||
8 | "hasNotificationSound": true | ||
9 | } | ||
10 | } | ||
diff --git a/recipes/romeo/webview.js b/recipes/romeo/webview.js new file mode 100644 index 0000000..2a81dec --- /dev/null +++ b/recipes/romeo/webview.js | |||
@@ -0,0 +1,16 @@ | |||
1 | function _interopRequireDefault(obj) { | ||
2 | return obj && obj.__esModule ? obj : { default: obj }; | ||
3 | } | ||
4 | |||
5 | const _path = _interopRequireDefault(require('path')); | ||
6 | |||
7 | module.exports = Ferdium => { | ||
8 | // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
9 | // const getMessages = () => { | ||
10 | // // TODO: Insert your notification-finding code here | ||
11 | // Ferdium.setBadge(0, 0); | ||
12 | // }; | ||
13 | // Ferdium.loop(getMessages); | ||
14 | |||
15 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
16 | }; | ||