({
theme,
disabled,
customColor,
}: {
theme: InternalTheme;
customColor?: string;
disabled?: boolean;
})
| 118 | }; |
| 119 | |
| 120 | const getIOSCheckedColor = ({ |
| 121 | theme, |
| 122 | disabled, |
| 123 | customColor, |
| 124 | }: { |
| 125 | theme: InternalTheme; |
| 126 | customColor?: string; |
| 127 | disabled?: boolean; |
| 128 | }) => { |
| 129 | if (disabled) { |
| 130 | if (theme.isV3) { |
| 131 | return theme.colors.onSurfaceDisabled; |
| 132 | } |
| 133 | return theme.colors.disabled; |
| 134 | } |
| 135 | |
| 136 | if (customColor) { |
| 137 | return customColor; |
| 138 | } |
| 139 | |
| 140 | if (theme.isV3) { |
| 141 | return theme.colors.primary; |
| 142 | } |
| 143 | |
| 144 | return theme.colors.accent; |
| 145 | }; |
| 146 | |
| 147 | const getIOSRippleColor = ({ |
| 148 | theme, |
no outgoing calls
no test coverage detected
searching dependent graphs…