Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.246 Home All releases olderv2.1.245 v2.1.247newer
Claude Code v2.1.246

Diff colours follow your theme

Use it now
Useful3 Signal1
Themes

Diff colours now come from your theme, using new added and removed theme keys.

diffAddeddiffRemoveddiffAddedDimmeddiffRemovedDimmeddiffAddedWord
What

Added and removed lines in diffs now take their colours from the active theme rather than fixed values, via the theme keys diffAdded, diffRemoved, diffAddedDimmed, diffRemovedDimmed, diffAddedWord and diffRemovedWord.

Details
  • Theme colour strings in rgb(), #rrggbb, #rgb, ansi256() and ansi: form are all parsed.
  • Those keys are part of the diff render cache key, so switching theme redraws diffs rather than reusing stale colours.
Evidence

diffAddedDimmed

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.246 →