diff --git a/MCTG/Views/App.xaml.cs b/MCTG/Views/App.xaml.cs index c6726e7..b1bac15 100644 --- a/MCTG/Views/App.xaml.cs +++ b/MCTG/Views/App.xaml.cs @@ -28,8 +28,11 @@ namespace Views #endif }); - MainPage = new MyPosts(); - Application.Current.UserAppTheme = AppTheme.Light; + MainPage = new Home(); + + + + Application.Current.UserAppTheme = AppTheme.Dark; } } } diff --git a/MCTG/Views/ContainerFlyout.xaml b/MCTG/Views/ContainerFlyout.xaml index 87278c8..7f15aa4 100644 --- a/MCTG/Views/ContainerFlyout.xaml +++ b/MCTG/Views/ContainerFlyout.xaml @@ -4,7 +4,7 @@ xmlns:local="clr-namespace:Views" x:Class="Views.ContainerFlyout" x:Name="fl" - BackgroundColor="{StaticResource Secondary}"> + BackgroundColor="{AppThemeBinding Light={StaticResource Secondary}, Dark={StaticResource Gray600}}"> diff --git a/MCTG/Views/CustomHeader.xaml b/MCTG/Views/CustomHeader.xaml index d46be9c..50212be 100644 --- a/MCTG/Views/CustomHeader.xaml +++ b/MCTG/Views/CustomHeader.xaml @@ -2,13 +2,14 @@ + BackgroundColor="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource Gray900}}"> diff --git a/MCTG/Views/Home.xaml b/MCTG/Views/Home.xaml index aa48635..7a1f1ef 100644 --- a/MCTG/Views/Home.xaml +++ b/MCTG/Views/Home.xaml @@ -15,7 +15,8 @@ MaximumHeightRequest="20" Style="{StaticResource button1}"/> + BackgroundColor="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Gray300}}" + Margin="15, 10, 15, 40"/>