From 8366ea0f643ef44c99f5770c8bff663e844e3295 Mon Sep 17 00:00:00 2001 From: TheJoKlLa Date: Thu, 10 Sep 2020 17:45:36 +0200 Subject: [PATCH] Added: Styles --- Borepin/Borepin/App.xaml | 2 +- Borepin/Borepin/Borepin.csproj | 14 ++++++++++---- Borepin/Borepin/MainPage.xaml | 14 +++++++------- .../TextResource.de.Designer.cs} | 4 ++-- .../TextResource.de.resx} | 0 Borepin/Borepin/Styles/LightTheme.xaml | 11 +++++++++++ Borepin/Borepin/Styles/LightTheme.xaml.cs | 14 ++++++++++++++ 7 files changed, 45 insertions(+), 14 deletions(-) rename Borepin/Borepin/Resources/{TextResource.Designer.cs => Text/TextResource.de.Designer.cs} (96%) rename Borepin/Borepin/Resources/{TextResource.resx => Text/TextResource.de.resx} (100%) create mode 100644 Borepin/Borepin/Styles/LightTheme.xaml create mode 100644 Borepin/Borepin/Styles/LightTheme.xaml.cs diff --git a/Borepin/Borepin/App.xaml b/Borepin/Borepin/App.xaml index 17a038b..d083652 100644 --- a/Borepin/Borepin/App.xaml +++ b/Borepin/Borepin/App.xaml @@ -3,6 +3,6 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Borepin.App"> - + \ No newline at end of file diff --git a/Borepin/Borepin/Borepin.csproj b/Borepin/Borepin/Borepin.csproj index 7bdc5f1..7c81734 100644 --- a/Borepin/Borepin/Borepin.csproj +++ b/Borepin/Borepin/Borepin.csproj @@ -29,10 +29,13 @@ True Resources.resx - + True True - TextResource.resx + TextResource.de.resx + + + LightTheme.xaml @@ -40,9 +43,12 @@ ResXFileCodeGenerator Resources.Designer.cs - + ResXFileCodeGenerator - TextResource.Designer.cs + TextResource.de.Designer.cs + + + MSBuild:UpdateDesignTimeXaml \ No newline at end of file diff --git a/Borepin/Borepin/MainPage.xaml b/Borepin/Borepin/MainPage.xaml index 2871e00..9496e16 100644 --- a/Borepin/Borepin/MainPage.xaml +++ b/Borepin/Borepin/MainPage.xaml @@ -3,18 +3,18 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Borepin.MainPage"> - - -