({ theme }: { theme: InternalTheme })
| 299 | }; |
| 300 | |
| 301 | const getLabelColor = ({ theme }: { theme: InternalTheme }) => { |
| 302 | if (theme.isV3) { |
| 303 | return theme.colors.onSurface; |
| 304 | } |
| 305 | |
| 306 | if (theme.dark) { |
| 307 | return theme.colors.text; |
| 308 | } |
| 309 | |
| 310 | return color(theme.colors.text).fade(0.54).rgb().string(); |
| 311 | }; |
| 312 | |
| 313 | const getBackdropColor = ({ |
| 314 | theme, |
no outgoing calls
no test coverage detected
searching dependent graphs…