aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/whimsical
diff options
context:
space:
mode:
authorLibravatar André Oliveira <37463445+SpecialAro@users.noreply.github.com>2023-01-19 22:50:09 +0000
committerLibravatar GitHub <noreply@github.com>2023-01-19 22:50:09 +0000
commit6a12a29e1224939aa115a14715a4415e14b0b389 (patch)
treeac0d61fcde02e061d833a8ce9986417d2a092dab /recipes/whimsical
parentfix: add mastodon hosted option and remove teamId (diff)
downloadferdium-recipes-6a12a29e1224939aa115a14715a4415e14b0b389.tar.gz
ferdium-recipes-6a12a29e1224939aa115a14715a4415e14b0b389.tar.zst
ferdium-recipes-6a12a29e1224939aa115a14715a4415e14b0b389.zip
feat: add several recipes (#293)
Diffstat (limited to 'recipes/whimsical')
-rw-r--r--recipes/whimsical/icon.svg18
-rw-r--r--recipes/whimsical/index.js1
-rw-r--r--recipes/whimsical/package.json9
-rw-r--r--recipes/whimsical/webview.js9
4 files changed, 37 insertions, 0 deletions
diff --git a/recipes/whimsical/icon.svg b/recipes/whimsical/icon.svg
new file mode 100644
index 0000000..89187f1
--- /dev/null
+++ b/recipes/whimsical/icon.svg
@@ -0,0 +1,18 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Generator: Adobe Illustrator 27.1.1, 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 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve">
5<style type="text/css">
6 .st0{fill:#9187F6;}
7 .st1{fill:#8313DD;}
8</style>
9<g>
10 <path class="st0" d="M68.2,28.9c3-2.5,7.1-2.5,10.1,0.5c7.1,7.1,14.7,14.7,21.8,21.8L89.5,62.4L75.8,48.7c-1.5-1.5-3.6-1.5-5.6-0.5
11 c0,0,0,0-0.5,0.5c-16.2,15.7-32,32-48.2,48.2c-1.5,1.5-2,4.1-0.5,5.6l0.5,0.5c15.2,15.2,30.4,30.4,45.7,45.7c1,1.5,2.5,2.5,4.1,3.6
12 c1.5,0.5,3.6,0,4.6-1L89,138l10.7,11.2l-20.3,20.3c-1.5,1.5-3,2.5-4.6,3.6c-3,1-6.1,0-8.1-2c-21.3-21.3-43.1-43.1-64.4-64.4
13 c-3-3-3-8.1,0-11.2l0,0C24.6,72.5,46.4,50.7,68.2,28.9L68.2,28.9z"/>
14 <path class="st1" d="M122,28.9c3-3,8.1-3,11.2,0l0,0l64.4,64.4c2,2,3,5.1,2,8.1c-1,2-2.5,3.6-4.1,5.1l-60.4,60.9
15 c-1.5,1.5-3,3-5.1,4.1c-3,1-6.1,0-8.1-2l-21.8-21.3l-10.7-10.7L57.1,105c-3-3-3-8.1,0-10.7l0,0l32-32l11.2-11.2
16 C107.3,43.6,114.9,36.5,122,28.9L122,28.9z"/>
17</g>
18</svg>
diff --git a/recipes/whimsical/index.js b/recipes/whimsical/index.js
new file mode 100644
index 0000000..8d0db57
--- /dev/null
+++ b/recipes/whimsical/index.js
@@ -0,0 +1 @@
module.exports = Ferdium => class Whimsical extends Ferdium {};
diff --git a/recipes/whimsical/package.json b/recipes/whimsical/package.json
new file mode 100644
index 0000000..26ac80d
--- /dev/null
+++ b/recipes/whimsical/package.json
@@ -0,0 +1,9 @@
1{
2 "id": "whimsical",
3 "name": "Whimsical",
4 "version": "1.0.0",
5 "license": "MIT",
6 "config": {
7 "serviceURL": "https://whimsical.com/"
8 }
9}
diff --git a/recipes/whimsical/webview.js b/recipes/whimsical/webview.js
new file mode 100644
index 0000000..56a20b6
--- /dev/null
+++ b/recipes/whimsical/webview.js
@@ -0,0 +1,9 @@
1const _path = _interopRequireDefault(require('path'));
2
3function _interopRequireDefault(obj) {
4 return obj && obj.__esModule ? obj : { default: obj };
5}
6
7module.exports = Ferdium => {
8 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
9};