2

I want Windows Terminal to switch theme automatically depending on Windows 10 settings.

This guide says that: "...configure the Terminal to use separate themes for light and dark mode in the OS and change automatically between those themes when the OS theme changes. To do this, specify the theme property as an object containing the keys light and dark:"

"theme": { "dark": "<Dark Theme Name>", "light": "<Light Theme Name>" },

So I did in my settings.json I added the following line:

"theme": { "dark": "One Half Dark", "light": "Solarized Light" },
"themes": []

But I get the error:

• The specified "theme" was not found in the list of themes. Temporarily falling back to the default value.
• The specified "theme" was not found in the list of themes. Temporarily falling back to the default value.

Then, I tried the following:

"theme": { "dark": "One Half Dark", "light": "Solarized Light" },
"themes": ["One Half Dark", "Solarized Light"]

resulting in the following error:

Failed to load settings
Settings could not be loaded from file. Check for syntax errors, including trailing commas.
{Application Error}
The exception %s (0x

Temporarily using the Windows Terminal default settings.

How to solve that?

1 Answer 1

2

Windows Terminal Theme based on System Theme

There is already this feature in the settings, without change json file.

Open WT > Appearance > Application Theme > Use Windows Theme

wt

4
  • 1
    Great thanks! Will it cascade on all the profile? I was searching for the same option in different profiles but I cannot find it... perhaps this is worth another question?
    – Barzi2001
    Commented May 22 at 7:58
  • 1
    Yes. for all profiles. I don't know yet for one profile. Perhaps u can make new question for that.
    – Mr.Key7
    Commented May 22 at 8:02
  • I just tried. The setting you mentioned changes only the Windows Terminal app light/dark theme, but it seems but that won't affect the scheme used in the different profiles that seems to be fixed. I'll open a new question or I could directly post in windows terminal discussion board on GH.
    – Barzi2001
    Commented May 22 at 8:05
  • Yes. This is only for light dark mode following the system. That's up to you. thanks.
    – Mr.Key7
    Commented May 22 at 8:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .