An open API service indexing awesome lists of open source software.

https://github.com/kirlovon/monokai-ghostty

Monokai theme for Ghostty terminal.
https://github.com/kirlovon/monokai-ghostty

ghostty ghostty-theme iterm2 iterm2-theme monokai monokai-pro terminal terminal-theme zsh

Last synced: 6 months ago
JSON representation

Monokai theme for Ghostty terminal.

Awesome Lists containing this project

README

          

![Theme Preview](./images/preview.webp)

# Monokai for Ghostty 👻

Monokai themes for [Ghostty](https://github.com/mitchellh/ghostty) terminal. Generated from the official [Monokai Pro](https://monokai.pro/) color schemes for iTerm2, made by [Monokai](https://monokai.com/).


> [!TIP]
> Currently, themes from this repository are also included in the [iTerm2-Color-Schemes](https://github.com/mbadolato/iTerm2-Color-Schemes). Ghostty automatically fetches themes from there, so you don’t need to download anything. Just specify one of the theme names in your config:
> ```ini
> theme = "Monokai Pro" # Or "Monokai Pro Spectrum", "Monokai Pro Light", etc
> ```


| Theme | Preview |
| ---------------------------------------------------------------------------- | ------------------------------------------------ |
| **Monokai Pro**
[Link to file](./Monokai%20Pro) | ![Monokai Pro](./images/MonokaiPro.webp) |
| **Monokai Classic**
[Link to file](./Monokai%20Classic) | ![Monokai Classic](./images/MonokaiClassic.webp) |
| **Monokai Pro Octagon**
[Link to file](./Monokai%20Pro%20Octagon) | ![Octagon](./images/MonokaiProOctagon.webp) |
| **Monokai Pro Machine**
[Link to file](./Monokai%20Pro%20Machine) | ![Machine](./images/MonokaiProMachine.webp) |
| **Monokai Pro Ristretto**
[Link to file](./Monokai%20Pro%20Ristretto) | ![Ristretto](./images/MonokaiProRistretto.webp) |
| **Monokai Pro Spectrum**
[Link to file](./Monokai%20Pro%20Spectrum) | ![Spectrum](./images/MonokaiProSpectrum.webp) |
| **Monokai Pro Light**
[Link to file](./Monokai%20Pro%20Light) | ![Light](./images/MonokaiProLight.webp) |
| **Monokai Pro Light Sun**
[Link to file](./Monokai%20Pro%20Light%20Sun) | ![Sun](./images/MonokaiProLightSun.webp) |


## Manual Installation

1. Download the [archive with themes](https://github.com/Kirlovon/monokai-ghostty/releases).

2. Extract theme files to the themes folder:

- **MacOS:** `~/.config/ghostty/themes`.
- **Linux (XDG):** `$XDG_CONFIG_DIR/ghostty/themes`.

3. Set the theme in your config file:
```ini
theme = "Monokai Pro" # Or "Monokai Pro Spectrum", "Monokai Pro Light", etc
```


## Building from Source

1. Make sure you have [Deno](https://deno.land/) _(at least v2.0)_ installed.

2. Copy the original `.itermcolors` theme files to the `itermcolors` folder in the repo directory. You can get them from the official [Monokai Pro](https://monokai.pro/iterm) website.

3. Run the generation script:

```bash
deno run --allow-read --allow-write generate.ts
```


## License

> These themes are based on the original [Monokai Pro](https://monokai.pro/iterm) iTerm2 color schemes by [Monokai](https://monokai.com/). All rights to the original color schemes and the **Monokai Pro** trademark belong to the original author.

The code and generated configurations are licensed under the MIT License _(see [LICENSE](./LICENSE) file)_