mirror of
https://github.com/Myzel394/Alibi.git
synced 2025-06-18 23:05:26 +02:00
fix(ui): Improve colors
This commit is contained in:
parent
7b2df0ae0d
commit
d88b03142f
@ -72,7 +72,7 @@ fun MicrophoneSelectionButton(
|
||||
Text(
|
||||
microphone.deviceInfo.address.toString(),
|
||||
fontSize = MaterialTheme.typography.bodySmall.toSpanStyle().fontSize,
|
||||
color = if (selected) MaterialTheme.colorScheme.onPrimary else MaterialTheme.colorScheme.secondary,
|
||||
color = if (selected || disabled) MaterialTheme.colorScheme.onPrimary else MaterialTheme.colorScheme.secondary,
|
||||
)
|
||||
}
|
||||
if (selectedAsFallback)
|
||||
|
@ -42,7 +42,7 @@ fun MessageBox(
|
||||
MessageType.WARNING -> Color.Yellow
|
||||
}
|
||||
val textColor = if (isDark) onContainerColor else MaterialTheme.colorScheme.onSurface
|
||||
val backgroundColor = if (isDark) containerColor else onContainerColor
|
||||
val backgroundColor = if (isDark) containerColor else containerColor
|
||||
|
||||
Row(
|
||||
verticalAlignment = Alignment.CenterVertically,
|
||||
|
Loading…
x
Reference in New Issue
Block a user