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

13 lines
368 B
C#
Raw Normal View History

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