spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / diff / hooks / views / detail / word-backgrounds / word-backgrounds.ts
13 lines · 321 BRaw
1import type Types from '../types'
2
3/**
4 * The theme key behind a changed word of each kind; a context line never
5 * carries one, so it has none.
6 */
7export const WORD_BACKGROUNDS: Readonly<
8 Record<Types.LineKind, string | undefined>
9> = {
10 added: 'diffAddedWord',
11 removed: 'diffRemovedWord',
12 context: undefined,
13}