PiaSDKTheme

Objective-C

@protocol PiaSDKTheme

Swift

protocol PiaSDKTheme

A set of colors used in the SDK’s views.

  • Color to be used for status bar.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *statusBarColor;

    Swift

    var statusBarColor: UIColor { get set }
  • Color to be used for all navigation bars.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *navigationBarColor;

    Swift

    var navigationBarColor: UIColor { get set }
  • Color to be used for all navigation bars titles.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *navigationBarTitleColor;

    Swift

    var navigationBarTitleColor: UIColor { get set }
  • Color to be used for all navigation bars left action items.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *leftNavigationBarItemsColor;

    Swift

    var leftNavigationBarItemsColor: UIColor { get set }
  • Color to be used for all navigation bars right action items.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *rightNavigationBarItemsColor;

    Swift

    var rightNavigationBarItemsColor: UIColor { get set }
  • Color to be used for webview navigation toolbar.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *webViewToolbarColor;

    Swift

    var webViewToolbarColor: UIColor { get set }
  • Color to be used for webview navigation toolbar items.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *webViewToolbarItemsColor;

    Swift

    var webViewToolbarItemsColor: UIColor { get set }
  • Color to be used for all UIViews that don’t fit in any of the special cases below (navBar, label, field, switch, etc).

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *backgroundColor;

    Swift

    var backgroundColor: UIColor { get set }
  • Title color to be used for all the buttons in the SDK for the default state.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *buttonTextColor;

    Swift

    var buttonTextColor: UIColor { get set }
  • Background color to be used for the main action buttons in the SDK for the default state.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *actionButtonBackgroundColor;

    Swift

    var actionButtonBackgroundColor: UIColor { get set }
  • Color for the switch thumbs.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *switchThumbColor;

    Swift

    var switchThumbColor: UIColor { get set }
  • Color for the switch color when switch is on.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *switchOnTintColor;

    Swift

    var switchOnTintColor: UIColor { get set }
  • Color for the switch color when switch is off.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *switchOffTintColor;

    Swift

    var switchOffTintColor: UIColor { get set }
  • Color to be used for all the labels in the SDK.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *labelTextColor;

    Swift

    var labelTextColor: UIColor { get set }
  • Color to be used for text in all textFields/textViews in the SDK.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *textFieldTextColor;

    Swift

    var textFieldTextColor: UIColor { get set }
  • Color to be used in the error messages, border color of error text field and color of attention button on the text field.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *textFieldErrorColor;

    Swift

    var textFieldErrorColor: UIColor { get set }
  • Color to be used in the successful validation case of card entry view.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *textFieldSuccessColor;

    Swift

    var textFieldSuccessColor: UIColor { get set }
  • Color to be used for all textfields background.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *textFieldBackgroundColor;

    Swift

    var textFieldBackgroundColor: UIColor { get set }
  • Color to be used for placeholder in textfields.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *textFieldPlaceholderColor;

    Swift

    var textFieldPlaceholderColor: UIColor { get set }
  • Color to be used to show active textfield while editing.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *activeTextFieldBorderColor;

    Swift

    var activeTextFieldBorderColor: UIColor { get set }
  • Color to be used in CVC entry for Subsequent transaction view.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *tokenCardCVCViewBackgroundColor;

    Swift

    var tokenCardCVCViewBackgroundColor: UIColor { get set }
  • Color to be used for Card IO’s background.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *cardIOBackgroundColor;

    Swift

    var cardIOBackgroundColor: UIColor { get set }
  • Color to be used for Card IO’s “Entry card manually” button text.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *cardIOButtonTextColor;

    Swift

    var cardIOButtonTextColor: UIColor { get set }
  • Color to be used for Card IO’s “Entry card manually” button background color.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *cardIOButtonBackgroundColor;

    Swift

    var cardIOButtonBackgroundColor: UIColor { get set }
  • Color to be used for Card IO preview frame.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *cardIOPreviewFrameColor;

    Swift

    var cardIOPreviewFrameColor: UIColor { get set }
  • Color to be used for all the texts inside Card IO view.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIColor *cardIOTextColor;

    Swift

    var cardIOTextColor: UIColor { get set }