mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
ux: change text selection brush to improve readability (#825)
This commit is contained in:
parent
23326d179a
commit
39dff8a93f
1 changed files with 14 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
xmlns:vm="using:SourceGit.ViewModels"
|
||||
xmlns:c="using:SourceGit.Converters"
|
||||
xmlns:ae="using:AvaloniaEdit"
|
||||
xmlns:aee="using:AvaloniaEdit.Editing"
|
||||
xmlns:aes="using:AvaloniaEdit.Search">
|
||||
<Design.PreviewWith>
|
||||
<StackPanel Orientation="Vertical">
|
||||
|
@ -580,6 +581,19 @@
|
|||
</Style>
|
||||
</Style>
|
||||
|
||||
<Style Selector="aee|TextArea">
|
||||
<Setter Property="SelectionBorder">
|
||||
<Setter.Value>
|
||||
<Pen Brush="{DynamicResource SystemAccentColor}" Thickness="1" />
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Setter Property="SelectionBrush">
|
||||
<Setter.Value>
|
||||
<SolidColorBrush Opacity="0.5" Color="{DynamicResource SystemAccentColor}" />
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style Selector="aes|SearchPanel">
|
||||
<Setter Property="Template">
|
||||
<ControlTemplate TargetType="aes:SearchPanel">
|
||||
|
|
Loading…
Reference in a new issue