mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-25 02:55:23 +00:00
Alert text color
This commit is contained in:
parent
5b26912f42
commit
86a9e07f31
@ -66,7 +66,10 @@ fun GroupMinimumVersionBanner(modifier: Modifier = Modifier) {
|
||||
style = LocalType.current.small,
|
||||
maxLines = 2,
|
||||
textAlign = TextAlign.Center,
|
||||
modifier = Modifier.padding(horizontal = 24.dp, vertical = 4.dp)
|
||||
modifier = Modifier.padding(
|
||||
horizontal = LocalDimensions.current.spacing,
|
||||
vertical = LocalDimensions.current.xxxsSpacing
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
@ -116,7 +116,7 @@ data class ClassicDark(override val primary: Color = primaryGreen) : ThemeColors
|
||||
override val qrCodeBackground = text
|
||||
override val primaryButtonFill = primary
|
||||
override val primaryButtonFillText = Color.Black
|
||||
override val textAlert: Color = classicDark6
|
||||
override val textAlert: Color = classicDark0
|
||||
}
|
||||
|
||||
data class ClassicLight(override val primary: Color = primaryGreen) : ThemeColors {
|
||||
@ -156,7 +156,7 @@ data class OceanDark(override val primary: Color = primaryBlue) : ThemeColors {
|
||||
override val qrCodeBackground = text
|
||||
override val primaryButtonFill = primary
|
||||
override val primaryButtonFillText = Color.Black
|
||||
override val textAlert: Color = oceanDark7
|
||||
override val textAlert: Color = oceanDark0
|
||||
}
|
||||
|
||||
data class OceanLight(override val primary: Color = primaryBlue) : ThemeColors {
|
||||
@ -211,5 +211,8 @@ private fun ThemeColors() {
|
||||
Box(Modifier.background(LocalColors.current.borders)) {
|
||||
Text("border", style = LocalType.current.base)
|
||||
}
|
||||
Box(Modifier.background(LocalColors.current.warning)) {
|
||||
Text("alertOnWarning", style = LocalType.current.base, color = LocalColors.current.textAlert)
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user