From 22dc11d6410de6b518e3e19726c8950a6b8af2b5 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sun, 10 Jul 2022 20:01:45 +0530 Subject: [PATCH] common: consistently use named font weights --- .../dev/msfjarvis/claw/common/theme/Type.kt | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/common/src/commonMain/kotlin/dev/msfjarvis/claw/common/theme/Type.kt b/common/src/commonMain/kotlin/dev/msfjarvis/claw/common/theme/Type.kt index 43f5c6fc..fe512bab 100644 --- a/common/src/commonMain/kotlin/dev/msfjarvis/claw/common/theme/Type.kt +++ b/common/src/commonMain/kotlin/dev/msfjarvis/claw/common/theme/Type.kt @@ -15,7 +15,7 @@ val AppTypography = displayLarge = TextStyle( fontFamily = Manrope, - fontWeight = FontWeight.W400, + fontWeight = FontWeight.Normal, fontSize = 57.sp, lineHeight = 64.sp, letterSpacing = (-0.25).sp, @@ -23,7 +23,7 @@ val AppTypography = displayMedium = TextStyle( fontFamily = Manrope, - fontWeight = FontWeight.W400, + fontWeight = FontWeight.Normal, fontSize = 45.sp, lineHeight = 52.sp, letterSpacing = 0.sp, @@ -31,7 +31,7 @@ val AppTypography = displaySmall = TextStyle( fontFamily = Manrope, - fontWeight = FontWeight.W400, + fontWeight = FontWeight.Normal, fontSize = 36.sp, lineHeight = 44.sp, letterSpacing = 0.sp, @@ -39,7 +39,7 @@ val AppTypography = headlineLarge = TextStyle( fontFamily = Manrope, - fontWeight = FontWeight.W400, + fontWeight = FontWeight.Normal, fontSize = 32.sp, lineHeight = 40.sp, letterSpacing = 0.sp, @@ -47,7 +47,7 @@ val AppTypography = headlineMedium = TextStyle( fontFamily = Manrope, - fontWeight = FontWeight.W400, + fontWeight = FontWeight.Normal, fontSize = 28.sp, lineHeight = 36.sp, letterSpacing = 0.sp, @@ -55,7 +55,7 @@ val AppTypography = headlineSmall = TextStyle( fontFamily = Manrope, - fontWeight = FontWeight.W400, + fontWeight = FontWeight.Normal, fontSize = 24.sp, lineHeight = 32.sp, letterSpacing = 0.sp, @@ -63,7 +63,7 @@ val AppTypography = titleLarge = TextStyle( fontFamily = Manrope, - fontWeight = FontWeight.W400, + fontWeight = FontWeight.Normal, fontSize = 22.sp, lineHeight = 28.sp, letterSpacing = 0.sp, @@ -95,7 +95,7 @@ val AppTypography = bodyLarge = TextStyle( fontFamily = Manrope, - fontWeight = FontWeight.W400, + fontWeight = FontWeight.Normal, fontSize = 16.sp, lineHeight = 24.sp, letterSpacing = 0.5.sp, @@ -103,7 +103,7 @@ val AppTypography = bodyMedium = TextStyle( fontFamily = Manrope, - fontWeight = FontWeight.W400, + fontWeight = FontWeight.Normal, fontSize = 14.sp, lineHeight = 20.sp, letterSpacing = 0.25.sp, @@ -111,7 +111,7 @@ val AppTypography = bodySmall = TextStyle( fontFamily = Manrope, - fontWeight = FontWeight.W400, + fontWeight = FontWeight.Normal, fontSize = 12.sp, lineHeight = 16.sp, letterSpacing = 0.4.sp,