| 
									
										
										
										
											2024-05-07 19:44:00 +08:00
										 |  |  | import 'package:appflowy/workspace/application/settings/appearance/base_appearance.dart'; | 
					
						
							| 
									
										
										
										
											2023-08-15 21:28:58 -07:00
										 |  |  | import 'package:flowy_infra/theme.dart'; | 
					
						
							| 
									
										
										
										
											2025-02-07 18:17:46 +08:00
										 |  |  | import 'package:flutter/material.dart'; | 
					
						
							| 
									
										
										
										
											2023-08-15 21:28:58 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | /// A class for the default appearance settings for the app
 | 
					
						
							|  |  |  | class DefaultAppearanceSettings { | 
					
						
							| 
									
										
										
										
											2024-05-07 19:44:00 +08:00
										 |  |  |   static const kDefaultFontFamily = defaultFontFamily; | 
					
						
							| 
									
										
										
										
											2023-08-15 21:28:58 -07:00
										 |  |  |   static const kDefaultThemeMode = ThemeMode.system; | 
					
						
							|  |  |  |   static const kDefaultThemeName = "Default"; | 
					
						
							|  |  |  |   static const kDefaultTheme = BuiltInTheme.defaultTheme; | 
					
						
							| 
									
										
										
										
											2023-12-20 18:34:25 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-05-10 16:08:32 +02:00
										 |  |  |   static Color getDefaultCursorColor(BuildContext context) { | 
					
						
							| 
									
										
										
										
											2023-12-20 18:34:25 -07:00
										 |  |  |     return Theme.of(context).colorScheme.primary; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-05-10 16:08:32 +02:00
										 |  |  |   static Color getDefaultSelectionColor(BuildContext context) { | 
					
						
							| 
									
										
										
										
											2025-02-07 18:17:46 +08:00
										 |  |  |     return Theme.of(context).colorScheme.primary.withValues(alpha: 0.2); | 
					
						
							| 
									
										
										
										
											2023-12-20 18:34:25 -07:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2023-08-15 21:28:58 -07:00
										 |  |  | } |