PrimaryButtonColorConfig: { background: string; text: string; border: string }

Type declaration

  • background: string

    The background color used for the primary button in your PaymentSheet, represented as a hex string with format #RRGGBB or #AARRGGBB.

    The root appearance.colors.primary

  • text: string

    The color of the text for the primary button in your PaymentSheet, represented as a hex string with format #RRGGBB or #AARRGGBB.

    White or black, depending on the color of the button.
    
  • border: string

    The border color used for the primary button in your PaymentSheet, represented as a hex string with format #RRGGBB or #AARRGGBB.

    The System quaternary label on iOS, transparent on Android.