File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 19221922 "highContrast" : " #E2C08D"
19231923 }
19241924 },
1925+ {
1926+ "id" : " gitDecoration.stageAddedResourceForeground" ,
1927+ "description" : " %colors.stageAdded%" ,
1928+ "defaults" : {
1929+ "light" : " #0a7a62" ,
1930+ "dark" : " #02c39a" ,
1931+ "highContrast" : " #00cea1"
1932+ }
1933+ },
1934+ {
1935+ "id" : " gitDecoration.stageModifiedResourceForeground" ,
1936+ "description" : " %colors.stageModified%" ,
1937+ "defaults" : {
1938+ "light" : " #FF661F" ,
1939+ "dark" : " #FFAB85" ,
1940+ "highContrast" : " #ca541d"
1941+ }
1942+ },
1943+ {
1944+ "id" : " gitDecoration.stageDeletedResourceForeground" ,
1945+ "description" : " %colors.stageDeleted%" ,
1946+ "defaults" : {
1947+ "light" : " #ad0707" ,
1948+ "dark" : " #c74e39" ,
1949+ "highContrast" : " #c74e39"
1950+ }
1951+ },
19251952 {
19261953 "id" : " gitDecoration.deletedResourceForeground" ,
19271954 "description" : " %colors.deleted%" ,
Original file line number Diff line number Diff line change 168168 "submenu.stash" : " Stash" ,
169169 "colors.added" : " Color for added resources." ,
170170 "colors.modified" : " Color for modified resources." ,
171+ "colors.stageAdded" : " Color for resources which have been staged." ,
172+ "colors.stageModified" : " Color for resources which have been staged, but modified." ,
173+ "colors.stageDeleted" : " Color for resources which have been staged, but deleted." ,
171174 "colors.deleted" : " Color for deleted resources." ,
172175 "colors.untracked" : " Color for untracked resources." ,
173176 "colors.ignored" : " Color for ignored resources." ,
Original file line number Diff line number Diff line change @@ -205,12 +205,15 @@ export class Resource implements SourceControlResourceState {
205205 get color ( ) : ThemeColor {
206206 switch ( this . type ) {
207207 case Status . INDEX_MODIFIED :
208+ return new ThemeColor ( 'gitDecoration.stageModifiedResourceForeground' ) ;
208209 case Status . MODIFIED :
209210 return new ThemeColor ( 'gitDecoration.modifiedResourceForeground' ) ;
210211 case Status . INDEX_DELETED :
212+ return new ThemeColor ( 'gitDecoration.stageDeletedResourceForeground' ) ;
211213 case Status . DELETED :
212214 return new ThemeColor ( 'gitDecoration.deletedResourceForeground' ) ;
213215 case Status . INDEX_ADDED :
216+ return new ThemeColor ( 'gitDecoration.stageAddedResourceForeground' ) ;
214217 case Status . INTENT_TO_ADD :
215218 return new ThemeColor ( 'gitDecoration.addedResourceForeground' ) ;
216219 case Status . INDEX_RENAMED :
You can’t perform that action at this time.
0 commit comments