codeTextFieldColors

fun codeTextFieldColors(cellBackgroundColor: Color = COUITheme.colorScheme.surfaceContainer, textColor: Color = COUITheme.colorScheme.onSurface, focusedStrokeColor: Color = COUITheme.colorScheme.primary, securityCircleColor: Color = COUITheme.colorScheme.onSurface.copy(alpha = 0.847f), cursorColor: Color = COUITheme.colorScheme.primary): CodeTextFieldColors

Default colors used by the CodeTextField.

Parameters

cellBackgroundColor

The background color of a cell (COUI couiColorCardBackground).

textColor

The color of the digits (COUI couiColorPrimaryNeutral).

focusedStrokeColor

The color of the active-cell stroke (COUI couiColorPrimary).

securityCircleColor

The color of the security dot (COUI coui_code_input_security_circle_color = 84.7% on-surface ink).

cursorColor

The color of the blinking cursor.