-
-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #200 from alexmck/feat/warp
feat(port): add warp
- Loading branch information
Showing
6 changed files
with
188 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<p align="center"> | ||
<img src="https://github.com/daltonmenezes/assets/blob/master/images/aura-theme/new-heading.png?raw=true" alt="Aura Theme" width="70%" /> | ||
</p> | ||
|
||
<p align="center"> | ||
✨ A beautiful dark theme for Warp and other apps | ||
<br><br> | ||
|
||
<!-- Patreon --> | ||
<a href="https://www.patreon.com/daltonmenezes"> | ||
<img alt="patreon url" src="https://img.shields.io/badge/support%20on-patreon-1C1E26?style=for-the-badge&labelColor=1C1E26&color=61ffca"> | ||
</a> | ||
|
||
<!-- version --> | ||
<a href="#"> | ||
<img alt="version" src="https://img.shields.io/badge/version%20-v1.0.0-1C1E26?style=for-the-badge&labelColor=1C1E26&color=61ffca"> | ||
</a> | ||
</p> | ||
|
||
|
||
|
||
<p align="center"> | ||
<img alt="preview" src="https://user-images.githubusercontent.com/1149845/277492362-80112522-2488-49fd-89eb-a3bbcd7a6c2a.png" /> | ||
</p> | ||
|
||
# Installation | ||
1. Download [aura-theme.yaml](https://raw.githubusercontent.com/daltonmenezes/aura-theme/main/packages/warp/aura-theme.yaml) | ||
2. If it doesn't exist, create `~/.warp/themes/` directory: `mkdir -p ~/.warp/themes/` | ||
3. Copy your download to this directory: `cp ~/Downloads/aura-theme.yaml ~/.warp/themes/` | ||
4. Open Warp theme selector and select Aura-theme. (<kbd>Control</kbd> + <kbd>⌘</kbd> + <kbd>T</kbd>) | ||
|
||
<br/> | ||
Done! ✨ 🎉 | ||
<br/> | ||
<br/> | ||
|
||
# Contributors | ||
<table> | ||
<thead> | ||
<tr> | ||
<td valign="bottom"> | ||
<p align="center"> | ||
<a href="https://github.com/alexmck"> | ||
<img src="https://github.com/alexmck.png?size=100" align="center" /> | ||
</a> | ||
</p> | ||
</td> | ||
<td valign="bottom"><p align="center"> | ||
<a href="https://github.com/daltonmenezes"> | ||
<img src="https://github.com/daltonmenezes.png?size=100" align="center" /> | ||
</a> | ||
</p></td> | ||
</tr> | ||
</thead> | ||
|
||
<tbody> | ||
<tr> | ||
<td><a href="https://github.com/alexmck">Alex McKenzie</a></td> | ||
<td><a href="https://github.com/daltonmenezes">Dalton Menezes</a></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
# License | ||
[MIT © Dalton Menezes](https://github.com/daltonmenezes/aura-theme/blob/main/LICENSE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
accent: "#a277ff" | ||
background: "#15141b" | ||
foreground: "#edecee" | ||
details: "darker" | ||
terminal_colors: | ||
normal: | ||
black: "#110f18" | ||
red: "#ff6767" | ||
green: "#61ffca" | ||
yellow: "#ffca85" | ||
blue: "#61ffca" | ||
magenta: "#a277ff" | ||
cyan: "#edecee" | ||
white: "#edecee" | ||
bright: | ||
black: "#4d4d4d" | ||
red: "#ffca85" | ||
green: "#a277ff" | ||
yellow: "#ffca85" | ||
blue: "#a277ff" | ||
magenta: "#a277ff" | ||
cyan: "#61ffca" | ||
white: "#edecee" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { AuraAPI } from 'core' | ||
import { resolve } from 'path' | ||
|
||
export async function WarpPort(Aura: AuraAPI) { | ||
const { createPort, createReadme, colorSchemes, constants } = Aura | ||
const templateFolder = resolve(__dirname, 'templates') | ||
const { info } = constants | ||
|
||
const portName = 'Warp' | ||
const version = '1.0.0' | ||
|
||
await createPort({ | ||
template: resolve(templateFolder, `${info.slug}.yaml`), | ||
replacements: { | ||
...colorSchemes.dark, | ||
...info, | ||
}, | ||
}) | ||
|
||
await createReadme({ | ||
template: resolve(templateFolder, 'README.md'), | ||
replacements: { | ||
portName, | ||
version, | ||
}, | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{{{ basic-heading }}} | ||
|
||
<p align="center"> | ||
<img alt="preview" src="https://user-images.githubusercontent.com/1149845/277492362-80112522-2488-49fd-89eb-a3bbcd7a6c2a.png" /> | ||
</p> | ||
|
||
# Installation | ||
1. Download [{{ slug }}.yaml](https://raw.githubusercontent.com/daltonmenezes/aura-theme/main/packages/warp/{{ slug }}.yaml) | ||
2. If it doesn't exist, create `~/.warp/themes/` directory: `mkdir -p ~/.warp/themes/` | ||
3. Copy your download to this directory: `cp ~/Downloads/{{ slug }}.yaml ~/.warp/themes/` | ||
4. Open Warp theme selector and select Aura-theme. (<kbd>Control</kbd> + <kbd>⌘</kbd> + <kbd>T</kbd>) | ||
|
||
{{{ done }}} | ||
|
||
# Contributors | ||
<table> | ||
<thead> | ||
<tr> | ||
<td valign="bottom"> | ||
<p align="center"> | ||
<a href="https://github.com/alexmck"> | ||
<img src="https://github.com/alexmck.png?size=100" align="center" /> | ||
</a> | ||
</p> | ||
</td> | ||
{{{ author-thead }}} | ||
</tr> | ||
</thead> | ||
|
||
<tbody> | ||
<tr> | ||
<td><a href="https://github.com/alexmck">Alex McKenzie</a></td> | ||
{{{ author-tbody }}} | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
{{{ footer }}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
accent: "{{ accent1 }}" | ||
background: "{{ accent12 }}" | ||
foreground: "{{ accent7 }}" | ||
details: "darker" | ||
terminal_colors: | ||
normal: | ||
black: "{{ accent21 }}" | ||
red: "{{ accent5 }}" | ||
green: "{{ accent2 }}" | ||
yellow: "{{ accent3 }}" | ||
blue: "{{ accent2 }}" | ||
magenta: "{{ accent1 }}" | ||
cyan: "{{ accent7 }}" | ||
white: "{{ accent7 }}" | ||
bright: | ||
black: "{{ accent15 }}" | ||
red: "{{ accent3 }}" | ||
green: "{{ accent1 }}" | ||
yellow: "{{ accent3 }}" | ||
blue: "{{ accent1 }}" | ||
magenta: "{{ accent1 }}" | ||
cyan: "{{ accent2 }}" | ||
white: "{{ accent7 }}" |