Interface SourceControlResourceDecorations

The decorations for a source control resource state. Can be independently specified for light and dark themes.

interface SourceControlResourceDecorations {
    color?: ThemeColor;
    dark?: SourceControlResourceThemableDecorations;
    faded?: boolean;
    iconPath?: string | Uri | ThemeIcon;
    letter?: string;
    light?: SourceControlResourceThemableDecorations;
    source?: string;
    strikeThrough?: boolean;
    tooltip?: string;
}

Hierarchy (view full)

Properties

color?: ThemeColor

The dark theme decorations.

faded?: boolean

Whether the source control resource state should be faded in the UI.

iconPath?: string | Uri | ThemeIcon

The icon path for a specific source control resource state.

letter?: string

The light theme decorations.

source?: string
strikeThrough?: boolean

Whether the source control resource state should be striked-through in the UI.

tooltip?: string

The title for a specific source control resource state.