Added themes
This commit is contained in:
20
DiscordBotUI/Theming/Theme.cs
Normal file
20
DiscordBotUI/Theming/Theme.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
9
DiscordBotUI/Theming/ThemeType.cs
Normal file
9
DiscordBotUI/Theming/ThemeType.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace DiscordBotUI_Windows.Theming
|
||||
{
|
||||
public enum ThemeType
|
||||
{
|
||||
Undefined,
|
||||
Light,
|
||||
Dark
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user