mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Fix text color
This commit is contained in:
committed by
Benoit Marty
parent
7207afebcc
commit
5aa4cbdac7
+2
@@ -76,12 +76,14 @@ fun WelcomeView(
|
|||||||
modifier = Modifier.testTag(TestTags.welcomeScreenTitle),
|
modifier = Modifier.testTag(TestTags.welcomeScreenTitle),
|
||||||
text = stringResource(R.string.screen_welcome_title, applicationName),
|
text = stringResource(R.string.screen_welcome_title, applicationName),
|
||||||
style = ElementTheme.typography.fontHeadingLgBold,
|
style = ElementTheme.typography.fontHeadingLgBold,
|
||||||
|
color = ElementTheme.colors.textPrimary,
|
||||||
textAlign = TextAlign.Center,
|
textAlign = TextAlign.Center,
|
||||||
)
|
)
|
||||||
Spacer(modifier = Modifier.height(8.dp))
|
Spacer(modifier = Modifier.height(8.dp))
|
||||||
Text(
|
Text(
|
||||||
text = stringResource(R.string.screen_welcome_subtitle),
|
text = stringResource(R.string.screen_welcome_subtitle),
|
||||||
style = ElementTheme.typography.fontBodyMdRegular,
|
style = ElementTheme.typography.fontBodyMdRegular,
|
||||||
|
color = ElementTheme.colors.textPrimary,
|
||||||
textAlign = TextAlign.Center,
|
textAlign = TextAlign.Center,
|
||||||
)
|
)
|
||||||
Spacer(modifier = Modifier.height(40.dp))
|
Spacer(modifier = Modifier.height(40.dp))
|
||||||
|
|||||||
+8
-1
@@ -31,6 +31,7 @@ import io.element.android.libraries.designsystem.atomic.atoms.InfoListItemMolecu
|
|||||||
import io.element.android.libraries.designsystem.atomic.atoms.InfoListItemPosition
|
import io.element.android.libraries.designsystem.atomic.atoms.InfoListItemPosition
|
||||||
import io.element.android.libraries.designsystem.theme.components.Icon
|
import io.element.android.libraries.designsystem.theme.components.Icon
|
||||||
import io.element.android.libraries.designsystem.theme.components.Text
|
import io.element.android.libraries.designsystem.theme.components.Text
|
||||||
|
import io.element.android.libraries.theme.ElementTheme
|
||||||
import kotlinx.collections.immutable.ImmutableList
|
import kotlinx.collections.immutable.ImmutableList
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
@@ -54,7 +55,13 @@ fun InfoListOrganism(
|
|||||||
else -> InfoListItemPosition.Middle
|
else -> InfoListItemPosition.Middle
|
||||||
}
|
}
|
||||||
InfoListItemMolecule(
|
InfoListItemMolecule(
|
||||||
message = { Text(item.message, style = textStyle) },
|
message = {
|
||||||
|
Text(
|
||||||
|
text = item.message,
|
||||||
|
style = textStyle,
|
||||||
|
color = ElementTheme.colors.textPrimary,
|
||||||
|
)
|
||||||
|
},
|
||||||
icon = {
|
icon = {
|
||||||
if (item.iconId != null) {
|
if (item.iconId != null) {
|
||||||
Icon(resourceId = item.iconId, contentDescription = null, tint = iconTint)
|
Icon(resourceId = item.iconId, contentDescription = null, tint = iconTint)
|
||||||
|
|||||||
Reference in New Issue
Block a user