How do I define a default color scheme for all terminals? #12108
-
Description of the new feature/enhancementAllow the user to set the color scheme for all (or some) profiles. I personally use the new terminal (only) for working with the WSL. I have different profiles that load different I would like to be able to set the color schemes of those in one quick action. That is especially important as I switch between light and dark themes for my OS very often, sometimes even time-of-day-depoendent. Having to switch the color schemes for each profile individually is very annoying. Proposed technical implementation details (optional)
An even better solution could be to be able to set a default light-mode theme and a default dark-mode theme. That would change the colors of a console tab from light to dark when toggling light/dark mode in WIndows System Settings. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
There's already an issue open for that feature. See #4066. |
Beta Was this translation helpful? Give feedback.
-
Okay but then in addition to that, the main point of this issue should be to be able to set a default theme that applies to all profiles |
Beta Was this translation helpful? Give feedback.
-
You could always try setting the colorScheme in "profiles": {
"defaults": {
"colorScheme": "Campbell"
}
"list": [...]
} You can also quickly switch schemes with the Command palette and the "select color scheme..." action |
Beta Was this translation helpful? Give feedback.
-
That is good to know, but the existing "default-scheme" is only used when creating a new profile, isn't it? The problem that I cant change the color theme for multiple open tabs with different profiles remains. |
Beta Was this translation helpful? Give feedback.
-
Nope, it's used whenever a profile doesn't have another scheme set. So in this example: "profiles": {
"defaults": {
"colorScheme": "Campbell"
},
"list": [
{
"name": "foo",
"colorScheme": "Solarized"
},
{
"name": "bar"
}
]
}
|
Beta Was this translation helpful? Give feedback.
-
Thank you, that is good to know! If I understand correctly, there are two things missing to create the wanted behaviour: First one is an option to unset the used theme from the GUI-settings, which could be done by inserting an option Second one is an option under "Appearance" that select a default color scheme as that is currently only possible through JSON. That sounds sufficiently easy to fix, if I find time to do it, I will fix it myself. |
Beta Was this translation helpful? Give feedback.
-
@torgeros You actually don't need to worry about that! We're already working on bringing the "Defaults" back to the SUI. That'll have a separate page for the defaults, and little buttons to revert individual profile settings back to the value in the defaults: IIRC that's in 1.10 Preview (#10588) |
Beta Was this translation helpful? Give feedback.
You could always try setting the colorScheme in
profiles.defaults
.You can also quickly switch schemes with the Command palette and the "select color scheme..." action