Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I change the color of the >< remote icon in the VS Code status bar?

I installed the VS Code Remote Development extensions but the green >< icon in the left of the status bar doesn't look good with my preferred theme. How do I change its color?

The green >< icon in the status bar

like image 601
Matt Bierner Avatar asked May 02 '19 18:05

Matt Bierner


People also ask

How can I change the color of my status bar VS Code?

Press Control + Shift + P when you just open Visual Studio Code and type "open settings(UI)" and search for window. titleBarStyle and change the option from native to custom so that you can restore the colour of status bar from white to black.

Why is my VS Code status bar purple?

The reason for the difference is VS Code will display a blue status bar when you open a folder. At all other times it will display a purple status bar.


1 Answers

The >< icon is the Remote Window Indicator. Color themes can customize its color using the statusBarItem.remoteBackground and statusBarItem.remoteForeground theme colors

You can also override the color using the workbench.colorCustomizations setting in VS Code:

"workbench.colorCustomizations": {
    "statusBarItem.remoteBackground": "#5a34a0",
    "statusBarItem.remoteForeground": "#ccc"
}

Purple remote indicator

like image 94
Matt Bierner Avatar answered Sep 21 '22 07:09

Matt Bierner