mirror of
https://github.com/microsoft/terminal.git
synced 2026-02-08 05:37:27 +00:00
Define TabViewItemHeaderBackground
This makes the tabs still adhere to the WT theme. However, that doesn't necessarily guarantee that the colors will be in high contrast.
This commit is contained in:
@@ -471,6 +471,7 @@ namespace winrt::TerminalApp::implementation
|
||||
const auto& tabItemResources{ TabViewItem().Resources() };
|
||||
|
||||
TabViewItem().Background(deselectedTabBrush);
|
||||
tabItemResources.Insert(winrt::box_value(L"TabViewItemHeaderBackground"), deselectedTabBrush);
|
||||
tabItemResources.Insert(winrt::box_value(L"TabViewItemHeaderBackgroundSelected"), selectedTabBrush);
|
||||
tabItemResources.Insert(winrt::box_value(L"TabViewItemHeaderBackgroundPointerOver"), hoverTabBrush);
|
||||
tabItemResources.Insert(winrt::box_value(L"TabViewItemHeaderBackgroundPressed"), selectedTabBrush);
|
||||
|
||||
Reference in New Issue
Block a user