-
Notifications
You must be signed in to change notification settings - Fork 703
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TabView] Update high contrast colors | MicaAlt colors - update high …
…contrast colors (#6787) * date pickers * adding time picker and flyout theming * update background smoke for hc * tab view hc updates * updating the rest of the hc old brushes to new references, also, a bug on press on tab vs press on close button - fixed now
- Loading branch information
1 parent
397647e
commit 6fb99c9
Showing
3 changed files
with
84 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -300,6 +300,8 @@ | |
<Setter Property="Height" Value="{ThemeResource TabViewItemHeaderCloseButtonHeight}"/> | ||
<Setter Property="Background" Value="{ThemeResource TabViewItemHeaderCloseButtonBackground}"/> | ||
<Setter Property="Foreground" Value="{ThemeResource TabViewItemHeaderCloseButtonForeground}"/> | ||
<Setter Property="BorderBrush" Value="{ThemeResource TabViewItemHeaderCloseButtonBorderBrush}"/> | ||
<Setter Property="BorderThickness" Value="{ThemeResource TabViewItemHeaderCloseButtonBorderThickness}"/> | ||
<Setter Property="FocusVisualMargin" Value="-3"/> | ||
<Setter Property="Template"> | ||
<Setter.Value> | ||
|
@@ -308,6 +310,8 @@ | |
AutomationProperties.AccessibilityView="Raw" | ||
contract7Present:BackgroundSizing="{TemplateBinding BackgroundSizing}" | ||
Background="{TemplateBinding Background}" | ||
BorderBrush="{TemplateBinding BorderBrush}" | ||
BorderThickness="{TemplateBinding BorderThickness}" | ||
ContentTemplate="{TemplateBinding ContentTemplate}" | ||
Content="{TemplateBinding Content}" | ||
contract7Present:CornerRadius="{TemplateBinding CornerRadius}" | ||
|
@@ -326,6 +330,9 @@ | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground"> | ||
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TabViewItemHeaderCloseButtonForegroundPointerOver}"/> | ||
</ObjectAnimationUsingKeyFrames> | ||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="BorderBrush"> | ||
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TabViewItemHeaderCloseButtonBorderBrushPointerOver}"/> | ||
</ObjectAnimationUsingKeyFrames> | ||
</Storyboard> | ||
</VisualState> | ||
<VisualState x:Name="Pressed"> | ||
|
@@ -336,6 +343,9 @@ | |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground"> | ||
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TabViewItemHeaderCloseButtonForegroundPressed}"/> | ||
</ObjectAnimationUsingKeyFrames> | ||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="BorderBrush"> | ||
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TabViewItemHeaderCloseButtonBorderBrushPressed}"/> | ||
</ObjectAnimationUsingKeyFrames> | ||
</Storyboard> | ||
</VisualState> | ||
</VisualStateGroup> | ||
|
@@ -470,6 +480,7 @@ | |
<Setter Target="LeftRadiusRenderArc.Visibility" Value="Visible"/> | ||
<Setter Target="SelectedBackgroundPath.Visibility" Value="Visible"/> | ||
<Setter Target="SelectedBackgroundPath.Fill" Value="{ThemeResource TabViewItemHeaderBackgroundSelected}"/> | ||
<Setter Target="TabContainer.Background" Value="{ThemeResource TabViewItemHeaderBackgroundSelected}" /> | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
tashatitova
Author
Contributor
|
||
<Setter Target="TabContainer.Margin" Value="{ThemeResource TabViewSelectedItemHeaderMargin}"/> | ||
<Setter Target="TabContainer.BorderBrush" Value="{ThemeResource TabViewSelectedItemBorderBrush}"/> | ||
<Setter Target="TabContainer.BorderThickness" Value="{ThemeResource TabViewSelectedItemBorderThickness}"/> | ||
|
@@ -490,6 +501,7 @@ | |
<Setter Target="LeftRadiusRenderArc.Visibility" Value="Visible"/> | ||
<Setter Target="SelectedBackgroundPath.Visibility" Value="Visible"/> | ||
<Setter Target="SelectedBackgroundPath.Fill" Value="{ThemeResource TabViewItemHeaderBackgroundSelected}"/> | ||
<Setter Target="TabContainer.Background" Value="{ThemeResource TabViewItemHeaderBackgroundSelected}" /> | ||
<Setter Target="TabContainer.Margin" Value="{ThemeResource TabViewSelectedItemHeaderMargin}"/> | ||
<Setter Target="TabContainer.BorderBrush" Value="{ThemeResource TabViewSelectedItemBorderBrush}"/> | ||
<Setter Target="TabContainer.BorderThickness" Value="{ThemeResource TabViewSelectedItemBorderThickness}"/> | ||
|
@@ -498,6 +510,7 @@ | |
<Setter Target="IconControl.Foreground" Value="{ThemeResource TabViewItemIconForegroundSelected}" /> | ||
<Setter Target="CloseButton.Background" Value="{ThemeResource TabViewItemHeaderSelectedCloseButtonBackground}" /> | ||
<Setter Target="CloseButton.Foreground" Value="{ThemeResource TabViewItemHeaderSelectedCloseButtonForeground}" /> | ||
|
||
<Setter Target="LayoutRoot.Background" Value="Transparent"/> | ||
<Setter Target="ContentPresenter.FontWeight" Value="SemiBold"/> | ||
</VisualState.Setters> | ||
|
@@ -510,6 +523,7 @@ | |
<Setter Target="LeftRadiusRenderArc.Visibility" Value="Visible"/> | ||
<Setter Target="SelectedBackgroundPath.Visibility" Value="Visible"/> | ||
<Setter Target="SelectedBackgroundPath.Fill" Value="{ThemeResource TabViewItemHeaderBackgroundSelected}"/> | ||
<Setter Target="TabContainer.Background" Value="{ThemeResource TabViewItemHeaderBackgroundSelected}" /> | ||
<Setter Target="TabContainer.Margin" Value="{ThemeResource TabViewSelectedItemHeaderMargin}"/> | ||
<Setter Target="TabContainer.BorderBrush" Value="{ThemeResource TabViewSelectedItemBorderBrush}"/> | ||
<Setter Target="TabContainer.BorderThickness" Value="{ThemeResource TabViewSelectedItemBorderThickness}"/> | ||
|
@@ -535,6 +549,7 @@ | |
<Setter Target="IconControl.Foreground" Value="{ThemeResource TabViewButtonForegroundDisabled}" /> | ||
<Setter Target="CloseButton.Background" Value="{ThemeResource TabViewItemHeaderDisabledCloseButtonBackground}" /> | ||
<Setter Target="CloseButton.Foreground" Value="{ThemeResource TabViewItemHeaderDisabledCloseButtonForeground}" /> | ||
<Setter Target="CloseButton.BorderBrush" Value="{ThemeResource TabViewItemHeaderCloseButtonBorderBrushDisabled}" /> | ||
</VisualState.Setters> | ||
</VisualState> | ||
</VisualStateGroup> | ||
|
@@ -708,7 +723,7 @@ | |
|
||
<Path x:Name="LeftRadiusRenderArc" | ||
x:Load="False" | ||
Fill="{ThemeResource CardStrokeColorDefault}" | ||
Fill="{ThemeResource TabViewBorderBrush}" | ||
VerticalAlignment="Bottom" | ||
Visibility="Collapsed" | ||
Margin="-4,0,0,0" | ||
|
@@ -720,7 +735,7 @@ | |
x:Load="False" | ||
Grid.Column="2" | ||
Visibility="Collapsed" | ||
Fill="{ThemeResource CardStrokeColorDefault}" | ||
Fill="{ThemeResource TabViewBorderBrush}" | ||
VerticalAlignment="Bottom" | ||
Margin="0,0,-4,0" | ||
Height="4" | ||
|
Oops, something went wrong.
@tashatitova is this intended? It's causing an issue where there are two layers of mica. This is preventing us from correctly overriding the styles in our app since it has the wrong transparency.