Switch to Light Mode: How to Change VSCode Settings

Do you find yourself feeling strain on your eyes while coding during late night hours? Or perhaps you're simply prefer a lighter, more vibrant workspace? Switching Visual Studio Code (VSCode) to light mode can alleviate eye strain and create a more enjoyable coding environment. Let's delve into how to transition your VSCode from the cozy dark mode to a bright, light mode.

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

Before we commence, ensure you're running the latest version of Visual Studio Code. Many light mode customizations require the most recent update. If you're unsure about your version, open VSCode and click on the Help icon in the bottom-left corner, then select "Check for Updates Now".

Best 7 VSCode Extensions for Developers | Web Development
Best 7 VSCode Extensions for Developers | Web Development

Changing VSCode Default Theme

VSCode offers several light themes out-of-the-box. To access these, we'll navigate to the user interface theme setting.

4 VS Code Themes Every Developer Should Try 💻
4 VS Code Themes Every Developer Should Try 💻

First, bring up the Command Palette by pressing Ctrl + Shift + P (Windows, Linux) or Cmd + Shift + P (Mac). Then type "Open Settings" and select "Open Settings (JSON)" from the list of options.

Selecting a Light Theme

60+ VSCode themes you definitely need to try (dark + light)
60+ VSCode themes you definitely need to try (dark + light)

In the JSON file, look for the line starting with "editor.theme". Replace the content within the quotes with the name of the desired light theme. Here are a few popular choices:

  • "Light+" - A popular, high-contrast theme.
  • "Light" - A simple, slightly dimmer light theme.

After choosing your preferred theme, save the file and restart VSCode for the changes to take effect. If you're unsatisfied with the built-in light themes or eager to explore further customization options, proceed to the next section.

VS CODE SHORTCUTS EVERY CODER SHOULD KNOW
VS CODE SHORTCUTS EVERY CODER SHOULD KNOW

Extending VSCode with Light Themes

VSCode's "Extensions" marketplace harbors a trove of user-created light themes. To access, click the Extensions icon (five rectangles) on the sidebar or press Ctrl + Shift + X (Windows, Linux) or Cmd + Shift + X (Mac). Use the search bar at the top to find recommended or trending light themes like "One Dark Pro" or "Visual Studio Light".

Once you've found a theme you like, click the "Install" button next to it. The theme will now be active in your VSCode workspace. You can change themes on the fly by opening the Command Palette (same as above) and typing "Colors Theme" followed by your installed theme's name.

10 VS Code Extensions Every Developer Should Install (2026)
10 VS Code Extensions Every Developer Should Install (2026)

Configuring Light Mode Syntax Highlighting

Changing the primary theme isn't the only way to lighten your VSCode workspace. You can also modify individual colors and syntax highlighting for a truly customized light experience.

Boost Your Coding Speed with These 10 VS Code Extensions #VSCode #WebDevelopment #CodingTools
Boost Your Coding Speed with These 10 VS Code Extensions #VSCode #WebDevelopment #CodingTools
VSCode extension - Blockman to highlight  nested code blocks
VSCode extension - Blockman to highlight nested code blocks
Dark Mode Toggle Using Only CSS
Dark Mode Toggle Using Only CSS
Unbelievable HTML & CSS
Unbelievable HTML & CSS
VS Code Themes
VS Code Themes
Light and dark mode image in HTML
Light and dark mode image in HTML
THE MOST POWERFUL VIBE CODING PROMPT EVER:↓
THE MOST POWERFUL VIBE CODING PROMPT EVER:↓
Day / Night Toggle Switch & Animated Logout Button with CSS & JS
Day / Night Toggle Switch & Animated Logout Button with CSS & JS
Boost Productivity: Top VSCode Extensions Every Coder Needs 💻
Boost Productivity: Top VSCode Extensions Every Coder Needs 💻

To access syntax configuration, locate the same "editor.theme" line in your settings file as earlier. Below this, add a "-editor.tokenColorCustomizations" block to specify your desired color changes. For example:

"editor.tokenColorCustomizations": {
    " França": "#ff0000",
    "string": "#f0682a"
}

In this example, we've changed the color of comments (named "França") and strings to distinct red and orange shades respectively. Experiment with different color codes to find the perfect palette for your light mode workspace.

Hopefully, with these steps, you've successfully switched your VSCode to light mode – and perhaps even discovered some new customization options along the way. Happy coding, and remember to take care of your eyes!"