FioriStepperColors

Represents the colors used by a FioriSimpleTextField or FioriNoteTextField and its parts in different states See FioriStepperDefaults.colors for the default implementation that follows Material specifications.

Functions

Link copied to clipboard
abstract fun cursorColor(isError: Boolean, isFocused: Boolean): State<Color>

Represents the color used for the stepper's cursor, depending on error and focused.

Link copied to clipboard
abstract fun helperTextColor(enabled: Boolean, readOnly: Boolean, isError: Boolean): State<Color>

Represents the color used for the stepper's helper text, depending on enabled, readonly and error.

Link copied to clipboard

Represents the colors used in the inline notice

Link copied to clipboard
abstract fun labelColor(enabled: Boolean, isFocused: Boolean, readOnly: Boolean, isError: Boolean): State<Color>

Represents the color used for the stepper's label, depending on enabled, focused, readonly and error.

Link copied to clipboard
abstract fun leadingIconColor(enabled: Boolean, isError: Boolean, readOnly: Boolean): State<Color>

Represents the color used for the stepper's leading icon, depending on enabled, error and readOnly.

Link copied to clipboard
abstract fun textFieldBackgroundColor(enabled: Boolean, readOnly: Boolean): State<Color>

Represents the color used for the background of the stepper's stepper, depending on enabled and readonly.

Link copied to clipboard
abstract fun textFieldBorderColor(enabled: Boolean, isFocused: Boolean, readOnly: Boolean, isError: Boolean): State<Color>

Represents the color used for the border of the stepper's stepper, depending on enabled, focused, readonly and error.

Link copied to clipboard
abstract fun textInputColor(enabled: Boolean, isFocused: Boolean, readOnly: Boolean, isError: Boolean): State<Color>

Represents the color used for the stepper's text input, depending on enabled, focused, readonly and error.

Link copied to clipboard

Represents the color used for text selection background color for stepper

Link copied to clipboard

Represents the color used for text selection handle color for stepper

Link copied to clipboard

Represents the color used for trailing icon's background

Link copied to clipboard
abstract fun trailingIconColor(enabled: Boolean, isError: Boolean, readOnly: Boolean): State<Color>

Represents the color used for the stepper's trailing icon, depending on enabled, error and readOnly.