Switching from the default dark interface to a clean white theme in Visual Studio Code is a straightforward process that significantly reduces eye strain during late editing sessions. This guide walks you through the exact steps needed to change your workspace from dark mode to a bright, white mode using the built-in interface.
Accessing the Color Theme Menu
The journey to a white background begins by opening the Command Palette, a central hub for all configuration options. You can open this powerful menu by pressing Ctrl Shift P (Windows/Linux) or Cmd Shift P (macOS).
Once the palette is active, start typing "Preferences: Open Color Theme" without pressing enter. As you type, VS Code will filter the available options and display the exact menu entry responsible for changing the visual appearance of your editor.
Selecting the Default High Contrast White
After triggering the color theme search, a dropdown list will appear containing every installed theme. Scroll through this list carefully to locate the option labeled "Default Dark+". Conversely, you are looking for a theme named "Default Light+" or simply "White".
Clicking on the "Default Light+" theme applies the change instantly. However, if you want to see a preview of how the white theme looks before committing, you can hover over the options. This preview feature allows you to compare the stark white editor surface against your current dark setup visually.
Fine-Tuning the Interface (Optional)
While the "Default Light+" theme provides a solid bright background, you might notice that some interface elements like the sidebar or status bar retain a slightly darker tone. To achieve a completely white experience, you need to adjust the workbench controls.
Navigate to the Settings menu by clicking the gear icon in the lower-left corner and selecting "Settings". Alternatively, use the shortcut Ctrl , to bring up the settings editor directly.
Adjusting the Workbench Color
Within the settings tab, switch to the "Color Theme" section found in the search bar at the top of the settings menu. Here, you will find options for "Workbench" and "Icon" themes.
| Setting | Value for Pure White Mode |
|---|---|
| Workbench Color Theme | White |
| Icon Theme | Default (Light) |
Selecting the "White" option for the Workbench Color Theme ensures that the title bar, side bars, and status bar match the brightness of your editor, eliminating any visual contrast.
Verifying the Change
Once you have selected the light themes, the interface should transform immediately. The dark gray or blue hues of the dark mode will be replaced by the familiar white canvas of a standard text editor. The only elements that should remain dark are the text and syntax highlighting for your code.
If the background persists in looking off-white or gray, it is likely that an extension is overriding your theme. In this scenario, checking the extension manager and disabling themes or icon packs that might be interfering is the next logical step.
Persistence Across Sessions
After successfully changing the theme, you might want to ensure that VS Code remembers this preference every time you launch the application. Generally, the editor saves UI configurations automatically, so your white theme should persist.
However, if you find the theme reverting to dark on restart, revisit the Settings and confirm that both the Workbench Color Theme and Color Theme are still set to the light variants. Saving the settings file manually or ensuring no conflicting user settings exist usually resolves this persistence issue.