I use Ghostty themes as a small context system. Some terminals are for normal development, some are for writing, and some should look visibly dangerous before I type anything with production consequences.
This page is my reference so I do not have to keep the names in my head. When I want Codex to switch themes, I use my ghostty-dynamic-themes package instead of editing Ghostty config or pasting raw OSC escape sequences.
How I ask Codex to switch themes.
For Codex, the copy-paste-safe version is the skill invocation:
$apply-theme "TokyoNight Moon"
$random-theme
If an agent needs the direct script path, the important detail is
the --tty flag. Agent shell output is captured, so
raw printf escape sequences do not reliably reach
the terminal.
bash <(curl -sL https://raw.githubusercontent.com/CharlieGreenman/ghostty-dynamic-themes/main/apply-theme.sh) "TokyoNight Moon" --tty
Theme names are case-sensitive and should match Ghostty exactly.
One easy typo in my own notes: the built-in theme is
Borland, not Borlund.
The short list.
-
Black Metal- A stark black workspace with restrained contrast. Good when I want the terminal to get quiet and stay out of the way. -
Borland- The exact Ghostty name is Borland. This is the loud old-IDE blue-and-yellow option, useful when I want a deliberately unmistakable tab. -
Coffee Theme- A light, warm terminal that reads like paper. Useful when I want high visibility without a cold white interface. -
GitHub Dark High Contrast- A crisp dark theme for code review, logs, and anything where I want strong separation between syntax colors. -
GitHub Light High Contrast- The light-mode counterpart. I use it when ambient light is high or when a task benefits from a plain white canvas. -
Gruvbox Light Hard- A stable light theme with earthy contrast. Good for longer writing, shell work, and tasks that should feel less clinical. -
Hot Dog Stand- A deliberate alarm bell. I use this when the terminal should be impossible to confuse with a normal development context. -
Medallion- A warm bronze terminal for focused sessions where I want the screen to feel grounded without going fully neutral. -
Red Alert- A red production-warning style theme. It is useful when the terminal needs to communicate caution before a command is even typed. -
TokyoNight Moon- A polished dark-blue theme for everyday coding. It has enough color to keep syntax legible without making the terminal feel busy.
Palette reference.
Each card shows the terminal background, foreground, cursor, and the sixteen ANSI palette slots Ghostty applies for that theme.
$ apply-theme "Black Metal"
foreground #c1c1c1
selection #c1c1c1
Black Metal
A stark black workspace with restrained contrast. Good when I want the terminal to get quiet and stay out of the way.
- Background
#000000- Foreground
#c1c1c1- Cursor
#c1c1c1
#000000 #486e6f #dd9999 #a06666 #888888 #999999 #aaaaaa #c1c1c1 #404040 #486e6f #dd9999 #a06666 #888888 #999999 #aaaaaa #c1c1c1 $ apply-theme "Borland"
foreground #ffff4e
selection #a4a4a4
Borland
The exact Ghostty name is Borland. This is the loud old-IDE blue-and-yellow option, useful when I want a deliberately unmistakable tab.
- Background
#0000a4- Foreground
#ffff4e- Cursor
#ffa560
#4f4f4f #ff6c60 #a8ff60 #ffffb6 #96cbfe #ff73fd #c6c5fe #eeeeee #7c7c7c #ffb6b0 #ceffac #ffffcc #b5dcff #ff9cfe #dfdffe #ffffff $ apply-theme "Coffee Theme"
foreground #000000
selection #c1deff
Coffee Theme
A light, warm terminal that reads like paper. Useful when I want high visibility without a cold white interface.
- Background
#f5deb3- Foreground
#000000- Cursor
#a1a1a1
#000000 #c91b00 #00c200 #adaa00 #0225c7 #ca30c7 #00b8ba #a1a1a1 #686868 #ff6e67 #1fba28 #b2af1b #6871ff #f26af2 #20bdbf #ffffff $ apply-theme "GitHub Dark High Contrast"
foreground #f0f3f6
selection #f0f3f6
GitHub Dark High Contrast
A crisp dark theme for code review, logs, and anything where I want strong separation between syntax colors.
- Background
#0a0c10- Foreground
#f0f3f6- Cursor
#71b7ff
#7a828e #ff9492 #26cd4d #f0b72f #71b7ff #cb9eff #39c5cf #d9dee3 #9ea7b3 #ffb1af #4ae168 #f7c843 #91cbff #dbb7ff #56d4dd #ffffff $ apply-theme "GitHub Light High Contrast"
foreground #0e1116
selection #0e1116
GitHub Light High Contrast
The light-mode counterpart. I use it when ambient light is high or when a task benefits from a plain white canvas.
- Background
#ffffff- Foreground
#0e1116- Cursor
#0349b4
#0e1116 #a0111f #024c1a #3f2200 #0349b4 #622cbc #1b7c83 #66707b #4b535d #86061d #055d20 #4e2c00 #1168e3 #844ae7 #3192aa #88929d $ apply-theme "Gruvbox Light Hard"
foreground #3c3836
selection #3c3836
Gruvbox Light Hard
A stable light theme with earthy contrast. Good for longer writing, shell work, and tasks that should feel less clinical.
- Background
#f9f5d7- Foreground
#3c3836- Cursor
#3c3836
#f9f5d7 #cc241d #98971a #d79921 #458588 #b16286 #689d6a #7c6f64 #928374 #9d0006 #79740e #b57614 #076678 #8f3f71 #427b58 #3c3836 $ apply-theme "Hot Dog Stand"
foreground #ffffff
selection #ffff54
Hot Dog Stand
A deliberate alarm bell. I use this when the terminal should be impossible to confuse with a normal development context.
- Background
#ea3323- Foreground
#ffffff- Cursor
#ffff54
#000000 #ffff54 #ffff54 #ffff54 #000000 #ffff54 #ffffff #c6c6c6 #000000 #ffff54 #ffff54 #ffff54 #000000 #ffff54 #ffffff #c6c6c6 $ apply-theme "Medallion"
foreground #cac296
selection #626dac
Medallion
A warm bronze terminal for focused sessions where I want the screen to feel grounded without going fully neutral.
- Background
#1d1908- Foreground
#cac296- Cursor
#d3ba30
#000000 #b64c00 #7c8b16 #d3bd26 #616bb0 #8c5a90 #916c25 #cac29a #5e5219 #ff9149 #b2ca3b #ffe54a #acb8ff #ffa0ff #ffbc51 #fed698 $ apply-theme "Red Alert"
foreground #ffffff
selection #073642
Red Alert
A red production-warning style theme. It is useful when the terminal needs to communicate caution before a command is even typed.
- Background
#762423- Foreground
#ffffff- Cursor
#ffffff
#000000 #d62e4e #71be6b #beb86b #489bee #e979d7 #6bbeb8 #d6d6d6 #666666 #e02553 #aff08c #dfddb7 #65aaf1 #ddb7df #b7dfdd #ffffff $ apply-theme "TokyoNight Moon"
foreground #c8d3f5
selection #2d3f76
TokyoNight Moon
A polished dark-blue theme for everyday coding. It has enough color to keep syntax legible without making the terminal feel busy.
- Background
#222436- Foreground
#c8d3f5- Cursor
#c8d3f5
#1b1d2b #ff757f #c3e88d #ffc777 #82aaff #c099ff #86e1fc #828bb8 #444a73 #ff757f #c3e88d #ffc777 #82aaff #c099ff #86e1fc #c8d3f5