Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

VSCode Theme Settings

VSCode Theme Settings

VSCode theme settings allow us to customize the color scheme of the Visual Studio Code user interface according to personal preferences and the working environment.

A theme affects not only the UI elements of VS Code but also the highlighting color scheme of the code editor.

Preview themes from the Command Palette

Select from the menu bar

Code > Settings (Preferences) > Themes > Color Theme

menu item: Or use the command Preferences: Color Theme (⌘K ⌘T) to open the theme picker.

Open using keyboard shortcuts:

Once opened, the command box is shown below:

Use the Up and Down arrow keys to browse the theme list and preview the theme colors in real time. After selecting your favorite theme, press Enter to confirm.

The currently active theme is stored in the user settings. For information about opening the settings menu, refer to VS Code settings:



// Define the color theme used by the workspace

"workbench.colorTheme": "Solarized Dark"

Tip:By default, themes are stored in the user settings and apply globally to all workspaces.

If you want to configure a theme for a specific workspace, you can specify it in the workspace settings.


Get themes from the marketplace

Browse marketplace themes from the theme picker

In the Color Theme picker, click the Browse Additional Color Themes... option to jump to the marketplace theme browsing page:

After clicking, a list of themes will be displayed. Use the Up and Down arrow keys to browse the theme list and preview the theme colors in real time:

In the Color Theme picker, click the Browse Additional Color Themes... option to jump to the marketplace theme browsing page:

Search for themes from the Extensions view

In addition to the built-in themes, the extension marketplace also provides a large number of themes:

For example, search for the theme One Dark Pro:

You can also use the @category:"themes" filter in the search box to find related themes: