Colors supported by Shipping Address Element's primary button.

interface PrimaryButtonColorConfiguration {
    background?: string;
    text?: string;
    border?: string;
}

Properties

background?: string

Background color as a hex string. Defaults to the form's primary color.

text?: string

Text color as a hex string. Defaults to a contrasting color derived from the button's background on iOS and white (#FFFFFF) on Android.

border?: string

Border color as a hex string. Defaults to UIColor.quaternaryLabel on iOS and transparent on Android.