Appearance
class Appearance
Appearance configuration for the address form.
Types
Link copied to clipboard
class PrimaryButton
Configures the primary button.
Link copied to clipboard
Color modes available for the address form.
Link copied to clipboard
class Typography
Typography used for shipping address form text.
Functions
Link copied to clipboard
fun colorsDark(colors: ShippingAddressElement.Configuration.Appearance.Colors): ShippingAddressElement.Configuration.Appearance
Sets the colors used in dark mode.
Link copied to clipboard
fun colorsLight(colors: ShippingAddressElement.Configuration.Appearance.Colors): ShippingAddressElement.Configuration.Appearance
Sets the colors used in light mode.
Link copied to clipboard
fun formInsetValues(insets: ShippingAddressElement.Configuration.Appearance.Insets): ShippingAddressElement.Configuration.Appearance
Sets the insets used by the address form.
Link copied to clipboard
fun primaryButton(primaryButton: ShippingAddressElement.Configuration.Appearance.PrimaryButton): ShippingAddressElement.Configuration.Appearance
Sets the appearance of the primary button.
Link copied to clipboard
fun shapes(shapes: ShippingAddressElement.Configuration.Appearance.Shapes): ShippingAddressElement.Configuration.Appearance
Sets the shape of inputs and other components.
Link copied to clipboard
fun themeMode(themeMode: ShippingAddressElement.Configuration.Appearance.ThemeMode): ShippingAddressElement.Configuration.Appearance
Sets the color mode used by the address form.
Link copied to clipboard
fun typography(typography: ShippingAddressElement.Configuration.Appearance.Typography): ShippingAddressElement.Configuration.Appearance
Sets the typography used for form text.