-
-
Save Peddro/5110fccc1b5e59ef47c697ced857856b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Immutable | |
data class H19Typography( | |
val title1: TextStyle = TextStyle( | |
fontWeight = FontWeight.Medium, | |
fontSize = 24.sp, | |
letterSpacing = 0.sp, | |
lineHeight = 20.sp | |
), | |
val title2: TextStyle = TextStyle( | |
fontWeight = FontWeight.Medium, | |
fontSize = 22.sp, | |
letterSpacing = 0.sp, | |
lineHeight = 20.sp | |
), | |
val body1: TextStyle = TextStyle( | |
fontWeight = FontWeight.Medium, | |
fontSize = 16.sp, | |
letterSpacing = 0.sp, | |
lineHeight = 20.sp | |
), | |
val body1Bold: TextStyle = TextStyle( | |
fontWeight = FontWeight.Bold, | |
fontSize = 16.sp, | |
letterSpacing = 0.sp, | |
lineHeight = 20.sp | |
), | |
val body2: TextStyle = TextStyle( | |
fontWeight = FontWeight.Medium, | |
fontSize = 14.sp, | |
letterSpacing = 0.sp, | |
lineHeight = 18.sp | |
), | |
val body2Bold: TextStyle = TextStyle( | |
fontWeight = FontWeight.Bold, | |
fontSize = 14.sp, | |
letterSpacing = 0.sp, | |
lineHeight = 18.sp | |
), | |
val caption: TextStyle = TextStyle( | |
fontWeight = FontWeight.Medium, | |
fontSize = 12.sp, | |
letterSpacing = 0.sp, | |
lineHeight = 16.sp | |
), | |
val captionBold: TextStyle = TextStyle( | |
fontWeight = FontWeight.Bold, | |
fontSize = 12.sp, | |
letterSpacing = 0.sp, | |
lineHeight = 16.sp | |
), | |
) | |
internal val LocalTypography = staticCompositionLocalOf { H19Typography() } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment