AI-Studio/app/MindWork AI Studio/Settings/DataModel/ThemesExtensions.cs

13 lines
368 B
C#
Raw Normal View History

namespace AIStudio.Settings.DataModel;
public static class ThemesExtensions
{
2025-02-25 18:58:17 +00:00
public static string GetName(this Themes theme) => theme switch
{
2025-02-25 18:58:17 +00:00
Themes.SYSTEM => "Synchronized with the operating system settings",
Themes.LIGHT => "Always use light theme",
Themes.DARK => "Always use dark theme",
_ => "Unknown setting",
};
}