InquiryTheme
public struct InquiryTheme
Defines the color theme for an Inquiry.
-
The background color for all views.
Declaration
Swift
public var backgroundColor: UIColor
-
The primary color.
Declaration
Swift
public var primaryColor: UIColor
-
The darker, primary color.
Declaration
Swift
public var darkPrimaryColor: UIColor
-
The accent color.
Declaration
Swift
public var accentColor: UIColor
-
The error color.
Declaration
Swift
public var errorColor: UIColor
-
The font for error labels.
Declaration
Swift
public var errorTextFont: UIFont
-
The background color for overlay views.
Declaration
Swift
public var overlayBackgroundColor: UIColor
-
The text color for title labels.
Declaration
Swift
public var navigationBarTextColor: UIColor
-
The font for title labels.
Declaration
Swift
public var navigationBarTextFont: UIFont
-
The text color for title labels.
Declaration
Swift
public var titleTextColor: UIColor
-
The font for title labels.
Declaration
Swift
public var titleTextFont: UIFont
-
The font for card titles.
Declaration
Swift
public var cardTitleTextFont: UIFont
-
The text color for body labels.
Declaration
Swift
public var bodyTextColor: UIColor
-
The font for body labels.
Declaration
Swift
public var bodyTextFont: UIFont
-
The text color for footnote labels.
Declaration
Swift
public var footnoteTextColor: UIColor
-
The font for footnote labels.
Declaration
Swift
public var footnoteTextFont: UIFont
-
The text color for form labels.
Declaration
Swift
public var formLabelTextColor: UIColor
-
The font for form labels.
Declaration
Swift
public var formLabelTextFont: UIFont
-
The text color for text fields.
Declaration
Swift
public var textFieldTextColor: UIColor
-
The background color for text fields.
Declaration
Swift
public var textFieldBackgroundColor: UIColor
-
The border color for text fields.
Declaration
Swift
public var textFieldBorderColor: UIColor
-
The corner radius for text fields.
Declaration
Swift
public var textFieldCornerRadius: CGFloat
-
The font for text fields.
Declaration
Swift
public var textFieldFont: UIFont
-
The font for placeholder text in text fields.
Declaration
Swift
public var textFieldPlaceholderFont: UIFont
-
The text color for picker items.
Declaration
Swift
public var pickerTextColor: UIColor
-
The font for picker items.
Declaration
Swift
public var pickerTextFont: UIFont
-
The background color for buttons, in the normal state.
Declaration
Swift
public var buttonBackgroundColor: UIColor
-
The background color for buttons, in the disabled state.
Declaration
Swift
public var buttonDisabledBackgroundColor: UIColor
-
The background color for buttons, in the touched state.
Declaration
Swift
public var buttonTouchedBackgroundColor: UIColor
-
The text color for button text, in the normal state.
Declaration
Swift
public var buttonTextColor: UIColor
-
The text color for button text, in the disabled state.
Declaration
Swift
public var buttonDisabledTextColor: UIColor
-
The text alignment for button text.
Declaration
Swift
public var buttonTextAlignment: NSTextAlignment
-
The tint color for button images
Declaration
Swift
public var buttonImageTintColor: UIColor
-
The corner radius to apply to buttons.
Declaration
Swift
public var buttonCornerRadius: CGFloat
-
The font for button text.
Declaration
Swift
public var buttonFont: UIFont
-
The shadow color for buttons (this should include the desired opacity), e.g.
UIColor.black.withAlphaComponent(0.5)
Declaration
Swift
public var buttonShadowColor: UIColor
-
The blur radius (in points) used to render the shadow.
Declaration
Swift
public var buttonShadowRadius: CGFloat
-
The offset (in points) of the shadow.
Declaration
Swift
public var buttonShadowOffset: CGSize
-
The background color for checkboxes, in the normal state.
Declaration
Swift
public var checkboxBackgroundColor: UIColor
-
The foreground color for checkboxes, in the normal state.
Declaration
Swift
public var checkboxForegroundColor: UIColor
-
The text color for a selected table view cell.
Declaration
Swift
public var selectedCellBackgroundColor: UIColor
-
The tint to apply to the close button.
Declaration
Swift
public var closeButtonTintColor: UIColor
-
The background color for the “No, resume” button when cancelling a verification.
Declaration
Swift
public var cancelButtonBackgroundColor: UIColor
-
The text color for the “No, resume” when cancelling a verification.
Declaration
Swift
public var cancelButtonTextColor: UIColor
-
The background color for the “Yes, cancel” button when cancelling a verification.
Declaration
Swift
public var cancelButtonAlternateBackgroundColor: UIColor
-
The text color for the “Yes, cancel” button when cancelling a verification.
Declaration
Swift
public var cancelButtonAlternateTextColor: UIColor
-
The shadow color for buttons (this should include the desired opacity), e.g.
UIColor.black.withAlphaComponent(0.5)
Declaration
Swift
public var cancelButtonShadowColor: UIColor
-
The blur radius (in points) used to render the shadow.
Declaration
Swift
public var cancelButtonShadowRadius: CGFloat
-
The offset (in points) of the shadow.
Declaration
Swift
public var cancelButtonShadowOffset: CGSize
-
The text alignment for labels on the processing view.
Declaration
Swift
public var processingLabelsTextAlignment: NSTextAlignment
-
The path to a custom Lottie animation (found in the app bundle) that demonstrates selfie capture.
Declaration
Swift
public var selfieAnimation: AnimationAsset?
-
The path to a custom Lottie animation (found in the app bundle) that shows loading activity.
Declaration
Swift
public var loadingAnimation: AnimationAsset?
-
The path to a custom Lottie animation (found in the app bundle) that shows processing activity.
Declaration
Swift
public var processingAnimation: AnimationAsset?
-
The path to a custom asset that’s shown when an inquiry succeeds. The asset can be:
- an AnimationAsset (requires path and size to a Lottie animation found in the app bundle)
- an SVGAsset (requires path and size to a SVG image found in the app bundle)
- an ImageAsset (requires name and size of a JPG/PNG image found in the app bundle)
Declaration
Swift
public var successAsset: ThemeAsset?
-
The path to a custom asset that’s shown when an inquiry fails. The asset can be:
- an AnimationAsset (requires path and size to a Lottie animation found in the app bundle)
- an SVGAsset (requires path and size to a SVG image found in the app bundle)
- an ImageAsset (requires name and size of a JPG/PNG image found in the app bundle)
Declaration
Swift
public var failedAsset: ThemeAsset?
-
The path to a custom asset that’s shown when a verification fails. The asset can be:
- an AnimationAsset (requires path and size to a Lottie animation found in the app bundle)
- an SVGAsset (requires path and size to a SVG image found in the app bundle)
- an ImageAsset (requires name and size of a JPG/PNG image found in the app bundle)
Declaration
Swift
public var verificationFailedAsset: ThemeAsset?
-
The border color for separators.
Declaration
Swift
public var separatorColor: UIColor
-
Whether or not to show the icons next to government ID types
Declaration
Swift
public var showGovernmentIdIcons: Bool
-
The text color for camera hint titles.
Declaration
Swift
public var cameraInstructionsTextColor: UIColor
-
The font for camera hint labels.
Declaration
Swift
public var cameraInstructionsTextFont: UIFont
-
The text alignment for camera hint labels.
Declaration
Swift
public var cameraInstructionTextAlignment: NSTextAlignment
-
The background color for the button that takes a photo.
Declaration
Swift
public var cameraButtonBackgroundColor: UIColor
-
The text color for the button that takes a photo.
Declaration
Swift
public var cameraButtonTextColor: UIColor
-
The background color for the button that re-takes a photo.
Declaration
Swift
public var cameraButtonAlternateBackgroundColor: UIColor
-
The text color for the button that re-takes a photo.
Declaration
Swift
public var cameraButtonAlternateTextColor: UIColor
-
The text color for camera hint titles.
Declaration
Swift
public var cameraHintTextColor: UIColor
-
The font for camera hint labels.
Declaration
Swift
public var cameraHintTextFont: UIFont
-
The text color for camera guide hint titles.
Declaration
Swift
public var cameraGuideHintTextColor: UIColor
-
The text color for the [ ] corners shown as a guide when the user is taking a photo.
Declaration
Swift
public var cameraGuideCornersColor: UIColor
-
The font for camera guide hint labels.
Declaration
Swift
public var cameraGuideHintTextFont: UIFont
-
Constructor.
Declaration
Swift
public init()
-
The types of assets that are supported by themes
See moreDeclaration
Swift
public enum AssetType
-
Defines a Lottie animation asset
See moreDeclaration
Swift
public struct AnimationAsset : ThemeAsset
-
Defines an SVG image asset
See moreDeclaration
Swift
public struct SVGAsset : ThemeAsset
-
Defines an image asset
See moreDeclaration
Swift
public struct ImageAsset : ThemeAsset