Skip to content

Commit

Permalink
Merge pull request #251 from tarkalabs/ms/inputField/error_indicator
Browse files Browse the repository at this point in the history
Applied unfocused indicator color for input field that has ERROR status
  • Loading branch information
rajajawahar authored Jun 13, 2024
2 parents 50234da + 7f50467 commit ddb0d15
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ fun iconFor(status: TUIInputFieldStatus): TarkaIcon? {
focusedContainerColor = TUITheme.colors.inputBackground,
unfocusedLabelColor = TUITheme.colors.inputDim,
unfocusedTextColor = TUITheme.colors.inputText,
unfocusedIndicatorColor = TUITheme.colors.utilityDisabledBackground,
unfocusedIndicatorColor = if (status == Error) focusedIndicatorColor else TUITheme.colors.utilityDisabledBackground,
unfocusedContainerColor = TUITheme.colors.inputBackground,
disabledLabelColor = disabledLabelColor,
disabledTextColor = disabledTextColor,
Expand Down

0 comments on commit ddb0d15

Please sign in to comment.