MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / getBorderColor

Function getBorderColor

packages/ui/src/views/canvas/CanvasNode.jsx:67–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65 }
66
67 const getBorderColor = () => {
68 if (data.selected) return theme.palette.primary.main
69 else if (theme?.customization?.isDarkMode) return theme.palette.grey[900] + 25
70 else return theme.palette.grey[900] + 50
71 }
72
73 useEffect(() => {
74 const componentNode = canvas.componentNodes.find((nd) => nd.name === data.name)

Callers 1

CanvasNodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected