diff options
Diffstat (limited to 'recipes/revolt')
-rw-r--r-- | recipes/revolt/icon.svg | 18 | ||||
-rw-r--r-- | recipes/revolt/index.js | 1 | ||||
-rw-r--r-- | recipes/revolt/package.json | 9 | ||||
-rw-r--r-- | recipes/revolt/webview.js | 16 |
4 files changed, 44 insertions, 0 deletions
diff --git a/recipes/revolt/icon.svg b/recipes/revolt/icon.svg new file mode 100644 index 0000000..5a88c32 --- /dev/null +++ b/recipes/revolt/icon.svg | |||
@@ -0,0 +1,18 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <svg id="Layer_2" data-name="Layer 2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500"> | ||
3 | <defs> | ||
4 | <style> | ||
5 | .cls-1 { | ||
6 | fill: #ef4857; | ||
7 | } | ||
8 | |||
9 | .cls-2 { | ||
10 | fill: #111824; | ||
11 | } | ||
12 | </style> | ||
13 | </defs> | ||
14 | <g id="Layer_1-2" data-name="Layer 1"> | ||
15 | <rect class="cls-2" width="500" height="500" rx="85.21" ry="85.21"/> | ||
16 | <path class="cls-1" d="m174.84,273.26c0-29.35-.11-58.7.12-88.05.03-4.25-1.35-7.63-3.6-10.75-4.46-6.18-9.31-12.08-13.89-18.18-2.51-3.35-5.14-6.68-7.07-10.36-1.2-2.29-3.23-3.82-4.38-6.13-1.03-2.09-2.92-3.75-4.42-5.61-.28-.35-.5-.75-.75-1.12.49-.11.97-.31,1.46-.32,1.78-.04,3.56-.02,5.34-.02,43.77,0,87.54-.1,131.31.08,9.97.04,19.69,2.36,29.15,5.54,7.41,2.49,14.36,5.95,20.76,10.35,7.7,5.29,14.08,11.9,18.55,20.21,2.88,5.36,5.68,10.73,7.16,16.68.64,2.57,1.38,5.1,1.91,7.72,1.14,5.69.93,11.38.95,17.09.02,7.82-2.15,15.07-4.87,22.39-2.28,6.15-5.67,11.58-9.18,16.87-2.65,4-6.75,7.08-10.38,10.38-1.99,1.8-4.3,3.26-6.53,4.79-5.5,3.79-11.44,6.59-18.02,7.99-2.21.47-3.02,2.4-1.7,4.25,2.89,4.06,5.13,8.48,7.57,12.8,2.6,4.61,5.55,9.03,8.25,13.59,2.09,3.54,3.98,7.21,6.04,10.77,2.73,4.72,5.52,9.4,8.32,14.08,1.45,2.42,3.12,4.71,4.46,7.19,4.95,9.16,9.91,18.32,15.91,26.87.09.13.06.33.14.47q2.54,4.42-2.45,4.43c-19.22,0-38.43-.06-57.65.08-2.15.02-2.94-1.06-3.7-2.48-3.33-6.23-6.31-12.66-9.98-18.68-3.1-5.09-5.3-10.68-9.15-15.4-1.66-2.03-2.21-5.06-3.56-7.5-3.03-5.47-5.9-11.02-9.04-16.43-4.71-8.11-9.07-16.41-13.41-24.72-.61-1.17-1.32-2.32-2.16-3.34-.35-.42-1.15-.65-1.75-.65-3.9-.01-7.79.06-11.69.1-.13,3.66-.38,7.32-.38,10.97-.03,23.87-.02,47.74-.02,71.61,0,1.24-.03,2.48,0,3.71.04,1.71-1,2.44-2.49,2.69-.69.12-1.42.02-2.13.02-16.55,0-33.1,0-49.64,0-3.39,0-3.41-.02-3.41-3.28,0-29.35,0-58.7,0-88.05v-2.65Zm57.67-64.01c0,8.84.04,17.68-.04,26.52-.01,1.62.46,2.05,2.07,2.04,12.81-.06,25.62.04,38.43-.06,7.79-.06,14.16-3.65,19.92-8.52.54-.46,1.17-.91,1.49-1.51,2.87-5.28,4.7-10.94,5.34-16.88.53-4.93-.99-9.69-2.52-14.32-1.87-5.65-5.47-9.7-11.09-12.32-3.67-1.71-7.33-3.55-11.26-3.63-13.52-.27-27.04-.09-40.57-.13-1.36,0-1.82.34-1.81,1.75.06,9.02.03,18.03.03,27.05Z"/> | ||
17 | </g> | ||
18 | </svg> \ No newline at end of file | ||
diff --git a/recipes/revolt/index.js b/recipes/revolt/index.js new file mode 100644 index 0000000..dd41f72 --- /dev/null +++ b/recipes/revolt/index.js | |||
@@ -0,0 +1 @@ | |||
module.exports = Ferdium => Ferdium; | |||
diff --git a/recipes/revolt/package.json b/recipes/revolt/package.json new file mode 100644 index 0000000..1c28531 --- /dev/null +++ b/recipes/revolt/package.json | |||
@@ -0,0 +1,9 @@ | |||
1 | { | ||
2 | "id": "revolt", | ||
3 | "name": "Revolt", | ||
4 | "version": "1.0.0", | ||
5 | "license": "MIT", | ||
6 | "config": { | ||
7 | "serviceURL": "https://app.revolt.chat/" | ||
8 | } | ||
9 | } | ||
diff --git a/recipes/revolt/webview.js b/recipes/revolt/webview.js new file mode 100644 index 0000000..2a81dec --- /dev/null +++ b/recipes/revolt/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 | }; | ||