({ theme, disabled }: ColorProps)
| 34 | }; |
| 35 | |
| 36 | const getTitleColor = ({ theme, disabled }: ColorProps) => { |
| 37 | if (disabled) { |
| 38 | return getDisabledColor(theme); |
| 39 | } |
| 40 | |
| 41 | if (theme.isV3) { |
| 42 | return theme.colors.onSurface; |
| 43 | } |
| 44 | |
| 45 | return color(theme.colors.text).alpha(0.87).rgb().string(); |
| 46 | }; |
| 47 | |
| 48 | const getIconColor = ({ theme, disabled }: ColorProps) => { |
| 49 | if (disabled) { |
no test coverage detected
searching dependent graphs…