Ghostty Themes: Setup, Best Picks, Custom Files & Shaders
Ghostty themes explained: apply any of the 819 built-in themes, split light and dark variants, write custom theme files, tweak fonts, padding and shaders.
14 min read
Quick result
theme = TokyoNight Storm in ~/.config/ghostty/config, then ctrl+shift+, (cmd+shift+, on macOS) → the terminal repaints with the new colors, no restart.

Ghostty ships 819 built-in themes, so changing your colors takes one line. Preview every theme with ghostty +list-themes, set theme = TokyoNight Storm in ~/.config/ghostty/config, and press ctrl+shift+, to hot-reload without restarting. This guide walks through config paths, light/dark automatic switching, custom theme files, fonts, padding, and GLSL shaders. Everything here was verified on Ghostty 1.4.0 (released October 27, 2026) and the official config reference. If you are still setting up the terminal, read my Ghostty setup guide or Ghostty vs Kitty comparison.
Where the config file lives
Ghostty reads its settings from the XDG config directory on every platform, and macOS adds a second location. Per the configuration docs, the canonical filename is config.ghostty (it was config before 1.2.3), and the older config still loads.
Linux
$XDG_CONFIG_HOME/ghostty/config.ghostty
$XDG_CONFIG_HOME/ghostty/configXDG_CONFIG_HOME defaults to ~/.config. Reload with ctrl+shift+,.
macOS
~/.config/ghostty/config.ghostty
~/Library/Application Support/com.mitchellh.ghostty/config.ghosttymacOS reads the XDG files first, then the Application Support files, and later files override earlier ones. Reload with cmd+shift+,.
If both config.ghostty and config exist, both load in the order the docs list them, with later values winning, which is rarely what you want. Keep one file. Throughout this guide I write config in examples because it is shorter; use config.ghostty if you follow the new convention.
Every line is a simple key = value pair. Check the file without restarting:
ghostty +validate-configThe full default state of every option is one command away:
ghostty +show-config --default --docsThat one doubles as offline documentation. It prints each key, its default and the explanation, and it matches the binary you run.
How to apply a built-in theme
Run the theme picker:
ghostty +list-themesRunning it interactively opens a split TUI with a scrollable theme list on the left and a live palette and syntax preview on the right. Press F1 for shortcuts or ESC to quit. Pipe the command to output a plain text list for scripting:
ghostty +list-themes --plain
ghostty +list-themes --color=dark --plain # 637 dark themes
ghostty +list-themes --color=light --plain # 182 light themes
The built-in picker previews the palette and syntax colors before you commit.
Once you have a name, set it in ~/.config/ghostty/config:
theme = Catppuccin MochaNames are exact, including capitalization and spaces. theme = catppuccin mocha does not match anything. Press ctrl+shift+, (Linux) or cmd+shift+, (macOS) inside any Ghostty window to reload the config, or run ghostty +validate-config first if you suspect a typo.
Keep two loading rules in mind before picking themes. First, your main config beats the theme file. Any palette, background, foreground, or cursor-color line in config overrides the selected scheme because Ghostty loads themes first. Second, a theme file follows normal config syntax, letting it set non-color keys too.
Review third-party theme files
The Ghostty docs warn that a theme can modify any configuration option, so read a theme from an untrusted source before using it. Treat a pasted theme like a pasted shell script.
Later layers win. An explicit palette line in your config beats the theme file.
What are the best Ghostty themes?
There is no objective answer, but a handful of community favorites cover almost everyone’s taste. All six below ship with Ghostty 1.4.0; nothing extra to download. The screenshots show the same directory listing, ANSI palette blocks, and status line in each theme so you can compare them side by side.
Catppuccin Mocha
The soft pastel dark theme that took over half the dotfiles scene. Low contrast, warm purples and blues, easy on the eyes for long sessions. Ghostty ships all four Catppuccin flavors: Latte (light), Frappe, Macchiato, and Mocha.
theme = Catppuccin Mocha
Catppuccin Mocha: the directory listing, ANSI blocks, and status colors on #1e1e2e.
TokyoNight Storm
A cooler, bluer dark theme inspired by the VS Code port. Higher contrast than Catppuccin, and the blue tones work well if your editor runs Tokyo Night too. Ghostty ships the Night, Storm, Moon, and Day variants.
theme = TokyoNight Storm
TokyoNight Storm: note the colder blues compared to Catppuccin.
Gruvbox Dark
The retro groove classic. Warm browns, muted reds and greens, very readable at small sizes. Ghostty ships Gruvbox Dark, Dark Hard, Light and Light Hard, plus Gruvbox Material variants.
theme = Gruvbox Dark
Gruvbox Dark: the warmest option here, reds and yellows dominate.
Dracula
The most widely ported theme in existence. Purple-heavy, high saturation, decent contrast. If your whole toolchain already runs Dracula, this keeps the terminal consistent.
theme = Dracula
Dracula: saturated purples and pinks on #282a36.
Nord
Cool arctic blues, deliberately muted. The least saturated dark theme here; some people find it too washed out, others swear by it for reduced eye strain.
theme = Nord
Nord: muted blues, gentle on bright displays.
Catppuccin Latte
The light-theme representative, because you asked. Soft warm colors on a cream background. Pairs naturally with Mocha for automatic light and dark switching, which is the next section.
theme = Catppuccin Latte
Catppuccin Latte: proof that light terminals can look good.
Other names worth a preview, all present in the bundled theme list: Everforest Dark Med, Kanagawa Wave, Rose Pine, GitHub Dark Default and iTerm2 Solarized Dark. Run the picker and judge with your own eyes; themes look different at your font size and display brightness than in anyone’s screenshots.
Automatic light and dark switching
Ghostty can follow your desktop’s light and dark mode. Use the split syntax in the config:
theme = dark:Catppuccin Mocha,light:Catppuccin LatteBoth sides are required in this form. Per the theme docs, Ghostty switches automatically based on the OS appearance, and ghostty +validate-config accepted this line on 1.4.0. I did not test appearance switching on a tiling WM without an XDG desktop portal. Test on GNOME first if switching does nothing so you separate a Ghostty bug from a portal issue.
For the window chrome itself (titlebar, tabs), the companion key is window-theme. The default auto picks light or dark chrome from the terminal background color, and with a split light and dark theme it behaves like system. Setting window-theme = ghostty (Linux builds only) uses the background and foreground colors from your Ghostty config, which is what I used in the screenshots above so the titlebar blends in.
Writing your own theme file
Custom themes live in ~/.config/ghostty/themes/ as plain files whose name is the theme name. Create ~/.config/ghostty/themes/my-theme and fill it:
# ~/.config/ghostty/themes/my-theme
palette = 0=#1a1b26
palette = 1=#f7768e
palette = 2=#9ece6a
palette = 3=#e0af68
palette = 4=#7aa2f7
palette = 5=#bb9af7
palette = 6=#7dcfff
palette = 7=#a9b1d6
palette = 8=#414868
palette = 9=#f7768e
palette = 10=#9ece6a
palette = 11=#e0af68
palette = 12=#7aa2f7
palette = 13=#bb9af7
palette = 14=#7dcfff
palette = 15=#c0caf5
background = #16161e
foreground = #c0caf5
cursor-color = #c0caf5
cursor-text = #16161e
selection-background = #33467c
selection-foreground = #c0caf5Then reference it by name exactly like a built-in:
theme = my-themeThe 16 palette slots map directly to ANSI colors, where 0-7 are black through white and 8-15 are bright variants. Every ls color, shell prompt, and TUI highlight pulls from these slots. Ghostty checks $XDG_CONFIG_HOME/ghostty/themes before $PREFIX/share/ghostty/themes, so a personal theme file shadows a bundled theme of the same name. The theme docs also allow an absolute file path in theme.
A theme file can technically set any option, including fonts and padding, but I keep those in the main config and use theme files purely for color.
The fastest way to write a custom theme is copying an existing built-in from share/ghostty/themes into ~/.config/ghostty/themes/ and adjusting only the colors you dislike. Because Ghostty syncs weekly from the iTerm2-Color-Schemes project per the theme docs, popular palettes usually ship built in already.
Adjusting fonts, padding, cursor, and opacity
The theme only owns color. The rest of the look lives in your main config. The options that change the feel the most:
font-family = "JetBrainsMono Nerd Font"
font-size = 14
window-padding-x = 16
window-padding-y = 12
window-padding-balance = true
cursor-style = bar
background-opacity = 0.95
background-blur = trueA few notes on these, all from the config reference:
font-familyaccepts any font fontconfig sees. List what Ghostty finds withghostty +list-fonts. Nerd Fonts work fine; Ghostty also bundles JetBrains Mono and built-in nerd fonts.font-thicken = truedraws a thicker stroke, but the reference says it is currently only supported on macOS, so it is not in the sample above. On macOS, add it if thin fonts look gray.- Padding is in points and scales with DPI.
window-padding-balance = truespreads the leftover space (when the window is not an exact multiple of the cell size) across all four edges. Padding changes at runtime only affect new windows and tabs. cursor-styleacceptsblock,bar,underlineorblock_hollow. Shell integration sets a bar at the prompt regardless; disable that withshell-integration-features = no-cursorif you want your choice respected everywhere.background-opacityruns from 0 (transparent) to 1 (opaque) and out-of-range values clamp. On macOS, changing it requires a full restart of Ghostty.background-bluronly matters when opacity is below 1.truemeans blur intensity 20; you can also give an integer. It works on macOS and on some Linux desktops, including KDE Plasma on Wayland and X11, where the exact intensity is ignored because KWin has one global blur setting. Where blur is unsupported you get plain transparency.
Prompt tuning pairs well with theme work
Once the colors are right, the shell prompt is the next layer. Starship gives you a fast, themeable prompt that inherits your terminal palette. I run the combination covered in the Starship and Ghostty setup and the Fish and Starship guide.
Custom shaders for terminal effects
Ghostty supports post-processing shaders written in GLSL, compatible with the Shadertoy format. This is the same mechanism terminals like Cool Retro Term emulate with whole extra processes; here it runs on the GPU in the render pipeline. Set the path in your config:
custom-shader = ~/.config/ghostty/shaders/scanlines.glslRepeat the key to chain multiple shaders; each one receives the previous shader’s output. A minimal working example, a CRT-style scanline dimmer I ran while writing this:
// scanlines.glsl: subtle CRT scanline dimming for Ghostty
void mainImage(out vec4 fragColor, in vec2 fragCoord) {
vec4 color = texture(iChannel0, fragCoord / iResolution.xy);
float row = mod(fragCoord.y, 3.0);
if (row < 1.0) {
color.rgb *= 0.55;
}
fragColor = color;
}Every third pixel row drops to 55 percent brightness. Raise the multiplier toward 1.0 for a subtler effect; 0.85 is barely visible and 0.55 is unmistakable. The shader contract, per the reference: implement mainImage, read the terminal screen from iChannel0, use iResolution and iTime for layout and animation. Ghostty adds its own iCurrentCursor uniform (position and size of the cursor), which is how cursor trail effects work.
The scanline shader running at 0.55 intensity. Heavy for effect; tune it down for daily use.
For ready-made shaders, browse the ghostty-shaders collection. Keep two warnings in mind when enabling custom GLSL shaders. First, shaders that fail to compile are skipped with errors printed only to the Ghostty log rather than config validation, so check the log if an effect disappears. A compiling shader with broken math can blank the window, which you reverse by commenting out custom-shader and reloading. Second, animated shaders cost CPU. The custom-shader-animation option defaults to true on focused windows, while always animates unfocused surfaces and false renders only on terminal updates to save battery.
Reloading, validating, troubleshooting
The workflow that avoids almost all pain:
ghostty +validate-config # catches typos before you reload
ghostty +show-config # shows the merged effective configPress ctrl+shift+, in Ghostty to reload. Since window padding and certain window attributes only affect newly opened windows and tabs, open a fresh tab before assuming a reload failed.
Common failure modes I hit or see reported constantly:
- Theme name typo. Case and spaces must match exactly.
theme = catppuccin mochasilently falls back to defaults. Check withghostty +validate-configand confirm the name in+list-themes. - Theme looks wrong after reload. Your main config likely sets
backgroundorpalettelines that override the theme file, because user config always loads last. - Both
configandconfig.ghosttyexist. Both load, later values win. Delete one. - Black window after adding a shader. Bad GLSL. Remove the
custom-shaderline, reload, iterate on the shader file. - Light and dark split does nothing. Your desktop may not report a system appearance preference. Test on GNOME or macOS first to isolate whether it is a Ghostty problem or an environment problem.
If you use a multiplexer on top, colors pass through fine in my setup. My terminal multiplexer comparison covers the current options, and Rex from the Ghostty author himself is the interesting one to watch.
FAQ
How many themes does Ghostty ship with?
819 themes in the 1.4.0 release: 637 dark and 182 light, counted from ghostty +list-themes --color=dark and --color=light. Most of them originate from the iTerm2-Color-Schemes community project, so the collection covers essentially every popular terminal color scheme.
Where do I put Ghostty theme files?
Custom themes go in ~/.config/ghostty/themes/ as plain files named exactly what you want to type after theme =. No extension. theme = my-theme then resolves to ~/.config/ghostty/themes/my-theme, and it appears in the +list-themes picker alongside the bundled ones.
How do I reload the Ghostty config without restarting?
Press ctrl+shift+, on Linux or cmd+shift+, on macOS in any Ghostty window. Most settings apply immediately, but some window-level options like window-padding-x only affect new windows and tabs, so open a fresh tab if a change seems ignored. Validate first with ghostty +validate-config to catch syntax errors.
Can Ghostty switch themes with light and dark mode?
Yes. Use the split form theme = dark:Catppuccin Mocha,light:Catppuccin Latte and the terminal follows the system appearance. Both light and dark must be specified in this form. If it does nothing on a Linux window manager, check that your desktop reports a dark style preference.
Why does my theme have no effect?
Two usual causes. The theme name does not match exactly (names are case sensitive and spaces matter), which ghostty +validate-config reports. Or you have background, foreground, or palette lines in your own config, which override whatever the theme file sets because user config always wins.
Are Ghostty themes safe to download?
Treat them like shell scripts. A theme file is a full Ghostty config file and can set any valid option, not just colors, which is why the docs warn about untrusted sources. The bundled themes come from the iTerm2-Color-Schemes project, so third-party files are the ones to read first.
How do I make Ghostty transparent?
Set background-opacity = 0.9 (or lower) in the config and optionally background-blur = true for a frosted effect (blur intensity 20). Blur works on macOS and some Linux desktops such as KDE Plasma; elsewhere you get plain transparency. The value clamps between 0 and 1, and on macOS changing it needs a full restart.
Can I use custom shaders in Ghostty?
Yes, any Shadertoy-compatible GLSL shader via custom-shader = ~/.config/ghostty/shaders/yourfile.glsl, repeatable to chain effects. Implement mainImage and read the screen from iChannel0. Keep custom-shader-animation at the default true or set it to false on battery, since always keeps animating unfocused windows and gets expensive with several surfaces.
Did this guide work for you?
Need help with Astro, VPS, or a self-hosted app? View services →


