Skip to content

alacritty

Leon edited this page Apr 4, 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.

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