From 926915116ec5ead383af869e846022ff0d682fd0 Mon Sep 17 00:00:00 2001 From: Alper Alkan Date: Sat, 21 Dec 2024 01:57:50 +0100 Subject: [PATCH] Christmas Theme --- .../Assets/Themes/ThemeChristmasDark.xaml | 40 +++++++++++++++++++ .../UserControls/SettingsUserControl.xaml.cs | 3 +- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 gamevault/Resources/Assets/Themes/ThemeChristmasDark.xaml diff --git a/gamevault/Resources/Assets/Themes/ThemeChristmasDark.xaml b/gamevault/Resources/Assets/Themes/ThemeChristmasDark.xaml new file mode 100644 index 0000000..fdb2e0c --- /dev/null +++ b/gamevault/Resources/Assets/Themes/ThemeChristmasDark.xaml @@ -0,0 +1,40 @@ + + 1 + + + 1 + + ThemeChristmasDark + + Phalcode + + Celebrate a cozy and festive Christmas with us. We ho-ho-hope you love it! + + Christmas (Dark) + + + #FFFFFFFF + + #FFFFFFFF + + #FF0C1600 + + #FF550000 + + #FF005508 + + #99005508 + + #66005508 + + #33005508 + + #FFB39800 + + #00000000 + diff --git a/gamevault/UserControls/SettingsUserControl.xaml.cs b/gamevault/UserControls/SettingsUserControl.xaml.cs index e3cb149..be1cb25 100644 --- a/gamevault/UserControls/SettingsUserControl.xaml.cs +++ b/gamevault/UserControls/SettingsUserControl.xaml.cs @@ -289,7 +289,8 @@ private async Task LoadThemes() res.Source = new Uri("pack://application:,,,/gamevault;component/Resources/Assets/Themes/ThemeHalloweenDark.xaml"); ViewModel.Themes.Add(new ThemeItem() { DisplayName = (string)res["Theme.DisplayName"], Description = (string)res["Theme.Description"], Author = (string)res["Theme.Author"], IsPlus = true, Path = res.Source.OriginalString }); - + res.Source = new Uri("pack://application:,,,/gamevault;component/Resources/Assets/Themes/ThemeChristmasDark.xaml"); + ViewModel.Themes.Add(new ThemeItem() { DisplayName = (string)res["Theme.DisplayName"], Description = (string)res["Theme.Description"], Author = (string)res["Theme.Author"], IsPlus = true, Path = res.Source.OriginalString }); if (Directory.Exists(AppFilePath.ThemesLoadDir)) {