Skip to content

Commit

Permalink
Updated: HalogenTheme Checkbox content color resp
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamsyntax committed Dec 10, 2024
1 parent 5aeaf65 commit 2d3b084
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions source/Reloaded.Mod.Launcher/Theme/Halogen/Styles.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,6 @@

<!-- Checkbox -->
<Style x:Key="DefaultCheckBoxBase" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource BaseStyle}">

<Setter Property="Background" Value="{StaticResource BorderColorBrush}"/>
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="Height" Value="{DynamicResource CheckboxSize}" />
Expand Down Expand Up @@ -532,9 +531,17 @@
</Style>

<Style x:Key="DefaultCheckBox" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource DefaultCheckBoxBase}">

<!-- Colour the checkbox. -->
<Style.Triggers>
<!-- Colour text content on IsMouseOver. -->
<Trigger Property="IsMouseOver" Value="True">
<Trigger.EnterActions>
<BeginStoryboard Storyboard="{StaticResource ForegroundFadeTextToAccentLightest}"/>
</Trigger.EnterActions>
<Trigger.ExitActions>
<BeginStoryboard Storyboard="{StaticResource ForegroundFadeAccentLightestToText}"/>
</Trigger.ExitActions>
</Trigger>
<!-- Colour the checkbox. -->
<Trigger Property="IsChecked" Value="True">
<Trigger.EnterActions>
<BeginStoryboard Storyboard="{StaticResource BackgroundFadeBorderToAccentLighter}"/>
Expand Down

0 comments on commit 2d3b084

Please sign in to comment.