Object

ExposedDropdownMenuDefaults

Contains default values used by Exposed Dropdown Menu.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Common
@ExperimentalMaterial3Api
object ExposedDropdownMenuDefaults

Contains default values used by Exposed Dropdown Menu.

Properties

Common
val ItemContentPadding: PaddingValues

Padding for DropdownMenuItems within ExposedDropdownMenuBoxScope.ExposedDropdownMenu to align them properly with TextField components.

Functions

TrailingIcon

@ExperimentalMaterial3Api
    @Composable
    fun TrailingIcon(expanded: Boolean, modifier: Modifier = Modifier)

Default trailing icon for Exposed Dropdown Menu.

Parameters

expanded whether the menu is expanded or not. Affects the appearance of the icon.
modifier the Modifier to be applied to this icon

textFieldColors

@Composable
    fun textFieldColors(
        focusedTextColor: Color = FilledAutocompleteTokens.FieldFocusInputTextColor.value,
        unfocusedTextColor: Color = FilledAutocompleteTokens.FieldInputTextColor.value,
        disabledTextColor: Color =
            FilledAutocompleteTokens.FieldDisabledInputTextColor.value.copy(
                alpha = FilledAutocompleteTokens.FieldDisabledInputTextOpacity
            ),
        errorTextColor: Color = FilledAutocompleteTokens.FieldErrorInputTextColor.value,
        focusedContainerColor: Color = FilledAutocompleteTokens.TextFieldContainerColor.value,
        unfocusedContainerColor: Color = FilledAutocompleteTokens.TextFieldContainerColor.value,
        disabledContainerColor: Color = FilledAutocompleteTokens.TextFieldContainerColor.value,
        errorContainerColor: Color = FilledAutocompleteTokens.TextFieldContainerColor.value,
        cursorColor: Color = FilledAutocompleteTokens.TextFieldCaretColor.value,
        errorCursorColor: Color = FilledAutocompleteTokens.TextFieldErrorFocusCaretColor.value,
        selectionColors: TextSelectionColors = LocalTextSelectionColors.current,
        focusedIndicatorColor: Color =
            FilledAutocompleteTokens.TextFieldFocusActiveIndicatorColor.value,
        unfocusedIndicatorColor: Color =
            FilledAutocompleteTokens.TextFieldActiveIndicatorColor.value,
        disabledIndicatorColor: Color =
            FilledAutocompleteTokens.TextFieldDisabledActiveIndicatorColor.value.copy(
                alpha = FilledAutocompleteTokens.TextFieldDisabledActiveIndicatorOpacity
            ),
        errorIndicatorColor: Color =
            FilledAutocompleteTokens.TextFieldErrorActiveIndicatorColor.value,
        focusedLeadingIconColor: Color =
            FilledAutocompleteTokens.TextFieldFocusLeadingIconColor.value,
        unfocusedLeadingIconColor: Color = FilledAutocompleteTokens.TextFieldLeadingIconColor.value,
        disabledLeadingIconColor: Color =
            FilledAutocompleteTokens.TextFieldDisabledLeadingIconColor.value.copy(
                alpha = FilledAutocompleteTokens.TextFieldDisabledLeadingIconOpacity
            ),
        errorLeadingIconColor: Color =
            FilledAutocompleteTokens.TextFieldErrorLeadingIconColor.value,
        focusedTrailingIconColor: Color =
            FilledAutocompleteTokens.TextFieldFocusTrailingIconColor.value,
        unfocusedTrailingIconColor: Color =
            FilledAutocompleteTokens.TextFieldTrailingIconColor.value,
        disabledTrailingIconColor: Color =
            FilledAutocompleteTokens.TextFieldDisabledTrailingIconColor.value.copy(
                alpha = FilledAutocompleteTokens.TextFieldDisabledTrailingIconOpacity
            ),
        errorTrailingIconColor: Color =
            FilledAutocompleteTokens.TextFieldErrorTrailingIconColor.value,
        focusedLabelColor: Color = FilledAutocompleteTokens.FieldFocusLabelTextColor.value,
        unfocusedLabelColor: Color = FilledAutocompleteTokens.FieldLabelTextColor.value,
        disabledLabelColor: Color = FilledAutocompleteTokens.FieldDisabledLabelTextColor.value,
        errorLabelColor: Color = FilledAutocompleteTokens.FieldErrorLabelTextColor.value,
        focusedPlaceholderColor: Color = FilledAutocompleteTokens.FieldSupportingTextColor.value,
        unfocusedPlaceholderColor: Color = FilledAutocompleteTokens.FieldSupportingTextColor.value,
        disabledPlaceholderColor: Color =
            FilledAutocompleteTokens.FieldDisabledSupportingTextColor.value.copy(
                alpha = FilledAutocompleteTokens.FieldDisabledSupportingTextOpacity
            ),
        errorPlaceholderColor: Color = FilledAutocompleteTokens.FieldSupportingTextColor.value,
        focusedPrefixColor: Color = FilledAutocompleteTokens.FieldSupportingTextColor.value,
        unfocusedPrefixColor: Color = FilledAutocompleteTokens.FieldSupportingTextColor.value,
        disabledPrefixColor: Color =
            FilledAutocompleteTokens.FieldDisabledSupportingTextColor.value.copy(
                alpha = FilledAutocompleteTokens.FieldDisabledSupportingTextOpacity
            ),
        errorPrefixColor: Color = FilledAutocompleteTokens.FieldSupportingTextColor.value,
        focusedSuffixColor: Color = FilledAutocompleteTokens.FieldSupportingTextColor.value,
        unfocusedSuffixColor: Color = FilledAutocompleteTokens.FieldSupportingTextColor.value,
        disabledSuffixColor: Color =
            FilledAutocompleteTokens.FieldDisabledSupportingTextColor.value.copy(
                alpha = FilledAutocompleteTokens.FieldDisabledSupportingTextOpacity
            ),
        errorSuffixColor: Color = FilledAutocompleteTokens.FieldSupportingTextColor.value,
    ): TextFieldColors

Creates a TextFieldColors that represents the default input text, container, and content colors (including label, placeholder, icons, etc.) used in a TextField within an ExposedDropdownMenuBox.

Parameters

focusedTextColor the color used for the input text of this text field when focused
unfocusedTextColor the color used for the input text of this text field when not focused
disabledTextColor the color used for the input text of this text field when disabled
errorTextColor the color used for the input text of this text field when in error state
focusedContainerColor the container color for this text field when focused
unfocusedContainerColor the container color for this text field when not focused
disabledContainerColor the container color for this text field when disabled
errorContainerColor the container color for this text field when in error state
cursorColor the cursor color for this text field
errorCursorColor the cursor color for this text field when in error state
selectionColors the colors used when the input text of this text field is selected
focusedIndicatorColor the indicator color for this text field when focused
unfocusedIndicatorColor the indicator color for this text field when not focused
disabledIndicatorColor the indicator color for this text field when disabled
errorIndicatorColor the indicator color for this text field when in error state
focusedLeadingIconColor the leading icon color for this text field when focused
unfocusedLeadingIconColor the leading icon color for this text field when not focused
disabledLeadingIconColor the leading icon color for this text field when disabled
errorLeadingIconColor the leading icon color for this text field when in error state
focusedTrailingIconColor the trailing icon color for this text field when focused
unfocusedTrailingIconColor the trailing icon color for this text field when not focused
disabledTrailingIconColor the trailing icon color for this text field when disabled
errorTrailingIconColor the trailing icon color for this text field when in error state
focusedLabelColor the label color for this text field when focused
unfocusedLabelColor the label color for this text field when not focused
disabledLabelColor the label color for this text field when disabled
errorLabelColor the label color for this text field when in error state
focusedPlaceholderColor the placeholder color for this text field when focused
unfocusedPlaceholderColor the placeholder color for this text field when not focused
disabledPlaceholderColor the placeholder color for this text field when disabled
errorPlaceholderColor the placeholder color for this text field when in error state
focusedPrefixColor the prefix color for this text field when focused
unfocusedPrefixColor the prefix color for this text field when not focused
disabledPrefixColor the prefix color for this text field when disabled
errorPrefixColor the prefix color for this text field when in error state
focusedSuffixColor the suffix color for this text field when focused
unfocusedSuffixColor the suffix color for this text field when not focused
disabledSuffixColor the suffix color for this text field when disabled
errorSuffixColor the suffix color for this text field when in error state

outlinedTextFieldColors

@Composable
    fun outlinedTextFieldColors(
        focusedTextColor: Color = OutlinedAutocompleteTokens.FieldFocusInputTextColor.value,
        unfocusedTextColor: Color = OutlinedAutocompleteTokens.FieldInputTextColor.value,
        disabledTextColor: Color =
            OutlinedAutocompleteTokens.FieldDisabledInputTextColor.value.copy(
                alpha = OutlinedAutocompleteTokens.FieldDisabledInputTextOpacity
            ),
        errorTextColor: Color = OutlinedAutocompleteTokens.FieldErrorInputTextColor.value,
        focusedContainerColor: Color = Color.Transparent,
        unfocusedContainerColor: Color = Color.Transparent,
        disabledContainerColor: Color = Color.Transparent,
        errorContainerColor: Color = Color.Transparent,
        cursorColor: Color = OutlinedAutocompleteTokens.TextFieldCaretColor.value,
        errorCursorColor: Color = OutlinedAutocompleteTokens.TextFieldErrorFocusCaretColor.value,
        selectionColors: TextSelectionColors = LocalTextSelectionColors.current,
        focusedBorderColor: Color = OutlinedAutocompleteTokens.TextFieldFocusOutlineColor.value,
        unfocusedBorderColor: Color = OutlinedAutocompleteTokens.TextFieldOutlineColor.value,
        disabledBorderColor: Color =
            OutlinedAutocompleteTokens.TextFieldDisabledOutlineColor.value.copy(
                alpha = OutlinedAutocompleteTokens.TextFieldDisabledOutlineOpacity
            ),
        errorBorderColor: Color = OutlinedAutocompleteTokens.TextFieldErrorOutlineColor.value,
        focusedLeadingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldFocusLeadingIconColor.value,
        unfocusedLeadingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldLeadingIconColor.value,
        disabledLeadingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldDisabledLeadingIconColor.value.copy(
                alpha = OutlinedAutocompleteTokens.TextFieldDisabledLeadingIconOpacity
            ),
        errorLeadingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldErrorLeadingIconColor.value,
        focusedTrailingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldFocusTrailingIconColor.value,
        unfocusedTrailingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldTrailingIconColor.value,
        disabledTrailingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldDisabledTrailingIconColor.value.copy(
                alpha = OutlinedAutocompleteTokens.TextFieldDisabledTrailingIconOpacity
            ),
        errorTrailingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldErrorTrailingIconColor.value,
        focusedLabelColor: Color = OutlinedAutocompleteTokens.FieldFocusLabelTextColor.value,
        unfocusedLabelColor: Color = OutlinedAutocompleteTokens.FieldLabelTextColor.value,
        disabledLabelColor: Color =
            OutlinedAutocompleteTokens.FieldDisabledLabelTextColor.value.copy(
                alpha = OutlinedAutocompleteTokens.FieldDisabledLabelTextOpacity
            ),
        errorLabelColor: Color = OutlinedAutocompleteTokens.FieldErrorLabelTextColor.value,
        focusedPlaceholderColor: Color = OutlinedAutocompleteTokens.FieldSupportingTextColor.value,
        unfocusedPlaceholderColor: Color =
            OutlinedAutocompleteTokens.FieldSupportingTextColor.value,
        disabledPlaceholderColor: Color =
            OutlinedAutocompleteTokens.FieldDisabledSupportingTextColor.value.copy(
                alpha = OutlinedAutocompleteTokens.FieldDisabledSupportingTextOpacity
            ),
        errorPlaceholderColor: Color = OutlinedAutocompleteTokens.FieldSupportingTextColor.value,
        focusedPrefixColor: Color = OutlinedAutocompleteTokens.FieldSupportingTextColor.value,
        unfocusedPrefixColor: Color = OutlinedAutocompleteTokens.FieldSupportingTextColor.value,
        disabledPrefixColor: Color =
            OutlinedAutocompleteTokens.FieldDisabledSupportingTextColor.value.copy(
                alpha = OutlinedAutocompleteTokens.FieldDisabledSupportingTextOpacity
            ),
        errorPrefixColor: Color = OutlinedAutocompleteTokens.FieldSupportingTextColor.value,
        focusedSuffixColor: Color = OutlinedAutocompleteTokens.FieldSupportingTextColor.value,
        unfocusedSuffixColor: Color = OutlinedAutocompleteTokens.FieldSupportingTextColor.value,
        disabledSuffixColor: Color =
            OutlinedAutocompleteTokens.FieldDisabledSupportingTextColor.value.copy(
                alpha = OutlinedAutocompleteTokens.FieldDisabledSupportingTextOpacity
            ),
        errorSuffixColor: Color = OutlinedAutocompleteTokens.FieldSupportingTextColor.value,
    ): TextFieldColors

Creates a TextFieldColors that represents the default input text, container, and content colors (including label, placeholder, icons, etc.) used in an OutlinedTextField within an ExposedDropdownMenuBox.

Parameters

focusedTextColor the color used for the input text of this text field when focused
unfocusedTextColor the color used for the input text of this text field when not focused
disabledTextColor the color used for the input text of this text field when disabled
errorTextColor the color used for the input text of this text field when in error state
focusedContainerColor the container color for this text field when focused
unfocusedContainerColor the container color for this text field when not focused
disabledContainerColor the container color for this text field when disabled
errorContainerColor the container color for this text field when in error state
cursorColor the cursor color for this text field
errorCursorColor the cursor color for this text field when in error state
selectionColors the colors used when the input text of this text field is selected
focusedBorderColor the border color for this text field when focused
unfocusedBorderColor the border color for this text field when not focused
disabledBorderColor the border color for this text field when disabled
errorBorderColor the border color for this text field when in error state
focusedLeadingIconColor the leading icon color for this text field when focused
unfocusedLeadingIconColor the leading icon color for this text field when not focused
disabledLeadingIconColor the leading icon color for this text field when disabled
errorLeadingIconColor the leading icon color for this text field when in error state
focusedTrailingIconColor the trailing icon color for this text field when focused
unfocusedTrailingIconColor the trailing icon color for this text field when not focused
disabledTrailingIconColor the trailing icon color for this text field when disabled
errorTrailingIconColor the trailing icon color for this text field when in error state
focusedLabelColor the label color for this text field when focused
unfocusedLabelColor the label color for this text field when not focused
disabledLabelColor the label color for this text field when disabled
errorLabelColor the label color for this text field when in error state
focusedPlaceholderColor the placeholder color for this text field when focused
unfocusedPlaceholderColor the placeholder color for this text field when not focused
disabledPlaceholderColor the placeholder color for this text field when disabled
errorPlaceholderColor the placeholder color for this text field when in error state
focusedPrefixColor the prefix color for this text field when focused
unfocusedPrefixColor the prefix color for this text field when not focused
disabledPrefixColor the prefix color for this text field when disabled
errorPrefixColor the prefix color for this text field when in error state
focusedSuffixColor the suffix color for this text field when focused
unfocusedSuffixColor the suffix color for this text field when not focused
disabledSuffixColor the suffix color for this text field when disabled
errorSuffixColor the suffix color for this text field when in error state

textFieldColors

@Composable
    fun textFieldColors(
        focusedTextColor: Color = FilledAutocompleteTokens.FieldFocusInputTextColor.value,
        unfocusedTextColor: Color = FilledAutocompleteTokens.FieldInputTextColor.value,
        disabledTextColor: Color =
            FilledAutocompleteTokens.FieldDisabledInputTextColor.value.copy(
                alpha = FilledAutocompleteTokens.FieldDisabledInputTextOpacity
            ),
        errorTextColor: Color = FilledAutocompleteTokens.FieldErrorInputTextColor.value,
        containerColor: Color = FilledAutocompleteTokens.TextFieldContainerColor.value,
        errorContainerColor: Color = FilledAutocompleteTokens.TextFieldContainerColor.value,
        cursorColor: Color = FilledAutocompleteTokens.TextFieldCaretColor.value,
        errorCursorColor: Color = FilledAutocompleteTokens.TextFieldErrorFocusCaretColor.value,
        selectionColors: TextSelectionColors = LocalTextSelectionColors.current,
        focusedIndicatorColor: Color =
            FilledAutocompleteTokens.TextFieldFocusActiveIndicatorColor.value,
        unfocusedIndicatorColor: Color =
            FilledAutocompleteTokens.TextFieldActiveIndicatorColor.value,
        disabledIndicatorColor: Color =
            FilledAutocompleteTokens.TextFieldDisabledActiveIndicatorColor.value.copy(
                alpha = FilledAutocompleteTokens.TextFieldDisabledActiveIndicatorOpacity
            ),
        errorIndicatorColor: Color =
            FilledAutocompleteTokens.TextFieldErrorActiveIndicatorColor.value,
        focusedLeadingIconColor: Color =
            FilledAutocompleteTokens.TextFieldFocusLeadingIconColor.value,
        unfocusedLeadingIconColor: Color = FilledAutocompleteTokens.TextFieldLeadingIconColor.value,
        disabledLeadingIconColor: Color =
            FilledAutocompleteTokens.TextFieldDisabledLeadingIconColor.value.copy(
                alpha = FilledAutocompleteTokens.TextFieldDisabledLeadingIconOpacity
            ),
        errorLeadingIconColor: Color =
            FilledAutocompleteTokens.TextFieldErrorLeadingIconColor.value,
        focusedTrailingIconColor: Color =
            FilledAutocompleteTokens.TextFieldFocusTrailingIconColor.value,
        unfocusedTrailingIconColor: Color =
            FilledAutocompleteTokens.TextFieldTrailingIconColor.value,
        disabledTrailingIconColor: Color =
            FilledAutocompleteTokens.TextFieldDisabledTrailingIconColor.value.copy(
                alpha = FilledAutocompleteTokens.TextFieldDisabledTrailingIconOpacity
            ),
        errorTrailingIconColor: Color =
            FilledAutocompleteTokens.TextFieldErrorTrailingIconColor.value,
        focusedLabelColor: Color = FilledAutocompleteTokens.FieldFocusLabelTextColor.value,
        unfocusedLabelColor: Color = FilledAutocompleteTokens.FieldLabelTextColor.value,
        disabledLabelColor: Color = FilledAutocompleteTokens.FieldDisabledLabelTextColor.value,
        errorLabelColor: Color = FilledAutocompleteTokens.FieldErrorLabelTextColor.value,
        focusedPlaceholderColor: Color = FilledAutocompleteTokens.FieldSupportingTextColor.value,
        unfocusedPlaceholderColor: Color = FilledAutocompleteTokens.FieldSupportingTextColor.value,
        disabledPlaceholderColor: Color =
            FilledAutocompleteTokens.FieldDisabledSupportingTextColor.value.copy(
                alpha = FilledAutocompleteTokens.FieldDisabledSupportingTextOpacity
            ),
        errorPlaceholderColor: Color = FilledAutocompleteTokens.FieldSupportingTextColor.value,
        focusedPrefixColor: Color = FilledAutocompleteTokens.FieldSupportingTextColor.value,
        unfocusedPrefixColor: Color = FilledAutocompleteTokens.FieldSupportingTextColor.value,
        disabledPrefixColor: Color =
            FilledAutocompleteTokens.FieldDisabledSupportingTextColor.value.copy(
                alpha = FilledAutocompleteTokens.FieldDisabledSupportingTextOpacity
            ),
        errorPrefixColor: Color = FilledAutocompleteTokens.FieldSupportingTextColor.value,
        focusedSuffixColor: Color = FilledAutocompleteTokens.FieldSupportingTextColor.value,
        unfocusedSuffixColor: Color = FilledAutocompleteTokens.FieldSupportingTextColor.value,
        disabledSuffixColor: Color =
            FilledAutocompleteTokens.FieldDisabledSupportingTextColor.value.copy(
                alpha = FilledAutocompleteTokens.FieldDisabledSupportingTextOpacity
            ),
        errorSuffixColor: Color = FilledAutocompleteTokens.FieldSupportingTextColor.value,
    ): TextFieldColors

outlinedTextFieldColors

@Composable
    fun outlinedTextFieldColors(
        focusedTextColor: Color = OutlinedAutocompleteTokens.FieldFocusInputTextColor.value,
        unfocusedTextColor: Color = OutlinedAutocompleteTokens.FieldInputTextColor.value,
        disabledTextColor: Color =
            OutlinedAutocompleteTokens.FieldDisabledInputTextColor.value.copy(
                alpha = OutlinedAutocompleteTokens.FieldDisabledInputTextOpacity
            ),
        errorTextColor: Color = OutlinedAutocompleteTokens.FieldErrorInputTextColor.value,
        containerColor: Color = Color.Transparent,
        errorContainerColor: Color = Color.Transparent,
        cursorColor: Color = OutlinedAutocompleteTokens.TextFieldCaretColor.value,
        errorCursorColor: Color = OutlinedAutocompleteTokens.TextFieldErrorFocusCaretColor.value,
        selectionColors: TextSelectionColors = LocalTextSelectionColors.current,
        focusedBorderColor: Color = OutlinedAutocompleteTokens.TextFieldFocusOutlineColor.value,
        unfocusedBorderColor: Color = OutlinedAutocompleteTokens.TextFieldOutlineColor.value,
        disabledBorderColor: Color =
            OutlinedAutocompleteTokens.TextFieldDisabledOutlineColor.value.copy(
                alpha = OutlinedAutocompleteTokens.TextFieldDisabledOutlineOpacity
            ),
        errorBorderColor: Color = OutlinedAutocompleteTokens.TextFieldErrorOutlineColor.value,
        focusedLeadingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldFocusLeadingIconColor.value,
        unfocusedLeadingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldLeadingIconColor.value,
        disabledLeadingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldDisabledLeadingIconColor.value.copy(
                alpha = OutlinedAutocompleteTokens.TextFieldDisabledLeadingIconOpacity
            ),
        errorLeadingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldErrorLeadingIconColor.value,
        focusedTrailingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldFocusTrailingIconColor.value,
        unfocusedTrailingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldTrailingIconColor.value,
        disabledTrailingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldDisabledTrailingIconColor.value.copy(
                alpha = OutlinedAutocompleteTokens.TextFieldDisabledTrailingIconOpacity
            ),
        errorTrailingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldErrorTrailingIconColor.value,
        focusedLabelColor: Color = OutlinedAutocompleteTokens.FieldFocusLabelTextColor.value,
        unfocusedLabelColor: Color = OutlinedAutocompleteTokens.FieldLabelTextColor.value,
        disabledLabelColor: Color =
            OutlinedAutocompleteTokens.FieldDisabledLabelTextColor.value.copy(
                alpha = OutlinedAutocompleteTokens.FieldDisabledLabelTextOpacity
            ),
        errorLabelColor: Color = OutlinedAutocompleteTokens.FieldErrorLabelTextColor.value,
        focusedPlaceholderColor: Color = OutlinedAutocompleteTokens.FieldSupportingTextColor.value,
        unfocusedPlaceholderColor: Color =
            OutlinedAutocompleteTokens.FieldSupportingTextColor.value,
        disabledPlaceholderColor: Color =
            OutlinedAutocompleteTokens.FieldDisabledSupportingTextColor.value.copy(
                alpha = OutlinedAutocompleteTokens.FieldDisabledSupportingTextOpacity
            ),
        errorPlaceholderColor: Color = OutlinedAutocompleteTokens.FieldSupportingTextColor.value,
        focusedPrefixColor: Color = OutlinedAutocompleteTokens.FieldSupportingTextColor.value,
        unfocusedPrefixColor: Color = OutlinedAutocompleteTokens.FieldSupportingTextColor.value,
        disabledPrefixColor: Color =
            OutlinedAutocompleteTokens.FieldDisabledSupportingTextColor.value.copy(
                alpha = OutlinedAutocompleteTokens.FieldDisabledSupportingTextOpacity
            ),
        errorPrefixColor: Color = OutlinedAutocompleteTokens.FieldSupportingTextColor.value,
        focusedSuffixColor: Color = OutlinedAutocompleteTokens.FieldSupportingTextColor.value,
        unfocusedSuffixColor: Color = OutlinedAutocompleteTokens.FieldSupportingTextColor.value,
        disabledSuffixColor: Color =
            OutlinedAutocompleteTokens.FieldDisabledSupportingTextColor.value.copy(
                alpha = OutlinedAutocompleteTokens.FieldDisabledSupportingTextOpacity
            ),
        errorSuffixColor: Color = OutlinedAutocompleteTokens.FieldSupportingTextColor.value,
    ): TextFieldColors

textFieldColors

@Composable
    fun textFieldColors(
        textColor: Color = FilledAutocompleteTokens.FieldInputTextColor.value,
        disabledTextColor: Color =
            FilledAutocompleteTokens.FieldDisabledInputTextColor.value.copy(
                alpha = FilledAutocompleteTokens.FieldDisabledInputTextOpacity
            ),
        containerColor: Color = FilledAutocompleteTokens.TextFieldContainerColor.value,
        cursorColor: Color = FilledAutocompleteTokens.TextFieldCaretColor.value,
        errorCursorColor: Color = FilledAutocompleteTokens.TextFieldErrorFocusCaretColor.value,
        selectionColors: TextSelectionColors = LocalTextSelectionColors.current,
        focusedIndicatorColor: Color =
            FilledAutocompleteTokens.TextFieldFocusActiveIndicatorColor.value,
        unfocusedIndicatorColor: Color =
            FilledAutocompleteTokens.TextFieldActiveIndicatorColor.value,
        disabledIndicatorColor: Color =
            FilledAutocompleteTokens.TextFieldDisabledActiveIndicatorColor.value.copy(
                alpha = FilledAutocompleteTokens.TextFieldDisabledActiveIndicatorOpacity
            ),
        errorIndicatorColor: Color =
            FilledAutocompleteTokens.TextFieldErrorActiveIndicatorColor.value,
        focusedLeadingIconColor: Color =
            FilledAutocompleteTokens.TextFieldFocusLeadingIconColor.value,
        unfocusedLeadingIconColor: Color = FilledAutocompleteTokens.TextFieldLeadingIconColor.value,
        disabledLeadingIconColor: Color =
            FilledAutocompleteTokens.TextFieldDisabledLeadingIconColor.value.copy(
                alpha = FilledAutocompleteTokens.TextFieldDisabledLeadingIconOpacity
            ),
        errorLeadingIconColor: Color =
            FilledAutocompleteTokens.TextFieldErrorLeadingIconColor.value,
        focusedTrailingIconColor: Color =
            FilledAutocompleteTokens.TextFieldFocusTrailingIconColor.value,
        unfocusedTrailingIconColor: Color =
            FilledAutocompleteTokens.TextFieldTrailingIconColor.value,
        disabledTrailingIconColor: Color =
            FilledAutocompleteTokens.TextFieldDisabledTrailingIconColor.value.copy(
                alpha = FilledAutocompleteTokens.TextFieldDisabledTrailingIconOpacity
            ),
        errorTrailingIconColor: Color =
            FilledAutocompleteTokens.TextFieldErrorTrailingIconColor.value,
        focusedLabelColor: Color = FilledAutocompleteTokens.FieldFocusLabelTextColor.value,
        unfocusedLabelColor: Color = FilledAutocompleteTokens.FieldLabelTextColor.value,
        disabledLabelColor: Color = FilledAutocompleteTokens.FieldDisabledLabelTextColor.value,
        errorLabelColor: Color = FilledAutocompleteTokens.FieldErrorLabelTextColor.value,
        placeholderColor: Color = FilledAutocompleteTokens.FieldSupportingTextColor.value,
        disabledPlaceholderColor: Color =
            FilledAutocompleteTokens.FieldDisabledInputTextColor.value.copy(
                alpha = FilledAutocompleteTokens.FieldDisabledInputTextOpacity
            ),
    ): TextFieldColors

outlinedTextFieldColors

@Composable
    fun outlinedTextFieldColors(
        textColor: Color = OutlinedAutocompleteTokens.FieldInputTextColor.value,
        disabledTextColor: Color =
            OutlinedAutocompleteTokens.FieldDisabledInputTextColor.value.copy(
                alpha = OutlinedAutocompleteTokens.FieldDisabledInputTextOpacity
            ),
        containerColor: Color = Color.Transparent,
        cursorColor: Color = OutlinedAutocompleteTokens.TextFieldCaretColor.value,
        errorCursorColor: Color = OutlinedAutocompleteTokens.TextFieldErrorFocusCaretColor.value,
        selectionColors: TextSelectionColors = LocalTextSelectionColors.current,
        focusedBorderColor: Color = OutlinedAutocompleteTokens.TextFieldFocusOutlineColor.value,
        unfocusedBorderColor: Color = OutlinedAutocompleteTokens.TextFieldOutlineColor.value,
        disabledBorderColor: Color =
            OutlinedAutocompleteTokens.TextFieldDisabledOutlineColor.value.copy(
                alpha = OutlinedAutocompleteTokens.TextFieldDisabledOutlineOpacity
            ),
        errorBorderColor: Color = OutlinedAutocompleteTokens.TextFieldErrorOutlineColor.value,
        focusedLeadingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldFocusLeadingIconColor.value,
        unfocusedLeadingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldLeadingIconColor.value,
        disabledLeadingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldDisabledLeadingIconColor.value.copy(
                alpha = OutlinedAutocompleteTokens.TextFieldDisabledLeadingIconOpacity
            ),
        errorLeadingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldErrorLeadingIconColor.value,
        focusedTrailingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldFocusTrailingIconColor.value,
        unfocusedTrailingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldTrailingIconColor.value,
        disabledTrailingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldDisabledTrailingIconColor.value.copy(
                alpha = OutlinedAutocompleteTokens.TextFieldDisabledTrailingIconOpacity
            ),
        errorTrailingIconColor: Color =
            OutlinedAutocompleteTokens.TextFieldErrorTrailingIconColor.value,
        focusedLabelColor: Color = OutlinedAutocompleteTokens.FieldFocusLabelTextColor.value,
        unfocusedLabelColor: Color = OutlinedAutocompleteTokens.FieldLabelTextColor.value,
        disabledLabelColor: Color =
            OutlinedAutocompleteTokens.FieldDisabledLabelTextColor.value.copy(
                alpha = OutlinedAutocompleteTokens.FieldDisabledLabelTextOpacity
            ),
        errorLabelColor: Color = OutlinedAutocompleteTokens.FieldErrorLabelTextColor.value,
        placeholderColor: Color = OutlinedAutocompleteTokens.FieldSupportingTextColor.value,
        disabledPlaceholderColor: Color =
            OutlinedAutocompleteTokens.FieldDisabledInputTextColor.value.copy(
                alpha = OutlinedAutocompleteTokens.FieldDisabledInputTextOpacity
            ),
    ): TextFieldColors