[fix:] fixed several issues and improved performance as well as ux
This commit is contained in:
16
ThemeManager.cs
Normal file
16
ThemeManager.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using Avalonia;
|
||||
|
||||
namespace PLG_Exam;
|
||||
|
||||
public static class ThemeManager
|
||||
{
|
||||
public static string CurrentBackgroundColor
|
||||
{
|
||||
get
|
||||
{
|
||||
return nameof(Application.RequestedThemeVariant) + "ModeBackground";
|
||||
//return isDarkMode ? "DarkModeBackground" : "LightModeBackground";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user