CCPColors

data class CCPColors(val containerColor: Color, val cursorColor: Color, val borderColor: Color, val errorBorderColor: Color, val inputTextColor: Color, val phoneHintColor: Color, val countryCodeTextColor: Color, val countryChevronColor: Color, val errorColor: Color, val ccpSheetColor: CCPSheetColor)(source)

Defines the color scheme for the Country Code Picker (CCP) component.

Constructors

Link copied to clipboard
constructor(containerColor: Color, cursorColor: Color, borderColor: Color, errorBorderColor: Color, inputTextColor: Color, phoneHintColor: Color, countryCodeTextColor: Color, countryChevronColor: Color, errorColor: Color, ccpSheetColor: CCPSheetColor)

Properties

Link copied to clipboard

Border color of the phone number input field (normal state).

Link copied to clipboard

Colors applied to the country selection bottom sheet.

Link copied to clipboard

Background color of the phone number input container.

Link copied to clipboard

Color of the dropdown chevron icon.

Link copied to clipboard

Color of the country dial code displayed in the picker.

Link copied to clipboard

Color of the text cursor inside the phone number field.

Link copied to clipboard

Border color shown when com.ezzy.ccp.components.PhoneNumberInput is in error state.

Link copied to clipboard

Color of the error message text shown below the field.

Link copied to clipboard

Color of the text entered into the phone number field.

Link copied to clipboard

Color of the hint/placeholder text.