Fez Vrasta
Fez Vrasta

Reputation: 14835

How to combine multiple VS Code themes?

I come from Atom, where I had a way to define a UI theme, and a syntax theme.

Now with VS Code I'm using One Dark Pro theme, because I like how it styles the UI, but I would like to use a different syntax for the editors text.

Is there a way to combine multiple themes to obtain what I want?

Upvotes: 4

Views: 2543

Answers (1)

Matt Bierner
Matt Bierner

Reputation: 65623

As of VSCode 1.13, you cannot do this without creating your own theme. We are tracking Atom-style support for separate syntax and UI themes here: https://github.com/Microsoft/vscode/issues/25986

You can manually combine themes however. See our built-in red theme for an example of using different files for the syntax theme definition (red.tmTheme) and the UI theme (Red-color-theme.json).

Upvotes: 1

Related Questions