Skip to content

Commit

Permalink
Merge pull request neoclide#9 from knpwrs/alacritty
Browse files Browse the repository at this point in the history
Add Alacritty themes
  • Loading branch information
pocco81 authored Aug 26, 2021
2 parents bf534aa + a963893 commit 75c8456
Show file tree
Hide file tree
Showing 4 changed files with 138 additions and 0 deletions.
27 changes: 27 additions & 0 deletions extra/alacritty/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Alacritty Themes

Making your Alacritty terminal emulator colors match your Catppucino colors is
easy! Simply copy the values from the respective `.yml` file in this directory
and paste it over the `colors` configuration in your `alacritty.yml` file.

## `tmux` Users

If you use `tmux` inside of Alacritty you may notice that your terminal colors
don't match your Catppucino colors. The solution is two-fold. First, make sure
you have the following set in `alacritty.yml`:

```yml
env:
TERM: xterm-256color
```
Second, make sure you have the following in your `tmux.conf`:

```
set -g default-terminal "xterm-256color"
set-option -ga terminal-overrides ",xterm-256color:Tc"
```
Now you should be all set!
See https://github.com/Pocco81/Catppuccino.nvim/pull/9 for more info.
37 changes: 37 additions & 0 deletions extra/alacritty/catpuccino.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Catpuccino
colors:
# Default colors
primary:
background: '0x0e171c'
foreground: '0xabb2bf'

# Colors the cursor will use if `custom_cursor_colors` is true
cursor:
text: '0x0e171c'
cursor: '0xabb2bf'

# Normal colors
normal:
black: '0x393b44'
red: '0xc94f6d'
green: '0x97c374'
yellow: '0xdbc074'
blue: '0x61afef'
magenta: '0xc678dd'
cyan: '0x63cdcf'
white: '0xdfdfe0'

# Bright colors
bright:
black: '0x7f8c98'
red: '0xe06c75'
green: '0x58cd8b'
yellow: '0xffe37e'
blue: '0x84cee4'
magenta: '0xb8a1e3'
cyan: '0x59f0ff'
white: '0xfdebc3'

indexed_colors:
- { index: 16, color: '0xffe37e' }
- { index: 17, color: '0xe06c75' }
37 changes: 37 additions & 0 deletions extra/alacritty/light-melya.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Catppuccino Light Melya
colors:
# Default colors
primary:
background: '0xfbfbfb'
foreground: '0x0e171c'

# Colors the cursor will use if `custom_cursor_colors` is true
cursor:
text: '0x0e171c'
cursor: '0xfbfbfb'

# Normal colors
normal:
black: '0x393b44'
red: '0xb0304e'
green: '0x76ab49'
yellow: '0xffce1f'
blue: '0x157c8e'
magenta: '0xa414cc'
cyan: '0x63cdcf'
white: '0xdfdfe0'

# Bright colors
bright:
black: '0x7f8c98'
red: '0xd84652'
green: '0x58cd8b'
yellow: '0xffe37e'
blue: '0x84cee4'
magenta: '0xb8a1e3'
cyan: '0x59f0ff'
white: '0x0e171c'

indexed_colors:
- { index: 16, color: '0xffce1f' }
- { index: 17, color: '0xd84652' }
37 changes: 37 additions & 0 deletions extra/alacritty/neon-latte.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Catppuccino Light Melya
colors:
# Default colors
primary:
background: '0x150b26'
foreground: '0xfdebc3'

# Colors the cursor will use if `custom_cursor_colors` is true
cursor:
text: '0xfdebc3'
cursor: '0x150b26'

# Normal colors
normal:
black: '0x393b44'
red: '0xcf4f6d'
green: '0x51ee72'
yellow: '0xffe070'
blue: '0x96e2f0'
magenta: '0xd97bf2'
cyan: '0x63cdcf'
white: '0xdfdfe0'

# Bright colors
bright:
black: '0x7f8c98'
red: '0xe06c75'
green: '0x58cd8b'
yellow: '0xffe37e'
blue: '0x84cee4'
magenta: '0xb8a1e3'
cyan: '0x59f0ff'
white: '0xfdebc3'

indexed_colors:
- { index: 16, color: '0xffe37e' }
- { index: 17, color: '0xe06c75' }

0 comments on commit 75c8456

Please sign in to comment.