-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Fixes the color of the dropdown arrow in weird themes #13871
Conversation
… FG color, works sanely now
…/13684-inactiveTabBg
…54-new-default-theme
This reverts commit 48deba0.
…54-new-default-theme
…54-new-default-theme
…54-new-default-theme
…/13725-dropdown-color
Co-authored-by: Leonard Hecker <[email protected]>
[11:48 AM] Leonard Hecker of course not - it's "alpha A inversed" [11:49 AM] Leonard Hecker why is that so hard to understand /s lmao
…54-new-default-theme
…/13725-dropdown-color
I am quite scared that this changes fifteen files for what sounds like it shouldn't be too hard! |
Oh, I think you need to merge |
(diff should be better now) |
Moved from body of PR (so it didn't clutter up the git commit history with HTML/JSON things): Tested with these two themes: json {
"name": "horrible",
"tab":
{
"background": "#00FF00FF",
"showCloseButton": "never"
},
"tabRow":
{
"background": "accent",
"unfocusedBackground": "#008888FF"
},
"window":
{
"applicationTheme": "light",
"useMica": false
}
},
{
"name": "horrible dark",
"tab":
{
"background": "#00FF00FF",
"showCloseButton": "never"
},
"tabRow":
{
"background": "accent",
"unfocusedBackground": "#008888FF"
},
"window":
{
"applicationTheme": "dark",
"useMica": false
}
}, |
@@ -3092,12 +3092,24 @@ namespace winrt::TerminalApp::implementation | |||
_newTabButton.Resources().Insert(winrt::box_value(L"SplitButtonBackgroundPointerOver"), backgroundHoverBrush); | |||
_newTabButton.Resources().Insert(winrt::box_value(L"SplitButtonBackgroundPressed"), backgroundPressedBrush); | |||
|
|||
// Load bearing: The SplitButton uses SplitButtonForegroundSecondary for | |||
// the secondary button, but {TemplateBinding Foreground} for the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yikes can we file that on them
@msftbot merge this in 10 minutes |
Hello @DHowett! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
🎉 Handy links: |
See also:
https://github.com/microsoft/microsoft-ui-xaml/blob/33732458ede38166f9127675898e4760c82b89bb/dev/SplitButton/SplitButton.xaml#L290-L293
We need to
SplitButtonForegroundSecondary
cause SplitButton's use that resource separately from theForeground()
propertyThis is one of the bullet points in #13725