Now use accent color for select button
This commit is contained in:
Родитель
66324e8330
Коммит
97617d0059
|
@ -369,13 +369,13 @@
|
|||
TextChanged="HexCode_TextChanged"
|
||||
TextWrapping="Wrap" />
|
||||
|
||||
<Button
|
||||
<Button
|
||||
x:Name="OKButton"
|
||||
Grid.Row="9"
|
||||
Grid.ColumnSpan="4"
|
||||
Margin="0,32,0,0"
|
||||
HorizontalAlignment="Stretch"
|
||||
Background="{DynamicResource PrimaryBrush}"
|
||||
Background="{DynamicResource {x:Static SystemColors.AccentColorBrushKey}}"
|
||||
AutomationProperties.Name="{x:Static p:Resources.Select}"
|
||||
Click="OKButton_Click"
|
||||
Content="{x:Static p:Resources.Select}" />
|
||||
|
|
|
@ -10,9 +10,7 @@
|
|||
<converters:ColorToStringConverter x:Key="colorToStringConverter" />
|
||||
<converters:NumberToVisibilityConverter x:Key="numberToVisibilityConverter" />
|
||||
<converters:NumberToInvertedVisibilityConverter x:Key="numberToInvertedVisibilityConverter" />
|
||||
|
||||
<SolidColorBrush x:Key="PrimaryBrush" Color="#FF00CC6A" />
|
||||
|
||||
|
||||
<Style x:Key="SubtleButtonStyle" TargetType="{x:Type Button}">
|
||||
<Setter Property="FocusVisualStyle" Value="{DynamicResource DefaultControlFocusVisualStyle}" />
|
||||
<Setter Property="Foreground" Value="{DynamicResource TextFillColorPrimaryBrush}" />
|
||||
|
|
Загрузка…
Ссылка в новой задаче