Skip to content

How to set the color of inactive tab on the tab bar? #15675

Answered by ZYinMD
ZYinMD asked this question in Q&A
Discussion options

You must be logged in to vote

2 months later I found the answer:

{
  "theme": "foo",
  "themes": [
    {
      "name": "foo",
      "window": {
        "applicationTheme": "dark"
      },
      "tab": {
        "background": "terminalBackground",
        "unfocusedBackground": "#fff"
      }
    }
  ]
}

The unfocusedBackground is the value that matters. The key point is to create a new theme name of your own, foo in the example above.

Doc: https://learn.microsoft.com/en-us/windows/terminal/custom-terminal-gallery/theme-gallery

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ZYinMD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant