upload
This commit is contained in:
commit
1c7a8cf25f
579 files changed
+83196
No files matched your search
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace VibranceHud.Design;
|
||||
|
||||
public static class SignatureLooks
|
||||
{
|
||||
public static readonly IReadOnlyList<SignatureLook> All = new SignatureLook[2]
|
||||
{
|
||||
new SignatureLook("Ash", BackdropLook.Off, SurfaceStyle.Glass),
|
||||
new SignatureLook("Slate", BackdropLook.Off, SurfaceStyle.Glass)
|
||||
};
|
||||
|
||||
public static bool TryGet(string? theme, out SignatureLook look)
|
||||
{
|
||||
foreach (SignatureLook item in All)
|
||||
{
|
||||
if (string.Equals(item.Theme, theme, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
look = item;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
look = default;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user