Skip to content

Commit

Permalink
Refine styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ProphetLamb committed Jun 22, 2020
1 parent 002617a commit e3078e5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions CrossoutLogViewer.GUI/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<Setter Property="BorderThickness"
Value="1" />
<Setter Property="Background"
Value="Transparent" />
Value="{DynamicResource MahApps.Brushes.ThemeBackground}" />
<Setter Property="Padding"
Value="1" />
<Setter Property="Controls:ControlsHelper.CornerRadius"
Expand All @@ -83,7 +83,7 @@
TargetType="{x:Type GroupBox}"
BasedOn="{StaticResource MahApps.Styles.GroupBox}">
<Setter Property="Background"
Value="Transparent" />
Value="{DynamicResource MahApps.Brushes.ThemeBackground}" />
<Setter Property="BorderThickness"
Value="1" />
<Setter Property="BorderBrush"
Expand Down Expand Up @@ -156,12 +156,12 @@
<Style x:Key="Button.Outline"
BasedOn="{StaticResource MahApps.Styles.Button.Flat}"
TargetType="{x:Type Button}">
<Setter Property="Background"
Value="Transparent" />
<Setter Property="BorderBrush"
Value="{DynamicResource MahApps.Brushes.Gray4}" />
<Setter Property="Foreground"
Value="{DynamicResource MahApps.Brushes.ThemeForeground}" />
<Setter Property="Background"
Value="{DynamicResource MahApps.Brushes.ThemeBackground}" />
<Setter Property="BorderThickness"
Value="1" />
<Setter Property="Controls:ControlsHelper.CornerRadius"
Expand All @@ -170,12 +170,12 @@
<Style x:Key="ToggleButton.Outline"
BasedOn="{StaticResource MahApps.Styles.ToggleButton.Flat}"
TargetType="{x:Type ToggleButton}">
<Setter Property="Background"
Value="Transparent" />
<Setter Property="BorderBrush"
Value="{DynamicResource MahApps.Brushes.Gray4}" />
<Setter Property="Foreground"
Value="{DynamicResource MahApps.Brushes.ThemeForeground}" />
<Setter Property="Background"
Value="{DynamicResource MahApps.Brushes.ThemeBackground}" />
<Setter Property="BorderThickness"
Value="1" />
<Setter Property="Controls:ControlsHelper.CornerRadius"
Expand All @@ -194,26 +194,26 @@
<Style x:Key="Button.Free"
BasedOn="{StaticResource MahApps.Styles.Button.Flat}"
TargetType="{x:Type Button}">
<Setter Property="Background"
Value="Transparent" />
<Setter Property="BorderThickness"
Value="0" />
<Setter Property="Controls:ControlsHelper.CornerRadius"
Value="3" />
<Setter Property="Foreground"
Value="{DynamicResource MahApps.Brushes.ThemeForeground}" />
<Setter Property="Background"
Value="{DynamicResource MahApps.Brushes.ThemeBackground}" />
</Style>
<Style x:Key="ToggleButton.Free"
BasedOn="{StaticResource MahApps.Styles.ToggleButton.Flat}"
TargetType="{x:Type ToggleButton}">
<Setter Property="Background"
Value="Transparent" />
<Setter Property="BorderThickness"
Value="0" />
<Setter Property="Controls:ControlsHelper.CornerRadius"
Value="3" />
<Setter Property="Foreground"
Value="{DynamicResource MahApps.Brushes.ThemeForeground}" />
<Setter Property="Background"
Value="{DynamicResource MahApps.Brushes.ThemeBackground}" />
<Style.Triggers>
<Trigger Property="IsChecked"
Value="True">
Expand Down

0 comments on commit e3078e5

Please sign in to comment.