[![alacritty rocks](https://img.shields.io/badge/alacritty-ROCKS-blueviolet.svg)](https://github.com/alacritty/alacritty) [![GitHub license](https://img.shields.io/github/license/dchakro/alacritty_colors?color=Blue)](https://github.com/dchakro/alacritty_colors/blob/master/LICENSE) [![GitHub last commit (branch)](https://img.shields.io/github/last-commit/dchakro/alacritty_colors/master.svg)](https://github.com/dchakro/alacritty_colors/commits/master) [![GitHub stars](https://img.shields.io/github/stars/dchakro/alacritty_colors)](https://github.com/dchakro/alacritty_colors/stargazers) [![GitHub issues](https://img.shields.io/github/issues/dchakro/alacritty_colors.svg)](https://github.com/dchakro/alacritty_colors/issues) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/dchakro/alacritty_colors/pulls)

# alacritty colors

## About
This repo contains snippets for color schemes to use with [alacritty](https://github.com/alacritty/alacritty) terminal emulator (and other similar apps) and bash scripts to [apply themes](./apply_themes.sh) and [show the current theme's colors](./show_colors.sh). 

## Demo

Here is a quick demo of the process of applying themes to alacritty.

![demo.gif](assets/demo.gif)

## How to use

1. Clone the repo and give execute permissions to included scripts.

	```shell
	# Latest version
	git clone --depth 1 https://github.com/dchakro/alacritty_colors.git
	
	# or clone the complete repo
	git clone https://github.com/dchakro/alacritty_colors.git
	
	cd alacritty_colors
	chmod +x show_colors.sh apply_theme.sh
	```

2. Overwrite the [base.toml](./base.toml) with your `~/.alacritty.toml`.

   ```sh
   cd /path/to/alacritty_colors
   cp ~/.alacritty.toml ./base.toml
   ```
	
3. (***Optional***) Remove the current color scheme (if any) from the file `base.toml`, so that the "**reset**" function in the included script will restore default alacritty colors. Otherwise it will restore your current color scheme. 

4. Apply/Backup/Reset themes using

   ```sh
   ./apply_theme.sh
   ```


## Info

If you want to view the colors from your current color scheme without cloning this repo, you can do so by running:

```sh
curl -sL 'https://raw.githubusercontent.com/dchakro/alacritty_colors/master/show_colors.sh' | bash
```

## Note:

+ Most of these themes are (as-is or modified) from [alacritty's wiki](https://github.com/alacritty/alacritty/wiki/Color-schemes).
+ While making this repo I didn’t realize that there are repos like [eendroroy’s](https://github.com/eendroroy/alacritty-theme) and [rajasegar's](https://github.com/rajasegar/alacritty-themes) repos where they have been putting in the effort for a long time. I will maintain this repo to archive other color schemes that I might find interesting over time.
  + Unlike their repos this repo provides open-source simple bash scripts to view the theme colors and apply the themes.

## Preview of themes

### [Argonaut](https://github.com/pwaleczek/Argonaut-theme)   |   [toml](themes/argonaut.toml)

![image-20200730153019490](assets/argonaut.png)

### Ayu Mirage  |  [toml](themes/ayuMirage.toml)

![image-20200730153019490](assets/ayuMirage.png)

### Birds of Paradise |  [toml](themes/birds_of_paradise.toml)

![birds of paradise](assets/birds_of_paradise.png)

### [Blood Moon](https://github.com/dguo/blood-moon)   |   [toml](themes/bloodmoon.toml)

Bright yellow changed to `#FFD700`

![image-20200730153216611](assets/bloodmoon.png)

### Breeze (KDE)  |  [toml](themes/breeze.toml)

![image-20200730153019490](assets/breeze.png)

### Breeze2   |  [toml](themes/breeze2.toml)

modified from KDE Breeze by robocopAlpha

![breeze2](./assets/breeze2.png)

### Darktooth  |  [toml](themes/darktooth.toml)

![image-20200730153019490](assets/darktooth.png)

### Dracula  |  [toml](themes/dracula.toml)

![image-20200730153019490](assets/dracula.png)

### [Flexoki Dark](https://github.com/kepano/flexoki/blob/main/alacritty/flexoki-dark.yaml)  |  [toml](themes/flexoki-dark.toml)

![image-20200730153019490](assets/flexoki-dark.png)

### Github Light 1 | [toml](themes/githubLight.toml)
![githubLight](assets/githubLight.png)

### [Github Light 2](https://github.com/projekt0n/github-theme-contrib/blob/main/themes/alacritty/github_light.yml) | [toml](themes/github_light2.toml)
![githubLight](assets/github_light2.png)

### Gruvbox  |   [toml](themes/gruvbox.toml)

![image-20200730153019490](assets/gruvbox.png)

### [Hyper](https://hyper.is/)   |  [toml](themes/hyper.toml)

The color Yellow `#FFD700` has taken from [Blood Moon](themes/bloodmoon.toml).

![image-20200730153904592](assets/hyper.png)

### Iterm Default  |  [toml](themes/iterm2.toml)

![image-20200730154037517](assets/iterm2.png)

### Kitty  |   [toml](themes/kitty.toml)

![image-20200730153019490](assets/kitty.png)

### [Material Theme](https://github.com/equinusocio/material-theme)  |  [toml](themes/material.toml)

![image-20200730154203299](assets/material.png)

### Metro Style   |   [toml](./themes/metrostyle.toml)

![metrostyle](assets/metrostyle.png)

### Monokai Soda  |   [toml](themes/monokaiSoda.toml)

![image-20200730154326639](assets/monokaiSoda.png)

### Monokai Soda version 2 | [toml](themes/monokaiSoda2.toml)
Gray and white are changed from the base theme
![monokaisoda2](assets/monokaiSoda2.png)

### PaperColor Light | [toml](themes/paperColorLight.toml)
![paper color light](assets/paperColorLight.png)


### Paraiso Dark | [toml](themes/paraisoDark.toml)

![paraiso dark](assets/paraisoDark.png)

### Pencil Light | [toml](themes/pencilLight.toml)
![pencil light](assets/pencilLight.png)

### Pop OS   |    [toml](themes/pop_OS.toml)

![image-20200730155432908](assets/pop_OS.png)

### [Remedy-Dark](https://github.com/alacritty/alacritty-theme/blob/master/themes/remedy_dark.toml)   |  [toml](themes/remedy_dark.toml)

![image-20200730160014996](assets/remedy_dark.png)


### robocopAlpha Colors   |  [toml](themes/robocopAlpha.toml)

![image-20200730160014996](assets/robocopAlpha.png)

### [Rose Pine Dawn]()   |    [toml](themes/rose-pine-dawn.toml)

![image-20200730155432908](assets/rose-pine-dawn.png)

### [Seabird](https://github.com/nightsense/seabird)   |   [toml](themes/seabird.toml)

Foreground color has been made darker `#1A1A1A` than original to improve contrast

![image-20200730154721260](assets/seabird.png)

### Spacemacs light  |   [toml](themes/spacemacsLight.toml)

Changes: green to `#009F6B` and magenta to `#29A0AD`.

![image-20200730160138239](assets/spacemacsLight.png)

### Spacer by robocopAlpha   |   [toml](./themes/spacer.toml)

Tried to map colors from the Spacemacs Light theme to ones “similar” to the names of the colors.

![spacer](assets/spacer.png)

### Tender   |  [toml](themes/tender.toml)
Converted to TOML from:

![image-20200730155241817](assets/tender.png)

### Terminal app basic    |   [toml](themes/terminalBasic.toml)

![image-20200730155241817](assets/terminalBasic.png)

### Ubuntu   |    [toml](themes/ubuntu.toml)

![image-20200730155325668](assets/ubuntu.png)

