Created
April 15, 2025 09:03
-
-
Save ifucolo/ec626457a21788795a7a23f3e6064da6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
@Composable | |
fun DisplayLargeText( | |
text: String, | |
modifier: Modifier = Modifier, | |
color: Color = Color.Unspecified, | |
textAlign: TextAlign? = null | |
) { | |
GenericText( | |
text = text, | |
modifier = modifier, | |
style = SanctusAppTypography.displayLarge, | |
color = color, | |
textAlign = textAlign | |
) | |
} | |
@Composable | |
fun DisplayMediumText( | |
text: String, | |
modifier: Modifier = Modifier, | |
color: Color = Color.Unspecified, | |
textAlign: TextAlign? = null | |
) { | |
GenericText( | |
text = text, | |
modifier = modifier, | |
style = SanctusAppTypography.displayMedium, | |
color = color, | |
textAlign = textAlign | |
) | |
} | |
@Composable | |
fun HeadlineLargeText( | |
text: String, | |
modifier: Modifier = Modifier, | |
color: Color = Color.Unspecified, | |
textAlign: TextAlign? = null | |
) { | |
GenericText( | |
text = text, | |
modifier = modifier, | |
style = SanctusAppTypography.headlineLarge, | |
color = color, | |
textAlign = textAlign | |
) | |
} | |
@Composable | |
fun HeadlineMediumText( | |
text: String, | |
modifier: Modifier = Modifier, | |
color: Color = Color.Unspecified, | |
textAlign: TextAlign? = null | |
) { | |
GenericText( | |
text = text, | |
modifier = modifier, | |
style = SanctusAppTypography.headlineMedium, | |
color = color, | |
textAlign = textAlign | |
) | |
} | |
@Composable | |
fun TitleLargeText( | |
text: String, | |
modifier: Modifier = Modifier, | |
color: Color = Color.Unspecified, | |
textAlign: TextAlign? = null | |
) { | |
GenericText( | |
text = text, | |
modifier = modifier, | |
style = SanctusAppTypography.titleLarge, | |
color = color, | |
textAlign = textAlign | |
) | |
} | |
@Composable | |
fun BodyLargeText( | |
text: String, | |
modifier: Modifier = Modifier, | |
color: Color = Color.Unspecified, | |
textAlign: TextAlign? = null | |
) { | |
GenericText( | |
text = text, | |
modifier = modifier, | |
style = SanctusAppTypography.bodyLarge, | |
color = color, | |
textAlign = textAlign | |
) | |
} | |
@Composable | |
fun BodyMediumText( | |
text: String, | |
modifier: Modifier = Modifier, | |
color: Color = Color.Unspecified, | |
textAlign: TextAlign? = null | |
) { | |
GenericText( | |
text = text, | |
modifier = modifier, | |
style = SanctusAppTypography.bodyMedium, | |
color = color, | |
textAlign = textAlign | |
) | |
} | |
@Composable | |
fun LabelLargeText( | |
text: String, | |
modifier: Modifier = Modifier, | |
color: Color = Color.Unspecified, | |
textAlign: TextAlign? = null | |
) { | |
GenericText( | |
text = text, | |
modifier = modifier, | |
style = SanctusAppTypography.labelLarge, | |
color = color, | |
textAlign = textAlign | |
) | |
} | |
@Composable | |
fun LabelMediumText( | |
text: String, | |
modifier: Modifier = Modifier, | |
color: Color = Color.Unspecified, | |
textAlign: TextAlign? = null | |
) { | |
GenericText( | |
text = text, | |
modifier = modifier, | |
style = SanctusAppTypography.labelMedium, | |
color = color, | |
textAlign = textAlign | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment