TextFieldColors

data class TextFieldColors(val backgroundColor: Color, val labelColor: Color, val borderColor: Color, val unfocusedBorderColor: Color, val errorColor: Color, val counterColor: Color, val iconColor: Color, val disabledTextColor: Color)

Colors used by a TextField in different parts of the component.

Parameters

backgroundColor

The fill color of the TextFieldMode.Rectangle box (transparent in COUI).

labelColor

The color of the label / placeholder.

borderColor

The color of the border / focused underline.

unfocusedBorderColor

The color of the border / underline when the TextField is not focused.

errorColor

The border / underline / label / counter-overflow color in error state.

counterColor

The color of the character counter.

iconColor

The tint of the built-in clear / password buttons.

disabledTextColor

The input text / label color when the TextField is disabled.

Constructors

Link copied to clipboard
constructor(backgroundColor: Color, labelColor: Color, borderColor: Color, unfocusedBorderColor: Color, errorColor: Color, counterColor: Color, iconColor: Color, disabledTextColor: Color)

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