colors

fun colors(labelColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorT2, focusedLabelColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorT4, errorLabelColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorSemanticNegative, readOnlyLabelColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorT2, disabledLabelColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorT2, helperTextColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorT2, errorHelperTextColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorSemanticNegative, readOnlyHelperTextColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorT2, disabledHelperTextColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorT2, textFieldBackgroundColor: Color = Color.Transparent, readOnlyTextFieldBackgroundColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorS4, disabledTextFieldBackgroundColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorS4, textFieldBorderColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorBorderDefault, focusedTextFieldBorderColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorBorderSelected, errorTextFieldBorderColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorSemanticNegative, readOnlyTextFieldBorderColor: Color = Color.Transparent, disabledTextFieldBorderColor: Color = Color.Transparent, cursorColor: Color = Color.Transparent, errorCursorColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorSemanticNegative, focusedCursorColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorT4, trailingIconColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorBorderSelected, errorTrailingIconColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorSemanticNegative, disabledTrailingIconColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorT3, readOnlyTrailingIconColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorT3, leadingIconColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorBorderSelected, errorLeadingIconColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorSemanticNegative, disabledLeadingIconColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorT3, readOnlyLeadingIconColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorT3, textInputColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorT1, focusedTextInputColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorT1, errorTextInputColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorT1, readOnlyTextInputColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorT1, disabledTextInputColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorT1, textSelectionHandleColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorBorderSelected, errorTextSelectionHandleColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorSemanticNegative, textSelectionBackgroundColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorBorderSelected.copy( alpha = 0.4f ), errorTextSelectionBackgroundColor: Color = MaterialTheme.fioriHorizonAttributes.SapFioriColorBorderSelected.copy( alpha = 0.4f ), focusedTrailingIconBackgroundColor: Color = Color.Unspecified, inlineNoticeColors: InlineNoticeColors = InlineNoticeDefaults.colors()): FioriStepperColors

Creates a FioriStepperColors that represents the different colors used in parts of the stepper in different states.

Parameters

labelColor

label color when enabled

focusedLabelColor

label color when focused

errorLabelColor

label color when the stepper was in error state

readOnlyLabelColor

label color when the stepper was in readonly state

disabledLabelColor

label color when disabled

helperTextColor

helper text color when enabled

errorHelperTextColor

helper text color when the stepper was in error state

readOnlyHelperTextColor

helper text color when the stepper was in readonly state

disabledHelperTextColor

helper text color when disabled

textFieldBackgroundColor

background color of the text input field when enabled

readOnlyTextFieldBackgroundColor

background color of the text input field when it was in readonly state

disabledTextFieldBackgroundColor

background color of the text input field when disabled

textFieldBorderColor

border color of the text input field when enabled

focusedTextFieldBorderColor

border color of the text input field when focused

errorTextFieldBorderColor

border color of the text input field when it was in error state

readOnlyTextFieldBorderColor

border color of the text input field when it was in readonly state

disabledTextFieldBorderColor

border color of the text input field when disabled

cursorColor

cursor color when enabled

errorCursorColor

cursor color when it was in error state

focusedCursorColor

cursor color when focused

trailingIconColor

trailing icon color when enabled

errorTrailingIconColor

error trailing icon color

disabledTrailingIconColor

trailing icon color when disabled

readOnlyTrailingIconColor

trailing icon color when it was in readonly state

leadingIconColor

leading icon color when enabled

errorLeadingIconColor

error leading icon color

disabledLeadingIconColor

leading icon color when disabled

readOnlyLeadingIconColor

leading icon color when it was in readonly state

textInputColor

text color when enable

focusedTextInputColor

text color when focused

errorTextInputColor

text color when it was in error state

readOnlyTextInputColor

text color when it was in readonly state

disabledTextInputColor

text color when disabled

textSelectionHandleColor

text selection handle color

errorTextSelectionHandleColor

text selection handle color when it was in error state

textSelectionBackgroundColor

text selection background color

errorTextSelectionBackgroundColor

text selection background color when it was in error state

focusedTrailingIconBackgroundColor

the background color of the actionable trailing icon when focused. For now, only the actionable trailing icon of FioriNoteTextField will be affected.

inlineNoticeColors

the colors used in the inline notice