Skip to content

Commit

Permalink
Small color changes, textboxes have a purple highlight when typing in…
Browse files Browse the repository at this point in the history
… them
  • Loading branch information
Bamboooz committed Dec 8, 2023
1 parent 064a9d0 commit ff457a1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
10 changes: 10 additions & 0 deletions Gavilya/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,16 @@
HorizontalScrollBarVisibility="Hidden"
VerticalScrollBarVisibility="Hidden" />
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsKeyboardFocusWithin" Value="True">
<Setter TargetName="border" Property="BorderBrush" Value="#6600FF" />
<Setter TargetName="border" Property="BorderThickness" Value="2" />
</Trigger>
<Trigger Property="IsKeyboardFocusWithin" Value="False">
<Setter TargetName="border" Property="BorderBrush" Value="transparent" />
<Setter TargetName="border" Property="BorderThickness" Value="2" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
Expand Down
4 changes: 2 additions & 2 deletions Gavilya/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,10 @@
</Grid.RowDefinitions>

<TextBox
Margin="0 2"
Margin="2 5 2 20"
Padding="10"
Background="{DynamicResource SelectedBackground}"
BorderThickness="0"
BorderThickness="2"
FontFamily="Fonts/#Hauora"
FontSize="14"
FontWeight="Bold"
Expand Down
2 changes: 0 additions & 2 deletions Gavilya/Themes/Dark.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@
</LinearGradientBrush>
<LinearGradientBrush x:Key="PlayGradient" StartPoint="0,0" EndPoint="1,1">
<GradientStop Offset="0" Color="#7300ff" />
<!-- Dark Purple -->
<GradientStop Offset="1" Color="#d300ff" />
<!-- Purple -->
</LinearGradientBrush>

<LinearGradientBrush x:Key="PlayGradientHover" SpreadMethod="Pad" StartPoint="0.5,0" EndPoint="0.5,1">
Expand Down

0 comments on commit ff457a1

Please sign in to comment.