Theme override: input prompt text color is not configurable (hardcoded)

Resolved 💬 3 comments Opened May 1, 2026 by BravyMatheusGama Closed May 5, 2026

Summary

The color of the text typed in the main <TextInput> prompt of Claude Code (the line where the user types before pressing Enter) cannot be changed via any of the documented theme override keys in ~/.claude/themes/<slug>.json.

Environment

  • Claude Code: v2.1.126 (Mac binary ~/.local/share/claude/versions/2.1.126)
  • Terminal: Ghostty 1.x
  • macOS: Darwin 25.2.0
  • Custom theme via theme: "custom:framer" in ~/.claude/settings.json

Reproduction

  1. Create a custom theme ~/.claude/themes/framer.json:
{
  "name": "Framer",
  "base": "dark",
  "overrides": {
    "text": "#FF00FF"
  }
}
  1. Set "theme": "custom:framer" in settings.json.
  2. Restart claude and type a few characters in the prompt.

Expected

The text being typed in the prompt input should reflect a configurable color (e.g., text or a dedicated key like promptInputText / userInputText).

Actual

The text in the prompt input renders in a fixed teal/cyan tone (~#00a595), independent of:

  • text, secondaryText, inactive, subtle, claude, claudeShimmer, suggestion, remember, permission, permissionShimmer, promptBorder, promptBorderShimmer, bashBorder, autoAccept, ide, planMode, merged, professionalBlue, briefLabelYou, briefLabelClaude, success, inverseText — all tested individually and in combination.
  • base: "dark" vs base: "dark-ansi" — both behave the same.
  • Terminal foreground (Ghostty foreground = #98ec65 — only affects shell text, not the Claude input).
  • Terminal palette ANSI 6 (cyan) and 14 (cyanBright) — overriding to magenta #FF00FF does NOT change the prompt input color.

The cumulative test (Ghostty foreground + cursor + every palette slot 0–15 set to #FF00FF) still renders the input in teal, which strongly suggests the color is hardcoded in the compiled binary as an rgb(...) value.

Request

Please expose a theme override key (e.g., promptInputText) so users can match the prompt input color to the rest of their theme. Today the contrast between message text (text key, configurable) and the prompt input (hardcoded teal) is jarring on light/branded themes.

Notes

  • The other Claude Code surfaces (sent message, banner, mode footer, borders, agent labels) all respect the documented override keys correctly.
  • The hex #00a595 (default Ghostty Encom theme foreground) does not appear as a literal in the binary, so the value is likely stored as rgb(0,165,149) or similar.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗