Themes
Attyx ships with 22 built-in themes and supports custom TOML theme files.
Setting a theme
Section titled “Setting a theme”[theme]name = "catppuccin-mocha"You can also override just the background color without switching themes:
[theme]name = "dracula"background = "#1a1a2e"Built-in themes
Section titled “Built-in themes”defaultcatppuccin-lattecatppuccin-mochadraculaeverforest-darkgithub-darkgruvbox-darkgruvbox-lighticebergkanagawamaterialmonokainordone-darkpalenightrose-pinerose-pine-moonsnazzysolarized-darksolarized-lighttokyo-nighttokyo-night-storm
Use the theme picker overlay to preview themes live before committing to one.
Custom themes
Section titled “Custom themes”Place .toml files in ~/.config/attyx/themes/. Each file becomes a theme whose name matches the filename (without extension). For example, ~/.config/attyx/themes/my-theme.toml registers as my-theme.
A theme file has two sections: [colors] and [palette]. All fields are optional — omitted values fall back to the renderer defaults.
Colors
Section titled “Colors”The [colors] section defines the primary terminal colors:
[colors]foreground = "#f8f8f2"background = "#282a36"cursor = "#f8f8f2"cursor_text = "#282a36"selection_background = "#44475a"selection_foreground = "#f8f8f2"statusbar_background = "#44475a"| Field | Description | Default |
|---|---|---|
foreground | Default text color | renderer default |
background | Default background color | renderer default |
cursor | Cursor color | foreground color |
cursor_text | Text color drawn under the cursor | background color |
selection_background | Selection highlight background | renderer default |
selection_foreground | Selection highlight text color | cell’s foreground color |
statusbar_background | Status bar background color | statusbar config default |
Palette
Section titled “Palette”The [palette] section defines the 16-color ANSI palette using numeric keys 0 through 15:
[palette]0 = "#21222c" # black1 = "#ff5555" # red2 = "#50fa7b" # green3 = "#f1fa8c" # yellow4 = "#bd93f9" # blue5 = "#ff79c6" # magenta6 = "#8be9fd" # cyan7 = "#f8f8f2" # white8 = "#6272a4" # bright black9 = "#ff6e6e" # bright red10 = "#69ff94" # bright green11 = "#ffffa5" # bright yellow12 = "#d6acff" # bright blue13 = "#ff92df" # bright magenta14 = "#a4ffff" # bright cyan15 = "#ffffff" # bright whiteIndividual palette entries are optional — missing entries use the renderer’s built-in palette.
Color format
Section titled “Color format”All colors are 6-digit hex strings, with or without the # prefix:
foreground = "#f8f8f2" # with prefixforeground = "f8f8f2" # also validMinimal theme
Section titled “Minimal theme”Only foreground and background are needed for a working theme. Everything else has sensible defaults:
[colors]foreground = "#dcdcdc"background = "#1e1e24"Full example
Section titled “Full example”# Dracula theme
[colors]foreground = "#f8f8f2"background = "#282a36"cursor = "#f8f8f2"cursor_text = "#282a36"selection_background = "#44475a"selection_foreground = "#f8f8f2"
[palette]0 = "#21222c"1 = "#ff5555"2 = "#50fa7b"3 = "#f1fa8c"4 = "#bd93f9"5 = "#ff79c6"6 = "#8be9fd"7 = "#f8f8f2"8 = "#6272a4"9 = "#ff6e6e"10 = "#69ff94"11 = "#ffffa5"12 = "#d6acff"13 = "#ff92df"14 = "#a4ffff"15 = "#ffffff"Switching themes at runtime
Section titled “Switching themes at runtime”Themes are hot-reloadable. You can also switch themes via:
- Theme picker — browse and preview themes live
- IPC —
attyx theme draculafrom the command line - Config reload — change
[theme] nameand press Ctrl+Shift+R