There is an explanation on how to do that in a section in the alacritty's git-hub wiki, but I didn't get that. I experimented with it for example for solarized's light and dark version, but I failed.
Please show me how can I have multiple color-schemes at hand and how toggle/switch among them, preferably via key-strokes.
[I'm not sure this is the right place for this question, so let me know :)]
Edit: I fixed multiple schemes, according to the wiki. My mistake was I forgot to change the color
keyword to a name that I then refer to. its like:
# XTerm's color-schemes
schemes:
xterm_light: &light
# Default colors
primary:
background: '#ffffff'
foreground: '#000000'
# Normal colors
normal:
black: '#000000'
red: '#cd0000'
green: '#00cd00'
yellow: '#cdcd00'
blue: '#0000ee'
magenta: '#cd00cd'
cyan: '#00adad'
white: '#c5c5c5'
# Bright colors
bright:
black: '#7f7f7f'
red: '#ff0000'
green: '#00ff00'
yellow: '#ffff00'
blue: '#5c5cff'
magenta: '#ff00ff'
cyan: '#00fff
white: '#ffffff'
xterm_dark: &dark
# Default colors
primary:
background: '#000000'
foreground: '#ffffff'
# Normal colors
normal:
black: '#000000'
red: '#cd0000'
green: '#00cd00'
yellow: '#cdcd00'
blue: '#0050cc'
magenta: '#cd00cd'
cyan: '#00adad'
white: '#e5e5e5'
# Bright colors
bright:
black: '#7f7f7f'
red: '#ff0000'
green: '#00ff00'
yellow: '#ffff00'
blue: '#5c5cff'
magenta: '#ff00ff'
cyan: '#00ffff'
white: '#ffffff'
colors: *dark
# colors: *light
In this case I need to manually change the config in order to change the color-scheme. It's not the worst thing, but it would be nice to change it by keyboard shortcut.