mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-13 19:37:00 +05:30
common: consistently use named font weights
This commit is contained in:
parent
0a6d025f5a
commit
22dc11d641
1 changed files with 10 additions and 10 deletions
|
@ -15,7 +15,7 @@ val AppTypography =
|
||||||
displayLarge =
|
displayLarge =
|
||||||
TextStyle(
|
TextStyle(
|
||||||
fontFamily = Manrope,
|
fontFamily = Manrope,
|
||||||
fontWeight = FontWeight.W400,
|
fontWeight = FontWeight.Normal,
|
||||||
fontSize = 57.sp,
|
fontSize = 57.sp,
|
||||||
lineHeight = 64.sp,
|
lineHeight = 64.sp,
|
||||||
letterSpacing = (-0.25).sp,
|
letterSpacing = (-0.25).sp,
|
||||||
|
@ -23,7 +23,7 @@ val AppTypography =
|
||||||
displayMedium =
|
displayMedium =
|
||||||
TextStyle(
|
TextStyle(
|
||||||
fontFamily = Manrope,
|
fontFamily = Manrope,
|
||||||
fontWeight = FontWeight.W400,
|
fontWeight = FontWeight.Normal,
|
||||||
fontSize = 45.sp,
|
fontSize = 45.sp,
|
||||||
lineHeight = 52.sp,
|
lineHeight = 52.sp,
|
||||||
letterSpacing = 0.sp,
|
letterSpacing = 0.sp,
|
||||||
|
@ -31,7 +31,7 @@ val AppTypography =
|
||||||
displaySmall =
|
displaySmall =
|
||||||
TextStyle(
|
TextStyle(
|
||||||
fontFamily = Manrope,
|
fontFamily = Manrope,
|
||||||
fontWeight = FontWeight.W400,
|
fontWeight = FontWeight.Normal,
|
||||||
fontSize = 36.sp,
|
fontSize = 36.sp,
|
||||||
lineHeight = 44.sp,
|
lineHeight = 44.sp,
|
||||||
letterSpacing = 0.sp,
|
letterSpacing = 0.sp,
|
||||||
|
@ -39,7 +39,7 @@ val AppTypography =
|
||||||
headlineLarge =
|
headlineLarge =
|
||||||
TextStyle(
|
TextStyle(
|
||||||
fontFamily = Manrope,
|
fontFamily = Manrope,
|
||||||
fontWeight = FontWeight.W400,
|
fontWeight = FontWeight.Normal,
|
||||||
fontSize = 32.sp,
|
fontSize = 32.sp,
|
||||||
lineHeight = 40.sp,
|
lineHeight = 40.sp,
|
||||||
letterSpacing = 0.sp,
|
letterSpacing = 0.sp,
|
||||||
|
@ -47,7 +47,7 @@ val AppTypography =
|
||||||
headlineMedium =
|
headlineMedium =
|
||||||
TextStyle(
|
TextStyle(
|
||||||
fontFamily = Manrope,
|
fontFamily = Manrope,
|
||||||
fontWeight = FontWeight.W400,
|
fontWeight = FontWeight.Normal,
|
||||||
fontSize = 28.sp,
|
fontSize = 28.sp,
|
||||||
lineHeight = 36.sp,
|
lineHeight = 36.sp,
|
||||||
letterSpacing = 0.sp,
|
letterSpacing = 0.sp,
|
||||||
|
@ -55,7 +55,7 @@ val AppTypography =
|
||||||
headlineSmall =
|
headlineSmall =
|
||||||
TextStyle(
|
TextStyle(
|
||||||
fontFamily = Manrope,
|
fontFamily = Manrope,
|
||||||
fontWeight = FontWeight.W400,
|
fontWeight = FontWeight.Normal,
|
||||||
fontSize = 24.sp,
|
fontSize = 24.sp,
|
||||||
lineHeight = 32.sp,
|
lineHeight = 32.sp,
|
||||||
letterSpacing = 0.sp,
|
letterSpacing = 0.sp,
|
||||||
|
@ -63,7 +63,7 @@ val AppTypography =
|
||||||
titleLarge =
|
titleLarge =
|
||||||
TextStyle(
|
TextStyle(
|
||||||
fontFamily = Manrope,
|
fontFamily = Manrope,
|
||||||
fontWeight = FontWeight.W400,
|
fontWeight = FontWeight.Normal,
|
||||||
fontSize = 22.sp,
|
fontSize = 22.sp,
|
||||||
lineHeight = 28.sp,
|
lineHeight = 28.sp,
|
||||||
letterSpacing = 0.sp,
|
letterSpacing = 0.sp,
|
||||||
|
@ -95,7 +95,7 @@ val AppTypography =
|
||||||
bodyLarge =
|
bodyLarge =
|
||||||
TextStyle(
|
TextStyle(
|
||||||
fontFamily = Manrope,
|
fontFamily = Manrope,
|
||||||
fontWeight = FontWeight.W400,
|
fontWeight = FontWeight.Normal,
|
||||||
fontSize = 16.sp,
|
fontSize = 16.sp,
|
||||||
lineHeight = 24.sp,
|
lineHeight = 24.sp,
|
||||||
letterSpacing = 0.5.sp,
|
letterSpacing = 0.5.sp,
|
||||||
|
@ -103,7 +103,7 @@ val AppTypography =
|
||||||
bodyMedium =
|
bodyMedium =
|
||||||
TextStyle(
|
TextStyle(
|
||||||
fontFamily = Manrope,
|
fontFamily = Manrope,
|
||||||
fontWeight = FontWeight.W400,
|
fontWeight = FontWeight.Normal,
|
||||||
fontSize = 14.sp,
|
fontSize = 14.sp,
|
||||||
lineHeight = 20.sp,
|
lineHeight = 20.sp,
|
||||||
letterSpacing = 0.25.sp,
|
letterSpacing = 0.25.sp,
|
||||||
|
@ -111,7 +111,7 @@ val AppTypography =
|
||||||
bodySmall =
|
bodySmall =
|
||||||
TextStyle(
|
TextStyle(
|
||||||
fontFamily = Manrope,
|
fontFamily = Manrope,
|
||||||
fontWeight = FontWeight.W400,
|
fontWeight = FontWeight.Normal,
|
||||||
fontSize = 12.sp,
|
fontSize = 12.sp,
|
||||||
lineHeight = 16.sp,
|
lineHeight = 16.sp,
|
||||||
letterSpacing = 0.4.sp,
|
letterSpacing = 0.4.sp,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue