Skip to main content
Coding Theme
darkSynced16 ANSI colors

Sour Grapes for Ghostty

Sour Grapes is a dark Ghostty theme. Set theme = Sour Grapes in your Ghostty config to use its 16 ANSI colors, #35203f background, and #fff3d9 text.

Preview

Terminal preview

Sour Grapes Ghostty theme preview

Install

Install in Ghostty

~/.config/ghostty/config.ghostty
theme = Sour Grapes

Save the file, then reload with Cmd+Shift+, on macOS or Ctrl+Shift+, on Linux.

Colors

Palette

Every color from the bundled theme file.

ANSI palette

0
Black#1f2027
1
Red#f39ba1
2
Green#b9db82
3
Yellow#f3cc7b
4
Blue#a8c5f4
5
Magenta#e1a6e5
6
Cyan#8bd6c8
7
White#ded3c6
8
Bright Black#909194
9
Bright Red#f6b6ba
10
Bright Green#cce5a4
11
Bright Yellow#f6da9f
12
Bright Blue#bfd5f7
13
Bright Magenta#e9beec
14
Bright Cyan#aae1d7
15
Bright White#e7dfd5

Terminal UI

Background#35203f
Foreground#fff3d9
Cursor#e1a6e5
Cursor text#35203f
Selection#f3cc7b
Selection text#35203f

Contrast

A cool, balanced dark palette anchored on #35203F, pairing text text (#FFF3D9) at 13.34:1 (AAA). All 6 graded roles clear WCAG AA (4.5:1+) for normal code and UI text.

Background

#35203F

  • Textprompt text on the terminal
  • Greensuccess and string green
  • Yellowwarnings in yellow
  • Bluenames and links in blue
  • Magentaconstants in magenta
  • Cyantypes in cyan
Appearance
Dark
Temperature
Cool
Saturation
Balanced
  • Text

    #FFF3D9

    13.34:1AAA

  • Green

    #B9DB82

    9.45:1AAA

  • Yellow

    #F3CC7B

    9.60:1AAA

  • Blue

    #A8C5F4

    8.36:1AAA

  • Magenta

    #E1A6E5

    7.54:1AAA

  • Cyan

    #8BD6C8

    8.77:1AAA

AA is 4.5:1 for normal text, 3:1 only for large text (at least 24px, or 18.7px bold). AAA is 7:1 (4.5:1 for large text). Code and terminal text are normal text, so anything under 4.5:1 fails.

Ghostty themes ship a 16-color ANSI palette. Green, yellow, blue, magenta, and cyan are the entries most themes use for strings, warnings, and keywords. They are not editor token scopes.