Builder

class Builder

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun actionPrimaryText(@ColorInt actionPrimaryText: Int?): Colors.Builder

The color used for primary actions and link text. If null the default will be used.

Link copied to clipboard
fun actionSecondaryText(@ColorInt actionSecondaryText: Int?): Colors.Builder

The color used for secondary actions and link text. If null the default will be used.

Link copied to clipboard
fun background(@ColorInt background: Int?): Colors.Builder

The background color for components. If null the default will be used.

Link copied to clipboard

The color used for component borders. If null the default will be used.

Link copied to clipboard
fun build(): Colors
Link copied to clipboard

The color used to indicate errors or destructive actions. If null the default will be used.

Link copied to clipboard
fun formAccent(@ColorInt formAccent: Int?): Colors.Builder

The accent color used for filling form elements like checkboxes or radio buttons. If null the default will be used.

Link copied to clipboard
fun formBackground(@ColorInt formBackground: Int?): Colors.Builder

The background color used for form fields. If null the default will be used.

Link copied to clipboard
fun formHighlightBorder(@ColorInt formHighlightBorder: Int?): Colors.Builder

The border color used to highlight form items when focused. If null the default will be used.

Link copied to clipboard
fun offsetBackground(@ColorInt offsetBackground: Int?): Colors.Builder

The background color used to highlight information. If null the default will be used.

Link copied to clipboard

The primary color used throughout the components. If null the default will be used.

Link copied to clipboard
fun secondaryText(@ColorInt secondaryText: Int?): Colors.Builder

The secondary text color used for less emphasized content. If null the default will be used.

Link copied to clipboard

The primary text color used for regular content. If null the default will be used.