From c6c03bae96ac3d19d86e844ea9ca7c3801423831 Mon Sep 17 00:00:00 2001 From: Matheo HERSAN Date: Mon, 3 Apr 2023 11:30:51 +0200 Subject: [PATCH] Add DarkTheme and loginPage --- MangaMap/App.xaml | 1 + MangaMap/AppShell.xaml | 26 ++++++++++------- MangaMap/MangaMap.csproj | 10 +++++-- MangaMap/Resources/Theme/DarkTheme.xaml | 12 ++++++++ MangaMap/Resources/Theme/DarkTheme.xaml.cs | 9 ++++++ MangaMap/Views/loginPage.xaml | 19 ++++++------ MangaMap/Views/loginPage.xaml.cs | 2 +- MangaMap/Views/signUpPage.xaml | 34 ++++++++++++++++++++++ MangaMap/Views/signUpPage.xaml.cs | 14 +++++++++ 9 files changed, 103 insertions(+), 24 deletions(-) create mode 100644 MangaMap/Resources/Theme/DarkTheme.xaml create mode 100644 MangaMap/Resources/Theme/DarkTheme.xaml.cs create mode 100644 MangaMap/Views/signUpPage.xaml create mode 100644 MangaMap/Views/signUpPage.xaml.cs diff --git a/MangaMap/App.xaml b/MangaMap/App.xaml index 449386f..383c08d 100644 --- a/MangaMap/App.xaml +++ b/MangaMap/App.xaml @@ -8,6 +8,7 @@ + diff --git a/MangaMap/AppShell.xaml b/MangaMap/AppShell.xaml index 9320469..e879090 100644 --- a/MangaMap/AppShell.xaml +++ b/MangaMap/AppShell.xaml @@ -1,20 +1,24 @@ - - - + + + + + + - - - + + + diff --git a/MangaMap/MangaMap.csproj b/MangaMap/MangaMap.csproj index 732c162..bae8805 100644 --- a/MangaMap/MangaMap.csproj +++ b/MangaMap/MangaMap.csproj @@ -53,18 +53,24 @@ - - loginPage.xaml + + signUpPage.xaml + + MSBuild:Compile + MSBuild:Compile MSBuild:Compile + + MSBuild:Compile + diff --git a/MangaMap/Resources/Theme/DarkTheme.xaml b/MangaMap/Resources/Theme/DarkTheme.xaml new file mode 100644 index 0000000..c957a55 --- /dev/null +++ b/MangaMap/Resources/Theme/DarkTheme.xaml @@ -0,0 +1,12 @@ + + + + + #FFFFFF + #C7C7CC + #9370DB + + + \ No newline at end of file diff --git a/MangaMap/Resources/Theme/DarkTheme.xaml.cs b/MangaMap/Resources/Theme/DarkTheme.xaml.cs new file mode 100644 index 0000000..478b2ca --- /dev/null +++ b/MangaMap/Resources/Theme/DarkTheme.xaml.cs @@ -0,0 +1,9 @@ +namespace MangaMap.Resources.Theme; + +public partial class DarkTheme : ResourceDictionary +{ + public DarkTheme() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/MangaMap/Views/loginPage.xaml b/MangaMap/Views/loginPage.xaml index 340ab4d..9e259ba 100644 --- a/MangaMap/Views/loginPage.xaml +++ b/MangaMap/Views/loginPage.xaml @@ -5,22 +5,21 @@ Title="loginPage"> - + -