A theme for the Account Kit UI
Conforms to: | NSCopying |
Superclass: | NSObject |
Declared in: | AKFTheme.h |
defaultTheme
Returns the default theme.
+ (instancetype)
defaultTheme;
This theme can be used as a starting point and then updated as desired.
AKFTheme.h
outlineTheme
Returns a default theme that uses an outline style instead of filled in components.
+ (instancetype)
outlineTheme;
AKFTheme.h
outlineThemeWithPrimaryColor:primaryTextColor:secondaryTextColor:statusBarStyle:
Returns a theme that uses an outline style with simple color groups that will be applied to the theme.
Parameter | Description |
---|---|
primaryColor | The color used for |
primaryTextColor | The color used for |
secondaryTextColor | The color used for |
statusBarStyle | The style to use for the status bar. |
+ (instancetype)
outlineThemeWithPrimaryColor: | (UIColor *)primaryColor |
primaryTextColor: | (UIColor *)primaryTextColor |
secondaryTextColor: | (UIColor *)secondaryTextColor |
statusBarStyle: | (UIStatusBarStyle)statusBarStyle; |
AKFTheme.h
themeWithPrimaryColor:primaryTextColor:secondaryColor:secondaryTextColor:statusBarStyle:
Returns a theme with simple color groups that will be applied to the theme.
Parameter | Description |
---|---|
primaryColor | The color used for |
primaryTextColor | The color used for |
secondaryColor | The color used for |
secondaryTextColor | The color used for |
statusBarStyle | The style to use for the status bar. |
+ (instancetype)
themeWithPrimaryColor: | (UIColor *)primaryColor |
primaryTextColor: | (UIColor *)primaryTextColor |
secondaryColor: | (UIColor *)secondaryColor |
secondaryTextColor: | (UIColor *)secondaryTextColor |
statusBarStyle: | (UIStatusBarStyle)statusBarStyle; |
AKFTheme.h
AKFHeaderTextType
The type of header text to use within the UI.
typedef NS_ENUM(NSUInteger, AKFHeaderTextType) { AKFHeaderTextTypeLogin = 0, AKFHeaderTextTypeAppName, };
AKFTheme.h
NS_ENUM
The type of header text to use within the UI.
typedef NS_ENUM(NSUInteger, AKFHeaderTextType) { AKFHeaderTextTypeLogin = 0, AKFHeaderTextTypeAppName, };
AKFTheme.h