Typography
class Typography
Typography used for Payment Element text.
Functions
Link copied to clipboard
fun custom(custom: PaymentElement.Configuration.Appearance.Typography.Custom): PaymentElement.Configuration.Appearance.Typography
Custom font configuration for specific text styles Note: When set, these fonts override the default font calculations for their respective text styles
Link copied to clipboard
The font used in text. This should be a resource ID value.
Link copied to clipboard
The scale factor for all fonts in Payment Element, the default value is 1.0. When this value increases fonts will increase in size and decrease when this value is lowered.