({ theme, disabled }: BaseProps)
| 371 | }; |
| 372 | |
| 373 | const getPlaceholderColor = ({ theme, disabled }: BaseProps) => { |
| 374 | if (theme.isV3) { |
| 375 | if (disabled) { |
| 376 | return theme.colors.onSurfaceDisabled; |
| 377 | } |
| 378 | |
| 379 | return theme.colors.onSurfaceVariant; |
| 380 | } |
| 381 | |
| 382 | if (disabled) { |
| 383 | return theme.colors.disabled; |
| 384 | } |
| 385 | |
| 386 | return theme.colors.placeholder; |
| 387 | }; |
| 388 | |
| 389 | const getSelectionColor = ({ |
| 390 | activeColor, |
no outgoing calls
no test coverage detected
searching dependent graphs…