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