Skip to content

Commit

Permalink
Add selection colors to Alacritty theme
Browse files Browse the repository at this point in the history
  • Loading branch information
keithhub committed Jun 17, 2021
1 parent 789533c commit 13542ea
Show file tree
Hide file tree
Showing 14 changed files with 67 additions and 0 deletions.
5 changes: 5 additions & 0 deletions alacritty/LuciusBlack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ colors:
text: '#121212'
cursor: '#87afd7'

# Selection colors
selection:
text: '#d7d7d7'
background: '#005f87'

# Normal colors
normal:
black: '#121212'
Expand Down
5 changes: 5 additions & 0 deletions alacritty/LuciusBlackHighContrast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ colors:
text: '#121212'
cursor: '#afd7ff'

# Selection colors
selection:
text: '#eeeeee'
background: '#005f87'

# Normal colors
normal:
black: '#121212'
Expand Down
5 changes: 5 additions & 0 deletions alacritty/LuciusBlackLowContrast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ colors:
text: '#121212'
cursor: '#5f87af'

# Selection colors
selection:
text: '#bcbcbc'
background: '#005f87'

# Normal colors
normal:
black: '#121212'
Expand Down
5 changes: 5 additions & 0 deletions alacritty/LuciusDark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ colors:
text: '#303030'
cursor: '#87afd7'

# Selection colors
selection:
text: '#d7d7d7'
background: '#005f87'

# Normal colors
normal:
black: '#303030'
Expand Down
5 changes: 5 additions & 0 deletions alacritty/LuciusDarkHighContrast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ colors:
text: '#303030'
cursor: '#afd7ff'

# Selection colors
selection:
text: '#eeeeee'
background: '#005f87'

# Normal colors
normal:
black: '#303030'
Expand Down
5 changes: 5 additions & 0 deletions alacritty/LuciusDarkLowContrast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ colors:
text: '#303030'
cursor: '#5f87af'

# Selection colors
selection:
text: '#bcbcbc'
background: '#005f87'

# Normal colors
normal:
black: '#303030'
Expand Down
5 changes: 5 additions & 0 deletions alacritty/LuciusLight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ colors:
text: '#eeeeee'
cursor: '#5f87af'

# Selection colors
selection:
text: '#444444'
background: '#afd7ff'

# Normal colors
normal:
black: '#444444'
Expand Down
5 changes: 5 additions & 0 deletions alacritty/LuciusLightHighContrast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ colors:
text: '#eeeeee'
cursor: '#5f87af'

# Selection colors
selection:
text: '#000000'
background: '#afd7ff'

# Normal colors
normal:
black: '#000000'
Expand Down
5 changes: 5 additions & 0 deletions alacritty/LuciusLightLowContrast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ colors:
text: '#eeeeee'
cursor: '#87afd7'

# Selection colors
selection:
text: '#626262'
background: '#afd7ff'

# Normal colors
normal:
black: '#626262'
Expand Down
5 changes: 5 additions & 0 deletions alacritty/LuciusWhite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ colors:
text: '#ffffff'
cursor: '#5f87af'

# Selection colors
selection:
text: '#444444'
background: '#afd7ff'

# Normal colors
normal:
black: '#444444'
Expand Down
5 changes: 5 additions & 0 deletions alacritty/LuciusWhiteHighContrast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ colors:
text: '#ffffff'
cursor: '#5f87af'

# Selection colors
selection:
text: '#000000'
background: '#afd7ff'

# Normal colors
normal:
black: '#000000'
Expand Down
5 changes: 5 additions & 0 deletions alacritty/LuciusWhiteLowContrast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ colors:
text: '#ffffff'
cursor: '#87afd7'

# Selection colors
selection:
text: '#626262'
background: '#afd7ff'

# Normal colors
normal:
black: '#626262'
Expand Down
2 changes: 2 additions & 0 deletions lucius.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ def get_ansi_colors(mode=None):
d["bg_bold"] = get_bg("Normal")
d["cursor_text"] = get_bg("Normal")
d["cursor"] = get_bg("Cursor")
d["selection_text"] = get_fg("Normal")
d["selection"] = get_bg("Visual")

if mode is not None:
if mode == "rgb":
Expand Down
5 changes: 5 additions & 0 deletions templates/alacritty.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ colors:
text: '%(cursor_text)s'
cursor: '%(cursor)s'

# Selection colors
selection:
text: '%(selection_text)s'
background: '%(selection)s'

# Normal colors
normal:
black: '%(black)s'
Expand Down

0 comments on commit 13542ea

Please sign in to comment.