({
theme,
customUncheckedColor,
}: {
theme: InternalTheme;
customUncheckedColor?: string;
})
| 21 | }; |
| 22 | |
| 23 | const getAndroidUncheckedColor = ({ |
| 24 | theme, |
| 25 | customUncheckedColor, |
| 26 | }: { |
| 27 | theme: InternalTheme; |
| 28 | customUncheckedColor?: string; |
| 29 | }) => { |
| 30 | if (customUncheckedColor) { |
| 31 | return customUncheckedColor; |
| 32 | } |
| 33 | |
| 34 | if (theme.isV3) { |
| 35 | return theme.colors.onSurfaceVariant; |
| 36 | } |
| 37 | |
| 38 | if (theme.dark) { |
| 39 | return color(theme.colors.text).alpha(0.7).rgb().string(); |
| 40 | } |
| 41 | |
| 42 | return color(theme.colors.text).alpha(0.54).rgb().string(); |
| 43 | }; |
| 44 | |
| 45 | const getAndroidRippleColor = ({ |
| 46 | theme, |
no outgoing calls
no test coverage detected
searching dependent graphs…