From 0a8757014715ae9a5de899992f8d5c4e91deeba1 Mon Sep 17 00:00:00 2001 From: Shubh Porwal Date: Tue, 24 Sep 2024 16:09:26 +0300 Subject: [PATCH 1/2] feat(port): raycast --- packages/raycast/README.md | 71 +++++++++++++++++++++ packages/raycast/aura-theme.json | 21 ++++++ src/ports/raycast/index.ts | 27 ++++++++ src/ports/raycast/templates/README.md | 47 ++++++++++++++ src/ports/raycast/templates/aura-theme.json | 21 ++++++ 5 files changed, 187 insertions(+) create mode 100644 packages/raycast/README.md create mode 100644 packages/raycast/aura-theme.json create mode 100644 src/ports/raycast/index.ts create mode 100644 src/ports/raycast/templates/README.md create mode 100644 src/ports/raycast/templates/aura-theme.json diff --git a/packages/raycast/README.md b/packages/raycast/README.md new file mode 100644 index 0000000..5196ac2 --- /dev/null +++ b/packages/raycast/README.md @@ -0,0 +1,71 @@ +

+ Aura Theme +

+ +

+✨ A beautiful dark theme for Raycast and other apps +

+ + + + patreon url + + + + + version + +

+ + + +

+ preview +

+ +# Themes available + +- Aura + +# Prerequisites + +- Raycast Pro subscription + +# Installation + +1. Visit [https://ray.so/themes/](https://ray.so/themes/) +2. Find the Aura theme in the list of available themes. +3. Click the "Add to Raycast" button next to the Aura theme. +4. Raycast will open with an alert to install the theme. +5. Once installed, select the Aura theme to apply it to Raycast. + +# Contributors + + + + + + + + + + + + + + + +
+

+ + + +

+

+ + + +

Shubh PorwalDalton Menezes
+ +# License +[MIT © Dalton Menezes](https://github.com/daltonmenezes/aura-theme/blob/main/LICENSE) diff --git a/packages/raycast/aura-theme.json b/packages/raycast/aura-theme.json new file mode 100644 index 0000000..1b5c250 --- /dev/null +++ b/packages/raycast/aura-theme.json @@ -0,0 +1,21 @@ +{ + "author": "Shubh Porwal", + "authorUsername": "shubh_porwal", + "version": "1", + "name": "Aura", + "appearance": "dark", + "colors": { + "background": "#15141b", + "backgroundSecondary": "#15141b", + "text": "#edecee", + "selection": "#a277ff", + "loader": "#61ffca", + "red": "#ff6767", + "orange": "#ffca85", + "yellow": "#FFD700", + "green": "#61ffca", + "blue": "#82e2ff", + "purple": "#a277ff", + "magenta": "#f694ff" + } +} diff --git a/src/ports/raycast/index.ts b/src/ports/raycast/index.ts new file mode 100644 index 0000000..23bf547 --- /dev/null +++ b/src/ports/raycast/index.ts @@ -0,0 +1,27 @@ +import { AuraAPI } from 'core' +import { resolve } from 'path' + +export async function RaycastPort(Aura: AuraAPI) { + const { createPort, createReadme, colorSchemes, constants } = Aura + const templateFolder = resolve(__dirname, 'templates') + const { info } = constants + + const portName = 'Raycast' + const version = '1.0.0' + + await createPort({ + template: resolve(templateFolder, `${info.slug}.json`), + replacements: { + ...colorSchemes.dark, + ...info, + }, + }) + + await createReadme({ + template: resolve(templateFolder, 'README.md'), + replacements: { + portName, + version, + }, + }) +} diff --git a/src/ports/raycast/templates/README.md b/src/ports/raycast/templates/README.md new file mode 100644 index 0000000..dcede29 --- /dev/null +++ b/src/ports/raycast/templates/README.md @@ -0,0 +1,47 @@ +{{{ basic-heading }}} + +

+ preview +

+ +# Themes available + +- Aura + +# Prerequisites + +- Raycast Pro subscription + +# Installation + +1. Visit [https://ray.so/themes/](https://ray.so/themes/) +2. Find the Aura theme in the list of available themes. +3. Click the "Add to Raycast" button next to the Aura theme. +4. Raycast will open with an alert to install the theme. +5. Once installed, select the Aura theme to apply it to Raycast. + +# Contributors + + + + + + {{{ author-thead }}} + + + + + + + {{{ author-tbody }}} + + +
+

+ + + +

+
Shubh Porwal
+ +{{{ footer }}} diff --git a/src/ports/raycast/templates/aura-theme.json b/src/ports/raycast/templates/aura-theme.json new file mode 100644 index 0000000..25dce7f --- /dev/null +++ b/src/ports/raycast/templates/aura-theme.json @@ -0,0 +1,21 @@ +{ + "author": "Shubh Porwal", + "authorUsername": "shubh_porwal", + "version": "1", + "name": "Aura", + "appearance": "dark", + "colors": { + "background": "{{accent12}}", + "backgroundSecondary": "{{accent12}}", + "text": "{{accent7}}", + "selection": "{{accent1}}", + "loader": "{{accent2}}", + "red": "{{accent5}}", + "orange": "{{accent3}}", + "yellow": "#FFD700", + "green": "{{accent2}}", + "blue": "{{accent32}}", + "purple": "{{accent1}}", + "magenta": "{{accent6}}" + } +} From b608bf3f44d7cbfc550ee65b5792e9fbe35ce4f3 Mon Sep 17 00:00:00 2001 From: Shubh Porwal Date: Tue, 24 Sep 2024 17:13:55 +0300 Subject: [PATCH 2/2] chore: update main README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index de4092b..850b786 100644 --- a/README.md +++ b/README.md @@ -370,6 +370,15 @@ Sway

+ +

+ + + +

+ Raycast +

+