Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inactive tab BG color (tab.inactiveBackground) #13684

Closed
Tracked by #3327
zadjii-msft opened this issue Aug 5, 2022 · 1 comment · Fixed by #13689
Closed
Tracked by #3327

Inactive tab BG color (tab.inactiveBackground) #13684

zadjii-msft opened this issue Aug 5, 2022 · 1 comment · Fixed by #13689
Assignees
Labels
Area-Theming Anything related to the theming of elements of the window Issue-Task It's a feature request, but it doesn't really need a major design. Needs-Tag-Fix Doesn't match tag requirements Product-Terminal The new Windows Terminal. Resolution-Fix-Committed Fix is checked in, but it might be 3-4 weeks until a release.

Comments

@zadjii-msft
Copy link
Member

zadjii-msft commented Aug 5, 2022

Important, because when unset, the tab will use the active Background color to create an inactive BG, which maybe isn't what we want. Consider - a bright cyan active BG, transparent inactiveBG, and terminalBG for the tabRow bg.

See also #13554. If we want to make the default theme tab.background: terminalBackground, we should make this transparent by default.

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Aug 5, 2022
@zadjii-msft zadjii-msft changed the title Inactive tab BG color (tab.inactiveBackground) - important, because when unset, the tab will use the active Background color to create an inactive BG, which maybe isn't what we want. Consider - a bright cyan active BG, transparent inactiveBG, and terminalBG for the tabRow bg. Inactive tab BG color (tab.inactiveBackground) Aug 5, 2022
@zadjii-msft zadjii-msft added Product-Terminal The new Windows Terminal. Issue-Task It's a feature request, but it doesn't really need a major design. Area-Theming Anything related to the theming of elements of the window labels Aug 5, 2022
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Aug 5, 2022
@zadjii-msft zadjii-msft added this to the Terminal v1.16 milestone Aug 5, 2022
@ghost ghost added the In-PR This issue has a related PR label Aug 5, 2022
@zadjii-msft zadjii-msft self-assigned this Aug 5, 2022
@DHowett DHowett removed the Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting label Aug 12, 2022
zadjii-msft added a commit that referenced this issue Aug 31, 2022
Does what it sounds like on the label.

This is important, because when unset, the tab will use the active `Background` color to create an inactive BG, which maybe isn't what we want. Consider: 
- a bright cyan active BG,
- and `terminalBG` for the `tabRow` bg.

Without an unfocusedBackground setting, all the tabs will still appear cyan when unfocused, which is extra gross. 

As a judgement call, I made `terminalBackground` and `accent` use 30% opacity when set, to match the existing coloration. 

See also #13554. If we want to make the default theme `tab.background: terminalBackground`, we should make `tab.unfocusedBackground` transparent (`#00000000`) by default. Otherwise, a Campell (`#0c0c0c`) tab on _any_ tab row will still have a faint tab visible. 

* closes #13684
* closes #13246
* tested manually

This also does a lot of code shuffling, to get SettingsUI tabs to behave sensibly. We want those tabs to have (`#0c0c0c`, `#ffffff`) colored BGs for `terminalBackground` (see mail thread). 

We also don't want dark focused tabs colors, combined with light tab row colors, combined with transparent unfocused tabs, to result in unfocused tabs having white-on-white text. That's gross. So that's been added to this PR in b38b704.
@ghost ghost added Resolution-Fix-Committed Fix is checked in, but it might be 3-4 weeks until a release. Needs-Tag-Fix Doesn't match tag requirements and removed In-PR This issue has a related PR labels Aug 31, 2022
@ghost
Copy link

ghost commented Sep 13, 2022

🎉This issue was addressed in #13689, which has now been successfully released as Windows Terminal Preview v1.16.252.:tada:

Handy links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Theming Anything related to the theming of elements of the window Issue-Task It's a feature request, but it doesn't really need a major design. Needs-Tag-Fix Doesn't match tag requirements Product-Terminal The new Windows Terminal. Resolution-Fix-Committed Fix is checked in, but it might be 3-4 weeks until a release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants