aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/pixelfed
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/pixelfed
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/pixelfed')
-rw-r--r--recipes/pixelfed/icon.svg25
-rw-r--r--recipes/pixelfed/index.js1
-rw-r--r--recipes/pixelfed/package.json9
-rw-r--r--recipes/pixelfed/webview.js9
4 files changed, 44 insertions, 0 deletions
diff --git a/recipes/pixelfed/icon.svg b/recipes/pixelfed/icon.svg
new file mode 100644
index 0000000..49b7ebd
--- /dev/null
+++ b/recipes/pixelfed/icon.svg
@@ -0,0 +1,25 @@
1<?xml version="1.0" encoding="utf-8"?>
2 <!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
3<svg xmlns="http://www.w3.org/2000/svg"
4aria-label="Pixelfed" role="img"
5viewBox="0 0 512 512">
6 <rect
7width="512" height="512"
8rx="15%"
9fill="#ffffff"/>
10 <g fill="#f72">
11 <path id="a" d="M254 256c32-42 23-102-20-134s-108-15-140 27l11-19c52-63 143-89 210-58 50 17 78 72 62 123s-72 78-123 61"/>
12 </g>
13 <use href="#a" transform="rotate(72 256 256)" fill="#1c3"/>
14 <use href="#a" transform="rotate(144 256 256)" fill="#08f"/>
15 <use href="#a" transform="rotate(216 256 256)" fill="#a3c"/>
16 <use href="#a" transform="rotate(288 256 256)" fill="#e15"/>
17 <path d="M101 142l1-1c32-42 93-51 135-19s50 91 18 133a96 96 0 00-15-17 84 84 0 00-117-115 87 87 0 00-22 19z" opacity=".3" id="b"/>
18 <g id="c">
19 <use href="#b" transform="rotate(72 256 256)"/>
20 <use href="#b" transform="rotate(144 256 256)"/>
21 </g>
22 <use href="#c" transform="rotate(144 256 256)"/>
23 <path d="M241 297h35c33 0 60-26 60-58s-27-58-60-58h-51a34 34 0 00-34 33v131z" fill="#ffffff"/>
24 <circle cx="256" cy="256" r="196" fill="none" stroke="#ffffff" stroke-width="8"/>
25 </svg> \ No newline at end of file
diff --git a/recipes/pixelfed/index.js b/recipes/pixelfed/index.js
new file mode 100644
index 0000000..fb2f9bf
--- /dev/null
+++ b/recipes/pixelfed/index.js
@@ -0,0 +1 @@
module.exports = Ferdium => class Pixelfed extends Ferdium {};
diff --git a/recipes/pixelfed/package.json b/recipes/pixelfed/package.json
new file mode 100644
index 0000000..1c89fea
--- /dev/null
+++ b/recipes/pixelfed/package.json
@@ -0,0 +1,9 @@
1{
2 "id": "pixelfed",
3 "name": "Pixelfed",
4 "version": "1.0.0",
5 "license": "MIT",
6 "config": {
7 "serviceURL": "https://pixelfed.social"
8 }
9}
diff --git a/recipes/pixelfed/webview.js b/recipes/pixelfed/webview.js
new file mode 100644
index 0000000..56a20b6
--- /dev/null
+++ b/recipes/pixelfed/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};