mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-12 19:39:20 -05:00
add back untracked color, remove suffix for now
This commit is contained in:
@@ -813,6 +813,15 @@
|
||||
"dark": "#cf9425",
|
||||
"highContrast": "#cf9425"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "git.color.untracked",
|
||||
"description": "Color for modified resources",
|
||||
"defaults": {
|
||||
"light": "#49805b",
|
||||
"dark": "#73c990",
|
||||
"highContrast": "#73c990"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -174,8 +174,9 @@ export class Resource implements SourceControlResourceState {
|
||||
switch (this.type) {
|
||||
case Status.INDEX_MODIFIED:
|
||||
case Status.MODIFIED:
|
||||
case Status.UNTRACKED:
|
||||
return new ThemeColor('git.color.modified');
|
||||
case Status.UNTRACKED:
|
||||
return new ThemeColor('git.color.untracked');
|
||||
default:
|
||||
return undefined;
|
||||
}
|
||||
|
||||
@@ -67,7 +67,6 @@ class SCMDecorationsProvider implements IDecorationsProvider {
|
||||
return {
|
||||
severity: Severity.Info,
|
||||
color: resource.decorations.color,
|
||||
suffix: '\'',
|
||||
tooltip: localize('tooltip', "{0} - {1}", resource.decorations.tooltip, this._provider.label)
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user