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 / backgrounds / backgrounds.ts
13 lines · 430 BRaw
1import type Types from '../types'
2
3/**
4 * The theme key behind a run of each kind: the diff's added and removed
5 * bands. A context run has none and draws on the terminal's own background
6 * (the theme's `background` key is the background-task accent, a cyan).
7 */
8export const BACKGROUNDS: Readonly<Record<Types.LineKind, string | undefined>> =
9 {
10 added: 'diffAdded',
11 removed: 'diffRemoved',
12 context: undefined,
13 }