mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 19:49:15 +08:00
27 lines
611 B
C#
27 lines
611 B
C#
namespace Wox.Core.Resource
|
|
{
|
|
public class ThemeManager
|
|
{
|
|
private static Theme instance;
|
|
private static object syncObject = new object();
|
|
|
|
public static Theme Theme
|
|
{
|
|
get
|
|
{
|
|
if (instance == null)
|
|
{
|
|
lock (syncObject)
|
|
{
|
|
if (instance == null)
|
|
{
|
|
instance = new Theme();
|
|
}
|
|
}
|
|
}
|
|
return instance;
|
|
}
|
|
}
|
|
}
|
|
}
|