({
theme,
color,
}: {
theme: InternalTheme;
color?: string;
})
| 19 | }; |
| 20 | |
| 21 | const getCheckedColor = ({ |
| 22 | theme, |
| 23 | color, |
| 24 | }: { |
| 25 | theme: InternalTheme; |
| 26 | color?: string; |
| 27 | }) => { |
| 28 | if (color) { |
| 29 | return color; |
| 30 | } |
| 31 | |
| 32 | if (theme.isV3) { |
| 33 | return theme.colors.primary; |
| 34 | } |
| 35 | |
| 36 | return theme.colors.accent; |
| 37 | }; |
| 38 | |
| 39 | const getThumbTintColor = ({ |
| 40 | theme, |
no outgoing calls
no test coverage detected
searching dependent graphs…