aboutsummaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
authorLibravatar stephane-oslo <87529262+stephane-oslo@users.noreply.github.com>2023-12-13 15:49:17 +0100
committerLibravatar GitHub <noreply@github.com>2023-12-13 07:49:17 -0700
commitfd5dcf9d6be10927cdaf94bef7cbaa1ddd22ad0a (patch)
tree2eb532ade526f3b869a1f068128ed0ba94defc1d /recipes
parentFix indirect notifications badge for GitHub (#476) (diff)
downloadferdium-recipes-fd5dcf9d6be10927cdaf94bef7cbaa1ddd22ad0a.tar.gz
ferdium-recipes-fd5dcf9d6be10927cdaf94bef7cbaa1ddd22ad0a.tar.zst
ferdium-recipes-fd5dcf9d6be10927cdaf94bef7cbaa1ddd22ad0a.zip
Add Diagrams.net service recipe (#477)
Diffstat (limited to 'recipes')
-rw-r--r--recipes/diagrams/icon.svg17
-rw-r--r--recipes/diagrams/index.js1
-rw-r--r--recipes/diagrams/package.json9
-rw-r--r--recipes/diagrams/webview.js9
4 files changed, 36 insertions, 0 deletions
diff --git a/recipes/diagrams/icon.svg b/recipes/diagrams/icon.svg
new file mode 100644
index 0000000..e30a4f6
--- /dev/null
+++ b/recipes/diagrams/icon.svg
@@ -0,0 +1,17 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 161.6 161.6" style="enable-background:new 0 0 161.6 161.6;" xml:space="preserve">
4<style type="text/css">
5 .st0{fill:#F08705;}
6 .st1{fill:#DF6C0C;}
7 .st2{fill:#FFFFFF;}
8 .st3{fill:#333333;}
9</style>
10<g>
11 <path class="st0" d="M161.6,154.7c0,3.9-3.2,6.9-6.9,6.9H6.9c-3.9,0-6.9-3.2-6.9-6.9V6.9C0,3,3.2,0,6.9,0h147.8 c3.9,0,6.9,3.2,6.9,6.9L161.6,154.7L161.6,154.7z"/>
12 <g>
13 <path class="st1" d="M161.6,154.7c0,3.9-3.2,6.9-6.9,6.9H55.3l-32.2-32.7l20-32.7l59.4-73.8l58.9,60.7L161.6,154.7z"/>
14 </g>
15 <path class="st2" d="M132.7,90.3h-17l-18-30.6c4-0.8,7-4.4,7-8.6V28c0-4.9-3.9-8.8-8.8-8.8h-30c-4.9,0-8.8,3.9-8.8,8.8v23.1 c0,4.3,3,7.8,6.9,8.6L46,90.4H29c-4.9,0-8.8,3.9-8.8,8.8v23.1c0,4.9,3.9,8.8,8.8,8.8h30c4.9,0,8.8-3.9,8.8-8.8V99.2 c0-4.9-3.9-8.8-8.8-8.8h-2.9L73.9,60h13.9l17.9,30.4h-3c-4.9,0-8.8,3.9-8.8,8.8v23.1c0,4.9,3.9,8.8,8.8,8.8h30 c4.9,0,8.8-3.9,8.8-8.8V99.2C141.5,94.3,137.6,90.3,132.7,90.3z"/>
16</g>
17</svg> \ No newline at end of file
diff --git a/recipes/diagrams/index.js b/recipes/diagrams/index.js
new file mode 100644
index 0000000..dd41f72
--- /dev/null
+++ b/recipes/diagrams/index.js
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
diff --git a/recipes/diagrams/package.json b/recipes/diagrams/package.json
new file mode 100644
index 0000000..323c799
--- /dev/null
+++ b/recipes/diagrams/package.json
@@ -0,0 +1,9 @@
1{
2 "id": "diagrams",
3 "name": "Diagrams",
4 "version": "1.0.0",
5 "license": "MIT",
6 "config": {
7 "serviceURL": "https://app.diagrams.net/"
8 }
9}
diff --git a/recipes/diagrams/webview.js b/recipes/diagrams/webview.js
new file mode 100644
index 0000000..1119219
--- /dev/null
+++ b/recipes/diagrams/webview.js
@@ -0,0 +1,9 @@
1function _interopRequireDefault(obj) {
2 return obj && obj.__esModule ? obj : { default: obj };
3}
4
5const _path = _interopRequireDefault(require('path'));
6
7module.exports = Ferdium => {
8 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
9};