TMAuthenticationColors

data class TMAuthenticationColors(val primary: Int, val primaryVariant: Int, val secondary: Int, val secondaryVariant: Int, val background: Int, val surface: Int, val error: Int, val onPrimary: Int, val onSecondary: Int, val onBackground: Int, val onSurface: Int, val onError: Int, val isLight: Boolean) : Parcelable

Represents a set of colors used for authentication UI components, supporting Parcelable for Android.

Parameters

primary

The primary color as an ARGB integer.

primaryVariant

The variant of the primary color as an ARGB integer.

secondary

The secondary color as an ARGB integer.

secondaryVariant

The variant of the secondary color as an ARGB integer.

background

The background color as an ARGB integer.

surface

The surface color as an ARGB integer.

error

The error color as an ARGB integer.

onPrimary

The color used for content on the primary color as an ARGB integer.

onSecondary

The color used for content on the secondary color as an ARGB integer.

onBackground

The color used for content on the background color as an ARGB integer.

onSurface

The color used for content on the surface color as an ARGB integer.

onError

The color used for content on the error color as an ARGB integer.

isLight

Indicates whether the color scheme is light (true) or dark (false).

Constructors

Link copied to clipboard
constructor(primary: Int, primaryVariant: Int, secondary: Int, secondaryVariant: Int, background: Int, surface: Int, error: Int, onPrimary: Int, onSecondary: Int, onBackground: Int, onSurface: Int, onError: Int, isLight: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
val error: Int
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

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard

Converts a TMAuthenticationColors object to a Colors object for use in Compose UI.

Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)