From 1dcf75a360b752b6a00ee2a3df90985d7a1f2a58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20Hovsa=CC=88ter?= Date: Wed, 28 Jan 2026 10:05:56 +0100 Subject: [PATCH] Add support for Ghostty --- README.md | 12 ++++++------ templates/ghostty/config | 41 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 6 deletions(-) create mode 100644 templates/ghostty/config diff --git a/README.md b/README.md index 2ba9ed1..9cbcc29 100644 --- a/README.md +++ b/README.md @@ -154,12 +154,12 @@ Running these commands in sequence from the repo root should work out-of-the-box after having installed the CLI tool. ## Applications -This repo provides palette-agnostic theme templates for `kitty`, -`vim`/`neovim`, and `fzf` in the `templates/` directory. Pre-generated -*concrete* themes can be found in `app-config/`, if you'd like to try an -example out-of-the-box without using the `monobiome` CLI. Raw -palette colors can be found in `colors/` if you want to use them to define -static themes for other applications. +This repo provides palette-agnostic theme templates for `ghostty`, +`kitty`, `vim`/`neovim`, and `fzf` in the `templates/` directory. +Pre-generated *concrete* themes can be found in `app-config/`, if you'd +like to try an example out-of-the-box without using the `monobiome` CLI. +Raw palette colors can be found in `colors/` if you want to use them to +define static themes for other applications. Themes files in the `app-config/` directory are generated for light and dark modes of each biome, and named according to the following pattern: diff --git a/templates/ghostty/config b/templates/ghostty/config new file mode 100644 index 0000000..a8238fb --- /dev/null +++ b/templates/ghostty/config @@ -0,0 +1,41 @@ +# base settings +background = f{{term.background}} +foreground = f{{term.foreground}} + +selection-background = f{{term.selection_bg}} +selection-foreground = f{{term.selection_fg}} + +cursor-color = f{{term.cursor}} +cursor-text = f{{term.cursor_text}} + +# black +palette = 0=f{{term.normal.black}} +palette = 8=f{{term.bright.black}} + +# red +palette = 1=f{{term.normal.red}} +palette = 9=f{{term.bright.red}} + +# green +palette = 2=f{{term.normal.green}} +palette = 10=f{{term.bright.green}} + +# yellow +palette = 3=f{{term.normal.yellow}} +palette = 11=f{{term.bright.yellow}} + +# blue +palette = 4=f{{term.normal.blue}} +palette = 12=f{{term.bright.blue}} + +# magenta (red) +palette = 5=f{{term.normal.magenta}} +palette = 13=f{{term.bright.magenta}} + +# cyan (blue) +palette = 6=f{{term.normal.cyan}} +palette = 14=f{{term.bright.cyan}} + +# white +palette = 7=f{{term.normal.white}} +palette = 15=f{{term.bright.white}}