From 4485154211ce32b959e0f4f261847ed2d0352343 Mon Sep 17 00:00:00 2001 From: Gibran Chevalley Date: Tue, 23 Jul 2024 16:31:09 +0200 Subject: [PATCH] Add missing specific medium 32 text style --- .../java/com/infomaniak/swisstransfer/ui/theme/Type.kt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/theme/Type.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/theme/Type.kt index eb29d6416..2f9b61fe8 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/theme/Type.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/theme/Type.kt @@ -87,6 +87,13 @@ private val specificMedium22 = TextStyle( lineHeight = 28.sp, ) +private val specificMedium32 = TextStyle( + fontFamily = FontFamily.Default, + fontWeight = FontWeight.Medium, + fontSize = 32.sp, + lineHeight = 42.sp, +) + private val specificLight22 = TextStyle( fontFamily = FontFamily.Default, fontWeight = FontWeight.Light, @@ -110,6 +117,7 @@ val Typography = CustomTypography( bodySmallRegular = bodySmallRegular, labelMedium = labelMedium, labelRegular = labelRegular, + specificMedium32 = specificMedium32, specificMedium22 = specificMedium22, specificLight22 = specificLight22, specificLight18 = specificLight18, @@ -125,6 +133,7 @@ data class CustomTypography( val bodySmallRegular: TextStyle, val labelMedium: TextStyle, val labelRegular: TextStyle, + val specificMedium32: TextStyle, val specificMedium22: TextStyle, val specificLight22: TextStyle, val specificLight18: TextStyle