This repo contains snippets for color schemes to use with alacritty terminal emulator (and other similar apps) and bash scripts to apply themes and show the current theme's colors.
Here is a quick demo of the process of applying themes to alacritty.
-
Clone the repo and give execute permissions to included scripts.
# 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
-
Enable
Live Config Reload
for alacritty if it is not enabled already by adding the followin line in your~/.alacritty.yml
.live_config_reload: true
Here is a shell command to do it.
echo "live_config_reload: true" >> ~/.alacritty.yml
-
Overwrite the base.yml with your
~/.alacritty.yml
.cd /path/to/alacritty_colors cp ~/.alacritty.yml ./base.yml
-
(Optional) Remove the current color scheme (if any) from the file
base.yml
, so that the "reset" function in the included script will restore default alacritty colors. Otherwise it will restore your current color scheme. -
Apply/Backup/Reset themes using
./apply_theme.sh
If you want to view the colors from your current color scheme without cloning this repo, you can do so by running:
curl -sL 'https://raw.githubusercontent.com/dchakro/alacritty_colors/master/show_colors.sh' | bash
- Most of these themes are (as-is or modified) from alacritty's wiki.
- While making this repo I didn’t realize that there are repos like eendroroy’s and rajasegar's 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.
Ayu Mirage YML
Bright yellow changed to #FFD700
Breeze (KDE) YML
Breeze2 YML
modified from KDE Breeze by robocopAlpha
Darktooth YML
Dracula YML
Gruvbox YML
The color Yellow #FFD700
has taken from Blood Moon.
Iterm Default YML
Kitty YML
Metro Style YML
Monokai Soda YML
Pop OS YML
robocopAlpha Colors YML
Foreground color has been made darker #1A1A1A
than original to improve contrast
Spacemacs light YML
Changes: green to #009F6B
and magenta to #29A0AD
.
Spacer by robocopAlpha YML
Tried to map colors from the Spacemacs Light theme to ones “similar” to the names of the colors.