Skip to content

Commit 6038e51

Browse files
authored
fix: use theme primary color for hyperlink hover instead of default red (#55)
1 parent 77b89fd commit 6038e51

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/ManagedDrive.App/Themes/AppTheme.xaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@
1111
<Setter Property="HorizontalAlignment" Value="Center"/>
1212
</Style>
1313

14+
<!-- ========== Hyperlink style ========== -->
15+
<Style TargetType="Hyperlink">
16+
<Setter Property="Foreground" Value="{DynamicResource AppPrimary}"/>
17+
<Style.Triggers>
18+
<Trigger Property="IsMouseOver" Value="True">
19+
<Setter Property="Foreground" Value="{DynamicResource AppPrimaryDark}"/>
20+
</Trigger>
21+
</Style.Triggers>
22+
</Style>
23+
1424
<!-- ========== Window base style ========== -->
1525
<Style x:Key="AppWindow" TargetType="Window">
1626
<Setter Property="Background" Value="{DynamicResource AppBackground}"/>

0 commit comments

Comments
 (0)