aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Calvin Young <calvinwyoung@gmail.com>2022-10-08 15:00:18 -0700
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2022-10-09 07:18:43 +0530
commit33d92b9c63c055e78e877052dc29ce0a7b4e4651 (patch)
tree7d55a3db393a422378e8cac24ff00204f335dcc6
parentAllow custom recipe to trapLinks and open them within Ferdium (diff)
downloadferdium-recipes-33d92b9c63c055e78e877052dc29ce0a7b4e4651.tar.gz
ferdium-recipes-33d92b9c63c055e78e877052dc29ce0a7b4e4651.tar.zst
ferdium-recipes-33d92b9c63c055e78e877052dc29ce0a7b4e4651.zip
Add new recipe for Linear
-rw-r--r--recipes/linear/icon.svg6
-rw-r--r--recipes/linear/index.js1
-rw-r--r--recipes/linear/package.json9
-rw-r--r--recipes/linear/webview.js9
4 files changed, 25 insertions, 0 deletions
diff --git a/recipes/linear/icon.svg b/recipes/linear/icon.svg
new file mode 100644
index 0000000..0d9e2a4
--- /dev/null
+++ b/recipes/linear/icon.svg
@@ -0,0 +1,6 @@
1<svg width="150" height="150" viewBox="0 0 150 150" fill="none" xmlns="http://www.w3.org/2000/svg">
2<path d="M123.974 131.918C125.354 130.725 126.7 129.473 128.011 128.163C157.33 98.8438 157.33 51.3083 128.011 21.9893C98.6917 -7.32975 51.1562 -7.32975 21.8372 21.9893C20.5268 23.2997 19.275 24.6464 18.0817 26.0263L123.974 131.918Z" fill="#5E6AD2"/>
3<path d="M115.031 138.561L11.4394 34.9691C9.36173 38.2511 7.56337 41.6591 6.04431 45.1591L104.841 143.956C108.341 142.437 111.749 140.638 115.031 138.561Z" fill="#5E6AD2"/>
4<path d="M93.2043 147.904L2.09574 56.7957C0.986981 61.2308 0.2884 65.7473 0 70.2851L79.715 150C84.2527 149.712 88.7693 149.013 93.2043 147.904Z" fill="#5E6AD2"/>
5<path d="M63.3969 149.267L0.732938 86.6031C3.08389 101.816 10.1186 116.444 21.8372 128.163C33.5557 139.881 48.1844 146.916 63.3969 149.267Z" fill="#5E6AD2"/>
6</svg>
diff --git a/recipes/linear/index.js b/recipes/linear/index.js
new file mode 100644
index 0000000..244fe33
--- /dev/null
+++ b/recipes/linear/index.js
@@ -0,0 +1 @@
module.exports = (Ferdium) => Ferdium;
diff --git a/recipes/linear/package.json b/recipes/linear/package.json
new file mode 100644
index 0000000..da57697
--- /dev/null
+++ b/recipes/linear/package.json
@@ -0,0 +1,9 @@
1{
2 "id": "linear",
3 "name": "Linear",
4 "version": "1.0.0",
5 "license": "MIT",
6 "config": {
7 "serviceURL": "https://linear.app"
8 }
9}
diff --git a/recipes/linear/webview.js b/recipes/linear/webview.js
new file mode 100644
index 0000000..63ff9c4
--- /dev/null
+++ b/recipes/linear/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};