Disable Dark Mode in Visual Studio Code

Dark Mode in Visual Studio Code (VSCode) has its enthusiasts, but for those who prefer a lighter workspace, turning it off is a straightforward process. Let's dive into how you can achieve this in a few simple steps.

VS Code Shortcuts Every Beginner Programmer Should Know
VS Code Shortcuts Every Beginner Programmer Should Know

Before we delve into the process, it's crucial to understand that VSCode's Dark Mode isn't just about aesthetics. It's designed to reduce eye strain in low-light conditions, but if you're more comfortable with a traditional light theme, let's get you there.

VS Code Themes
VS Code Themes

Turning Off Dark Mode

The first step involves accessing your VSCode settings. If you're not familiar with the settings menu, don't worry, it's intuitive and easy to navigate.

Dark Mode Toggle Using Only CSS
Dark Mode Toggle Using Only CSS

Once you're in the settings, you'll see a variety of preferences you can adjust. Now, let's find the setting that will turn off Dark Mode.

Accessing Settings

Webhint Visual Studio Code extension
Webhint Visual Studio Code extension

To access settings, you have a couple of options. You can either use the shortcut Ctrl+, (or Command+, on Mac), or navigate through the menu: "File" > "Preferences" > "Settings" (Windows/Linux) or "Code" > "Preferences" > "Settings" (Mac).

Or, you can always use the search bar. Just type "settings" and select the first result, "Open Settings (JSON)".

Locating the Dark Mode Setting

an image of a computer screen with some text on it and two other screens showing the same
an image of a computer screen with some text on it and two other screens showing the same

In the settings menu, you'll see a long list of configurations. To find the Dark Mode setting, you can again use the search bar. Type "workbench.colorTheme" and you'll be taken to the relevant line.

The "workbench.colorTheme" setting determines the theme of your VSCode workspace. Your current theme will be indicated by the value of this setting. To turn off Dark Mode, you need to change this value.

Finally, let's change the theme to a light one. This could be "Light+" if you want a bright workspace, or "Light" if you prefer something a bit more subtle. After changing the value, your VSCode workspace will automatically reload with the new theme.

Radical - Visual Studio Marketplace
Radical - Visual Studio Marketplace

And that's it! You've successfully turned off Dark Mode in Visual Studio Code. If you ever want to switch back, just follow the same steps and change the "workbench.colorTheme" value back to "Dark+" or "Dark".

Midnight Coding Vibes 💻🌙 – VS Code in Action
Midnight Coding Vibes 💻🌙 – VS Code in Action
My Visual Studio Code Setup
My Visual Studio Code Setup
Vscode tips and tricks
Vscode tips and tricks
an image of a computer screen with some type of programming program in the bottom right corner
an image of a computer screen with some type of programming program in the bottom right corner
2077 theme - Visual Studio Marketplace
2077 theme - Visual Studio Marketplace
Start Coding in Your Browser With Microsoft Visual Studio Online
Start Coding in Your Browser With Microsoft Visual Studio Online
How to Install Visual Studio Code on Arch Linux
How to Install Visual Studio Code on Arch Linux
the cover of one dark, with an image of a computer screen in the background
the cover of one dark, with an image of a computer screen in the background
August 2022 (version 1.71)
August 2022 (version 1.71)