statusBar.noFolderBackground
status bar no folder background. Status Bar background color when no folder is opened.
Group: Status Bar colors
Where status bar no folder background paints
This sample moves from #252526 to #1a5276, then back.
status bar no folder background
statusBar noFolderBackground
Value in popular themes
The color each of these themes assigns to statusBar.noFolderBackground. Not set means the theme leaves the workbench default in place.
| Theme | Value |
|---|---|
| Dracula Theme | #191A21 |
| Tokyo Night | #16161e |
| GitHub Dark | #24292e |
| Catppuccin Mocha | #11111b |
| One Dark Pro | #21252b |
| Nord | #2E3440 |
| Gruvbox Dark Medium | #282828 |
| Night Owl | #011627 |
| Ayu Dark | #141821 |
| Rosé Pine | #191724 |
How to change status bar no folder background color in Visual Studio Code
macOS
- Open settings.json. Press Shift+Command+P to open the Command Palette, then run Preferences: Open User Settings (JSON).
- Set this color id. Add status bar no folder background under workbench.colorCustomizations. Status Bar background color when no folder is opened. Use a hex color such as #1a5276.
- Save the file. Press Command+S to save settings.json. Visual Studio Code applies the override on top of the active color theme. Remove the entry to use the theme color again.
Windows
Linux uses the same shortcuts.
- Open settings.json. Press Shift+Ctrl+P to open the Command Palette, then run Preferences: Open User Settings (JSON).
- Set this color id. Add status bar no folder background under workbench.colorCustomizations. Status Bar background color when no folder is opened. Use a hex color such as #1a5276.
- Save the file. Press Ctrl+S to save settings.json. Visual Studio Code applies the override on top of the active color theme. Remove the entry to use the theme color again.
{
"workbench.colorCustomizations": {
"statusBar.noFolderBackground": "#1a5276"
}
}Other Status Bar colors
- statusBar.noFolderForeground
- statusBar.noFolderBorder
- statusBar.debuggingBorder
- statusBarItem.activeBackground
- statusBar.debuggingForeground
- statusBarItem.hoverForeground
- statusBar.debuggingBackground
- statusBarItem.hoverBackground
- statusBar.border
- statusBarItem.prominentForeground
- statusBar.foreground
- statusBarItem.prominentBackground