VGSCheckoutDefaultTheme
public struct VGSCheckoutDefaultTheme : VGSCheckoutThemeProtocol
Default Checkout UI Theme settings.
-
Initializer.
Declaration
Swift
public init() -
The textfield’s background color. Default is
.clear.Declaration
Swift
public var textFieldBackgroundColor: UIColor -
The textfield’s border background color. Default is
.systemGray.Declaration
Swift
public var textFieldBorderColor: UIColor -
The text color of the textfield. Default is
.vgsInputBlackTextColor(black).Declaration
Swift
public var textFieldTextColor: UIColor -
The textfield’s error color. Default is
.systemRed.Declaration
Swift
public var textFieldErrorColor: UIColor -
The textfield’s focus color. Default is
.systemBlue.Declaration
Swift
public var textFieldFocusedColor: UIColor -
The font of the textfield. Default is
.bodywith.mediumweight.Declaration
Swift
public var textFieldTextFont: UIFont -
The text color of the textfield hint (above the text field). Default is
.vgsSystemGray2Color(black).Declaration
Swift
public var textFieldHintTextColor: UIColor -
The font of the textfield hint (above the text field). Default is
.caption1.Declaration
Swift
public var textFieldHintTextFont: UIFont -
The view’s background color. Default is
.vgsSystemBackground(white).Declaration
Swift
public var checkoutViewBackgroundColor: UIColor -
The section view’s background color. Default is
.vgsSystemBackground(white).Declaration
Swift
public var checkoutSectionViewBackgroundColor: UIColor -
The font of the section title. Default is
.title3with.boldweight.Declaration
Swift
public var checkoutFormSectionTitleFont: UIFont -
The text color of the section title. Default is
.vgsSectionTitleColor.Declaration
Swift
public var checkoutFormSectionTitleColor: UIColor -
The font of the error label. Default is
.caption2.Declaration
Swift
public var textFieldErrorLabelFont: UIFont -
Submit button attributes The background color of the submit button. Default is
.systemBlue.Declaration
Swift
public var checkoutSubmitButtonBackgroundColor: UIColor -
The background color of the submit button on success. Default is
.systemGreen.Declaration
Swift
public var checkoutSubmitButtonSuccessBackgroundColor: UIColor -
The text color of the submit button title. Default is
.lightText.Declaration
Swift
public var checkoutSubmitButtonTitleColor: UIColor -
The font of the submit button title. Default is
.calloutwith.regularweight.Declaration
Swift
public var checkoutSubmitButtonTitleFont: UIFont -
The background color of the checkbox for unselected state. Default is
.vgsSystemGray2Color.Declaration
Swift
public var checkoutCheckboxUnselectedColor: UIColor -
The background color of the checkbox for selected state. Default is
.systemBlue.Declaration
Swift
public var checkoutCheckboxSelectedColor: UIColor -
The checkmark tint color in checkbox. Default is
.white.Declaration
Swift
public var checkoutCheckmarkTintColor: UIColor -
The text color of the hint in checkbox. Default is
.vgsInputBlackTextColor.Declaration
Swift
public var checkoutCheckboxHintColor: UIColor -
The font of the hint in checkbox. Default is
.callout.Declaration
Swift
public var checkoutCheckboxHintFont: UIFont -
The background color of the payment option item.
Declaration
Swift
public var checkoutPaymentOptionBackgroundColor: UIColor -
The text color of the card holder title in saved card item.
Declaration
Swift
public var checkoutSavedCardCardholderTitleColor: UIColor -
The text color of the card holder title in saved card item in selected state.
Declaration
Swift
public var checkoutSavedCardCardholderSelectedTitleColor: UIColor -
The text font of the card holder title in saved card item. Default is
.caption1with.semiboldweight.Declaration
Swift
public var checkoutSavedCardCardholderTitleFont: UIFont -
The text color of the last 4 and exp date in saved card item.
Declaration
Swift
public var checkoutSavedCardDetailsTitleColor: UIColor -
The text color of the last 4 and exp date in saved card item in selected state.
Declaration
Swift
public var checkoutSavedCardDetailsSelectedTitleColor: UIColor -
The text font of the of the last 4 and exp date in saved card item. Default is
.calloutwith.semiboldweight.Declaration
Swift
public var checkoutSavedCardDetailsTitleFont: UIFont -
The border color of the saved card item when selected.
Declaration
Swift
public var checkoutSavedCardSelectedBorderColor: UIColor -
The text color for new card payment option title.
Declaration
Swift
public var checkoutPaymentOptionNewCardTitleColor: UIColor -
The font for new card payment option title. Default is
.calloutwith.semiboldweight.Declaration
Swift
public var checkoutPaymentOptionNewCardTitleFont: UIFont -
The background color of the payment option checkbox for unselected state.
Declaration
Swift
public var checkoutPaymentOptionCheckboxUnselectedColor: UIColor -
The background color of the payment option checkbox for selected state.
Declaration
Swift
public var checkoutPaymentOptionCheckboxSelectedColor: UIColor -
The checkmark tint color in the payment option checkbox.
Declaration
Swift
public var checkoutPaymentOptionCheckmarkTintColor: UIColor
View on GitHub
VGSCheckoutDefaultTheme Structure Reference