use Win11 as default theme for Updater

This commit is contained in:
2024-09-06 16:13:14 +02:00
parent 5083af5fd1
commit 0276f11a8a
9 changed files with 87 additions and 440 deletions

View File

@@ -1,6 +1,7 @@
using Pilz.UI.Telerik.Dialogs;
using Pilz.UI.Telerik.Symbols;
using Pilz.UI.Telerik.Theming;
using Telerik.WinControls;
using Telerik.WinControls.Themes;
namespace ModpackUpdater.Apps;
@@ -14,7 +15,7 @@ public static class AppGlobals
ThemeHelper.ApplyApplicationTheme(ApplicationTheme.Auto,
() => new Windows11CompactTheme(),
() => new Windows11CompactDarkTheme());
RadFlyoutBase.ConfirmSvg = Symbols.GetSvgImage(AppSymbols.checkmark, Pilz.UI.Symbols.SymbolSize.Small);
RadFlyoutBase.CancelSvg = Symbols.GetSvgImage(AppSymbols.cancel, Pilz.UI.Symbols.SymbolSize.Small);
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

File diff suppressed because one or more lines are too long

View File

@@ -8,7 +8,6 @@
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="CustomThemes\*.tssp" />
<EmbeddedResource Include="Symbols\*.svg" />
</ItemGroup>