summaryrefslogtreecommitdiffhomepage
path: root/android/lib/theme/src
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2023-10-06 22:53:58 +0200
committerAlbin <albin@mullvad.net>2023-10-06 22:53:58 +0200
commitc1f9e782da8d8cd5731fe43017f056b184f126c9 (patch)
tree6548308aa794a079b2b36b5e96a6b17e7a8e8002 /android/lib/theme/src
parent7256c138ebc59463bfa0771f7c3093bac36a8f09 (diff)
parent7e28f789dadaa07950101058330757769a76e70d (diff)
downloadmullvadvpn-c1f9e782da8d8cd5731fe43017f056b184f126c9.tar.xz
mullvadvpn-c1f9e782da8d8cd5731fe43017f056b184f126c9.zip
Merge branch 'evaluate-replacing-collapsing-toolbar-droid-272'
Diffstat (limited to 'android/lib/theme/src')
-rw-r--r--android/lib/theme/src/main/kotlin/net/mullvad/mullvadvpn/lib/theme/Theme.kt2
-rw-r--r--android/lib/theme/src/main/kotlin/net/mullvad/mullvadvpn/lib/theme/typeface/TypeScale.kt1
2 files changed, 3 insertions, 0 deletions
diff --git a/android/lib/theme/src/main/kotlin/net/mullvad/mullvadvpn/lib/theme/Theme.kt b/android/lib/theme/src/main/kotlin/net/mullvad/mullvadvpn/lib/theme/Theme.kt
index adaedc618e..9ab3fc1e0f 100644
--- a/android/lib/theme/src/main/kotlin/net/mullvad/mullvadvpn/lib/theme/Theme.kt
+++ b/android/lib/theme/src/main/kotlin/net/mullvad/mullvadvpn/lib/theme/Theme.kt
@@ -11,6 +11,7 @@ import androidx.compose.runtime.remember
import androidx.compose.runtime.staticCompositionLocalOf
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.text.TextStyle
+import androidx.compose.ui.text.font.FontFamily
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.TextUnit
import androidx.compose.ui.unit.dp
@@ -28,6 +29,7 @@ private val MullvadTypography =
bodyMedium = TextStyle(fontSize = TypeScale.TextMediumPlus, fontWeight = FontWeight.Bold),
titleMedium =
TextStyle(fontSize = TypeScale.TextMediumPlus, fontWeight = FontWeight.SemiBold),
+ titleLarge = TextStyle(fontSize = TypeScale.TitleLarge, fontFamily = FontFamily.SansSerif),
labelMedium = TextStyle(fontSize = TypeScale.TextSmall, fontWeight = FontWeight.SemiBold),
labelLarge =
TextStyle(
diff --git a/android/lib/theme/src/main/kotlin/net/mullvad/mullvadvpn/lib/theme/typeface/TypeScale.kt b/android/lib/theme/src/main/kotlin/net/mullvad/mullvadvpn/lib/theme/typeface/TypeScale.kt
index 09ee7cafde..524461c07e 100644
--- a/android/lib/theme/src/main/kotlin/net/mullvad/mullvadvpn/lib/theme/typeface/TypeScale.kt
+++ b/android/lib/theme/src/main/kotlin/net/mullvad/mullvadvpn/lib/theme/typeface/TypeScale.kt
@@ -16,4 +16,5 @@ internal object TypeScale {
val TextMediumPlus = 18.sp
val TextMedium = 16.sp
val TextSmall = 13.sp
+ val TitleLarge = 22.sp
}