mirror of
				https://github.com/MindWorkAI/AI-Studio.git
				synced 2025-11-04 06:00:21 +00:00 
			
		
		
		
	
		
			
	
	
		
			16 lines
		
	
	
		
			428 B
		
	
	
	
		
			C#
		
	
	
	
	
	
		
		
			
		
	
	
			16 lines
		
	
	
		
			428 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| 
								 | 
							
								namespace AIStudio.Settings.DataModel;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								public static class ThemesExtensions
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    public static string GetName(this Themes theme)
							 | 
						||
| 
								 | 
							
								    {
							 | 
						||
| 
								 | 
							
								        return theme switch
							 | 
						||
| 
								 | 
							
								        {
							 | 
						||
| 
								 | 
							
								            Themes.SYSTEM => "Synchronized with the operating system settings",
							 | 
						||
| 
								 | 
							
								            Themes.LIGHT => "Always use light theme",
							 | 
						||
| 
								 | 
							
								            Themes.DARK => "Always use dark theme",
							 | 
						||
| 
								 | 
							
								            
							 | 
						||
| 
								 | 
							
								            _ => "Unknown setting",
							 | 
						||
| 
								 | 
							
								        };
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 |