From e7df1c88958a06577c014f0221d1d5d3714ee982 Mon Sep 17 00:00:00 2001 From: Amp Date: Sun, 9 Aug 2026 16:13:56 +0000 Subject: [PATCH] Add Peaksea themes for macOS Ghostty Amp-Thread-ID: https://ampcode.com/threads/T-019fe63c-cff6-71a9-9abe-23e7a66c8e6d Co-authored-by: Aditya Balakrishnan --- README.md | 3 +++ macos/ghostty/.config/ghostty/config | 12 ++++++---- .../.config/ghostty/themes/Peaksea Dark | 24 +++++++++++++++++++ .../.config/ghostty/themes/Peaksea Light | 24 +++++++++++++++++++ 4 files changed, 58 insertions(+), 5 deletions(-) create mode 100644 macos/ghostty/.config/ghostty/themes/Peaksea Dark create mode 100644 macos/ghostty/.config/ghostty/themes/Peaksea Light diff --git a/README.md b/README.md index 60b6b24..6fb0c91 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,9 @@ The fonts used by the terminal profiles are JetBrains Mono and Symbols Nerd Font Mono. Apple Color Emoji, Apple Symbols, Menlo, and SF Mono are macOS system fallbacks. +Ghostty automatically selects its Peaksea light or dark theme from the current +macOS appearance. Unlike WezTerm, it has no per-window light/dark toggle. + ### Stow packages Each package is independent. Before stowing, back up or remove any existing diff --git a/macos/ghostty/.config/ghostty/config b/macos/ghostty/.config/ghostty/config index 772ea3b..f257883 100644 --- a/macos/ghostty/.config/ghostty/config +++ b/macos/ghostty/.config/ghostty/config @@ -1,8 +1,11 @@ -theme = "Catppuccin Frappe" +# Peaksea follows macOS appearance automatically. Unlike WezTerm's custom +# CMD+SHIFT+L callback, Ghostty does not support a per-window light/dark toggle. +theme = "light:Peaksea Light,dark:Peaksea Dark" +window-theme = system -background-opacity = 0.92 -background-opacity-cells = true -background-blur = true +background-opacity = 1 +background-opacity-cells = false +background-blur = false unfocused-split-opacity = 0.85 # window-save-state was 'always' — caused auto-launch at login @@ -20,7 +23,6 @@ window-padding-y = 8 cursor-style = bar cursor-opacity = 0.85 -cursor-color = cell-foreground copy-on-select = clipboard selection-clear-on-copy = true diff --git a/macos/ghostty/.config/ghostty/themes/Peaksea Dark b/macos/ghostty/.config/ghostty/themes/Peaksea Dark new file mode 100644 index 0000000..89a79d4 --- /dev/null +++ b/macos/ghostty/.config/ghostty/themes/Peaksea Dark @@ -0,0 +1,24 @@ +# Peaksea 3.4 terminal palette, matched to ~/.wezterm.lua. +background = #202020 +foreground = #d0d0d0 +cursor-color = #00f000 +cursor-text = #000000 +selection-background = #a6caf0 +selection-foreground = #000000 + +palette = 0=#202020 +palette = 1=#800000 +palette = 2=#008000 +palette = 3=#d0d090 +palette = 4=#6098b0 +palette = 5=#800080 +palette = 6=#a6caf0 +palette = 7=#d0d0d0 +palette = 8=#333333 +palette = 9=#f08060 +palette = 10=#60f080 +palette = 11=#e0c060 +palette = 12=#70a0b8 +palette = 13=#f0c0f0 +palette = 14=#c0d8f8 +palette = 15=#ffffff diff --git a/macos/ghostty/.config/ghostty/themes/Peaksea Light b/macos/ghostty/.config/ghostty/themes/Peaksea Light new file mode 100644 index 0000000..174e671 --- /dev/null +++ b/macos/ghostty/.config/ghostty/themes/Peaksea Light @@ -0,0 +1,24 @@ +# Peaksea 3.4 terminal palette, matched to ~/.wezterm.lua. +background = #e0e0e0 +foreground = #000000 +cursor-color = #008000 +cursor-text = #f0f0f0 +selection-background = #a6caf0 +selection-foreground = #000000 + +palette = 0=#000000 +palette = 1=#800000 +palette = 2=#489000 +palette = 3=#907000 +palette = 4=#2060a8 +palette = 5=#a030a0 +palette = 6=#007068 +palette = 7=#c0c0c0 +palette = 8=#686868 +palette = 9=#c03000 +palette = 10=#009030 +palette = 11=#d0d090 +palette = 12=#1050a0 +palette = 13=#6a5acd +palette = 14=#a6caf0 +palette = 15=#f0f0f0