AI-Studio/app/MindWork AI Studio/Settings/DataModel/ThemesExtensions.cs
2025-02-25 19:58:17 +01:00

13 lines
368 B
C#

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