From 19f678ca01a1d59f64c51ad2d0e1be141f301a04 Mon Sep 17 00:00:00 2001 From: Andrew Kolos Date: Mon, 5 Oct 2020 09:31:37 -0400 Subject: [PATCH] [GUI] Add dark theme (#388) --- DiscordChatExporter.Gui/App.xaml | 83 +++---------------- .../Services/SettingsService.cs | 2 + DiscordChatExporter.Gui/Theme.cs | 42 ++++++++++ .../ViewModels/Dialogs/SettingsViewModel.cs | 6 ++ .../ViewModels/RootViewModel.cs | 2 + .../Views/Dialogs/ExportSetupView.xaml | 18 ++-- .../Views/Dialogs/SettingsView.xaml | 20 ++++- .../Views/Dialogs/SettingsView.xaml.cs | 21 ++++- DiscordChatExporter.Gui/Views/RootView.xaml | 63 +++++++++----- 9 files changed, 147 insertions(+), 110 deletions(-) create mode 100644 DiscordChatExporter.Gui/Theme.cs diff --git a/DiscordChatExporter.Gui/App.xaml b/DiscordChatExporter.Gui/App.xaml index c945d4d..7d44e5f 100644 --- a/DiscordChatExporter.Gui/App.xaml +++ b/DiscordChatExporter.Gui/App.xaml @@ -14,69 +14,13 @@ - + - - #343838 - #5E6262 - #0D1212 - #F9A825 - #C17900 - #000000 - #FFFFFF - - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -151,25 +157,25 @@ - + - + - + - + - + - + @@ -177,7 +183,10 @@ - + @@ -188,25 +197,34 @@ - - + + - + - + - + - + @@ -226,7 +244,7 @@ + Fill="{DynamicResource MaterialDesignDivider}" /> @@ -322,7 +340,6 @@ Margin="3,8,8,8" VerticalAlignment="Center" FontSize="14" - Foreground="{DynamicResource PrimaryTextBrush}" Text="{Binding Name, Mode=OneWay}" />