(theme: InternalTheme)
| 23 | }; |
| 24 | |
| 25 | const getDisabledColor = (theme: InternalTheme) => { |
| 26 | if (theme.isV3) { |
| 27 | return theme.colors.onSurfaceDisabled; |
| 28 | } |
| 29 | |
| 30 | return color(theme.dark ? white : black) |
| 31 | .alpha(0.32) |
| 32 | .rgb() |
| 33 | .string(); |
| 34 | }; |
| 35 | |
| 36 | const getTitleColor = ({ theme, disabled }: ColorProps) => { |
| 37 | if (disabled) { |
no outgoing calls
no test coverage detected
searching dependent graphs…