Custom terminal theme import
With Squeezed you can make your own terminal themes: the background, text, cursor and selection colors and the 16 ANSI colors inside the terminal. A terminal theme is separate from the app theme (see App themes). Every built-in theme is free; making and importing your own needs Squeezed.
What you can do differs between a computer and a phone:
| Computer | Android and iOS | |
|---|---|---|
| Build a terminal theme in the app | Yes, in the theme designer | Yes, Create custom theme |
| Import another terminal’s color scheme | Yes, Import scheme | Yes, Import scheme in the builder |
Import a .zestheme file |
App themes only (theme designer) | Terminal and app themes (Import theme) |
Export a .zestheme file |
App themes only (theme designer) | The terminal theme in use (Export current) |
Build a terminal theme
Section titled “Build a terminal theme”On a computer:
- Open Settings > Terminal and SSH.
- Under Terminal, next to Custom terminal themes, click Open theme designer. It opens on its Terminal tab. (On the Free plan the button reads Unlock with Squeezed.)
- Give the theme a Theme name, set its colors, and save.
On Android and iOS:
- Open More > Settings > Terminal and SSH > Terminal theme.
- Tap Create custom theme at the end of the list. (On the Free plan it reads Create custom theme (Pro).)
- Give the theme a Theme name, set its colors, and tap Save.
The builder shows a preview of a terminal in your colors and groups the 20 colors in three sections:
- Core: background, foreground, cursor, selection.
- ANSI colors: black, red, green, yellow, blue, magenta, cyan, white.
- Bright colors: the bright version of each of the eight.
A color that is hard to read on the background is marked, and the builder counts them (“1 color has low contrast with the background”). Reset all puts every color back.
On Android and iOS, press and hold a theme you made in the terminal theme list to Edit or Delete it.
Import another terminal’s color scheme
Section titled “Import another terminal’s color scheme”The builder’s Import scheme button reads a color scheme exported from another terminal and fills in the 20 colors. The ? beside it says which files it takes. It recognizes these files by their contents:
- Windows Terminal and VS Code JSON color schemes
- iTerm2
.itermcolorsfiles - X resources files (
*.color0:lines)
On a computer the file picker shows .json, .itermcolors, .xrdb, .Xresources and .Xdefaults files, and Any file… beside Import scheme picks from every file, for a scheme in a file named colors, say. On a phone it shows every file, because the system’s picker would hide the rest.
A file over 1 MB is refused (“That file is too large to be a scheme”), as is one in none of these forms. Check the colors, name the theme and save it.
The .zestheme format
Section titled “The .zestheme format”A .zestheme file is JSON. A terminal theme looks like this:
{ "name": "Harbor Night", "type": "terminal", "colors": { "background": "#1a1b26", "foreground": "#c0caf5", "cursor": "#c0caf5", "selection": "#33467c", "black": "#15161e", "red": "#f7768e", "green": "#9ece6a", "yellow": "#e0af68", "blue": "#7aa2f7", "magenta": "#bb9af7", "cyan": "#7dcfff", "white": "#a9b1d6", "brightBlack": "#414868", "brightRed": "#f7768e", "brightGreen": "#9ece6a", "brightYellow": "#e0af68", "brightBlue": "#7aa2f7", "brightMagenta": "#bb9af7", "brightCyan": "#7dcfff", "brightWhite": "#c0caf5" }}name: the name the theme is listed by.type:"terminal"for a terminal theme."app"is an app theme, the kind the theme designer on a computer exports.colors: for a terminal theme, all 20 keys above. Each value is a hex color as CSS writes it, with or without the#: 3, 4, 6 or 8 digits (RGB, RGBA, RRGGBB or RRGGBBAA, each digit of the short forms doubled, so#fffis white).
A file without name, type or colors is refused (“Invalid .zestheme file: missing name, type, or colors”), and so is a terminal theme with a color missing or not readable.
Import a .zestheme file (Android and iOS)
Section titled “Import a .zestheme file (Android and iOS)”- Open More > Settings > Appearance.
- Under Custom themes, tap Import theme. (On the Free plan it shows a lock, and a tap says “Custom themes require ZestSSH Pro” with Upgrade.)
- Pick the file.
A terminal theme is added to your terminal themes. An app theme is added to your app themes and applied at once. The picker does not check the file’s extension: it reads the file’s JSON.
On a computer, the theme designer’s App tab imports .zestheme app themes with Import…. It refuses a terminal theme (“That looks like a terminal theme, not an app theme”).
Export a theme
Section titled “Export a theme”- Android and iOS: More > Settings > Appearance > Custom themes > Export current writes the terminal theme you picked to a
.zesthemefile and opens the share sheet. Export current is free. - Computer: the theme designer’s App tab saves the app theme you are editing as a
.zesthemefile with Export…. A computer has no export of terminal themes.
You can share .zestheme files with other ZestSSH users. ZestSSH has no theme gallery of its own: themes are shared as files.
Delete a theme you made
Section titled “Delete a theme you made”- Android and iOS: press and hold the theme in the terminal theme list and choose Delete, or use the delete button next to it under Appearance > Custom themes > Saved themes. ZestSSH asks first.
- Computer: the themes you made are listed under Custom terminal themes in Settings > Terminal and SSH, each with a delete button. ZestSSH asks first.
If you delete the terminal theme in use, the terminal goes back to Zest Night. Built-in themes cannot be deleted.
Themes you make or import stay on the device where you made them: they do not go to your other devices through sync.