Added themes

This commit is contained in:
2024-05-27 20:10:52 +03:00
parent d3dd29f4bf
commit 83115d72a4
8 changed files with 261 additions and 22 deletions

View File

@@ -0,0 +1,20 @@
using System.Text.Json.Serialization;
namespace DiscordBotUI_Windows.Theming
{
internal class Theme
{
public string Name { get; set; }
public string Description { get; set; }
public ThemeType Type { get; set; }
public IDictionary<string, string> ThemeValues { get; set; }
internal void SetThemeValue(string key, string value)
{
if (ThemeValues.ContainsKey(key))
{
ThemeValues[key] = value;
}
}
}
}