modify hyperlinks to not have the accent color
MODIFY
WalletWasabi.Fluent/Styles/HyperlinkButton.axaml
WalletWasabi.Fluent/Styles/HyperlinkButton.axaml
-<Styles xmlns="https://github.com/avaloniaui">
+<Styles xmlns="https://github.com/avaloniaui"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Style Selector="Button.activeHyperLink">
- <Setter Property="TextBlock.Foreground" Value="{DynamicResource SystemAccentColor}" />
<Setter Property="Cursor" Value="Hand" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="Padding" Value="0" />
<Setter Property="TextDecorations" Value="Underline" />
</Style>
- <Style Selector="Button.activeHyperLink:pointerover /template/ ContentPresenter">
+ <Style Selector="Button.activeHyperLink /template/ ContentPresenter">
<Setter Property="Background" Value="Transparent" />
- <Setter Property="TextBlock.Foreground" Value="{DynamicResource HyperLinkForeground}" />
</Style>
- <Style Selector="Button.activeHyperLink:pressed /template/ ContentPresenter">
+ <Style Selector="Button.activeHyperLink:pointerover /template/ TextBlock">
<Setter Property="Background" Value="Transparent" />
+ <Setter Property="Opacity" Value="1" />
+
+ </Style>
+
+ <Style Selector="Button.activeHyperLink:pressed /template/ TextBlock">
+ <Setter Property="Background" Value="Transparent" />
+ <Setter Property="Opacity" Value="0.5" />
+ </Style>
+
+ <Style Selector="Button.activeHyperLink:disabled AccessText">
+ <Setter Property="TextDecorations" Value="{x:Null}" />
+ <Setter Property="Foreground" Value="{DynamicResource TextControlForeground}" />
</Style>
</Styles>
\ No newline at end of file

MODIFY
WalletWasabi.Fluent/Views/HelpAndSupport/LinkView.axaml
WalletWasabi.Fluent/Views/HelpAndSupport/LinkView.axaml
x:DataType="vm:LinkViewModel"
x:CompileBindings="True"
x:Class="WalletWasabi.Fluent.Views.HelpAndSupport.LinkView">
- <UserControl.Styles>
- <Style Selector="TextBlock.Hyperlink">
- <Setter Property="TextDecorations" Value="Underline" />
- <Setter Property="Foreground" Value="{DynamicResource SystemAccentColor}" />
- <Setter Property="VerticalAlignment" Value="Center" />
- </Style>
- </UserControl.Styles>
<StackPanel Orientation="Horizontal" Spacing="5" Margin="2">
- <Button Classes="plain"
+ <Button Classes="activeHyperLink"
Command="{Binding OpenBrowserCommand}"
CommandParameter="{Binding Link}"
ToolTip.Tip="{Binding Link}"
- IsVisible="{Binding IsClickable}">
- <TextBlock Text="{Binding Description}" Classes="Hyperlink" />
+ Content="{Binding Description}"
+ IsEnabled="{Binding IsClickable}">
</Button>
- <TextBlock Text="{Binding Description}"
- IsVisible="{Binding !IsClickable}" />
+
<controls:AnimatedButton ToolTip.Tip="Copy link"
Command="{Binding CopyLinkCommand}"
CommandParameter="{Binding Link}"

modify hyperlinks to not have the accent color