fix stealthbutton and add button to not use hardcoded gray
This commit is contained in:
		
							parent
							
								
									1f1583dcd1
								
							
						
					
					
						commit
						e1b60b342d
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -74,9 +74,9 @@ fun StealthButton( | ||||||
|         modifier = modifier, |         modifier = modifier, | ||||||
|         colors = ButtonDefaults.buttonColors( |         colors = ButtonDefaults.buttonColors( | ||||||
|             backgroundColor = MaterialTheme.colors.surface, |             backgroundColor = MaterialTheme.colors.surface, | ||||||
|             contentColor = MaterialTheme.colors.onSurface |             contentColor = MaterialTheme.colors.onSurface.copy(alpha = 0.4f) | ||||||
|         ), |         ), | ||||||
|         border = BorderStroke(1.dp, MaterialTheme.colors.onSurface) |         border = BorderStroke(3.dp, MaterialTheme.colors.onSurface.copy(alpha = 0.4f)) | ||||||
|     ) |     ) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | @ -147,10 +147,10 @@ fun NewTaskSubjectButton( | ||||||
|             .padding(10.dp, 5.dp), |             .padding(10.dp, 5.dp), | ||||||
|         colors = ButtonDefaults.buttonColors( |         colors = ButtonDefaults.buttonColors( | ||||||
|             backgroundColor = Color.Transparent, |             backgroundColor = Color.Transparent, | ||||||
|             contentColor = Color.Gray, |             contentColor = MaterialTheme.colors.onSurface.copy(alpha = 0.4f), | ||||||
|         ), |         ), | ||||||
|         shape = RoundedCornerShape(2.dp), |         shape = RoundedCornerShape(2.dp), | ||||||
|         border = BorderStroke(1.dp, Color.Gray), |         border = BorderStroke(1.dp, MaterialTheme.colors.onSurface.copy(alpha = 0.4f)), | ||||||
|         elevation = null, |         elevation = null, | ||||||
|     ) { |     ) { | ||||||
|         Row( |         Row( | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 brreynie
						brreynie