({
theme,
customColor,
}: {
theme: InternalTheme;
customColor?: string;
})
| 3 | import type { InternalTheme } from '../../types'; |
| 4 | |
| 5 | const getAndroidCheckedColor = ({ |
| 6 | theme, |
| 7 | customColor, |
| 8 | }: { |
| 9 | theme: InternalTheme; |
| 10 | customColor?: string; |
| 11 | }) => { |
| 12 | if (customColor) { |
| 13 | return customColor; |
| 14 | } |
| 15 | |
| 16 | if (theme.isV3) { |
| 17 | return theme.colors.primary; |
| 18 | } |
| 19 | |
| 20 | return theme.colors.accent; |
| 21 | }; |
| 22 | |
| 23 | const getAndroidUncheckedColor = ({ |
| 24 | theme, |
no outgoing calls
no test coverage detected
searching dependent graphs…