File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -86,13 +86,19 @@ export class Ctx {
86
86
case "warning" :
87
87
this . statusBar . tooltip += "\nClick to reload." ;
88
88
this . statusBar . command = "rust-analyzer.reloadWorkspace" ;
89
- this . statusBar . color = new vscode . ThemeColor ( "notificationsWarningIcon.foreground" ) ;
89
+ this . statusBar . color = new vscode . ThemeColor ( "statusBarItem.warningForeground" ) ;
90
+ this . statusBar . backgroundColor = new vscode . ThemeColor (
91
+ "statusBarItem.warningBackground"
92
+ ) ;
90
93
icon = "$(warning) " ;
91
94
break ;
92
95
case "error" :
93
96
this . statusBar . tooltip += "\nClick to reload." ;
94
97
this . statusBar . command = "rust-analyzer.reloadWorkspace" ;
95
- this . statusBar . color = new vscode . ThemeColor ( "notificationsErrorIcon.foreground" ) ;
98
+ this . statusBar . color = new vscode . ThemeColor ( "statusBarItem.errorForeground" ) ;
99
+ this . statusBar . backgroundColor = new vscode . ThemeColor (
100
+ "statusBarItem.errorBackground"
101
+ ) ;
96
102
icon = "$(error) " ;
97
103
break ;
98
104
}
You can’t perform that action at this time.
0 commit comments