({ theme, disabled }: ColorProps)
| 46 | }; |
| 47 | |
| 48 | const getIconColor = ({ theme, disabled }: ColorProps) => { |
| 49 | if (disabled) { |
| 50 | return getDisabledColor(theme); |
| 51 | } |
| 52 | |
| 53 | if (theme.isV3) { |
| 54 | return theme.colors.onSurfaceVariant; |
| 55 | } |
| 56 | |
| 57 | return color(theme.colors.text).alpha(0.54).rgb().string(); |
| 58 | }; |
| 59 | |
| 60 | const getRippleColor = ({ |
| 61 | theme, |
no test coverage detected
searching dependent graphs…