don't hardcode cyan, use primary colorscheme
This commit is contained in:
		
							parent
							
								
									67b1811a89
								
							
						
					
					
						commit
						d6abad15da
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -28,7 +28,9 @@ class MealWidget extends StatelessWidget {
 | 
			
		|||
                    Expanded(
 | 
			
		||||
                      child: Text(
 | 
			
		||||
                        meal.name,
 | 
			
		||||
                        style: Theme.of(context).textTheme.titleLarge,
 | 
			
		||||
                        style: Theme.of(context).textTheme.titleLarge?.copyWith(
 | 
			
		||||
                          color: Theme.of(context).colorScheme.primary,
 | 
			
		||||
                          ),
 | 
			
		||||
                      ),
 | 
			
		||||
                    ),
 | 
			
		||||
                    Text("${meal.calories.toStringAsFixed(1)} kcal"),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue