From e0fdee6f1c854b40b65ff18bfab6ceb366d16731 Mon Sep 17 00:00:00 2001 From: DavidAparicioAlbaAsenjo <137989685+DavidAparicioAlbaAsenjo@users.noreply.github.com> Date: Wed, 8 Nov 2023 15:32:21 +0100 Subject: [PATCH] ANDROAPP-5714-Font-weight-of-accordian-title (#136) * update: [ANDROAPP-5714] section title font weight modified * update: [ANDROAPP-5714] title font weight updated * update: [ANDROAPP-5714] typography changed * update: [ANDROAPP-5714] code formatted * update: [ANDROAPP-5714] text typography modified --- .../org/hisp/dhis/mobile/ui/designsystem/component/Text.kt | 2 +- .../kotlin/org/hisp/dhis/mobile/ui/designsystem/theme/Theme.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/designsystem/src/commonMain/kotlin/org/hisp/dhis/mobile/ui/designsystem/component/Text.kt b/designsystem/src/commonMain/kotlin/org/hisp/dhis/mobile/ui/designsystem/component/Text.kt index 903d29481..0ebeac575 100644 --- a/designsystem/src/commonMain/kotlin/org/hisp/dhis/mobile/ui/designsystem/component/Text.kt +++ b/designsystem/src/commonMain/kotlin/org/hisp/dhis/mobile/ui/designsystem/component/Text.kt @@ -63,7 +63,7 @@ internal fun InputShellLabelText( text, modifier = modifier, color = textColor, - style = MaterialTheme.typography.titleSmall, + style = MaterialTheme.typography.bodyMedium, textAlign = TextAlign.Start, ) } diff --git a/designsystem/src/commonMain/kotlin/org/hisp/dhis/mobile/ui/designsystem/theme/Theme.kt b/designsystem/src/commonMain/kotlin/org/hisp/dhis/mobile/ui/designsystem/theme/Theme.kt index 50c242160..60f9d81c3 100644 --- a/designsystem/src/commonMain/kotlin/org/hisp/dhis/mobile/ui/designsystem/theme/Theme.kt +++ b/designsystem/src/commonMain/kotlin/org/hisp/dhis/mobile/ui/designsystem/theme/Theme.kt @@ -61,7 +61,7 @@ fun DHIS2Theme(content: @Composable () -> Unit) { fontSize = 22.sp, lineHeight = 28.sp, fontFamily = provideFontResource(), - fontWeight = FontWeight.Normal, + fontWeight = FontWeight.Medium, color = TextColor.OnSurface, ), titleMedium = TextStyle(