({
theme,
disabled,
underlineColor,
}: BaseProps & { underlineColor?: string })
| 423 | }; |
| 424 | |
| 425 | const getFlatUnderlineColor = ({ |
| 426 | theme, |
| 427 | disabled, |
| 428 | underlineColor, |
| 429 | }: BaseProps & { underlineColor?: string }) => { |
| 430 | if (!disabled && underlineColor) { |
| 431 | return underlineColor; |
| 432 | } |
| 433 | |
| 434 | if (theme.isV3) { |
| 435 | if (disabled) { |
| 436 | return theme.colors.onSurfaceDisabled; |
| 437 | } |
| 438 | |
| 439 | return theme.colors.onSurfaceVariant; |
| 440 | } |
| 441 | |
| 442 | if (disabled) { |
| 443 | return 'transparent'; |
| 444 | } |
| 445 | |
| 446 | return theme.colors.disabled; |
| 447 | }; |
| 448 | |
| 449 | const getOutlinedOutlineInputColor = ({ |
| 450 | theme, |
no outgoing calls
no test coverage detected
searching dependent graphs…