Skip to main content
Version: 0.1.22

alacritty

Generate colour themes for the Alacritty terminal emulator.

Description

Alacritty is a modern, GPU-accelerated terminal emulator. The plugin generates a TOML colour scheme file.

Output path

~/.config/alacritty/tinct-colors.toml

Usage

tinct generate -i image -p ~/wallpaper.jpg -o alacritty

Configuration

Import the generated file in your alacritty.toml:

import = ["~/.config/alacritty/tinct-colors.toml"]

Generated output

[colors]
[colors.primary]
background = "#1e1e2e"
foreground = "#cdd6f4"

[colors.normal]
black = "#45475a"
red = "#f38ba8"
green = "#a6e3a1"
yellow = "#f9e2af"
blue = "#89b4fa"
magenta = "#f5c2e7"
cyan = "#94e2d5"
white = "#bac2de"

[colors.bright]
black = "#585b70"
red = "#f38ba8"
green = "#a6e3a1"
yellow = "#f9e2af"
blue = "#89b4fa"
magenta = "#f5c2e7"
cyan = "#94e2d5"
white = "#a6adc8"

ANSI colour mapping

Tinct maps semantic colours to ANSI positions:

ANSINormalBright
0 (black)backgroundMutedsurface
1 (red)dangerdanger
2 (green)successsuccess
3 (yellow)warningwarning
4 (blue)accent1accent1
5 (magenta)accent2accent2
6 (cyan)infoinfo
7 (white)foregroundMutedforeground

See also