-
Notifications
You must be signed in to change notification settings - Fork 9k
Open
Labels
Issue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meetingIt's a new issue that the core contributor team needs to triage at the next triage meeting
Description
Windows Terminal version
1.24.2812.0 (preview)
Windows build number
10.0.26200.0
Other Software
No response
Steps to reproduce
Create a new theme like this:
{
"name": "Dark+",
"tab": {
"background": "#71fc14",
"iconStyle": "default",
"showCloseButton": "never",
"unfocusedBackground": "#1616165b"
},
"tabRow": {
"background": "#313131b0",
"unfocusedBackground": "#9797972f"
},
"window": {
"applicationTheme": "dark",
"experimental.rainbowFrame": false,
"frame": null,
"unfocusedFrame": null,
"useMica": false
}
}
],
The colors visually:
Expected Behavior
That tabRow.background (active) use the color the way is defined, like this:
Actual Behavior
Actual behavior is that the tab.background receives the tab.unfocusedBackground color too.
The color is just fully used if unfocusedBackground has an alpha of 0% as: "unfocusedBackground": "#16161600"
Any changes in the alpha of unfocusedBackground, applies to focused tab color:
Focused full green / unfocused with alpha as 00 (0%):
"tab": {
"background": "#71fc14",
"unfocusedBackground": "#16161600"
},
Focused is the same (green) / unfocused with alpha as FF (100%)
"tab": {
"background": "#71fc14",
"unfocusedBackground": "#161616FF"
},
Focused is the same (green) / unfocused with alpha as FF (50%)
"tab": {
"background": "#71fc14",
"unfocusedBackground": "#16161680"
},

Metadata
Metadata
Assignees
Labels
Issue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meetingIt's a new issue that the core contributor team needs to triage at the next triage meeting