You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[theming] Separate workbench theme and syntax theme #25986
After upgrading to VS Code 1.12, I noticed that the workbench theme of the built-in Monokai color theme had been changed. However, I preferred the default workbench theme a lot.
But in VS Code, there are only two types of themes: Color Theme and Icon Theme, and the workbench theme is tightly coupled with the syntax theme in the Color Theme category.
In contrast, Sublime Text separates theme into color_scheme and theme in the preferences. For example, I can choose Material style for the workbench and Monokai for the syntax highlighting. Does the team have plan to separate them and let users have more flexibility to customize their editor?
By the way, I found that some of theme extensions use .json as their theme file (including the built-in Monokai), but the official documentation only mentions that we can use yo code to generate theme extension with an existing .tmTheme file. Is there any documentation for clarifying their difference and also the schema of the .json file?
Reacted by Will 保哥, elirnm, Abdón Rodríguez, BoX Fan, Dark Knight, Daniil Kulchenko, Sean Clayton, Spencer Hakim, Ajit, Saad Quadri and 184 more
Reacted by Gerardo PG, Rémi de Juvigny, Luca Zambarda, Earl, Excigma, wolf99, André Zanellato, NavyAdmiral, Tineyi, Jeremy Shore and 23 more
Reacted by Eric Riddoch, Odin Dahlström, João Felipe Ribeiro, Juan, Gerardo PG, José Miguel García Urrutia, distbit, MarredCheese, Emil Laine and Braun Artem
As #25985 mentioned, maybe the theme of Integrated Terminal should also be separated. Doesn't really like how zsh's agnoster theme was rendered in Monokai theme :(
Reacted by Mustafa Azzawie, Parminder Singh, Jakub Čábera, Aaron Meese, Crei, Songtronix, AliReZa Sabouri, pteromyscus, LucasOe, Jimmy Thrasibule and 1 more
Workbench theming is restricted to the new JSON color theme format. But you can keep your text mate theme together with the new JSON file.
Just use the code yeoman generator and create a theme extension. As input pass in your current tmTheme.
We currently have no plans to separate workbench themes and syntax themes in the UI.
Reacted by Crei, Will Rossiter, AtjonTV, Mushtaq Quraish, Mouad, Jason Sawyer, Bram, Adam Cooper, Jessie Gong, Martin Šimeček and 100 more
Reacted by Eric Riddoch, Sri Harsha Chilakapati, Breno Caldeira, Louise, William Klingler, Ilya Ratnikov, bendobbins, Kishor Jena, sirius0xff, Himanshu Parchand and 3 more
Martin Aeschlimann (@aeschli) I just figured out I can convert tmTheme file to JSON file, using vscode yo generator. So I guess its not much of a problem.
Is the JSON color theme format documented anywhere? I see most of the guides telling us to use yo code with an existing tmTheme file. In addition, how to keep them together with single theme contribution point?
Thanks. I hope this would be considered in future release.
Equinusocio (@equinusocio)
I know we can manually configure them, but considering for the user experience, I think there're benefits to separate them (like how Sublime Text did).
SKA (@anaganisk)
How did you do that? I've tried yo code but the generated theme extension project is always composed with tsTheme file, even creating an empty project.
Jimmy Hung (@hungys) If you want to convert a textmate theme to json you can also use any of the online converter tools. I converted my material theme textmate to yaml and then to json because you can't convert directly XML to JSON.
🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
Reacted by Gordan Trevis, Odin Dahlström, pteromyscus, b-fuze, Louise, Ali Sabtan, Shadowblitz16, Ehtiram Memmedkerimov, Idrees Samadi, brenpaul and 21 more
Reacted by Amy Troschinetz, Shalanah Dawson, Alexandre ZANNI, Marek Legris, Leonardo Faria, AliReZa Sabouri, Bruno Amaral, Danny Muterspaw, Michael Hutchings, Julian Fortune and 33 more
Reacted by pteromyscus, Shadowblitz16, Ehtiram Memmedkerimov, ygypt, Alex Stark, sirius0xff and Baran
Reacted by Eric Riddoch, Odin Dahlström, pteromyscus, Ehtiram Memmedkerimov, Louise, ygypt, sirius0xff and Alejandro
Reacted by AliReZa Sabouri, Julian Fortune, jaredyam, Kaustubh Ladiya, TheBdouilleur, Konstantinos Katserelis, qu1ck, Wout Vekemans, pteromyscus, Breno Caldeira and 4 more
Also waiting for this. I came from Webstorm and still trying to fully switch to vscode. On my mac, I would like to use a UI theme that matches my dark UI theme but would like to use a different color scheme for my editor syntax.
the year is 2091, dinosaurs have risen on earth once again, driving humans to escape to mars. the poor and unfortunate were left behind to scavenge and fend. the humans of earth fought tirelessly to stay alive, bonding together and developing the tactics to take the reptiles out. dinosaurs have gone extinct a second time, and the Meek who fled to mars leaving the poor behind are soon to feel the wrath of a planet coated in crimson with raptor blood, inhabited by warriors, and vscode still doesnt let you pick a separate theme for the ui and the syntax
Reacted by Sam Birch
Reacted by 190n, Emma Stott, Julian Torres, Louise, Alexandre ZANNI, Zeshan Ahmed, Paul Albrecht, Arthur Caccavo, Leandro Ribeiro, Kishor Jena and 14 more
I generally agree that it's a good thing if the UI of the workbench and the syntax highlighting is matched - good design isn't about looking nice, but about conveying information effortlessly. And there are a lot of themes out there but due to the lacking documentation on how to make a theme from scratch most of them are just based on a few others, which actually makes it very hard to find unique good ones.
The option of customizing most aspects of a theme is a good thing, but it fails at a crucial point: semantic highlighting.
If we fully separate workbench- and syntactic themes it might actually get really confusing in the end, as for legacy reasons existing and beloved color themes will have to be able to do both. (And also it seems to be rather complicated and/or the priority of/enthusiasm for this feature is not to great with the team as the time it takes to get it done is rather long...)
I would propose a different approach therefore:
Why not extend the theme syntax so that tokeColors as well as semanticTokenColors can be wrapped into language specific definitions together with a subset from colors (editor.background being the most obvious) and let those override the standards defined in the root.
it would be a combination of the language specific settings
my-color-theme.json:
{
"color": {"same as" : "now"},
"colorTokens": {"same as" : "now"},
"semanticColorTokens": {"nothing" : "new"},
"language-specifics" : [
{
"[typescript]" : {
"color": {
//light on dark
"editor.background": "#080809",
"editor.foreground": "#b8cbd1"
// and so on for relevant editor settings only
},
"colorTokens": {
// same principle as today
},
"semanticColorTokens": {
// ditto
}
},
"[markup]" : {
"color": {
// dark on light
"editor.background": "#b8cbd1",
"editor.foreground": "#080809"
// and so on for relevant editor settings only
},
"colorTokens": {
// same principle as today
},
"semanticColorTokens": {
// ditto
}
}
// and on ...
}
]
}
That in combination with ad better documentation for theming - it is actually pretty easy to extend/customize existing themes.
Could solve most of the whishes of this issue, issue #20652 which is also very popular and even longer not solved.
(If you add in #105247 allowing for color palettes - it would make things even easier.)
If I can be of assistance with this I would give my very best.
The separation is crucial for millions of programmers with astigmatism, who greatly benefit from a light editor paired with a dark user interface. It’s worth noting that astigmatism will impact all of us as we level up.
Given this, it’s surprising to see Microsoft, a company that often preaches inclusivity, to actively dismiss the issue since 2017.
For anyone stumbling on this in the future: if you're tired of manually overriding text colors, I had Claude build a small extension over lunch that does exactly this. It overrides just the editor syntax highlighting from one theme while keeping everything else from your active theme. Leaving this here so I can find it again too.
Editor Syntax Override
A VS Code extension that overrides editor syntax highlighting colors with those from any other installed theme — while keeping your current theme's UI (sidebar, tabs, statusbar, etc.) intact.
Install
Unzip editor-syntax-override.zip
Move the local.editor-syntax-override-1.0.0 folder into your VS Code extensions directory:
macOS / Linux:~/.vscode/extensions/
Windows:%USERPROFILE%\.vscode\extensions\
Restart VS Code
Usage
Set your preferred theme normally — this controls the entire UI
Open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P)
Run Override Editor Syntax Colors
Browse the theme list — syntax colors update live as you scroll
Press Enter to confirm, or Escape to cancel (reverts to previous colors)
To remove the overrides, run Clear Editor Syntax Overrides from the Command Palette.
Activity
[-]Separate workbench theme and syntax theme[/-][+][Feature Request] Separate workbench theme and syntax theme[/+]hungys commentedon May 5, 2017
As #25985 mentioned, maybe the theme of Integrated Terminal should also be separated. Doesn't really like how zsh's agnoster theme was rendered in Monokai theme :(
egamma commentedon May 5, 2017
// CC Martin Aeschlimann (@aeschli) Benjamin Pasero (@bpasero)
[-][Feature Request] Separate workbench theme and syntax theme[/-][+]Separate workbench theme and syntax theme[/+]anaganisk commentedon May 5, 2017
do textmate themes support workbench theming yet? or are the restricted to JSON type theme files?
aeschli commentedon May 5, 2017
Workbench theming is restricted to the new JSON color theme format. But you can keep your text mate theme together with the new JSON file.
Just use the code yeoman generator and create a theme extension. As input pass in your current tmTheme.
aeschli commentedon May 5, 2017
We currently have no plans to separate workbench themes and syntax themes in the UI.
equinusocio commentedon May 5, 2017
Please if you do that, make it as flaggable setting. Jimmy Hung (@hungys) you can always customise your workbench color through settings
anaganisk commentedon May 5, 2017
Martin Aeschlimann (@aeschli) I just figured out I can convert tmTheme file to JSON file, using vscode yo generator. So I guess its not much of a problem.
hungys commentedon May 5, 2017
Martin Aeschlimann (@aeschli)
yo codewith an existing tmTheme file. In addition, how to keep them together with singlethemecontribution point?Equinusocio (@equinusocio)
I know we can manually configure them, but considering for the user experience, I think there're benefits to separate them (like how Sublime Text did).
SKA (@anaganisk)
How did you do that? I've tried
yo codebut the generated theme extension project is always composed with tsTheme file, even creating an empty project.equinusocio commentedon May 5, 2017
Jimmy Hung (@hungys) If you want to convert a textmate theme to json you can also use any of the online converter tools. I converted my material theme textmate to yaml and then to json because you can't convert directly XML to JSON.
33 remaining items
vscodebot commentedon Jan 15, 2020
🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
KishorJena commentedon Feb 22, 2022
Is it under process or already rolled out. I am eagerly waiting for separate theming of Vscode Window UI and Editor Syntax
jaycverg commentedon Apr 8, 2022
Also waiting for this. I came from Webstorm and still trying to fully switch to vscode. On my mac, I would like to use a UI theme that matches my dark UI theme but would like to use a different color scheme for my editor syntax.
ygypt commentedon May 3, 2022
the year is 2091, dinosaurs have risen on earth once again, driving humans to escape to mars. the poor and unfortunate were left behind to scavenge and fend. the humans of earth fought tirelessly to stay alive, bonding together and developing the tactics to take the reptiles out. dinosaurs have gone extinct a second time, and the Meek who fled to mars leaving the poor behind are soon to feel the wrath of a planet coated in crimson with raptor blood, inhabited by warriors, and vscode still doesnt let you pick a separate theme for the ui and the syntax
paul-hph commentedon May 4, 2022
Come on Sam Birch (@smammy)... :D
ygypt commentedon May 4, 2022
@paul-siteway cut smammy some slack, the last time he had the freedom of choice his head blew a gasket
rldribeiro commentedon May 17, 2022
Plus one for this feature.
sirius0xff commentedon Jul 23, 2022
Currently one can first select the prefered color theme, the in run in command palette:
Developer: Generate Color Theme From Current Settingsin a generated file, copy the array after
tokenColorspaste into your settings.json
This would fix many of the syntax theme and allow the workbench theme to be changed.
Unfortunately this does not cover semantic Token Color, which can also be edited:
Or disable semantic highlighting.....
iDad5 commentedon Sep 11, 2022
Some thoughts on this:
I generally agree that it's a good thing if the UI of the workbench and the syntax highlighting is matched - good design isn't about looking nice, but about conveying information effortlessly. And there are a lot of themes out there but due to the lacking documentation on how to make a theme from scratch most of them are just based on a few others, which actually makes it very hard to find unique good ones.
The option of customizing most aspects of a theme is a good thing, but it fails at a crucial point: semantic highlighting.
If we fully separate workbench- and syntactic themes it might actually get really confusing in the end, as for legacy reasons existing and beloved color themes will have to be able to do both. (And also it seems to be rather complicated and/or the priority of/enthusiasm for this feature is not to great with the team as the time it takes to get it done is rather long...)
I would propose a different approach therefore:
Why not extend the theme syntax so that tokeColors as well as semanticTokenColors can be wrapped into language specific definitions together with a subset from colors (editor.background being the most obvious) and let those override the standards defined in the root.
it would be a combination of the language specific settings
my-color-theme.json:
That in combination with ad better documentation for theming - it is actually pretty easy to extend/customize existing themes.
Could solve most of the whishes of this issue, issue #20652 which is also very popular and even longer not solved.
(If you add in #105247 allowing for color palettes - it would make things even easier.)
If I can be of assistance with this I would give my very best.
alekseykorzun commentedon Jan 10, 2025
The separation is crucial for millions of programmers with astigmatism, who greatly benefit from a light editor paired with a dark user interface. It’s worth noting that astigmatism will impact all of us as we level up.
Given this, it’s surprising to see Microsoft, a company that often preaches inclusivity, to actively dismiss the issue since 2017.
sea-snake commentedon Mar 27, 2026
For anyone stumbling on this in the future: if you're tired of manually overriding text colors, I had Claude build a small extension over lunch that does exactly this. It overrides just the editor syntax highlighting from one theme while keeping everything else from your active theme. Leaving this here so I can find it again too.
pyiso80 commentedon Apr 13, 2026
sea-snake Thanks! That's exactly what I am looking for.