add back untracked color, remove suffix for now

This commit is contained in:
Johannes Rieken
2017-10-09 18:42:13 +02:00
parent 3c68560ed8
commit e73da33e4f
3 changed files with 11 additions and 2 deletions

View File

@@ -813,6 +813,15 @@
"dark": "#cf9425",
"highContrast": "#cf9425"
}
},
{
"id": "git.color.untracked",
"description": "Color for modified resources",
"defaults": {
"light": "#49805b",
"dark": "#73c990",
"highContrast": "#73c990"
}
}
]
},

View File

@@ -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;
}

View File

@@ -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)
};
}