Move alacritty theme to separate file to allow substitution

This commit is contained in:
David Heinemeier Hansson 2024-05-30 16:42:11 -07:00
parent 68802291e2
commit 4798c73b9b
3 changed files with 28 additions and 32 deletions

View File

@ -1,4 +1,7 @@
import = [ "~/.local/share/omakub/defaults/alacritty.toml" ] import = [
"~/.local/share/omakub/defaults/alacritty.toml",
"~/.local/share/omakub/themes/alacritty/tokyo-night.toml"
]
[font] [font]
normal = { family = "CaskaydiaMono Nerd Font", style = "Regular" } normal = { family = "CaskaydiaMono Nerd Font", style = "Regular" }

View File

@ -10,34 +10,3 @@ decorations = "none"
bindings = [ bindings = [
{ key = "F11", action = "ToggleFullscreen" } { key = "F11", action = "ToggleFullscreen" }
] ]
[colors]
[colors.primary]
background = '#1a1b26'
foreground = '#a9b1d6'
# Normal colors
[colors.normal]
black = '#32344a'
red = '#f7768e'
green = '#9ece6a'
yellow = '#e0af68'
blue = '#7aa2f7'
magenta = '#ad8ee6'
cyan = '#449dab'
white = '#787c99'
# Bright colors
[colors.bright]
black = '#444b6a'
red = '#ff7a93'
green = '#b9f27c'
yellow = '#ff9e64'
blue = '#7da6ff'
magenta = '#bb9af7'
cyan = '#0db9d7'
white = '#acb0d0'
[colors.selection]
background = '#7aa2f7'

View File

@ -0,0 +1,24 @@
[colors]
[colors.primary]
background = "0x282828"
foreground = "0xd4be98"
[colors.normal]
black = "0x3c3836"
red = "0xea6962"
green = "0xa9b665"
yellow = "0xd8a657"
blue = "0x7daea3"
magenta = "0xd3869b"
cyan = "0x89b482"
white = "0xd4be98"
[colors.bright]
black = "0x3c3836"
red = "0xea6962"
green = "0xa9b665"
yellow = "0xd8a657"
blue = "0x7daea3"
magenta = "0xd3869b"
cyan = "0x89b482"
white = "0xd4be98"