TextFieldColors

constructor(backgroundColor: Color, labelColor: Color, borderColor: Color, unfocusedBorderColor: Color, errorColor: Color, counterColor: Color, iconColor: Color, disabledTextColor: Color)

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.