ClerkTypographyDefaults
object ClerkTypographyDefaults
Provides the default typography values used by Clerk UI components.
Use these values when you need to tweak only a subset of the typography scale while keeping the remaining slots aligned with Clerk's defaults. This makes it easy to take an existing style and call copy(...) with your customization.
val customTypography =
ClerkTypographyDefaults.typography {
displaySmall = displaySmall.copy(fontWeight = FontWeight.SemiBold)
}
ClerkTheme(typography = customTypography)Content copied to clipboard
Properties
Functions
Link copied to clipboard
Convenience helper for retrieving the full default ClerkTypography without any overrides.
Link copied to clipboard
Returns a ClerkTypography where every slot is pre-populated with Clerk's defaults.