From 4ffa474247aaa03daef071f8c0ffdf415073a8dc Mon Sep 17 00:00:00 2001 From: Miguel Date: Wed, 12 Feb 2025 13:06:47 +0100 Subject: [PATCH] No funciona bien --- App.xaml | 13 +++++--- DirectoryCreator.csproj | 5 +-- MainWindow.xaml | 17 ++++++----- ThemeManager.cs | 34 ++++++++++++--------- Themes/DarkTheme.xaml | 19 +++++++++++- Themes/LightTheme.xaml | 67 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 125 insertions(+), 30 deletions(-) create mode 100644 Themes/LightTheme.xaml diff --git a/App.xaml b/App.xaml index 017fb10..1e8bb21 100644 --- a/App.xaml +++ b/App.xaml @@ -1,7 +1,12 @@ - + - + + + + + \ No newline at end of file diff --git a/DirectoryCreator.csproj b/DirectoryCreator.csproj index 6fa2dd6..c90009a 100644 --- a/DirectoryCreator.csproj +++ b/DirectoryCreator.csproj @@ -14,8 +14,9 @@ - - + + + diff --git a/MainWindow.xaml b/MainWindow.xaml index 821639d..3dd7857 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -3,14 +3,15 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:viewmodels="clr-namespace:DirectoryCreator.ViewModels" mc:Ignorable="d" Title="Crear Directorios Base" - Height="550" Width="800" WindowStartupLocation="CenterScreen" MinWidth="600" MinHeight="400"> + Height="550" Width="800" WindowStartupLocation="CenterScreen" MinWidth="600" MinHeight="400" + Background="{DynamicResource WindowBackground}" Foreground="{DynamicResource WindowForeground}"> - - + + @@ -26,7 +27,7 @@ - +