Skip to content

Commit 51ac4f6

Browse files
chore: cleaning up visual border styles
It was defaulting to the blue. This doesn't get everything but it gets some things. Unfortunately, every single thing is a beautiful and unique snowflake and has to be fixed in drastically different ways. I wish I was kidding. So we'll have to handle them as they come up.
1 parent 81fe79f commit 51ac4f6

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

src/TwitchStreamingTools/Views/MainWindow.axaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,32 +19,65 @@
1919
Icon="/Assets/logo.ico"
2020
Title="Twitch Streaming Tools">
2121
<Window.Styles>
22+
<Style Selector="Slider">
23+
<Setter Property="FocusAdorner">
24+
<FocusAdornerTemplate>
25+
<Rectangle Stroke="rgb(204, 200, 175)" StrokeThickness="2" />
26+
</FocusAdornerTemplate>
27+
</Setter>
28+
</Style>
29+
<Style Selector="CheckBox">
30+
<Setter Property="FocusAdorner">
31+
<FocusAdornerTemplate>
32+
<Rectangle Stroke="rgb(204, 200, 175)" StrokeThickness="2" />
33+
</FocusAdornerTemplate>
34+
</Setter>
35+
</Style>
2236
<Style Selector="Label">
2337
<Setter Property="Foreground">rgb(204, 200, 175)</Setter>
2438
</Style>
2539
<Style Selector="TextBox">
2640
<Setter Property="Foreground">rgb(204, 200, 175)</Setter>
41+
<Setter Property="SelectionBrush">rgb(54, 52, 46)</Setter>
2742
</Style>
2843
<Style Selector="TextBox:focus">
2944
<Setter Property="Foreground">rgb(204, 200, 175)</Setter>
3045
</Style>
46+
<Style Selector="TextBox:focus /template/ Border#PART_BorderElement">
47+
<Setter Property="BorderBrush">rgb(204, 200, 175)</Setter>
48+
</Style>
3149
<Style Selector="TextBlock">
3250
<Setter Property="Foreground">rgb(204, 200, 175)</Setter>
3351
</Style>
3452
<Style Selector="Button">
3553
<Setter Property="Background">#353332</Setter>
3654
<Setter Property="Foreground">rgb(204, 200, 175)</Setter>
55+
<Setter Property="FocusAdorner">
56+
<FocusAdornerTemplate>
57+
<Rectangle Stroke="rgb(204, 200, 175)" StrokeThickness="2" />
58+
</FocusAdornerTemplate>
59+
</Setter>
3760
</Style>
3861
<Style Selector="ListBoxItem">
3962
<Setter Property="Background">#353332</Setter>
4063
<Setter Property="Foreground">rgb(204, 200, 175)</Setter>
64+
<Setter Property="FocusAdorner">
65+
<FocusAdornerTemplate>
66+
<Rectangle Stroke="rgb(204, 200, 175)" StrokeThickness="2" />
67+
</FocusAdornerTemplate>
68+
</Setter>
4169
</Style>
4270
<Style Selector="ListBoxItem:selected /template/ ContentPresenter">
4371
<Setter Property="Background">#4F4D4C</Setter>
4472
<Setter Property="Foreground">rgb(204, 200, 175)</Setter>
4573
</Style>
4674
<Style Selector="PathIcon">
4775
<Setter Property="Foreground">rgb(204, 200, 175)</Setter>
76+
<Setter Property="FocusAdorner">
77+
<FocusAdornerTemplate>
78+
<Rectangle Stroke="rgb(204, 200, 175)" StrokeThickness="2" />
79+
</FocusAdornerTemplate>
80+
</Setter>
4881
</Style>
4982
</Window.Styles>
5083

0 commit comments

Comments
 (0)