({
theme,
disabled,
}: {
theme: InternalTheme;
disabled?: boolean;
})
| 14 | }; |
| 15 | |
| 16 | const getBorderColor = ({ |
| 17 | theme, |
| 18 | disabled, |
| 19 | }: { |
| 20 | theme: InternalTheme; |
| 21 | disabled?: boolean; |
| 22 | }) => { |
| 23 | if (theme.isV3) { |
| 24 | if (disabled) { |
| 25 | return theme.colors.surfaceDisabled; |
| 26 | } |
| 27 | |
| 28 | return theme.colors.outline; |
| 29 | } |
| 30 | |
| 31 | return undefined; |
| 32 | }; |
| 33 | |
| 34 | const getBackgroundColor = ({ |
| 35 | theme, |
no outgoing calls
no test coverage detected
searching dependent graphs…