aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/temp-mail
diff options
context:
space:
mode:
authorLibravatar André Oliveira <37463445+SpecialAro@users.noreply.github.com>2023-10-19 01:23:01 +0100
committerLibravatar GitHub <noreply@github.com>2023-10-19 01:23:01 +0100
commit5438c4606943d02c3286af727d3b483a9a290768 (patch)
treed497f332ed74b38c0e190e35eef1faa7ac42ba10 /recipes/temp-mail
parentInstagram fix (#1403) (#443) (diff)
downloadferdium-recipes-5438c4606943d02c3286af727d3b483a9a290768.tar.gz
ferdium-recipes-5438c4606943d02c3286af727d3b483a9a290768.tar.zst
ferdium-recipes-5438c4606943d02c3286af727d3b483a9a290768.zip
Add multiple recipes (#444)
Diffstat (limited to 'recipes/temp-mail')
-rw-r--r--recipes/temp-mail/icon.svg18
-rw-r--r--recipes/temp-mail/index.js1
-rw-r--r--recipes/temp-mail/package.json9
-rw-r--r--recipes/temp-mail/webview.js16
4 files changed, 44 insertions, 0 deletions
diff --git a/recipes/temp-mail/icon.svg b/recipes/temp-mail/icon.svg
new file mode 100644
index 0000000..9db9021
--- /dev/null
+++ b/recipes/temp-mail/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: #20232a;
7 }
8
9 .cls-2 {
10 fill: #35ba95;
11 }
12 </style>
13 </defs>
14 <g id="Layer_1-2" data-name="Layer 1">
15 <rect class="cls-1" width="500" height="500" rx="85.21" ry="85.21"/>
16 <path class="cls-2" d="m363.38,134.87c-35.4,39.87-63.2,74.85-95.47,105.07-8.57,8.03-32.44,5.7-46.49.54-21.52-7.9-40.61-22.4-64.98-28.45,9.72,43.21,49.67,54.73,80.63,71.94,10.16,5.65,37.51-8.23,50.04-20.36,35.13-34.01,66.62-71.76,110.08-119.63,8.37,67.29,16.18,119.91,19.92,172.81.48,6.73-19.51,19.87-31.31,21.7-80.48,12.49-161.29,22.9-242.04,33.61-23.14,3.07-40.58-1.32-43.69-30.22-4.94-45.99-15.02-91.59-17.15-137.62-.71-15.34,14.17-43.28,25.6-45.36,75.33-13.74,151.64-22.15,227.7-31.74,5.39-.68,11.33,3.05,27.17,7.72Z"/>
17 </g>
18</svg> \ No newline at end of file
diff --git a/recipes/temp-mail/index.js b/recipes/temp-mail/index.js
new file mode 100644
index 0000000..dd41f72
--- /dev/null
+++ b/recipes/temp-mail/index.js
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
diff --git a/recipes/temp-mail/package.json b/recipes/temp-mail/package.json
new file mode 100644
index 0000000..2d880f3
--- /dev/null
+++ b/recipes/temp-mail/package.json
@@ -0,0 +1,9 @@
1{
2 "id": "temp-mail",
3 "name": "Temp Mail",
4 "version": "1.0.0",
5 "license": "MIT",
6 "config": {
7 "serviceURL": "https://temp-mail.org/"
8 }
9}
diff --git a/recipes/temp-mail/webview.js b/recipes/temp-mail/webview.js
new file mode 100644
index 0000000..2a81dec
--- /dev/null
+++ b/recipes/temp-mail/webview.js
@@ -0,0 +1,16 @@
1function _interopRequireDefault(obj) {
2 return obj && obj.__esModule ? obj : { default: obj };
3}
4
5const _path = _interopRequireDefault(require('path'));
6
7module.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};