Skip to content

alacritty

Leon edited this page Sep 29, 2021 · 5 revisions

You can set the colorscheme for alacritty using a yaml file, see also https://github.com/alacritty/alacritty#configuration.

The following snippet will set up both light and dark themes. Change the last line to set the active theme.

Note that in the light theme, foreground color 11 (light yellow) is not very readable on the color 0 background. I've taken to setting light yellow and yellow both to '#A67458' for now, until I get a chance to revisit the theme. That will of course affect the light yellow color in the vim theme if you set g:mellow_cterm_ansi to true (not recommended, I might remove that option in the future).

schemes:
    mellow_light: &light

        primary:
            background: '#F2DDBC'
            foreground: '#0F0908'

        normal:
            black:      '#0F0908'
            red:        '#AF0032'
            green:      '#4C6E25'
            yellow:     '#A67458'
            blue:       '#573E55'
            magenta:    '#66292F'
            cyan:       '#BF472C'
            white:      '#E0CCAE'

        bright:
            black:      '#3D241F'
            red:        '#FF7477'
            green:      '#84BF40'
            yellow:     '#F5BB89'
            blue:       '#8A7B85'
            magenta:    '#8A4B53'
            cyan:       '#D47D49'
            white:      '#F2DDBC'

    mellow_dark: &dark

        primary:
            background: '#0F0908'
            foreground: '#ECCD9D'

        normal:
            black:      '#0F0908'
            red:        '#AF0032'
            green:      '#577E2A'
            yellow:     '#BF9169'
            blue:       '#896186'
            magenta:    '#66292F'
            cyan:       '#BF472C'
            white:      '#D3C1A6'

        bright:
            black:      '#3D241F'
            red:        '#FF7477'
            green:      '#84BF40'
            yellow:     '#F5BB89'
            blue:       '#9F939B'
            magenta:    '#8A4B53'
            cyan:       '#D47D49'
            white:      '#ECCD9D'

colors: *light
Clone this wiki locally