Feature request: expose @file mention (and slash-command) highlighting as customizable theme tokens

Open 💬 0 comments Opened Jun 26, 2026 by mendonca-bruno

What

In the prompt input box, slash commands like /foo are syntax-highlighted (blue), but @file mentions like @CLAUDE.md render as plain text with no highlight. Neither color is currently exposed in the theme system.

The documented input-related theme tokens only cover the input box border and mode indicators (promptBorder, planMode, autoAccept, bashBorder), the autocomplete suggestion color, and the global text color — none of which let you style @file references distinctly from the rest of the typed text.

Request

Please add customizable theme tokens for prompt-input syntax, e.g.:

  • atMention / fileReference — color/style for @file references typed in the prompt
  • slashCommand — expose the (currently hardcoded) slash-command highlight color so it can be themed too

Why

@file references are an important part of composing prompts, but they currently blend into normal text, making them hard to spot while typing — especially in long prompts that mention several files. Slash commands already get a distinct color; @ mentions deserve the same treatment, and exposing both as theme tokens would let users tune them to their palette via /theme.

Current behavior reference

Docs: terminal-config — Input box and mode indicators

View original on GitHub ↗