Skip to content

Commit 9b1f188

Browse files
committed
change stlye of dark and Light mode of lables and entrys
1 parent b7b201c commit 9b1f188

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

fast cf ip scanner/Resources/Styles/Styles.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
</Style>
114114

115115
<Style TargetType="Entry">
116-
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" />
116+
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource White}}" />
117117
<Setter Property="BackgroundColor" Value="Transparent" />
118118
<Setter Property="FontFamily" Value="OpenSansRegular"/>
119119
<Setter Property="FontSize" Value="14" />
@@ -158,7 +158,7 @@
158158
</Style>
159159

160160
<Style TargetType="Label">
161-
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" />
161+
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource White}}" />
162162
<Setter Property="FontFamily" Value="OpenSansRegular" />
163163
<Setter Property="FontSize" Value="14" />
164164
<Setter Property="VisualStateManager.VisualStateGroups">

fast cf ip scanner/Views/IpOptionsPage.xaml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
x:Class="fast_cf_ip_scanner.Views.IpOptionsPage"
55
Title="IpOptions"
66
xmlns:viewmodel="clr-namespace:fast_cf_ip_scanner.ViewModels"
7-
x:DataType="viewmodel:IpOptionViewModel">
7+
x:DataType="viewmodel:IpOptionViewModel"
8+
BackgroundColor="Black">
89
<ScrollView>
910
<StackLayout Padding="20">
1011

@@ -38,12 +39,12 @@
3839
<DataTemplate x:DataType="viewmodel:PortForShow">
3940
<StackLayout Orientation="Horizontal" Spacing="10" Padding="5">
4041
<Label Text="{Binding Port}"
41-
VerticalOptions="CenterAndExpand"
42-
FontSize="Small"
43-
TextColor="White"/>
42+
VerticalOptions="CenterAndExpand"
43+
FontSize="Small"
44+
TextColor="White"/>
4445
<CheckBox IsChecked="{Binding IsChecked}"
45-
VerticalOptions="CenterAndExpand"
46-
Color="DodgerBlue">
46+
VerticalOptions="CenterAndExpand"
47+
Color="DodgerBlue">
4748

4849
</CheckBox>
4950
</StackLayout>
@@ -52,13 +53,13 @@
5253
</CollectionView>
5354

5455

55-
<Label Text="Max Ping of IP:"/>
56+
<Label Text="Max ping of IP:"/>
5657
<Entry x:Name="MaxPingEntry" Text="{Binding MaxPingOfIP}"/>
5758

58-
<Label Text="Minimum Count of Valid IP:"/>
59+
<Label Text="Minimum count of valid IP:"/>
5960
<Entry x:Name="MinCountEntry" Text="{Binding MinimumCountOfValidIp}"/>
6061

61-
<Label Text="Count of Repeat Test for Each IP:"/>
62+
<Label Text="Count of repeat test for each IP:"/>
6263
<Entry x:Name="RepeatCountEntry" Text="{Binding CountOfRepeatTestForEachIp}"/>
6364

6465
<Label Text="Count of IP ranges"/>

0 commit comments

Comments
 (0)