2.3 KiB
2.3 KiB
name, description
| name | description |
|---|---|
| ghostty-deep-black-green-theme | Apply and configure the Ghostty deep black-green terminal theme on macOS: background #071f16, default light text, Sarasa Mono SC at 15pt. Use when the user asks to set up or replicate this Ghostty color scheme on a local Mac or a remote Mac over SSH, or to fix Ghostty background/font configuration on macOS. |
Ghostty Deep Black-Green Theme
Overview
Apply this scheme to Ghostty on macOS:
- Background:
#071f16(deep black-green), solid — do not add opacity/blur unless asked - Text: keep Ghostty default (light) — dark background makes it readable; do not set
foregroundunless the user explicitly wants a color - Font:
Sarasa Mono SC(English Iosevka + Chinese Source Han Sans, monospaced-aligned) - Font size:
15
Config
background = #071f16
font-family = "Sarasa Mono SC"
grapheme-width-method = unicode
font-size = 15
macOS config files
Ghostty on macOS reads multiple config files; later/higher-priority files override earlier ones:
~/.config/ghostty/config~/Library/Application Support/com.mitchellh.ghostty/config~/Library/Application Support/com.mitchellh.ghostty/config.ghostty
The Library files take priority over ~/.config/ghostty/config, and config.ghostty may be the actual effective file. Before applying, list and inspect all existing files. Verify effective settings with:
/Applications/Ghostty.app/Contents/MacOS/ghostty +show-config | grep -E '^(background|font-family|font-size|foreground|theme)'
If a higher-priority file still overrides background or font-size, remove the conflicting lines from that file (back it up first).
Apply
- Ensure
Sarasa Mono SCis installed in~/Library/Fonts(fileSarasa-SuperTTC.ttc); if missing, copy it from another Mac withsshpass -p '<password>' scp ...(~793 MB) or download it. - Write the config lines into the effective config file(s).
- Reload config with
Cmd+Shift+,, or restart Ghostty if a setting does not apply.
Apply to a remote Mac over SSH
- Back up the remote config first:
cp "<config>" "<config>.bak.$(date +%Y%m%d)". - Pull it locally with
sshpass -p '<password>' scp, edit withapply_patch, push it back withscp. - Verify the remote effective config, then ask the user to reload/restart Ghostty.