StytchTheme

data class StytchTheme(val backgroundColor: Int = WHITE, val primaryTextColor: Int = BLACK, val secondaryTextColor: Int = SLATE, val disabledTextColor: Int = STEEL, val successColor: Int = PINE, val errorColor: Int = MAROON, val socialButtonBackgroundColor: Int = WHITE, val socialButtonTextColor: Int = CHARCOAL, val buttonBackgroundColor: Int = CHARCOAL, val buttonTextColor: Int = WHITE, val buttonBorderColor: Int = CHARCOAL, val buttonBorderRadius: Int = 4, val disabledButtonBackgroundColor: Int = CHALK, val disabledButtonBorderColor: Int = CHALK, val disabledButtonTextColor: Int = STEEL, val inputBorderRadius: Int = 4, val inputBorderColor: Int = CEMENT, val inputBackgroundColor: Int = WHITE, val inputTextColor: Int = CHARCOAL, val inputPlaceholderTextColor: Int = STEEL, val disabledInputBorderColor: Int = FOG, val disabledInputBackgroundColor: Int = CHALK, val disabledInputTextColor: Int = STEEL, val dialogTextColor: Int = CHARCOAL, val hideHeaderText: Boolean = false) : Parcelable

A data class used to configure the UI.

Parameters

backgroundColor

an Int describing the background color

primaryTextColor

an Int describing the color of primary text

secondaryTextColor

an Int describing the color of secondary text

disabledTextColor

an Int describing the color of text when in a disabled state

successColor

an Int describing the color of text and fields in a success state

errorColor

an Int describing the color of text and fields in an error state

socialButtonBackgroundColor

an Int describing the background color of Social Login buttons

socialButtonTextColor

an Int describing the text color of Social Login buttons

buttonBackgroundColor

an Int describing the background color of a button

buttonTextColor

an Int describing the color of button text

buttonBorderColor

an Int describing the border color of a button

buttonBorderRadius

an Int describing the size of a button's border radius

disabledButtonBackgroundColor

an Int describing the color of a button's background when disabled

disabledButtonBorderColor

an Int describing the color of a button's border when disabled

disabledButtonTextColor

an Int describing the color of button text when in a disabled state

inputBorderRadius

an Int describing the size of an input's border radius

inputBorderColor

an Int describing the border color of input fields

inputBackgroundColor

an Int describing the background color of input fields

inputTextColor

an Int describing the color of input text when editable

inputPlaceholderTextColor

an Int describing the text color of placeholder text

disabledInputBorderColor

an Int describing the color of an input fields border when disabled

disabledInputBackgroundColor

an Int describing the color of an input fields background when disabled

disabledInputTextColor

an Int describing the color of input text when in a disabled state

dialogTextColor

an Int describing the color of text within dialogs

hideHeaderText

a Boolean that determines whether or not to show the header text on the main UI screen.

Constructors

Link copied to clipboard
constructor(backgroundColor: Int = WHITE, primaryTextColor: Int = BLACK, secondaryTextColor: Int = SLATE, disabledTextColor: Int = STEEL, successColor: Int = PINE, errorColor: Int = MAROON, socialButtonBackgroundColor: Int = WHITE, socialButtonTextColor: Int = CHARCOAL, buttonBackgroundColor: Int = CHARCOAL, buttonTextColor: Int = WHITE, buttonBorderColor: Int = CHARCOAL, buttonBorderRadius: Int = 4, disabledButtonBackgroundColor: Int = CHALK, disabledButtonBorderColor: Int = CHALK, disabledButtonTextColor: Int = STEEL, inputBorderRadius: Int = 4, inputBorderColor: Int = CEMENT, inputBackgroundColor: Int = WHITE, inputTextColor: Int = CHARCOAL, inputPlaceholderTextColor: Int = STEEL, disabledInputBorderColor: Int = FOG, disabledInputBackgroundColor: Int = CHALK, disabledInputTextColor: Int = STEEL, dialogTextColor: Int = CHARCOAL, hideHeaderText: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val hideHeaderText: Boolean = false
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard